b raille d isplay katie and kara chylinski advisor: professor hedrick march 5, 2005

31
BRAILLE DISPLAY Katie and Kara Chylinski Advisor: Professor Hedrick March 5, 2005

Upload: kerry-farmer

Post on 16-Dec-2015

218 views

Category:

Documents


2 download

TRANSCRIPT

Page 7: B RAILLE D ISPLAY Katie and Kara Chylinski Advisor: Professor Hedrick March 5, 2005

MODULE DESIGN PROCESS

• Environment: Linux

• Collecting bitmap: SANE

• Converting bitmap: GOCR

• Driver hardware: Cynagal C8051 Microcontroller

This module technique allows us to change each component.

Page 9: B RAILLE D ISPLAY Katie and Kara Chylinski Advisor: Professor Hedrick March 5, 2005

DESIGN PROCESS• Research• Compare actuators• Design sketches and performance criteria• Configure scanner and optical character

recognition (OCR)• Use microcontroller and RS232 port• Program code changing ASCII to Braille• Construct driver circuit

Page 16: B RAILLE D ISPLAY Katie and Kara Chylinski Advisor: Professor Hedrick March 5, 2005

MICROCONTROLLER

• RS232 Port

• Serial Port

• Data Communication

Protocol

• Program

Page 18: B RAILLE D ISPLAY Katie and Kara Chylinski Advisor: Professor Hedrick March 5, 2005

PROGRAM

   // receive example: // a '1' turns LED on; a '0‘ turns LED off.

   P2MDOUT = 0xff;   XBR2 = 0x40;     P2 = 0x00;

   while (1) {      input_char = _getkey();          if (input_char == '@') {              putchar('R');                 //get the braille character                 input_char = _getkey();                 putchar('S');                 P2 = input_char;       }     }

Page 19: B RAILLE D ISPLAY Katie and Kara Chylinski Advisor: Professor Hedrick March 5, 2005

C++ PROGRAM

• Algorithm

• Set baud rate

• Open output file from scanner

• Read in first character

• Communicate with microcontroller

• Check if capital letter or number

• Write to port binary sequence

Page 20: B RAILLE D ISPLAY Katie and Kara Chylinski Advisor: Professor Hedrick March 5, 2005

C ++ PROGRAM

             /* Change ASCII to Braille */                switch (int(next))                {                // Lower Case Letters                case 101: case 69:                // e - 010001                  portchar = 0x11;                  write(port, &portchar, 1);                        break;                case 116: case 84:                // t - 011110                  portchar = 0x1e;                  write(port, &portchar, 1);                        break;                case 97: case 65:                 // a – 000001

portchar = 0x01;                  write(port, &portchar, 1);                        break;

Page 26: B RAILLE D ISPLAY Katie and Kara Chylinski Advisor: Professor Hedrick March 5, 2005

TOTAL COST

Scanner: $50

Microcontroller: $150

OCR software: free

6 Solenoids: $20

Circuit components: $10

Casing materials: + $20

$250

Page 29: B RAILLE D ISPLAY Katie and Kara Chylinski Advisor: Professor Hedrick March 5, 2005

REFERENCEShttp://dots.physics.orst.edu/gs_index.htmlhttp://jocr.sourceforge.net/http://www.aagi.com/http://www.allelectronics.com/http://www.alva-bv.nl/alvacorp/alva_corp_home.asphttp://www.askoxford.com/asktheexperts/faq/aboutwords/frequencyhttp://www.braillenet.net/accessibilite/livreblanc/english/affbraille.htmlhttp://www.freedomscientific.com/http://www.htwm.de/acmc/mcmodule.htmhttp://www.k10k.net/issues/issue059/golan/dakadaka/braille.htmlhttp://www.kgs-america.com/bc.htmlhttp://www.metec-ag.de/english.htmlhttp://www.nec-tokin.com/english/product/sekisou_e/pa_features.htmlhttp://www.pulsedata.com/http://www.sane-project.org/http://www.vesid.nysed.gov/lsn/stvnews/fall03.htm