Microprocessor

First, we just wanted to program on an Arduino Uno to command our device. But since we didn’t want to put an extra box on a side and it didn’t fit inside the main piece of the system, we decided to design a custom PCB that would be able to control everything. Indeed, we didn’t need every components of the Arduino and we just took the bare necessities to put on a PCB adjusted to the dimensions of the device.

Here after you can see the final PCB with the legend of all the components we used:

microprocessor_scheme1

 

microprocessor_scheme2

 

microprocessor_scheme2

 

1Input power supply 12VUsed for the initial 12V supply of the PCB
2Resistors 270 ΩTo limit the current of the LEDS
3Resistor 10 kΩEssential for the utilization of the choose button
4Input for buttonTo connect the choose button that validates the choices of the user near the LCD on the top of the device
5Output to the joystickTo have a connection to the joystick when we press the handle for the Video Game mode
6Output for LED 5mmTo connect the green LED 5mm for the Reflex mode
7Output for LED 3mmTo connect the red LED 3mm that shows that the device is connected and ready to be used
8Quartz 16MHzMandatory for the µC to have a clock for its time basis
9Capacitors 22pFMandatory for the use of the clock of the µC
10Input for linear potentiometer 50 kΩConnected to the handle to show its position to the µC
11Resistor 1 MΩMandatory for the use of the clock of the µC
12Capacitor 100nFMandatory for analogical signals and a good alimentation of the µC
13Output for communication with computerTo connect the µC to the Arduino connected to the computer to program the µC
14Resistor 10 kΩEssential for the use of the reset button
15Potentiometer 10 kΩTo settle the contrast of the LCD display
16Ouput for LCD displayTo easily connect all the wires of the LCD display to the PCB
17Input for rotational potentiometer 10 kΩTo say to the µC the parameters chosen by the user
18Reset buttonTo reset the PCB
19Output for servomotorTo connect the alimentation and the command of the servomotor
20Capacitor 100 nFEssential for the 5V supply needed by the PCB
21Capacitors 47 µFEssential for the 5V supply needed by the PCB
22Transistor 7805DTTo regulate and transform the 12V into 5V needed for the PCB
23µC ATMEGA8 : AT90S4433PTo command and receive information of all the components connected to the PCB
24Capacitor 100 nFEssential for the 5V supply needed by the PCB
25Capacitors 47 µFEssential for the 5V supply needed by the PCB
26Diode rectifier M7Essential for the transformation from 12V to 5V
27Transistor 7805DTTo regulate and transform the 12V into 5V needed by the PCB