Week 2
In week 2, we received the components and are now commencing the practical implementation. Preliminarily, we created a schematic diagram of the circuit connections on the simulation website. Although this website does not have the Arduino chip model we are using, the schematic diagram still serves as a valuable reference for connecting our circuit.
schematic diagram:
In the code section, we downloaded the U8glib library and quickly compiled the code segments for several individual components based on reference code.
code:
However, we also encountered some unexpected setbacks, such as the interface of the OLED display we ordered not matching our expectations, necessitating a replacement. Additionally, the Arduino Nano ESP32 has fewer pins than anticipated, which is insufficient to support our idea of using LED lights to display seat status. It was also found that
the operation pins of the Arduino Nano control board and the ESP32 for the
display screen were in different positions. After testing, the A4 and A5 pins
of the Nano were used for connection. Nonetheless, we are continuously adjusting our plans according to the actual situation. We have already connected the other hardware components except for the OLED screen, and we unanimously agree that the screen's display function is sufficient to indicate seat availability. Abandoning the LED bulbs will not affect the core functionality of the seat occupancy detector.
As for tackling the challenge of designing the app, we found a method through literature review and case studies to implement app functionality on a computer using an Android virtual machine. We are prepared to put this into practice next week.



Comments
Post a Comment