December 14, 2011
about 2 years ago
I really enjoyed the video. Great job. As a teacher, I appreciate the valiant effort it took to do that. And also, the music for the video was perfect. John Williams, eat your heart out.
about 2 years ago
If you are trying to used the Dagu motor controller with their Wild Thumper vehicle, which is great, but can’t get it to respond properly to a RC transmitter, make the following changes to the software. Get off D0 and D1 and move to D9 and D10, which are PWM channels. You don’t want a PWM repetitive pulses (every 22ms from a Spektrum transmitter) to clobber your serial interface when loading programs. This is why you get a sync error from the compiler if you follow the manual. Now you have to comment out the places in the code where D9 and D10 are defined as servo outputs (in variables and setup() area). Then the controller works fine. I used the aileron for L/R and elevator for F/B. This way when you let go of the control, the vehicle stops. If you’re moving forward (or in reverse) an aileron right or left turns the vehicle. For a really quick reaction, just leave the elevator in neutral and kick the aileron control directly. One motor goes forward and other in reverse and you spin. A word of caution - switch off the vehicle power before turning off your recv/trans or you could send the vehicle off running out of control. Another point. If you want to see the serial monitor outputs, just change the Cmode to 0 in the “Initialize I/O pins” segment. I would also change the Brate value to 9600 in the Constants.h file so the Arduino isn’t using so much horsepower just spitting out simple lines of info that you will probably want to cease once you’ve looked at it (go back to Cmode = 1). This info is important to see, once, because you will probably notice the motors are not balanced in power usage. Run the cal shown in the manual to get the same response from the right side motors as the left side motors and your driving experience will be greatly enhanced. [Using the serial interface to run the vehicle is insane anyway, because the slow reaction time of typing in commands - please!]
Using a Spektrum DX8, the D1 channel on the Dagu Controller runs the L and R motors forward and backward, but I can’t get any direction change. The D0 channel doesn’t do anything. I’ve used all 8 channels of the AR8000 receiver and they are all working, but only the forward and reverse work. How to I get the direction channel to work?
about 2 years ago
The L298 chip logic is suppose to operate on 5 Volts, so the solder bridge to 3.3V has no use. But if you took the trace for VIN prior to the junction to auxiliary VIN connectors and opened it with a solder bridge you could either run the logic on the board and the motor power together as currently designed or open the bridge to run the logic and the motor separately, which is what I needed. Assuming no USB or power plug to the Arduino, i.e., in a robot, the Arduino should get its power via the VIN pin. This is easy with this new bridge open by using a wire inserted in the VIN header (having the ground remain common is important, so that requires no change). The Ardumoto board would get its logic 5V coming back from the Arduino voltage regulator. The auxiliary power inputs could then run the motors. The L298 can take much more voltage for the H-Bridge than should be seen by the logic, so this is really an important mod, so this can be pointed out in the Quickstart Guide or someone could easily put too high a voltage for motors and not realize the logic and the Arduino would get fried. Just a suggestion.
No public wish lists :(
Forgot your password?
No account? Register one!