-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Jason Zheng edited this page Jun 16, 2023
·
4 revisions
Welcome to the LESA_SUMM23 wiki! This document is to organize the findings of the Summer 2023 team and hopefully help future students navigate through the ToF Occupancy Sensor Design Lab Site.
Main Tasks:
- Prototype a low power occupancy sensor that preserves the privacy of a building’s inhabitants.
- Integrate ToF and Color Sensor using as few components possible. Preferably STM32 boards.
- Basic Premise: Use the low power Color Sensor to ‘wake up’ ToF to obtain greater information on targets. Integrate several units of sensors using BLE mesh.
Definitions:
- MCU- microcontroller unit, i.e., microprocessor
- ToF- time of flight, senses proximity of an object to the sensor.
- L5- VL53L5CX ToF sensor, the first model used for the ToF project.
- L8- VL53L8CX ToF sensor, the summer team is to replace the L5 with this newer model.
- STM32- series of MCUs, powerful and flexible.
- ESP32- series of MCUs, have wireless capabilities.
- BLE Mesh- low energy Bluetooth network, allow for multiple device communication.
- MYSQL- database service used to create a central server for wireless communication.
Navigating The Design Lab Website: Will only cover parts of the website that the URP students are concerned about.
- Wiki Where you can access “How To” instructions and contact information from previous teams.
- Forum Discussion board for previous teams. May be difficult to filter out key information. Important threads: “Background Info”, “Project Management”, “Design”
- Repository Check out “tags” folder for old project versions. The “working” folder is where active files are, the ones you need to be concerned about.
Project Versions: (See the “tags” folder)
- Spring + Fall 2019: Nine sensors (first version)
- Spring 2020: Apollo/Artemis (MCU) + TCS34725 (color sensor), built on the “nine sensors” work of previous year. Code used for this project (still in the “working” software folder):
- “Artemis Deep Sleep”
- “Dynamic Range”
- “Noise Threshold”
- “RGB to Chrom”
- “Sensor setup”
- Fall 2021: Raspberry pi module, prototype of ToF sensor mounted to an overhead frame. LESA backed project that seems to be the backbone of future development. See additional info here: https://github.com/LESA-RPI/Sage_GUI (Might be worthwhile to check out)
- Fall 2022 + Spring 2023: direct lead to current project.
Necessary Products:
- IDEs/Monitoring: VSCode + ESP-IDF Extension , Arduino IDE, STM32CubeIDE , PuTTY
- Code/Document Sharing: Box, GitHub, RPI Design Lab
- MCUs: STM32 (currently Nucleo F446RE and F401Re, may change to STM32WB series for BLE capabilities), ESP32 (for BLE capabilities),
- Sensors: VL53L5CX (or VL53L8CX ) ToF sensor, TMD3725 color sensor
Tutorials/Datasheets:
- VSCode + ESP-IDF Extension: https://github.com/espressif/vscode-esp-idf-extension/blob/master/docs/tutorial/install.md
- Arduino IDE + ESP Extension: https://randomnerdtutorials.com/installing-the-esp32-board-in-arduino-ide-windows-instructions/
- STM32CubeIDE: https://www.st.com/en/development-tools/stm32cubeide.html
- PuTTY: https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html
- STM32: “um2974-how-to-use-the-vl53l5cx-with-stmicroelectronics-xcubetof1-timeofflight-sensor-software-packages-for-stm32cubemx-stmicroelectronics” and “an5945-how-to-connect-the-satelvl53l8-to-an-stm32-nucleo64-board-stmicroelectronics.pdf” in the “working→” folder
- VL53L5CX: “PCB1726REVB-Wiring.pdf” or “stm32-vl53l5g.png” in “working→” folder
- VL53L8CX: in “working→” folder
- TMD2725: “How to use color sensor.docx” in “working→” folder
- Algorithms: Tracking
- Wireless: BLE, MYSQL (server)
- Integration: UART
Summer 23 Undergraduate Research Program (URP) Students:
- Sanghyun (Sean) Kim- kims29@rpi.edu
- Jason Zheng- zhengj8@rpi.edu