Monday, December 22, 2008

How-to: Build a iPhone-Controlled R/C Car

(My Original Blog Post: -*http://api-madness.com/post/how-to-build-a-iphone-controlled-rc-car/)
[youtube]http://www.youtube.com/watch?v=l1oEm0J90nw[/youtube]

Attention! API Garbage (might be unreadable):

control iPhone wires

And him and him and Asian microelectronics as president of the real-world individual world is he going to show he can control his remote control car as I do from the region was taken part of remote-control and this will be so there s a pretty simple car is doesn t allow for speed control just forward or reverse for each of the two motors from this picture you can see that the left and right joysticks just press on the middle-class and connect them down to the wires underneath with a multimeter we quickly found that the metal tab for connected ground in the wires underneath correspondent of forward and reverse directions so the hijacker behavior we saw of long wires on the nose for nose using a transistor driven by the microcontroller which electronically over a joysticks by connecting the right wants to ground and one particular motor to go forward or backward so we just need these for wires going for transistors on an urgent report the microcontroller turns on the right transistor were once certain behavior we also tapped into the battery connectors the power of American will reveal our system works iPhone possible wireless computer to computer disinformation to the next is an intolerable control and will go so well are we the iPhone is running a very simple script to figure out where you can start using the iPhone Web API itself up support for advanced that we can start than that who is what it is running a Web server on the same computer is connected to CDC from the relative simplicity of the code he iPhone JavaScript API is fairly cute and fun functions to keep track of where your finger is on the screen every time a new value since the ex-wife who earn over your finger using asynchronous JavaScript call to it and have the coordinates of your finger on the iPhone and information over Connecticut will show how we can do this with a python script that information over the serial port to Mac OS information to running a business recently called him so we use in programming for different processes to talk to PHP trees bending in the file you open a file and write permission to the on the other side the python script opens the file and just leave the information for the right to put it in there and rate control on or off busy to read about the serial port and figure out a way to run the motor if that s the to this lease a technique called costless modulation repeatedly basically we are looking on and on and off very quickly, we do is control of each post only, while the cargo quicker and a compulsive liar keeping the motor on a bigger portion of the time a card is lower to make up a small keeping the motor offers portion of the time and therefore making the cargo floor when the phone is also proof is using PWM drive have some sort of velocity control are up for this video if you use different technologies along with her overly complicated set of tasks is a sample of cool things you can do your from orbit... Aurora Commissioner gets to visit us at www.stock

No comments: