Scanner Stepper Motor Hack
Finally..
Aug 15, 2007 From reuk.co.uk or TheBackShed.com small stepper motors can be perfect for the job. Found in old computer printers (dot matrix, daisy wheel, and some laser), stepper motors are cheaply (if not freely) available and generate AC power at low rates of rotation (far lower than similarly sized DC motors for example).Therefore small wind turbine blades can be mounted directly onto the motor shaft.
Finally, decided that I will purchase any locally available bluetooth serial-modules (not the bluetooth OBD adapter) from local market and integrate that with my own OBD scanner board, and with a littler know how of the protocol, I can connect my home built OBD scanner to android phone.
Activation code for avast premier. Outcome is the Simulator..
Stepper Motor Tutorial
To understand the protocol between Android phone and bluetooth OBD adapter, I did some hacking of the conversation and later, came up with my simulator. This is required because, writing code directly on the BT serial module and then expecting it to communicate with my phone will be a a heck of task with infinite trials. Implementing the simulator is way easier and saves time. Also, it is easier to debug protocol on PC than on microcontroller. The features and usefulness of the simulator are: -
- Uses my Computer's bluetooth as serial port and communicates from android application (Torque-lite or fun2drive).
- Written in Python.
- Writing the python code, I understood all protocol happening between phone and BT OBD adapter, and this is what I need to implement later on my BT serial module.
- Easy to understand the protocol and hence anybody can use this to implement on any microcontroller they find as their favorite.
- Using simulator, your android application will work fantastic without spending a single penny (or paise, as in India). Once satisfied, you can implement on your own BT module.
How did I decode the protocol and wrote the Python script (simulator)
I am not the first guy to make a simulator, in-fact, there are gurus, who have written the 'OBDSIM'. In fact, I used the OBDSIM to communicate with my phone and used a serial spy to decode the protocol. I believe, OBDSIM is more versatile and feature rich, but I used its few features.
Demo/ Video
I did not capture any screen, as it is difficult on my phone, hence video is what I have for you.