It's a moon phase tracker that tracks the phase. It's largely insoired by Simone Grietz's video and her collaboration with dina Amin. It used the mechanisms of flap display. It uses an API which sends the state of the moon. The device will have an interface from which you can enter your desired date and once you click enter the state changes. The device will have a display that shows the name of the phase
I used Eraser.io. Here's the prompt I used:"I want to create a code logic schematic of lunar phase tracker that takes the phase name and moon age from an online API once the user writes the date in a user interface, The data is sent to the ESP-WROOM-32. the code will run as follows once the device is opened a led neopixel will light up in a certain sequence. At the start the stepper on the tracker rotates until the variable called homing = 1. if not it doesn't move. Then once homed The user writes a date in a Website which will act as the user interface then ESP-WROOM-32 will send a request to the API with the set date. The esp checks if there's a return if not then return error message on the website. Then the returned data is a JSON file so it will be parsed and two values of moon age which is integer and the name of the phase which is a string and are stored in two variables that have the same name and defined at the start of the code. then the stepper motor rotates number of steps that are associated with the returned moon age which then moves until it shows the moon's current phase on the flip card."
It largely relies on this open-source flip display project.
I tried designing the gear movement in Computer aided design week
In Embedded Programming week I tried to get Mars's data from NASA horizon API: Here
In Input devices I tried capacitve touch sensor which in my system will serve as the "homing feature".
Component & Materials | Quantity | Link/supplier | Price |
---|---|---|---|
3mm Wood 140*75 | 1 | Local distributer | 345EGP |
3mm Black Acrylic 100*60cm | 0.5 | SpiroGlass | 500EGP |
PLA | 1KG | pcb | 1000 EGP |
Capacitors | ~5 | available at the lab | 0.5 EGP per unit |
Resistor | 10 | available at the lab | 0.5 EGP per unit |
ESP32-Wroom | 1 | Here | 340EGP |
Switches | 2 | available at the lab | 2EGP per Unit |
28BYJ-48 Stepper Motor 5VDC 0.1A 0.03Nm | 1 | here | |
ULN2003A SMD 16PIN | 1 | Here | 11.5 EGP | PinHeaders | ~ | available at the lab |
Voltage Regulator | 1 | herث | |
Power Supply 9v | 1 | -- | 500EGP |
Screws and Washers (M3,M4,M5) | 1 | Available at the lab | ~50ُ |
Copper tape | 1 | Available at the lab | ~~ |
E-paper Display | 1 | Here | 695EGP |
NeoPixel Stick 8-bit WS2812 5050 RGB LED | 2 | Here | 45 |