IoT EIE568 Lab/Project Materials and References 2024 (updated on Oct 20)
PolyU IoT EIE568 Lab Materials - 2024 Oct 15
(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
-----
EIE MSc IoT 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 EIE568 IoT Labs or mini-project.
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 this item 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)
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)
留言
張貼留言