Welcome to my "Bluetooth" Kobo Page Turner project.
The project was born because my wife wanted a pageTurner for the KOBO Libra Colour, and everything she found didn't meet her needs, and as I had some material that I wasn't using, I decided to accept the challenge. Basically, I just needed to emulate a keyboard and be able to connect via Bluetooth, to avoid more connections.
This code will simply emulate a keyboard, that is all that is needed. You can change the button order to suit your needs. Or change the Led brightness.
//buttonPin1 = D5; // Button 1 (will send Left Arrow)
//buttonPin2 = D4; // Button 2 (will send Right Arrow)
//extLedPin = D9; // External LED pin (GPIO9)
// LED_BRIGHTNESS = 1; // Value between 0-255 for brightness (adjust as needed - If you want a flashlight, put the 255 :P)
In order to use this on Kobo we must enable the " devmode ", to do so pls refer to this video that shows how to do it. https://www.youtube.com/watch?v=fA2ApXlZ0VU&t=56s
Once inside Devmode enable ( Force wifi On ) or Kobo system will automatically disable the connection after 2min.
( Attention with this option on, the kobo Battery will drain out, the solution is to everytime you stop using the PageTurner, Go to setting and disable "Bluetooth and wi-fi".
Be free to go wild with the design, I made the design in function of my wife's desire.
Let me tell you that Kobo Bluetooth works very badly, but works, I understand that this device does everything to save battery, but it could be a little better.
I can't upload the code here so you have to download the code directly from my GitHub
LED behavior:
How should it be turned on after it has been paired?
Turn on the PageTurner and only then activate Bluetooth on the Kobo.
The material I used:
- DevBoard - Seeed Studio XIAO ESP32C3. (Link)
- 2x buttons that I recovered from an old Dell mouse you can find the buttons here. (Link)
- A on/off slider switch to turn the equipment on and off, i have recover my sw from a LED battery case, you can find the sw here. (Link)
- An LED, to know when the connection is established. (Link)
- A battery I recovered from a ( Xiaomi Mi True Wireless Basic 2 ) charging case, but you can find the battery here: (Link)
- I did add 1k resistor to dim LED, but i decide to control the BRIGHTNESS by code, and 1k is very low.
- 2 x 12mm M3 screws.
- Color dot's to identify the on/off position are a bit of pla filament that i press fit .
If you make any improvements on the code, or design pls share with the community.
If you have any questions that I can help with, feel free to contact me.
Happy making and printing.
//if you want to buy me a coffee - paypal.me/mmpires
Diagram:
Comment & Rating (0)