-
1Introduction
Introducing MicroMote: The ESP-Now Based Gesture Remote
Are you ready to take control of your smart devices with a wave of your hand? Look no further than MicroMote, the revolutionary ESP32 S3-based Gesture Remote. This innovative and compact device, measuring just 4cm, is set to transform the way you interact with your smart electronic appliances, lamps, and more.
Key Features:
- ESP32 S3 Powerhouse: MicroMote is powered by the ESP32 S3, a cutting-edge microcontroller that offers enhanced performance and efficiency for seamless communication with your smart devices.
- Gesture Sensing Technology: With a built-in gesture sensor, MicroMote lets you control your devices with simple hand movements. Wave your hand to adjust the volume, change the channel, or dim the lights – it's like magic at your fingertips.
- ESP-NOW Protocol: MicroMote utilizes the ESP-NOW protocol for ultra-fast and reliable communication with other devices. Say goodbye to the hassle of complex pairing processes and enjoy instant connectivity.
- Compact and Portable: MicroMote's small form factor makes it incredibly portable and easy to carry in your pocket or attach to your keychain. Take it with you wherever you go and have control over your devices no matter where you are.
- Wide Compatibility: MicroMote is designed to work seamlessly with a variety of smart electronic appliances, lamps, and more. It's your all-in-one remote for a connected world.
-
2Supplies
1x Seeed Studio Grove Smart IR Gesture Sensor
1x Small 3.7v Lithium Polymer Battery
1x Small Screw
1x 3D Printed Housing
1x 3D Printed Cover
Sponsored By NextPCB
This project is successfully completed because of the help and support from NextPCB -Reliable Multilayer PCB Manufacturer. NextPCB is one of the most experienced PCB manufacturers in Global, has specialized in the PCB and assembly industry for over 15 years.
Order high-quality, reliable PCB starting at $1.9, multilayer starting at $6.9:
https://www.nextpcb.com/pcb-quote
Enjoy free PCB assembly for 5 boards:
https://www.nextpcb.com/pcb-assembly-quote
DFM free online PCB Gerber viewer:
-
3Gesture Sensor Operating Plane
The gesture operation distance is 15 to 30 cm, the farthest cannot exceed 35 cm. Based on Sensor FOV 78.3° (horizontal) and 62.9°(vertical), and the operating area is 48 x 36 cm² at 30 cm.
In addition to the distance to the sensor, you also need to pay attention to where the sensor is placed. On the front of the sensor, in the upper left corner, there is a small human shape. If you see the figure standing upright, then you have placed it in the correct position. If it is upside down, then it is likely that you will not get an accurate recognition result.
As background noise may impact the accuracy of gesture recognition, it is recommended to avoid the relative higher reflective background object behind the palm. In normal gesture recognition condition, recommend at least 35cm distance between palm and background.
-
4Supported Gesture Types
Finger (N=0~5): 0 ~ 5 fingers at top of fist
N Finger Push (N=1~5): 0~5 fingers move forward toward sensor
Pinch: 2-finger close to pinch, open to release
Rotation CW/CCW: Move wrist in a circular pattern
Hand Swipe Right or Left: Swipe and move both hands away from each other for some distance
Tap: 1-finger click (fingers disappear)
Grab: 5-finger to 0-finger
Thumb Up: Thumb at top of fist
Down Thumb: at bottom of fist
Above are all the gesture types supported by the Grove Smart IR Gesture Sensor (PAJ7660), for this MicroMote I used only the 0~5 Finger and 0~5 Fingers Push gestures. Do refer the documentation to include other gestures in the MicroMote.
-
5ESP-Now
ESP-Now, short for "Espressif Simple Protocol Now," is a wireless communication protocol developed by Espressif Systems, a company known for its popular ESP8266 and ESP32 series of Wi-Fi and Bluetooth-enabled microcontrollers. ESP-Now is designed for low-power, peer-to-peer (P2P) communication between ESP8266 and ESP32 devices. It is particularly well-suited for IoT (Internet of Things) applications where low latency, high reliability, and low power consumption are essential.
MicroMote is built upon the ESP-Now protocol, allowing it to transmit various signals and messages to different ESP32-based systems. These messages can encompass a wide range of data types, including numbers and strings. Each receiving device can be configured with a predefined identifier and trigger messages, enabling it to interpret incoming messages as triggers for various actions. These actions might include turning lights on or off, adjusting brightness levels, and many other customizable functions. Importantly, the same message sent by the sender device can serve as a trigger point for these actions on the receiver device, creating a versatile and flexible communication system.
The trigger message can either be common across multiple devices or unique to each device. This flexibility allows you to control common devices simultaneously, as demonstrated in this example. Alternatively, you can control individual devices separately, tailoring actions to specific needs or preferences. This versatility provides a powerful means of managing and customizing your IoT network to suit different scenarios and requirements.
Refer ESP-Now guide by Drone Bot Workshop to get deep into the concept.
-
6CAD Design and 3D Printing
I designed MicroMote in Autodesk Fusion 360, I used datasheets and scale to measure the dimensions of different components and designed the model. I have attached both stl files and the original Fusion 360 model.
You can directly download The MicroMote stl files and 3D print them.
Or
You can modify the design that I have attached in Fusion 360 software and proceed.
-
7Sensor Configuration
The Grove Smart IR Gesture Sensor supports a wide range of communication protocols with a choice of I2C, SPI and USB. The different modes are selected directly via a 4 position DIP switch on the back.
The diagram and table below will show you how to select the mode you wish to use with the 4 position DIP switch.
For MicroMote I used I2C protocol, so just set your gesture sensor to I2C mode by positioning down the switch 2.
-
8Connecting Battery
- Begin by soldering the battery wires and header pins onto the XIAO ESP32 board.
- Use the above pin diagram for connecting battery.
- Since the XIAO ESP32 board comes with built-in battery charging circuitry that includes overcharge protection, you can use the Type-C port on the XIAO ESP32 to charge the connected battery. This feature simplifies your project setup, as you won't need to implement an additional battery charging circuit. Just plug in the Type-C cable, and the board will take care of charging the battery safely.
-
9XIAO ESP32 + Sensor Connection
Connecting the gesture sensor to the ESP32 is a straightforward process. Simply insert the XIAO ESP32 board directly into the Grove Gesture Sensor's female connector, ensuring that the USB-C port on the XIAO ESP32 is oriented outward. This plug-and-play setup makes it easy to integrate the gesture sensor into your project.
-
10Other Board + Sensor Connection
You have two options for connecting the gesture sensor to other boards:
- Using Jumper Wires: If you're connecting the gesture sensor to a board that doesn't have a Grove connector, you can use 4 jumper wires. Simply connect GND on the sensor to GND on your board, VCC to 3.3V/Vin, SCL to SCL, and SDA to SDA. This method allows for flexible integration with various microcontrollers.
- Using a Grove Cable: Alternatively, if your board supports the Grove connector, you can use a Grove cable to easily connect the gesture sensor. This method simplifies the connection process and is convenient if your board has a Grove interface.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.