Exploration into simple Braille reader with Arduino

Braille


If you ever checked for Braille displays you may noticed they are terribly expensive. A “normal” one with a good sentence of characters can cost in thousands of dollars. Which is well quite expensive. So it got me thinking what I could do to make a basic Braille display which could potentially be a lot more cost effective?

And I dived into imaginary world of Arduino where I wrote a very basic representation of the logic. Even though it uses a basic LED array it is meant as a representation of Braille character, which is 6 bit and one character can be easily represented with 6 LED lights.

I used first dots on the top as LED 1 and LED 2 , the middle ones for LED 3 and LED 4 and the same for last 2(Braille code at the bottom of -> this link).
The basic idea is that you use something like for example Microsoft Accessibility API through which you would send data to something like an Arduino or custom made circuit board connected with for example 6 electromechanical Braille dot “one-character displays”.
What would be the best thing to use for the Braille part of components is debatable and there are multiple ways of doing it.

With usage of Arduino and most probably custom ordered parts for Braille could potentially give you a basic reader of 12 characters for around 100-150 euros.

In the second part of the article you can check references, video example with Arduino and the code used for the particular example as seen.

References and extra literature:

Braille Display by Lateral Skin Deformation with the STReSS2 Tactile Transducer
Six-bit character code
Electronic braille instructor / patent
Electromechanical braille cell and method of operating same / patent
Braille Cell & Refreshable Braille Display Design Data

My Arduino video example with a LED array for representation of CODE&UNICORNS keyword. SHould be filmed from reverse perspective, but you get an idea.

//******************************************************//
// Define key pin - Names like on the board
int K1 = 13;
int K2 = 12;
int K3 = 11;
int K4 = 10;
// Define led pin
int GND = 6;
int D1 = 5;
int D2 = 4;
int D3 = 3;
int D4 = 2;
int D5 = 1;
int D6 = 0;
// variables will change:
int buttonState = 0; // variable for reading the pushbutton status
// the setup routine runs once when you press reset:

void setup() {
  // initialize the keys pin as an input.
  pinMode(K1, INPUT);
  pinMode(K2, INPUT);
  pinMode(K3, INPUT);
  pinMode(K4, INPUT);
  // initialize the leds pin as an output.
  pinMode(GND, OUTPUT);
  pinMode(D1, OUTPUT);
  pinMode(D2, OUTPUT);
  pinMode(D3, OUTPUT);
  pinMode(D4, OUTPUT);
  pinMode(D5, OUTPUT);
  pinMode(D6, OUTPUT);
  //Activate key pin internal pull-up resistors
  digitalWrite(K1, HIGH);
  digitalWrite(K2, HIGH);
  digitalWrite(K3, HIGH);
  digitalWrite(K4, HIGH);
  //as LED GND
  digitalWrite(GND, LOW);
}

// the loop routine runs over and over again forever:
void loop() {
  buttonState = digitalRead(K1); //reading input of the first button
  if (buttonState == LOW) {
    // Code and unicorns in Braile writting
    //parameters are for D1,D2,D3,D4,D5,D6 status
    letterPrint(1,1,0,0,0,0);//C
    letterPrint(1,0,0,1,1,0);//O
    letterPrint(1,1,0,1,0,0);//D
    letterPrint(1,0,0,1,0,0);//E
    letterPrint(1,1,1,0,1,1);//&
    letterPrint(1,0,0,0,1,1);//U
    letterPrint(1,1,0,1,1,0);//N
    letterPrint(0,1,1,0,0,0);//I
    letterPrint(1,1,0,0,0,0);//C
    letterPrint(1,0,0,1,1,0);//O
    letterPrint(1,0,1,1,1,0);//R
    letterPrint(1,1,0,1,1,0);//N
    letterPrint(0,1,1,0,1,0);//S
  }
}

//Function that takes 6 numeric values and uses them to sent voltage to the designated pin as per variable. That consequentially make LED turn on.
void letterPrint(int d1sta,int d2sta,int d3sta,int d4sta,int d5sta,int d6sta) {
    digitalWrite(D1, d1sta);
    digitalWrite(D2, d2sta);
    digitalWrite(D3, d3sta);
    digitalWrite(D4, d4sta);
    digitalWrite(D5, d5sta);
    digitalWrite(D6, d6sta);
    delay(1000);
}
Matjaz Trcek
Matjaz Trcek
SRE @ Magnolia CMS

Working as an SRE in Magnolia CMS. In my free time I work on many side projects some of which are covered in this blog.

Related