September 8th, 2007

pce

Experiments with the ATNGW100 - Part 5

Tested the PWM unit - had it been something like the Atmega without the burden of an OS on top of it, things would have been over in 10 minutes. But since I wanted to do things the `proper' way (stick with the interfaces which the kernel provides), it took some time to get all the bits and pieces together.

Programming the PWM unit

The PWM outputs (4 channels) will be used to drive the servos controlling the robot. Now I need to get a timer/counter unit active so that I can measure the width of pulses returned by the ultrasonic ranging module.