dankamongmen / counterforce

leet monitoring tool for schwarzgerät, running on its 5.5" amoled frontpiece
GNU General Public License v3.0
3 stars 1 forks source link

need reduce monstrosity of cables and nonsense #9

Closed dankamongmen closed 2 years ago

dankamongmen commented 2 years ago

it's ugly and unreliable. we need replace what we can with straight jumper wires. we need to solder things into the esp32. ideally we'd combine everything onto a single breadboard by moving the MEGA off of it a bit. finally, we'd enclose everything in a box of some kind, or reduce it to a PCB.

dankamongmen commented 2 years ago

the first thing we need is to solder the four wires down on the esp32. right now, they're all going to pop whenever we pull the power, which we have to do to load new firmware.

dankamongmen commented 2 years ago

i'm rebuilding the board with a much denser floorplan, and i think i can get everything on a single longboard (see picture in #12).

dankamongmen commented 2 years ago

alright, second version of the board is deployed:

this is much better! but we still absolutely need to solder down the esp32 wires.

dankamongmen commented 2 years ago

i've recently pulled a raspberry pi 3 model b from the AMOLED, replacing it with a raspberry pi 4 model b. this raspberry pi could drive all the sensors plus wifi. that would eliminate the level shifter, the arduino, and the esp32.

dankamongmen commented 2 years ago

iirc, the standard wiringpi library doesn't work on the LIbre Potato, since it's a clone. not sure how necessary that is.

dankamongmen commented 2 years ago

also, there are only 4 hardware pwm pins on the raspberry pi 3b

dankamongmen commented 2 years ago

apparently we can use DMA-based PWM on all pins?

dankamongmen commented 2 years ago

maybe a breadshield would resolve this problem?

dankamongmen commented 2 years ago

i think the HiFive1 Rev B might be able to handle everything:

hrmmm it looks like no analog input though =[

dankamongmen commented 2 years ago

i've printed up a brace and we're doing much better!