AIoT EIE3127 Lab/Project Materials and References 2024 (updated on Nov 14)
PolyU AIoT EIE3127 Lab Materials - 2024 Nov 05
(Click the photo to enlarge)
View from the bottom side. You can find the pin label names:
----- # Lab References # -----
- Lab 1: Arduino Nano RP2040 Connect - Cheat Sheet (Useful info from Arduino website)
- Lab 1 - 3: Arduino Nano RP2040 Connect - Tutorials from Arduino website
- Lab 1 Tutorial: Accessing IMU Data on Nano RP2040 Connect
- Lab 2: Arduino Nano RP2040 Connect - Getting Started Guide
- Lab 3: Tutorial: Setting up Nano RP2040 Connect with Arduino Cloud
- Lab 4: Tutorial: Using the IMU Machine Learning Core Features
-----
EIE AIoT laboratories before the start, you can:
Download the sensor board materials below: (purchased from Taobao / taobao.com 淘寶)
Sensor_modules_(Taobao)(Google_drive)
Below you can find different sensors, actuators, or lab modules for EIE3127 AIoT Labs or mini-project.
- Please have a look on the list of sensors in IoT lab CF005 (enter from F core on G/F).
- Please return the RP2040 Connect Board to the lecturer (at the semester break or the end of the course subject (i.e. Nov - Dec 2024) (after the mini-project report is submitted)) - to be re-used in the next semester - please also note that the Arduino RP2040 Connect Nano module is under US export control.
1) Arduino Nano RP2040 Connect (manufacturer part no. ABX00052) - Quick Start guide
Official website: https://docs.arduino.cc/hardware/nano-rp2040-connect
Built-in example program sources: https://docs.arduino.cc/built-in-examples/
Hardware Circuit (Arduino Nano RP2040 Connect Board): Schematics Local copy (click to open)
- Troubleshooting (e.g. unable to find the rp2040 Connect): Nano RP2040 Connect not being detected on USB port – Arduino Help Center
- (If the board is found to be abnormal, try factory reset) Download Arduino Nano rp2040 Connect Factory-reset uf2 programming files (to do factory reset): Blink.ino.ulf.uf2 , MicroPython, OpenMV firmware, Local copy
- Built-in tri-color LEDs and WiFi communication modules: File > Examples > (Choose from "Examples for Arduino Nano RP2040 Connect") Scheduler > MultipleBlinks
- Please note that you will encounter compilation errors as shown below: "Compilation error: WiFiNINA.h: No such file or directory". To solve this error, you need to install the library of the WiFi "WiFiNINA". In Arduino IDE, choose "Tools" > "Manage Libraries" (as shown below). Under the library manager, search "WiFiNINA" and click the "Install" button to install the library as shown.
- Built-in Microphone MP34DT06JTR -- Reading built-in sensor data from Arduino RP2040 Connect
- More examples of Arduino Nano RP2040 Connect and the built-in WiFi can be found on the Arduino IDE as shown below: "File" > "Examples" (choose any from the examples under "Examples for Arduino Nano RP2040 Connect" or "Examples from custom libraries").
- Embedded AI or Machine Learning Core (MLC) info (in Arduino Nano RP2040 Connect):
a) Tutorial 1 by ST MicroElectronics: https://youtu.be/hHVsLHqIN9g?si=-YcE4GF25GlzP99f
b) Tutorials by Coding Scientist: Lesson #5 Machine Learning IMU Libraries Nano RP2040 Connect; & Lesson #6 Machine Learing Projects Nano RP2040 Connect; Download Project codes at GitHub c) Tutorial by Ardino website: MicroPython and the IMU Machine Learning Core (MLC) Features (using MLC for vibration monitoring)
- Coding with AI Co-Pilot: Accelerate your Arduino projects with GitHub Copilot AI (to increase your coding speed) with Arduino IDE, VS code or VS code extension for Arduino
Arduino programming with Photoresistor module (4-pin module)
【优信电子】原装正品 光敏电阻传感器模块 光感应 智能车配件-淘宝网 (taobao.com)
Download Files:
LDR_Sample_Source_Code.zip (608 Byte) Local Download link
Example Setup photos: (for labs)
Programming support of Arduino Nano RP2040 (ABX00053 / ABX00052):
a) Arduino IDE: 2.3.x / 1.8.x / web-editor: C / C++ language
- Please refer to the lab sheets.
b) MicroPython: (no need to compile / flashing, No compilation / library compatibility errors) (Just run scripts)
i) Official MicroPython reference website / Arduino website
ii) Why MicroPython might be taking over Arduino IDE:
MicroPython Basics: What is MicroPython? (By Tony DiCola)
Five 5 Advantages of Using Micro Python for Embedded Software Programming
(YouTube video) Time to Say Goodbye to Arduino IDE and Go On to Micropython/ Adafruit Circuitpython?
- Eliminating the library/compiler installation or compiler-version-conflict problems with MicroPython / CircuitPython
- Easier debugging (no need to compile & flash to debug - just type your command to debug)
Editing Tools: Ref Arduino Website1, Arduino Website2
c) OpenMV IDE: Python programming
Arduino Nano RP2040 Connect Board Pin assignment: (ABX00052 / ABX00053)
Simulators
Sensors & Actuators
They are probably available in the PolyU EEE IoT hardware labs: (first come first serve) in CF005
Ref code: https://esp32io.com/tutorials/esp32-button-piezo-buzzer http://pan.baidu.com/s/1hqByZty
Tact switch circuits: (need pull-up resistor and serial protection resistor)
e.g.
Photoresistor-2 : with amplfier,
By applying analog voltages on R = Red, G = Green, B = Blue to display the LED in different colors.
https://item.taobao.com/item.htm?_u=kodb0t20541&id=551955373190 http://pan.baidu.com/s/1dEPYrIh
Ref: http://pan.baidu.com/s/1zKSbC ; Google drive ultrasound module sample codes / info
Ref: http://pan.baidu.com/share/link?shareid=388339&uk=322357029 ; Google drive sample codes/info
Info Baidu downloads Taobao buys link
Vibration Sensor (Piezoelectric Sensor): taobao link压电片 敲击 振动 震动传感器 开关模块
http://yunpan.taobao.com/s/22FE8RH5PtK ; IR remote control
13) Human Radars (advanced sensors): (few available)
c) Texas Instrument IWR6843AOPEVM: ti.com mmWave Human Radars (TI also has industrial radars)
- 1) Xiao ESP32S3: can link up with UART bus (serial interface) to Arduino RP2040 Nano Connect board: Tutorial to start. (RMB 73 promotion in Taobao)
- 2) ESP32S3 commonly available in Taobao websites, 01Studio ESP32 (MicroPython.org) (Chinese MicroPython.org).
- NoLogo 无名科技电子: https://pan.baidu.com/s/1PdL6_7a4BFeiIn1E9jWOIw?pwd=8888 (password: 8888)
- MicroPython download: https://chat.nologo.tech/d/75 (set baud rate at 115200)
- This board was used in 2004 Summer RCJ activities (click here for more info) (Robot car circuits)
- OV2640 modules from 01Studio (a design company in China): OV2640 camera module 1, ADC info, OV2640 module circuit, OV2640 usb module, AI application uses, ESP32S3 (testing source codes) cloud drive downloads, OV2640 Pandrive, FLIR Lepton3.5.
Thank for sharing blog read more Best ai tools in 2025
回覆刪除