Devlog3 - Sleep Helper
What I did:
- Added a photoresistor for light levels + LED
- Added code to set an alarm + buzzer
- added a relay that would cause a motor to spin if the temperature got past ideal sleeping temps
- Added an extra button to stop/set alarm
- Added an ethernet shield because it has a microSD card slot
- Used microSD card to create a CSV file with timestamps, temp & humidity data, light etc.
- microSD card can then be removed from ethernet shield and opened to see data in an EXCEL spreadsheet (check how your sleeping environment was after waking up)
- added a capacitor to deal with voltage dips
- Debugged during Argentina vs England (🐐)
- Free up space for SRAM on Arduino UNO
(this has taken too long.)
MAJOR PROBLEMS:
- Arduino Uno doesn’t have enough SRAM to manage OLED, DHT and SD libraries at once and doesn’t have adequate space to Open a file on an SD card for a write function
Moving forward:
- finding a solution to manage everything without voltage dips becoming an issue + managing SRAM
- adding motor
- Creating 3D printed housing
- Shipping