UBISS2024

From Sketching with Hardware at LMU Wiki
Jump to navigation Jump to search

Random Links[edit]

https://docs.arduino.cc/micropython/basics/board-examples/ https://www.sketching-with-hardware.org/wiki/Jupyter https://docs.arduino.cc/resources/pinouts/ABX00083-full-pinout.pdf https://towardsdatascience.com/micropython-on-esp-using-jupyter-6f366ff5ed9 https://www.codemotion.com/magazine/backend/getting-started-with-micropython-on-arduino-nano-rp2040-connect/ https://docs.arduino.cc/tutorials/nano-rp2040-connect/rp2040-openmv-setup/ https://docs.arduino.cc/tutorials/nano-rp2040-connect/rp2040-data-logger/ https://www.penguintutor.com/programming/arduino-python https://micropython.org/download/ARDUINO_NANO_RP2040_CONNECT/ https://docs.arduino.cc/tutorials/nano-rp2040-connect/rp2040-ap-web-server-rgb/ https://www.datacamp.com/tutorial/markdown-in-jupyter-notebook https://scikit-learn.org/stable/auto_examples/datasets/plot_iris_dataset.html https://docs.micropython.org/en/latest/library/socket.html https://ubicomp.net/sw/db1/var2db.php? http://localhost:8888/notebooks/ArduinoNanoRP2040_v01.ipynb https://labs.arduino.cc/en/labs/micropython https://labs.arduino.cc/en/labs/micropython-installer https://micropython.org/ https://www.arduino.cc/en/software https://www.linkedin.com/pulse/arduino-truly-tiny-machine-learning-simone-salerno https://eloquentarduino.com/posts/micropython-machine-learning https://github.com/eloquentarduino/everywhereml https://github.com/mocleiri/tensorflow-micropython-examples https://dev.to/tkeyo/tinyml-machine-learning-on-esp32-with-micropython-38a6 https://saturncloud.io/blog/how-to-import-python-file-as-module-in-jupyter-notebook/ https://github.com/jposada202020/MicroPython_LSM6DSOX https://docs.arduino.cc/micropython/#micropython-101 https://docs.arduino.cc/micropython/micropython-course/course/installation/ https://docs.arduino.cc/micropython/micropython-course/course/examples/ https://wellys.com/posts/rp2040_micropython_1/ https://micropython.org/download/RPI_PICO_W/ https://jupyter.org/install https://www.geeksforgeeks.org/install-jupyter-notebook-in-windows/ http://localhost:8888/doc/tree/create-ML-model01.ipynb

Random Commands[edit]

pip install micropython-lsm6dsox

picotool.exe load -x C:\Users\ru42qak\AppData\Roaming\OpenMV\openmvide\firmware\ARDUINO_NANO_RP2040_CONNECT\firmware.bin

pip install jupyterlab

pip install everywhereml

python -m pip install jupyter

git clone https://github.com/goatchurchprime/jupyter_micropython_kernel.git

pip install -e jupyter_micropython_kernel

python -m notebook

python -m jupyter kernelspec list


C:\Users\ru42qak\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\jupyterlab>pip install -e jupyter_micropython_kernel

C:\Users\ru42qak\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\jupyterlab>python -m notebook

Tasks[edit]

Task 1: connect a Arduino Nano ESP32 board[edit]

  • connect the board
  • control the internal RGB LED


Task 2: connect a Arduino Nano Connect RP2040[edit]

  • connect the board
  • read the accelerometer and the gyro and show it in the notebook

Task 2.1: is it moved?[edit]

  • read acceleration and gyro
  • calculate the differences between values
  • show an ouput when it is move
  • create a file on the device that logs, when it is moved

Task 2.2: it was turned upside down?[edit]

  • read acceleration and gyro
  • make a rule based "AI" that records
    • it was put upside down
    • it was turned 360
    • it was moved "quickly"


Task 3: connect both boards to WIFI[edit]

  • connect both boards to WIFI using Tutorial_Network
  • use the Arduino Nano ESP32 as output (showing a color)
  • use the Arduino Nano Connect RP2040 as input (recognize with rules 3 gestures)