a14g-final-submission-t03-outdoor-innovators

Review Assignment Due Date

a14g-final-submission

* Team Number: 03
* Team Name: Outdoor Innovators
* Team Members: Jinnan Weng, Jinyu Tan
* Github Repository URL: https://github.com/ese5160/a14g-final-submission-t03-outdoor-innovators
* Description of test hardware: (development boards, sensors, actuators, laptop + OS, etc) Customed PCBA, sensors,  actuators

1. Video Presentation

https://drive.google.com/file/d/1mBNG53yQCwf-wDcMPQ2UYusR2cHMgMRF/view?usp=sharing

2. Project Summary

  1. Device Description:

The Outdoor Assistant is an innovative device tailored for enhancing safety and convenience during camping trips. It addresses the need for real-time environmental monitoring and alerting in outdoor settings. The device uses Internet connectivity primarily to enhance its functionality by sending real-time alerts and updates about weather conditions, wildlife movements, and other environmental factors directly to campers’ mobile devices. This connectivity ensures that all data collected by the on-site sensors are promptly processed and utilized to keep the campers informed and safe.

  1. Inspiration:

The inspiration for the Outdoor Assistant came from the challenges and risks associated with outdoor camping, such as sudden weather changes and potential wildlife encounters. Our aim was to create a smart, reliable companion that would provide peace of mind to campers through continuous monitoring and automated alerts, thereby making camping safer and more enjoyable.

  1. Device Functionality: alt text

The Outdoor Assistant is equipped with a series of sensors and actuators interconnected through a robust system architecture. Key components include:

SHTC3 sensor for temperature and humidity monitoring, providing SMS alerts if thresholds are exceeded.

BMP581 sensor for altitude and air pressure data, important for route planning and safety.

PIR sensor for motion detection to alert against wildlife.

VEML6030 ambient light sensor to automatically manage lighting based on ambient conditions.

Light Strip for providing essential lighting, automatically adjusting to surrounding conditions.

Buzzer to emit warning beeps when wildlife is detected, enhancing camper safety.

These devices are coordinated through a FreeRTOS vTask system and visualized via a Node-RED interface for robust remote monitoring and control. Additionally, a WiFi module plays a crucial role by enabling the device to connect to the Internet. This connectivity allows for the uploading of environmental data such as temperature, humidity, and light levels to online platforms, ensuring that all information is easily accessible and that users can receive updates anywhere with Internet access.

  1. Challenges

Significant challenges were faced in hardware integration and firmware stability, particularly with the battery management system and button component manufacturer errors and SPI communication faults. These were mitigated by temporary hardware modifications and rigorous debugging sessions to stabilize the communication protocols. The biggest challenge is the above mentioned that one of the sub-modules of our power management system, the Lipo-charger, was not working because the manufacturer had soldered one of our chips to the wrong pin. Nick suggested replacing this sub-module with a three-pin switch. The switch allows the user to manually select USB or battery power, solving the problem in an ingenious way!

  1. Prototype learnings

The prototyping phase taught us valuable lessons in system integration and the importance of rigorous testing, especially under varied environmental conditions. If we were to build this device again, we would place an increased emphasis on enhancing power management and further refining the user interface for even more intuitive interaction. The lessons learned above emphasized the importance of comprehensive testing, meticulous component selection, and maintaining detailed documentation to enhance troubleshooting and future development efforts. In conclusion, this prototype not only taught us the intricacies of embedded system design but also highlighted the necessity of flexibility and thorough testing in overcoming unexpected challenges.

  1. Next Steps

To finalize the Outdoor Assistant, we need to resolve the remaining hardware issues with the SPI communication, expand the device’s sensor array for even more detailed environmental data. We also remanufacture PCBs to ensure the integrity of the button and battery management system while ensuring that the manufacturer does not have a problem.

  1. Takeaways from ESE5160

The course ESE5160 provided a comprehensive understanding of embedded system design, from conceptualization to execution. Through lectures and assignments, we gained insights into real-time operating systems, hardware-software integration, and the practical challenges of bringing an IoT device from the drawing board to real-world application. This project was a hands-on opportunity to apply these lessons and refine our approach to embedded system design.

  1. Project Links

Link to your Node-RED instance:http://20.42.90.94:1880/

Link to your Node-Red ui: http://20.42.90.94:1880/ui/

Link to your A12G code repository:https://github.com/ese5160/a12g-firmware-drivers-t03-outdoor-innovators/tree/main

Final PCBA link: https://upenn-eselabs.365.altium.com/designs/33677AEA-E514-458A-9677-44B08257B49A

3. Hardware & Software Requirements

Hardware requirements

alt text

alt text

Software Requirements

4. Project Photos & Screenshots

Final Project: alt text alt text alt text alt text alt text alt text The standalone PCBA, top: alt text

The standalone PCBA, bottom: alt text

Thermal camera images:

alt text

The Altium Board design in 2D view:

alt text

The Altium Board design in 3D view:

alt text

Node-RED dashboard:

alt text

Node-RED backend:

alt text alt text alt text

Block diagram of your system:

alt text