![]() ![]() What I'm wondering is if anyone out there has written some code for a DIY ESC using the Arduino? I've done a lot of Googling and haven't found any projects like this, but it seems like there would be an Ardunio based motor controller out there for RC cars, maybe Im just searching the wrong terms or something? The closest thing I could find was using a PIC, and I know nothing about PICs, nor do I have the tools to work them.įirst we should back up ask what kind of specific motor you wish to drive using the arduino PWM analogWrite()Ĭommand and with what suitable motor driver module or shield? If you are contemplating using a three wire brushless DC motor then what you are attempting would be very difficult as most arduino compatible motor drivers only work with brushed type DC motors. I have plenty of AVR chips and beefy h bridges around, so this would basically be free. The reason I dont want to just use a cheap ESC is because most of them arent friendly for robotics, and the ones specifically geared twords robots I.E a saber-tooth or parallax HB 25, are quite pricey. This thing basically equates to an RC Electronic Speed Control. ![]() Now this is a project in an of itself that I really dont want to sit down and do from scratch. The point of this is to drive a bigger more expandable robotic platform using bigger dc motors, as if it were a BOE-Bot, or any bot that used two continuous rotation servos for the drive train. So basically in my head im thinking some micro would pulse the Arduino with the R/C signal then the Ardunio would analyze the pulse and drive an h brigde IC at the correct speed/direction. ![]() The Ardunio would then scale the R/C signal to its a valid PWM value 1-255 in either forward or reverse. The point of the Ardunio would be to listen for R/C Servo style signals on two pins, which would be generated on the propeller or even a bs2. What im looking to do now is to use the Ardunio for motor control only, and a parallax propeller for the brain. Now Ive successfully made some robots and used an Arduino to generate the PWM signal to a custom H-Bridge circuit, and write some open loop motor control. Ok so im working on a robotics project right now, I plan to buy a parallax sting ray, but want to use it like a BOE-Bot because there is so much learning material out there as far as the BOE Bot goes. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |