Nail Gun Robot

UOIT capstone project.

April 20, 2015
Detecting a stud and nailing the plywood sheet down.

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.

Components

  • 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 pigpio for things needing better performance like the encoders.

Aligning with the Edge of the Roof

Preparing to put in the next row of nails. Turn, forward, turn, align, forward.

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.

Aligning routine states. The black **dots** are ultrasonic sensors. The line is the edge of the roof.

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.


Dylan Vann
Software developer living in Toronto 🇨🇦 Thailand 🇹🇭.
Focused on Node | GraphQL | React | React Native.

Subscribed!
You should receive an email with a confirmation link!
Join my Newsletter
I'll send you an email when I have something interesting to show.
Or follow me on Twitter for more stuff like this.

Mentions

Tweet about this post and it will show here.

Loading...
Loading...