AR goggles for paintball
Area of Interest
aeronautical/ astronautical engineering
SAR High School
For my first milestone I set up the pi and connected my OLED display. I set up the pi using noobs. Noobs is arduinos easy to install operating system installer. I downloaded the zip file form the raspberry pi website and extracted it into the folder, I had no problems setting up my pi. My OLED was interesting to say the least, the first one we got didn’t really work with pi that well. There were also no instructions on how to get it to work with pi. Once the second screen came we got it working in a day. It was a lot simpler to set up than the first. The wiring was a little different than what was shown in the instruction as it was for the raspberry pi 2 and not the 3. I just moved the wires to the correct places on the board. I was able to then run the programs on the board that I downloaded when setting up the board. I was able to learn how to set up a pi, how to use python to code an OLED and the importance of checking for compatibility before you get parts. A few problems that I ran into when doing this were, my first OLED was not compatible and that caused a lot of problems and two weeks of going in circles. My second problem was when first running my second OLED the wiring diagram from the tutorial was for a pi 2 and not the 3 so I plugged in the wires into the wrong pins.
My project was the useless machine
It’s a box that reverses a circuit by itself. When you push the double pole, double throw (DPDT) switch on top of the box it moves the DC motor one direction moving an acrylic arm and turns on a green LED, letting you know which direction the current is going. When the arm retracts it hits another switch which stops the arm from moving until the switch is pushed again.
How it works
The useless machine is powered by three triple A batteries. When the double pole double throw (DPDT) switch is flicked the motor moves the acrylic arm out of the box to push the switch closed. A DPDT switch is two single pole double throw (SPDT) switches put together controlled by one switch. The SPDT is a switch that controls two outputs with one input. When the acrylic arm hits the switch the circuit is reversed because the H bridge is reversed in the DPDT switch. When this happens the acrylic arm moves back into the box and once it gets in the box it hits another switch. That then shuts of the circuit. When the arm is moving out of the box the LED turn green and when it moves back into the box the LED turns red. The LED indicates the direction of the circuit.
I started with a DC motor, the acrylic pieces of the case 2 screw terminals a snap switch, a DPTP switch, a dual LED, two resistors, power supply and a board. I soldered the DPTP switch to the board then the LED and the resisters. I then attached the LED second STDP switch and the two screw terminals. When attaching the LED I accidentally melted some part of the screw terminal. I had to replace it with a new one and get new wires.Then I attached the power supply and motor to the screw terminals. Once that was all sorted out I attached the board to the acrylic stand and attached the motor to the stand. Then I attached the stand to the floor of the box and Velcroed the battery pack to the floor. Then I built the rest of the box without a problem.
This project I learned how to desolder and that melting some parts isn’t good. I made a few mistakes by melting a part then I had to replace it with a bigger one. But the wires would not fit so I had to strip them from their connectors and just attach them to the board.