Guest User

Gigameter 1.2 Wiring

a guest
Apr 11th, 2017
491
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Wiring:
  2. Ground is coming in from all over - Tie all together at -Batt, not the Arduino.
  3.  
  4. Same for +Batt, run wires out to the devices (Arduino, Amplifier)
  5.  
  6. Glue wires down for strain/vibration prevention.
  7.  
  8. Pot:
  9. Gang Switch: One side to the battery, the output becomes -Batt for the rest of the prop.
  10. Actual Pot: This thing is 50k and consumes almost no current.
  11. One end of the pot to +5v at the Arduino, the other to ground. Wiper to the Analog In pin specified in the sketch.
  12. For wiring simplicity, you can hook one side of the pot and the gang switch to the same ground wire.
  13.  
  14. Relay Coil: Side 1 to Arduino Signal, Side 2 to /Ground on Arduino. Coil should be ~10ma tops. DIODE ACROSS COIL REVERSE BIAS for spike snubbing. 1N4148, etc.
  15. Relay Contacts: NO to -Led, Common to -Batt. Easy wiring - connect COM and Coil ground together - 1 wire.
  16.  
  17. Dome LED's: Position and wire LED's so that you have two red and two white LED's in series chains. Parallel them.
  18. Put 100 ohm resistors in series with each pair.
  19. Connect the + Side to +Batt, and - side to COM on Relay
  20.  
  21. Motor: Parallel with the LED's power source at the Relay.
  22.  
  23. Ears: Each LED has a dedicated digital pin with a 20ma recommended load - which our LED's are.
  24. LED's should be common Anode (to +Batt) and Cathodes to signal lines on Arduino.
  25.  
  26. Display, Sound, and Servo Power Sections:
  27. Hook up a 5v switching module, and chain a 3.3v regulator off of it. Mount in the battery tray. Run wires to power the display/audio chip (3.3v) and Servo (5v).
  28. Make sure to put a ~100uF 25v cap in parallel with the input to the 5v regulator to prevent inductive spike blowout.
  29.  
  30. Display Wiring:
  31. Tie Brightness (18) to VDD (17). Tie DE (14) to Ground (1).
  32. Run Serial Data (15) and Clock (16) to pins on Arduino.
  33. Outputs for bit 24 + 25, pins 4 & 5, are SINK on enable, so they need to be hooked to the face LED Cathodes. Hook anodes to +3.3v on the display.
  34.  
  35. Servo Wiring:
  36. Just run the PWM Input (Signal) to the arduino by itself. Easy.
  37.  
  38. Sound Chip Wiring:
  39. Sound 1 and 2 to Signals on Arduino. Sound Chip DAC to Amp In. Amp out to Speaker. You may need to put a pot in line with DAC Out to cut the level down.
  40.  
  41. Electrical BOM:
  42. Name - Quantity - Part #
  43. 3mm Ear LED - 6 - Digikey 160-1664-ND
  44. 5mm White Dome LED - 4 - Digikey 1080-1005-ND
  45. 5mm Red Dome LED - 4 - Digikey 516-3531-1-ND
  46. Serial LED Display - 1 - Digikey 160-1980-5-ND
  47. Display Face LED - 2 - eBay - 2x5x7 White LED
  48. Scan Microswitch - 1 - Digikey Z5074-ND
  49. 50k Gang Switch Pot - 1 - Digikey 987-1284-ND
  50. Speaker - 1 - Digikey 102-1300-ND
  51. Arduino Nano - 1 - eBay - Arduino Nano
  52. WT588 Prop Sound Chip - 1 - eBay - WT588-16p
  53. WT588 Programmer - 1 - eBay - WT588 Programmer
  54. LM1117-3.3v Regulator - 1 - Digikey LM1117T-3.3/NOPB-ND
  55. 5v Switching Regulator - 1 - eBay - Matek 5v Regulator
  56. Dome Motor - 300rpm 12v - 1 - eBay - N20 12v 300rpm Gear Motor
  57. LM386 Amplifier - 1 - eBay - LM386 Amplifier
  58.  
  59. Mechanical BOM:
  60. Name - Quantity - Part #
  61. Heat-Set Inserts/Plas - 8 - McMaster 94180A323
  62. Metric M4 Nut - 2 - Anywhere
  63. Metric M2.5x20mm SHCS - 6 - Anywhere
  64. Metric M2.5x12mm SHCS - 2+ - Anywhere
  65. Metric M4x16mm BH - 2 - Anywhere
  66. Metric M1.6x4mm SHCS - 2 - eBay
  67. Metric M2.5x6mm SHCS - 2 - eBay
  68. 4.0mm Drill Bit - 1 - Anywhere
  69. 3/16 Drill Bit - 1 - Anywhere
  70. 3/16 Acrylic Rod - 1 - eBay
RAW Paste Data