BEACON
Hardware- 4 Devlogs
- 4 Total hours
Breathed Enviorment Assessment Comunity Outreach Network BEACON.
Breathed Enviorment Assessment Comunity Outreach Network BEACON.
Power Saving. Finised up my power saving settings ad well as making a new github for my code.
Bad Day. So i worked on the esp32 but overnight the zph02 sensor stopped working so i spent all day trying to fix it. And just when i was so close the pulled a resistor out while the esp32 was still on and fried it 😭. But the rest of the code can just use simulated hardware but fixing the esp will be a nightmare.
Redoing the Codebase. I will admit that my first iteration was very clunky and 200 lines +. But after some optimizations and trimming the fat I was able to get it down to 98 lines. It still needs a power saving mode and some other stuff but that will come later. Also i finely found out why my voltage divider wasn’t working, It turns out that the ZPH02 uses the voltage as a way to read data. So if it was hard stuck to 3.3v it would just give 0s. So i just used a 10k ohm resistor to get it down to a safe level and it worked!