Check out my first novel, midnight's simulacra!

InaMORAta: Difference between revisions

From dankwiki
Line 56: Line 56:


==Wiring==
==Wiring==
* 5V pin goes to 10kΩ resistor, goes to tach signal
All level shifter connections are to the MEGA or Heltec, and are specified there.
* Take ground from power source
 
* Analog input pin goes to thermistor signal
===MEGA===
* Digital output pin 8 goes to PWM input
* 5V pin goes to 10kΩ resistor, goes to tach signal, goes to level shifter VB
* 3.3V pin goes to 10kΩ resistor, goes to thermistor signal
* Pin A0 goes to thermistor signal
* 3.3V goes to AREF
* Pin 8 goes to hub's PWM input
* 3.3V pin goes to 10kΩ resistor, goes to thermistor signal, goes to AREF
* Pin 16 goes to level shifter B7
* Pin 17 goes to MEGA pin 17
* Pins 9, 10, and 11 go to MOSFET controls
 
===Heltec===
* 5V pin goes to level shifter OE
* 3.3V pin goes to level shifter VA
* Pin 36 goes to level shifter A7
* Pin 17 goes to MEGA pin 17
 
===MOSFETs===
* Gate is connected to appropriate MEGA pin 9, 10, or 11
* Drain is connected to appropriate hub R/G/B pin
* Source is connected to 12V line


===Example breadboard===
===Example breadboard===