Check out my first novel, midnight's simulacra!

InaMORAta: Difference between revisions

From dankwiki
No edit summary
No edit summary
Line 87: Line 87:
===UART===
===UART===
We can transmit from the Heltec to the Arduino directly; the 3.3V high logic level of the Heltec registers as high on the MEGA. Sending from the 5V MEGA directly to the Heltec will damage the latter. We instead go through a TXS0108E level shifter. The 5V line is taken to VB, while the 3.3V line is taken to VA. TX2 (pin 16) on the MEGA is taken to B7 on the level shifter. A7 goes to pin 36 on the Heltec, which is configured as RX2. The Heltec transmits from 17 directly to RX2 (pin 17) on the MEGA. Finally, the Heltec's 5V output is connected to OE on the level shifter.
We can transmit from the Heltec to the Arduino directly; the 3.3V high logic level of the Heltec registers as high on the MEGA. Sending from the 5V MEGA directly to the Heltec will damage the latter. We instead go through a TXS0108E level shifter. The 5V line is taken to VB, while the 3.3V line is taken to VA. TX2 (pin 16) on the MEGA is taken to B7 on the level shifter. A7 goes to pin 36 on the Heltec, which is configured as RX2. The Heltec transmits from 17 directly to RX2 (pin 17) on the MEGA. Finally, the Heltec's 5V output is connected to OE on the level shifter.
==Future work==
* Not yet properly driving the LEDs =\
* This needs to get cleaned up, obviously. at a bare minimum, wires need be soldered into the Heltec.
* I think I can remove the 12V hub and just drive things off the 12V/ground lines on the breadboard. This would also remove the barreljack-to-SATA adapter (I'd just take the barreljack to a 2-way screwpost, and from there to the breadboard).


[[CATEGORY:Projects]]
[[CATEGORY:Projects]]
[[CATEGORY:Hardware]]
[[CATEGORY:Hardware]]