Gameplay
My-Pet-Arduino Project!
- Turn your Arduino into a friendly pet.
- This project was built with the Arduino Nano 33 BLE Sense Board.
- Entry for the Tensorflow Lite for Microcontrollers Challenge.
How to use:
- Get the Materials:
- An Arduino Nano 33 BLE Sense Board
- A power supply for the Arduino
- A device with Google Chrome and Bluetooth enabled
- A computer with Arduino IDE
- (Or one device which has Google Chrome, Bluetooth enabled, and Arduino IDE)
- Set up:
- Open the Arduino IDE and download:
- Arduino_TensorFlowLite Version 2.4.0-ALPHA Library
- ArduinoBLE Version 1.2.1 Library
- Arduino_LSM9DS1 Version 1.1.0 Library
- Arduino Mbed OS Nano Boards Version 2.2.0 in the Boards Manager
- Flash the code to the Arduino:
- Download the Arduino folder from this repository, and open it in the Arduino IDE.
- Connect the Arduino to a computer and make sure the correct board and port is selected.
- Upload main.ino to the Arduino Board.
- The code should be running on the Arduino now.
- Interact with the website:
- On google chrome, go to the link: 3LucasZ.github.io/My-Pet-Arduino/HTML/index.html
How to play:
- About:
- The Arduino is your new pet! Take care of it well by giving it food, play, cleaning, and sleep. If it is neglected too much, it will disconnect and be very sad.
- Connect to the Arduino with BLE:
- Click the connect button on the top
- Select your Arduino
- Press pair
- Take care of the Arduino:
Technologies used:
- Website
- HTML, Javascript, CSS
- Bootstrap, p5.ble.js
- Machine Learning
- Model and much of the inference code trained and created using tiny-motion-trainer
- Bluetooth Low Energy
- Hardware
- Arduino Nano 33 BLE Sense