Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kevin-pottier/rpen
RPEN - Connected Pen 🖊️✨ A smart pen that lets you write or draw remotely on a TFT screen via Bluetooth. Features include customizable colors and sizes, motion detection with MPU6050, and real-time feedback via RGB LED. Built with a Bluepill microcontroller, it's perfect for education and creative projects. Open-source and innovative! 🚀
https://github.com/kevin-pottier/rpen
c-language educational-project embedded-systems graphics i2c ili9341 led-matrix microcontroller mpu6050 stm32 tft-display uart-communication uart-communication-protocol
Last synced: about 2 months ago
JSON representation
RPEN - Connected Pen 🖊️✨ A smart pen that lets you write or draw remotely on a TFT screen via Bluetooth. Features include customizable colors and sizes, motion detection with MPU6050, and real-time feedback via RGB LED. Built with a Bluepill microcontroller, it's perfect for education and creative projects. Open-source and innovative! 🚀
- Host: GitHub
- URL: https://github.com/kevin-pottier/rpen
- Owner: Kevin-Pottier
- License: other
- Created: 2024-12-02T17:46:08.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2024-12-06T07:03:46.000Z (about 2 months ago)
- Last Synced: 2024-12-06T08:18:22.046Z (about 2 months ago)
- Topics: c-language, educational-project, embedded-systems, graphics, i2c, ili9341, led-matrix, microcontroller, mpu6050, stm32, tft-display, uart-communication, uart-communication-protocol
- Language: C
- Homepage:
- Size: 1.71 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# RPEN - Connected Pen
RPEN (Remote Pen & Air Pen) is an innovative connected pen project developed as part of the DEEP (Digital Embedded Electronics Project) program at ESEO. This pen allows users to write on a screen remotely via Bluetooth, providing a practical and interactive solution for teaching or creative applications.
## Features
- **Remote Writing:** The pen uses position sensors to capture movements and transcribe them onto a TFT screen.
- **Interactive Modes:**
- **Writing Mode:** Draw with customizable colors and sizes.
- **Calibration Mode:** Re-center the cursor on the screen.
- **Erase Mode:** Remove drawings by overlaying white lines.
- **Style Customization:**
- Modify drawing size and color via dedicated buttons.
- **Interactive Screen:** The pen pairs with a TFT screen controlled by a microcontroller receiving data via UART Bluetooth.## Technical Specifications
### Hardware
- **Connected Pen:**
- Microcontroller based on the Bluepill board.
- MPU6050 sensor for motion detection.
- WS2812S RGB LED for indicating the current color.
- Buttons for functionality control.
- **TFT Screen:**
- Controlled via SPI.
- UART Bluetooth interface for receiving data.### Software
- **Data Transmission:**
- Motion data and parameters (color, size, mode) are sent as Bluetooth frames.
- **Core Algorithm:**
- The pen stores motion and parameters in variables.
- The screen interprets the data to draw or perform the corresponding actions.## Usage
### Pen Controls
- **Button 1:** Writing mode.
- **Button 2:** Change size or color.
- **Button 3:** Erase the screen or activate erase-by-drawing mode.To navigate the menus, tilt the pen in the desired direction, similar to a Wii controller.
### Tests
The project underwent various tests:
- Verification of the microcontroller’s power supply.
- Display testing on the TFT screen.
- Changing colors and sizes using buttons.
- Bluetooth functionality for data transmission.## Contributions
### Developers
- **[Kevin POTTIER](https://github.com/Kevin-Pottier)**:
- **[Julien RACKI](https://github.com/juickar)**:## Potential Improvements
- Reduce noise from the MPU6050 sensor data using low-pass filters.
- Optimize Bluetooth frame processing.
- Improve motion precision for smoother control.## License
This project is open for educational and experimental purposes. Any reuse must include proper attribution.
---
**Note:** Associated files, including the PCB schematic and the CAD design of the pen case, are available upon request.
To request access, please contact me at:
📧 **Kévin Pottier**
GitHub: [https://github.com/JegHeterKevin1](https://github.com/JegHeterKevin1)
Email : [email protected]