Micromouse book
Categories
Recent Comments
Meta
Popular Posts
- Simple ADC use on the STM32 (4,106)
- STM32 Arm-Cortex bootloader (2,803)
- STM32 USART basics (2,703)
- All Japan Micromouse 2011 – finals (2,011)
- STM32F4 – the first taste of speed (1,690)
- Micromouse Book (1,587)
- Nokia 3410 LCD on the STM32 (1,337)
- CodeSourcery GNU Toolchain for the ARM on a Mac (1,145)
- Bit Banding in the STM32 (1,045)
- ARM STM32 JTAG (973)
Blogroll
-
Upcoming Events
Tag Archives: l293d
Bob’s second outing
Bob has had a bit of minor surgery. I replaced the Darlington transistor motor driver with a L293D chip. Thing is, I forgot that the 293 has relatively large losses so Bob was much slower…
The idea was that the 293 would allow the motors to brake harder. With one side of the bridge permanently grounded, the motors would be actively driven or regeneratively braked. That worked fine but there simply was not enough voltage to get the motors up to any useful speed in the first place. After a poke about in the battery collection I found a LiPo 2-cell pack that would just fit in the battery compartment. I think the capacity is about 600mAh so it should be good for a couple of hours running.
The increase in speed was surprising and Bob nearly shot off the test track before I could catch it. However, when the speed is reduced to a level where it can reliably negotiate turns, I think I am no better off. The video shows that it still takes nearly 10 seconds to get around my little test track. I was hoping for more like 5 seconds but it just can’t turn hard enough when it encounters a bend to prevent the sensors losing the track altogether. I know the design is fundamentally flawed but I expected more. Next I shall try allowing Bob to control the motor direction as well as speed but I think I am wasting my time with it. There is supposed to be a nice PD controller in there but that too may be a waste of time.

Add to Google