Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

TensorFlow Lite - Magic Wand on RTL8722DM

Status
Not open for further replies.

RealCrab

Newbie
Joined
May 21, 2021
Messages
6
Helped
0
Reputation
0
Reaction score
2
Trophy points
3
Activity points
103
Materials

• Ameba D [RTL8722 CSM/DM] x 1
• Adafruit LSM9DS1 accelerometer
• LED x 2

Example

Procedure

Connect the accelerometer and LEDs to the RTL8722 board following the diagram.



r/arduino - TensorFlow Lite - Magic Wand on RTL8722DM
Download the Ameba customized version of TensorFlow Lite for Microcontrollers library at https://github.com/ambiot/ambd_arduino/tree/master/Arduino_zip_libraries.
Follow the instructions at https://www.arduino.cc/en/guide/libraries to install it.
Ensure that the patch files found at https://github.com/ambiot/ambd_arduino/tree/master/Ameba_misc/ are also installed.
In the Arduino IDE library manager, install the Arduino_LSM9DS1 library. This example has been tested with version 1.1.0 of the LSM9DS1 library.
Open the example, “Files” -> “Examples” -> “TensorFlowLite_Ameba” -> “magic_wand”.



r/arduino - TensorFlow Lite - Magic Wand on RTL8722DM
Upload the code and press the reset button on Ameba once the upload is finished.
Holding the accelerometer steady, with the positive x-axis pointing to the right and the positive z-axis pointing upwards, move it following the shapes as shown, moving it in a smooth motion over 1 to 2 seconds, avoiding any sharp movements.



r/arduino - TensorFlow Lite - Magic Wand on RTL8722DM
If the movement is recognised by the Tensorflow Lite model, you should see the same shape output to the Arduino serial monitor. Different LEDs will light up corresponding to different recognized gestures.
Note that the wing shape is easy to achieve, while the slope and ring shapes tend to be harder to get right.



r/arduino - TensorFlow Lite - Magic Wand on RTL8722DM




Join in the community discussions at:

https://www.facebook.com/groups/AmebaIoT/

https://forum.amebaiot.com/



Purchase links for the various Realtek development boards can be found at:

https://www.amebaiot.com/en/where-to-buy-link/
 
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top