Nail Gun Robot
UOIT capstone project.
The goal of the project was to create a robot that could nail down plywood sheeting on roofs.
The final product wasn't very polished. It was easy to think of how everything should work, it was much more difficult to actually build it and work out all the real world details.
- Raspberry PI to control all the other components.
- Motors with encoders to perform turns and go straight using PID control.
- Ultrasonic sensors to sense the roof edge and align with it.
- Stud finder to sense the joists.
- Linear actuator to press down the nail gun.
- Solenoid to trigger the nail gun.
- Coded mostly in Python, using
pigpiofor things needing better performance like the encoders.
Aligning with the Edge of the Roof
Using only the encoders to get ready for the next row would have led to an accumulation of error in the robots angle. A routine had to be created to align the robot with the edge.
We used some ultrasonic sensors and a simple state based program to align it with the edge of the roof. This solution was cheaper and simpler than our other options: computer vision or a local positioning system.
Tweet about this post and it will show here.