Difference: MagicWandOld (8 vs. 9)

Revision 92022-05-19 - UliRaich

Line: 1 to 1
 
META TOPICPARENT name="TinyML"

The Magic Wand Example

Introduction

The magic wand example shows how to detect gestures using an accelerometer. Different types of accelerometers are easily available:

Changed:
<
<
>
>
 
  • The LIS2DH MEMS digital output motion sensor from ST Microelectronics is an ultra low power high performance 3 axis accelerometer.
lis3dh.png

Hardware

Line: 24 to 25
 
INT D0 26
XDA and XCL are foreseen to control an external I2C bus, These pins are currently not used. AD0 allows to modify the MPU6050 I2C address and is also not used.
Added:
>
>
The connections of the MPU92/63 are similar
MPU92/63 !WeMos GPIO I2C SPI
Vcc 5V      
GND GND      
SCL D5 GPIO 18 SCL SCK
SDA D7 GPIO 23 SDA MOSI
AD0 D6 GPIO 19 Alternate module address MISO
INT D1 GPIO22    
NCS D0     CS
FSYNC GND      

 The ADXL345 is connected as follows:
ADXL345 WeMos D1 bus GPIO
Vcc 5V  
Line: 61 to 74
 
META FILEATTACHMENT attachment="lis3dh.png" attr="" comment="" date="1644829697" name="lis3dh.png" path="lis3dh.png" size="182302" user="UliRaich" version="2"
META FILEATTACHMENT attachment="mpu6050.png" attr="" comment="" date="1643973693" name="mpu6050.png" path="mpu6050.png" size="163386" user="UliRaich" version="3"
META FILEATTACHMENT attachment="mpu6050assembly.png" attr="" comment="" date="1643973853" name="mpu6050assembly.png" path="mpu6050assembly.png" size="249044" user="UliRaich" version="2"
Added:
>
>
META FILEATTACHMENT attachment="mpu9250.png" attr="" comment="" date="1652989731" name="mpu9250.png" path="mpu9250.png" size="172394" user="UliRaich" version="1"
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback