Download Final Documentation - University of Central Florida
Transcript
5.2 Arduino ProtoShield PCB surface The Arduino ProtoShield allows for circuit prototyping on a compact and stackable surface. The ProtoShield mounts on top of the Arduino Uno board by utilizing stackable headers. The convenience of this allows all the Arduino UNO board pins to be raised to the Protoshield level for circuit design. The Arduino ProtoShield kit which is roughly $10 depending on the online vender comes with the following 1 -- ProtoShield bare PCB 2 – Stackable Headers 8-pin 2 – Stackable Headers 6-pin 2 – 5mm LEDs 2 – 330 Ohm resistors 1 – 10k Ohm resistor 2 – push buttons 2 -- .1 uF ceramic capacitors The capacitors of the kit will be placed across the 5V supply and ground acting like decoupling capacitors to prevent unwanted voltage change to the board. All the components are soldered through hole and tutorials for setup of this protoshield kit are provided on SparkFun.com. The interesting components to comment about in this kit are the 5mm LED’s. These LED’s could serve a number of purposes for our project. One of the LED’s could be used as a power indicator connected directly to the 5V supply pin on the board. The buttons could be useful as well when the need arises to toggle manual control between drivers, instead of control solely through the software. The ProtoShield as far as our Solenoid driving circuitry should have enough space for our two H-bridge drivers and LED’s signifying current direction. The prototype board even comes with a 6-pin header for our Bluetooth module, the important pins being the Rx and Tx for wireless serial communication. Final Circuit Design The final circuit did not consist of any development boards. Although we did use the Arduino Uno for testing and prototyping our circuit, for the final circuit we had an atmega328P for our MCU and utilized the pin connections it has to interface with our h-bridges and hall-effect sensors. LED’s were not utilized to indicate direction; this was purely done through the android app that was created. Figure 5.2 shows the final schematic that we used for the Mag Lev project. Diodes were not needed on the h-bridge outputs for current fly back protection because the supply voltage is not greater than 24 V. 102