Welcome to the wonderful world of BrailleBot, your very own Braille language trainer! BrailleBot is a special project designed to make learning the Braille alphabet not only easy but also super fun, especially for kids who are visually impaired.
Imagine having a personal Braille tutor right at your fingertips! What makes BrailleBot even more amazing is that it won't break the bank—it's a budget-friendly option, coming in at just under $100. Now, let's dive into what BrailleBot is all about.
BrailleBot is a hands-on learning tool crafted to teach the Braille alphabet from A to Z. It's like having a playful friend that guides you through the world of Braille in an engaging way. The surface of BrailleBot is equipped with six dots, and each dot is controlled by a small servo motor. These dots create the tactile sensations that represent different letters in the Braille alphabet.
But wait, there's more! BrailleBot doesn't just stop at tactile learning—it also has an audio system. This means you not only feel the Braille dots but also hear the corresponding letters being vocalized. It's a multi-sensory experience, making the learning journey more enjoyable and effective.
Behind the scenes, BrailleBot is powered by the Romeo ESP32-S3 board, the brains that ensure everything runs smoothly and efficiently. So, whether you're a beginner trying to grasp the basics of Braille or a parent looking for an accessible and affordable learning tool for your visually impaired child, BrailleBot is here to open up a world of possibilities.
Get ready to embark on a Braille adventure with BrailleBot—where learning is hands-on, interactive, and loads of fun!
1x Romeo ESP32-S3 Development Board
6x Servo Motors
1x Memory Card
1x Speaker
1x Screws
2x Touch Sensor
My Equipment's:
1. Servo Motor Control:
Each of the 6 dots on the Braille surface is linked to a servo motor.When a specific alphabet is chosen for display, the corresponding servo motors rotate by a set degree, causing the connected dot to lift.
2. Dot Movement:
The servo motors are programmed to lift the dots precisely, creating a tactile representation of Braille characters.This controlled movement ensures accurate positioning of the dots on the Braille surface, providing a clear and distinguishable touch experience.
3. Alphabet Selection:
The control system of BrailleBot, powered by the Romeo ESP32-S3 board, determines which servo motors to activate based on the selected alphabet.For instance, to display the letter 'A,' specific servo motors corresponding to the dots forming the letter 'A' are rotated.
4. Audio System Integration:
Simultaneously, the audio system connected to BrailleBot announces the selected alphabet.This audio feedback serves to reinforce the tactile learning experience, creating a multi-sensory approach to Braille education.The synchronization of tactile and auditory input enhances the user's understanding of the Braille characters and their pronunciation.
5. User Interaction:
BrailleBot incorporates two touch sensors, one on each side, allowing users to interact with the system.Users can navigate through the Braille alphabet using these touch sensors. One sensor may be designated for moving to the next alphabet, while the other is for moving to the previous one.This interactive feature promotes user engagement, making the learning process more dynamic and enjoyable.
To bring your BrailleBot to life, let's start by 3D printing the essential components.
Follow these steps to create the physical structure of your BrailleBot:
You can view my design directly on your browser, download it, open it in Fusion 360 software and modify it according to your requirements.
Download all the provided 3D files (stl) and 3D print them. I am using 2mm layer height and 100ms as speed On My Kobra Neo 2.
Parts:
1x Top.stl
1X Main.stl
4x Dot1.stl
2x Dot2.stl
Minor adjustments needed in the Dots 3D design:
Initially, I overlooked including holes to connect the dot pieces to servo motors. I have now revised the 3D model for you. However, be aware that these holes are quite small, and there's a possibility that the 3D printer might not capture them accurately. In such a case, you can use a small tool to manually create these holes on each dot piece.
Proceed by attaching the Romeo ESP32 board to the main 3D printed enclosure using 2mm screws.
Align the Type C opening with the screw holes and carefully secure them in place.
Additionally, remove the antenna sticker and affix the ESP32 antenna onto the enclosure wall.
Exercise caution during the screwing process to avoid potential damage to the electronics.
To initialize the motors position, follow these steps:
Ensure that you have the Arduino IDE installed with the latest ESP32 board manager. If you haven't installed the ESP32 board manager, you can follow the instructions in this link: Installing the ESP32 Board in Arduino IDE. Once the ESP32 board manager is installed, connect the Romeo ESP32-S3 to your PC using a Type-C cable. Copy and paste the provided code below.Select the Board type as "DFRobot Romeo ESP32-S3" in the Arduino IDE. Choose the correct port for your connected Romeo ESP32-S3.Upload the code to the board.
This code set the servos to the corresponding initial positions.
To initialize the motors position, follow these steps:
Ensure that you have the Arduino IDE installed with the latest ESP32 board manager.
If you haven't installed the ESP32 board manager, you can follow the instructions in this link: Installing the ESP32 Board in Arduino IDE.
Once the ESP32 board manager is installed, connect the Romeo ESP32-S3 to your PC using a Type-C cable.
Copy and paste the provided code below.
Select the Board type as "DFRobot Romeo ESP32-S3" in the Arduino IDE.Choose the correct port for your connected Romeo ESP32-S3.Upload the code to the board.
After completing the previous step, follow these instructions to assemble the servo motors into the Top 3D printed part:
Begin by removing all the arms from the servo motors.
Screw each servo motor into its corresponding position on the Top 3D printed part:
Use the screws provided with the servo kit to secure each motor in place.
Ensure the arrangement is as:
1, 2
3, 4
5, 6
First we have to cut 4 arm tips to adjust the arm length and avoid overlap. Plug the CType connector into your PC or any 5V power source, such as a power bank or a 5V adapter so that motors can initialize. Ensure that all arms are removed from the motors, as mentioned in the previous step, to prevent damage during initialization. With the system powered, carefully place all dot shafts according to their specified lengths.Connect each dot shaft to its corresponding arm and servo motor, using the single-strand wire as illustrated in the provided image. Be cautious during this step as the holes for assembly are tiny and may require precision.Take your time to ensure each dot shaft is securely connected to its designated arm and servo motor.
To incorporate voice functionality into BrailleBot, the DFPlayer Mini is utilized, which plays different audio files stored on a memory card in response to signals from the Romeo ESP32-S3.
If you wish to use your own custom voice, you can explore https://speechgen.io/ for generating alphabet pronunciations. However, for immediate use, you can simply copy and paste the provided audio files from the GitHub repository: https://github.com/MukeshSankhla/BrailleBot.
Follow these steps:
Download the provided audio files from the GitHub repository by navigating to the repository and finding the "Audio.zip" file. Extract the contents of the "Audio.zip" file. Copy the extracted audio files to the memory card. Insert the memory card into the DFPlayer.
By completing these steps, you ensure that the DFPlayer has access to the necessary audio files, allowing BrailleBot to provide voice feedback during the learning process.
Note: Here I am using a 4GB memory card which was available with me, if you have a memory card with lsize less then 32GB "since DFPlayer can support up to 32GB memory card" you can use it.
DFPlayer to Romeo ESP32 Connections:
Connect the GND (Ground) of the DFPlayer to the GND on the Romeo ESP32. Connect VCC of the DFPlayer to 5V on the Romeo ESP32. Connect RX (Receive) of the DFPlayer to IO48 on the Romeo ESP32. Connect TX (Transmit) of the DFPlayer to IO46 on the Romeo ESP32.
Speaker Connections:
Connect SPK1 of the DFPlayer to one terminal of the speaker. Connect SPK2 of the DFPlayer to the other terminal of the speaker.Ensure that the connections are secure and accurate, following the circuit diagram.
Grab the two touch sensors and connect them by soldering the female jumper wires.
Now, establish the connections:
Attach Sensor 1 (Next) I/O pin to pin IO45 of the Romeo ESP32. Connect Sensor 2 (Previous) I/O pin to pin IO8 Romeo ESP32. Also, connection GND to GND and Vcc to 3v3 of both sensors to corresponding Romeo pins, following the guidance provided in the circuit diagram.
To complete the assembly, follow these steps:
Mounting the Speaker:
Securely screw the speaker onto the main enclosure. Ensure it is firmly attached.
Protecting DFPlayer Connection:
Use masking tape to cover the open connections of the DFPlayer. This precaution helps protect against potential short circuits.
Placing DFPlayer and Wires:
Position the DFPlayer and its associated wires inside the main enclosure.
Assembling the Enclosure:
Align the Top 3D printed part with the main enclosure. Snap the Top part onto the main enclosure, ensuring a secure fit.With these steps completed, your assembly should be finished.
Download the Code from GitHub:
Visit the GitHub repository: https://github.com/MukeshSankhla/BrailleBot Click on the green "Code" button, and then click "Download ZIP." Extract the downloaded ZIP file to a location on your computer.
Install DFRobotDFPlayerMini Library:
Open the Arduino IDE on your computer. Click on Sketch in the menu, then select Include Library -> Add .ZIP Library. Navigate to the extracted folder and select the "DFRobotDFPlayerMini-master.zip" file. Click "Open" to install the library.
Open and Upload the Code:
Open the Arduino sketch by navigating to the extracted folder and opening the .ino file.In the Arduino IDE, set the board type by clicking on Tools -> Board and selecting the bosrd type as "DFRobot Romeo ESP32-S3". Choose the correct port by clicking on Tools -> Port and selecting the port to which your Romeo ESP32-S3 is connected. Upload the code to the board by clicking on the right arrow icon (or by selecting Sketch -> Upload).
Code Successfully Uploaded:
Once the code is successfully uploaded, you should see the message "Done uploading" at the bottom of the Arduino IDE.
setup():
This function is called once when the Arduino starts. It sets up the pin modes for the "Next" and "Previous" buttons, initializes serial communication, and attaches interrupt service routines to these buttons. It initializes the DFPlayer module, prints welcome messages to the serial monitor, and performs the initial setup for BrailleBot, including moving the Braille dots and playing the introduction audio.
loop():
This function runs repeatedly in a loop after the setup() function. It checks if the "Next" or "Previous" buttons are pressed using the nextPressed and previousPressed flags. If the "Next" button is pressed, it increments the position variable, clears the Braille display, and lifts the corresponding alphabet dots, plays the audio for the new Braille letter. It then resets the nextPressed flag. If the "Previous" button is pressed, it decrements the position variable, clears the Braille display, and lifts the corresponding alphabet dots, plays the audio for the new Braille letter. It then resets the previousPressed flag.
dot1Up() and dot1Down() to dot6Up() and dot6Down():
These functions control the movement of each individual Braille dot using a servo motor. The dotXUp() functions move the specified dot up by gradually decreasing the servo angle, creating a rising motion. The dotXDown() functions move the specified dot down by gradually increasing the servo angle, creating a lowering motion. As you can see the dot1, 3 and 5 starts from last position that is 180° and decrements, because these motors are oriented in reverse order. Whereas dot2, 4 and 6 starts from 0° and increment.
play():
This function plays the audio associated with the current Braille letter. It checks the position variable and calls the corresponding function (e.g., a(), b()) to move the Braille dots and play the audio for that letter. If position is 27 (beyond the letter 'z'), it resets position to 1.
clear():
This function clears the Braille display by moving all dots down. It sequentially calls the dotXDown() functions for each Braille dot with a delay between each movement.
a() to z():
These functions each correspond to a Braille letter from 'a' to 'z'. Each function calls the appropriate dotXUp() functions to raise the Braille dots into the configuration for that letter and plays the corresponding audio using the DFPlayer module.
up():
This function raises all Braille dots by calling the dotXUp() functions for each dot.
nextISR() and previousISR():
These are interrupt service routines that set the nextPressed and previousPressed flags when the "Next" and "Previous" buttons are pressed, respectively.
And there you have it — we're all set to explore the Braille alphabets with BrailleBot.
If you encounter any questions or issues during the implementation, feel free to let me know in the comments section. If you've successfully created this project for yourself, remember to share it in the "I Made It" section below.
Throughout this BrailleBot tutorial, I've demonstrated how to create a straightforward Braille alphabet trainer (A to Z). This project offers ample opportunities for customization, so I encourage you to share your improved versions of the project. By doing so, you can contribute to helping others benefit from this tool and facilitate interactive learning for the visually impaired.
Thank you, and I look forward to our next encounter.