Web app and backend bridge for controlling the Yeah Hand robotic/prosthetic hand.
This project has two main layers:
- Written in C/C++
- Runs on the ESP32 inside the robotic hand
- Controls the motors/fingers
- Receives command strings such as
PINCH 50
- Written in JavaScript/TypeScript
- Runs on a PC/server, not on the hand
- Provides the browser interface
- Sends commands from the web app to the hand over Bluetooth/serial
The file backend/services/BluetoothService.js belongs to the backend layer. It is not firmware code.
The current Bluetooth service simulates the connection and command flow so the backend structure can be tested without the physical hand.
- Node.js v20 recommended
- npm
npm installnode backend/test/bluetoothTest.jsConnecting to Bluetooth device...
Simulated Bluetooth connection established.
Sending command to hand: PINCH 50
Disconnecting from Bluetooth device...
Bluetooth connection closed.