Category Archives: C

2d mapping using a webcam and a laser

Following on from my previous blog post using a webcam and a laser as a rangefinder, it’s now mounted on a cheap 3 euro stepper motor and used to make a 2d map of the surroundings. As you can see … Continue reading

Posted in 2d mapping, C, Hardware, Microcontrollers, Projects, Python | Tagged , , , , , , , , , | 20 Comments

Sending analog values over serial using a PIC 18F14K50

There’s a Robosumo competition coming up. The microcontroller chosen for the job was the PIC 18F14k50. The sensors being used are Sharp infrared rangefinder (to locate the opposing robot), and IR colour detecting sensors (to detect when the robot has … Continue reading

Posted in C, Microcontrollers, pic microcontrollers, Python | Tagged , , , , , , , | Leave a comment

Second attempt at making an x-y plotter (TinyPlotter)

This plotter was built using parts from cd disc drives. The parts that actually control the motion are the steppers in the cd drives. The steppers are normally used to move a laser diode back and forth over the disc … Continue reading

Posted in C, Microcontrollers, pic microcontrollers, Plotters, Projects | Tagged , , , , , , , | 2 Comments

Interfacing a strip encoder with the dsPIC30F4011

This is what a strip encoder looks like: They are used to add position feedback to things that move in a linear way. For example, printers and scanners. Some printers use DC motors with strip encoders as opposed to stepper … Continue reading

Posted in C, Microcontrollers | Leave a comment