1 / 5
3D Printer Emission Sensor Array (Sensorbox v2) Code Remix — image 1
1 / 5

3D Printer Emission Sensor Array (Sensorbox v2) Code Remix

Order a print of this model

We calculate the final price from your selected file. You review and accept it before payment.

Saved on this device.

Model information

License
Creative Commons — Attribution

I have used the two linked code bases to add some features to it.

They include the following:

  • Wifi Icon in the top left. (Red if disconnected, green if connected) (only page 1)
  • Time and date in the bottom right [DD/MM/YYY] (NTP enabled), autohides when Wifi is disabled to not have an error show. (only page 1)
  • Added a text popup when turning on/off wifi to see if it actually did it. Same for saving the SGP30 Value baseline for reboots (no re-calibration needed)
  • Added different brightness modes. 100%, 33%, 15%, OFF. Sensorbox defaults to 33% (bright enough)
  • Edited button logic. Short/Single press = brightness, medium press = switching pages, long press = toggling wifi, very long press = manually saving the SGP30 value baseline with text popup IF the current values are in the safe threshold to not skew the baseline.
  • Rearranged  the 2nd and 3rd page and swapped Pressure with Particles.
  • Added an automatic save of the SGP30 Baseline every couple of hours that gets restored on reboot.

Button cycles:

Brightness = 1ms - 490ms
Switching pages = 500ms - 2000ms
Wifi toggle = 2200ms - 5000ms
Saving baseline = 5100ms - 7500ms

That's everything i can think of right now.

 

Update: Added a Gif to the gallery to show off the different brightness steps.

That gif seems to keep breaking once it played..