Doing a little project for work and trying to get the Arduino hooked to an RC car to read the throttle channel output and send that via bluetooth to a nearby laptop which will output an animation based on that speed.
Initial test worked very well and signals from my airplane Tx were solid with very little variance. Once the proof of concept worked, we went ahead and purchased a Traxxas car. I have a wire going from pin 5 to the signal wire on the Rx. With the serial monitor up and arduino powered via my usb cable, the #s jump from the 1400 (where its supposed to be) to 6000 and sometimes 11000. Even more interesting, is when I engaged the throttle via the transmitter, values went down to 30-50...?? I removed the Rx from the car and powered it via the 5v on arduino...#s are solid.
So, it appears the battery or esc is giving a lot of interference. Do I need to use a different kind of wire? If so, what kind of wire? Or ground it somehow?
-
are you grounded correctly? what sort of filtering (if any) are you doing?benathon– benathon2015年04月20日 22:35:16 +00:00Commented Apr 20, 2015 at 22:35
-
Yes , battery can provide some interference...Mathsman 100– Mathsman 1002015年04月21日 10:25:10 +00:00Commented Apr 21, 2015 at 10:25
-
New to Arduino, so not sure what you mean by grounded correctly. I currently only have the one wire going from the board the the signal wire on the Rx. Do I need to run another wire from GND on board to GND on Rx?NikZ– NikZ2015年04月21日 12:07:29 +00:00Commented Apr 21, 2015 at 12:07
1 Answer 1
Old post, but here was my solution. Had to pickup some shielded cable. Pics below should clearly explain how everything was wired up.