* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Download 1 - Robot R Us
Skin effect wikipedia , lookup
Ground (electricity) wikipedia , lookup
Printed circuit board wikipedia , lookup
Alternating current wikipedia , lookup
Stepper motor wikipedia , lookup
Opto-isolator wikipedia , lookup
Surface-mount technology wikipedia , lookup
Flexible electronics wikipedia , lookup
Telecommunications engineering wikipedia , lookup
Integrated circuit wikipedia , lookup
National Electrical Code wikipedia , lookup
Appendix 1: Connect Circuits to eLab16m Input and output circuits for the eLab16m controller 6 Project Examples or other projects 1. Buzzer 2. LED 3. Push Button Switch 4. Micro-switch 5. LDR 6. Thermistor 7. Relay 8. DC motor 9. Potentiometer 10. LCD Wire colour codes: Black wire : VSS ( - VE) Red wire : VDD (+VE) White : Signal 1. Buzzer Parts: 2 x Wire 2 x Heat Shrink Description: A Buzzer can be connected directly to the eLab16m because DRIVER OUTPUTS A7, B4, B5, A6 are able to take 600mA of current on each pin. Connection: Connect the white wire to any screw terminal connector labeled DRIVER OUTPUTS (A7, B4, B5 or A6) on eLab16m. Connect the black wire to the (-) screw terminal on eLab16m Schematic Diagram for Buzzer Buzzer Circuit 1 Appendix 1: Connect Circuits to Lab16m 2. LED Parts: 2 x Wire 2 x Heat Shrink 1 x 390Ω Resistor Description: An LED can be connected directly to eLab16m through a current limiting resistor (390Ω). Connection: Connect the white wire to any screw terminal connectors labeled DRIVER OUTPUTS (A7, B4, B5, A6) or SIGNAL IN/OUT (A1, A3, A2, A0) on the eLab16m. Connect the black wire to the (-) screw terminal. Schematic Diagram for LED LED Circuit 2 Appendix 1: Connect Circuits to Lab16m 3. Push Button Switch Parts: 3 x Wire 2 x Heat Shrink 1 x 10kΩ Resistor 1x 390 Ω Resistor Description: A Push Button Switch can be either Active High or Active Low. One end is connected directly to the pin of PIC chip with a 10KΩ pull down resistor. The other end connects to VDD through a 390Ω resistor. The additional 390 Ω resistor is to prevent a short circuit if the circuit is incorrectly connected. Connection: Any row of 3 pin connectors labeled B0, B1, B2 or B3 on eLab16m. Make sure that the Black wire is connected to the pin closest to the edge of the eLab16m board which is the “–ve” pin. Schematic Diagram for Push Button Switch Push button switch circuit 3 Appendix 1: Connect Circuits to Lab16m 4. Micro-switch Parts: 3 x Wire 2 x Heat Shrink 1 x 10kΩ Resistor 1 x 390kΩ Resistor Description: Tin the wires and clamp them in the red crimp sockets. The common “COM” (White wire) will connect to the normally connected “NC” (Red wire) when the button is not pressed and will connect to the normally open “NO” (Black wire) when the button is pressed. The additional 390 Ω resistor is inserted to protect the circuit if incorrectly used. Connection: Any row of 3 pin connectors labeled B0, B1, B2 or B3 on eLab16m. Make sure that the Black wire is connected to the pin closest to the edge of the eLab16m board which is the “–ve” pin on the connector. Micro-switch Circuit – Front Section 390Ω Micro-switch Circuit – End Section 3 pin connector 4 Appendix 1: Connect Circuits to Lab16m 5. LDR (Light Dependant Resistor) Parts: 3x Wire 2 x Heat Shrink 1 x 33kΩ Resistor Description: To use an LDR, it is best to create a simple voltage divider circuit. The picture shows an example of a typical voltage divider circuit. One end of the LDR is connected to the eLab16m PIC chip port pin. A 33K pull down resistor is connected to ground as shown. The remaining LDR lead is connected to VDD. Connection: Connect the White signal wire to any SIGNAL IN/OUT (A1, A3, A2 or A0) screw terminals. Connect the Red wire to the (+) screw terminal and the Black to (-) screw terminal on eLab16m. Schematic Diagram for LDR 5 Appendix 1: Connect Circuits to Lab16m 6. Thermistor Parts: 3x Wire 2 x Heat Shrink 1 x 27kΩ Resistor Description: A thermistor is similar to a LDR except it changes resistance with temperature instead of light. The circuit connection is the same as the LDR. Connection: Connect the White signal wire to any SIGNAL IN/OUT (A1, A3, A2 or A0) screw terminals. Connect the Red wire to the (+) screw terminal and the Black to (-) screw terminal on eLab16m. Schematic Diagram for Thermistor 6 Appendix 1: Connect Circuits to Lab16m 7. Relay (5V) Parts: 5 x Wire 5 x Heat Shrink 1 x 3 way wire connector 1 x vero board Description: Connecting a relay to the eLab16m has been made easy as energizing the coil can be done with the driver pins which also have clamp diodes built in. Therefore, only two wires are required to be soldered to the relay as shown in the picture. The Black and Red wires connect the activation coil. The common “COM” terminal is normally connected to the “NC” terminal. The common “COM” terminal will switch connections to the normally open “NO” terminal when the coil is energized. Connection: Black wire to (-), Red wire to any DRIVER OUPUTS A7, B4, B5, or A6 screw terminals on the eLab16m. 7 Appendix 1: Connect Circuits to Lab16m 8. Motor (DC) Parts: 2x Wire 2 x Heat Shrink 1 x vero board Description: The eLab16m is capable of driving 2 motors in both directions or 4 motors in one direction. Solder the two wires on the terminals of the motor as shown. As the terminals on the motor are quite fragile, it is recommended that the motor be mounted onto a vero board. Drill two holes for the motor terminals to go through and hot glue the motor to the board. Connect the wires to the board and to the terminals of the motor as shown. Note: If the motor generates too much electronic noise into the circuit add a 100nf Capacitor between the motor terminals. Connection: For Bi-Directional control, connect the wires to any two DRIVER OUTPUTS A7, B4, B5 or A6 screw terminals on the eLab16m. For Single-Direction control, connect the Red wire to any DRIVER OUTPUTS A7, B4, B5 or A6 and the Black wire to the (-) screw terminal of the eLab16m. 8 Appendix 1: Connect Circuits to Lab16m 9. Potentiometer ( Pot ) Parts: 3 x Wire 3 x Heat Shrink Description: Solder the White wire to the middle pin of the Pot, the Red and Black wires to the remaining two pins. Connect: Connect the White signal wire to any SIGNAL IN/OUT (A1, A3, A2 or A0) screw terminals. Connect the Red wire to the (+) screw terminal and the Black to (-) screw terminal on eLab16m. Schematic Diagram for Pot Pot Circuit wiring 9 Appendix 1: Connect Circuits to Lab16m 10. LCD (16x 2 Liquid Crystal Display) Parts: 1 x Ribbon Wire 1 x 10 pin Connector with ribbon cable 1 x 10kΩ variable Resistor 1 x 100nf Capacitor 1 x 16 pin header Description: Prepare the LCD ribbon cable as shown. Connect the 6 pin connector to pins 1 to 6 of the LCD and the 4 pin connector to pins 11 to 14 of the LCD. Connect: Plug in the 10 pin header into eLab16m 10 pin socket. 10 Appendix 1: Connect Circuits to Lab16m