For PiWars 2019, we decided to build a 2-wheeled self balancing robot.
We started by constructing a prototype using various parts from last year’s robot (wheels, motors and motor controller), mounted on some bits of wood so we could figure out the overall shape:
![](https://www.sconemad.com/wp-content/uploads/2023/02/2018-11-15_12.05.48_0_wedge-768x1024.jpg)
We wanted to use larger wheels, however, we also had to keep the robot within the size limit for the competition, which proved to be a problem. The wheels I wanted to use were these from B&Q, but mounting these onto the prototype robot above resulted in a robot which was too wide. The solution I came up with was to remove part of the inner section of the wheel hub, allowing the motor and gearbox to embed into it a good way, as shown here:
![](https://www.sconemad.com/wp-content/uploads/2023/02/2018-11-22_11.42.34_0_wedge-1024x768.jpg)
![](https://www.sconemad.com/wp-content/uploads/2023/02/2018-11-22_11.42.24_0_wedge-1024x768.jpg)
![](https://www.sconemad.com/wp-content/uploads/2023/02/2018-11-22_11.43.00_0_wedge-768x1024.jpg)
I came up with a rough design for the robot using SketchUp, based on these new wheels:
![](https://www.sconemad.com/wp-content/uploads/2023/03/antigravity_c1-1024x537.png)
The chassis to hold the motors would be constructed from folded aluminium sheet:
![](https://www.sconemad.com/wp-content/uploads/2023/02/2019-01-16_11.06.40_0_wedge-768x1024.jpg)
![](https://www.sconemad.com/wp-content/uploads/2023/02/2019-01-18_09.31.29_0_wedge-1024x768.jpg)
![](https://www.sconemad.com/wp-content/uploads/2023/02/2019-01-18_12.52.18_0_wedge-1024x768.jpg)
Then a bit of wood on top to mount the motor controller. I also added a third wheel (an omni-wheel), to keep it upright during development:
![](https://www.sconemad.com/wp-content/uploads/2023/02/2019-01-21_12.11.03_0_wedge-1024x768.jpg)
![](https://www.sconemad.com/wp-content/uploads/2023/02/2019-01-26_23.17.03_0_wedge-768x1024.jpg)
Adding another bit of wood to mount the Pi and batteries (4x 18650), and a coat of black paint, it doesn’t look too bad:
![](https://www.sconemad.com/wp-content/uploads/2023/02/2019-01-27_23.35.13_0_wedge-768x1024.jpg)