Speaking electronic queuing system speaks the number in the queue, it can be used to control the queue in hospitals, restaurants and other places calling people in the queue.
All credits goes to Uteh Str
NAME | QTY |
---|---|
Arduino UNO board. | 1 |
Serial MP3 Player Module | 1 |
Micro SD Card | 1 |
P10 LED Panel | 1 |
LED 16 x 2 | 1 |
Breadboard | 1 |
Male to Male and Make to Female jumper wires | 30 |
Trimpot / variable resistor (100K) | 1 |
Headphone / Speaker | 1 |
The program will require the installation of the required libraries (link at the end of the readMe), then configuration of the P10 module, LCD 16x2 configuration, seral MP3 player module configuration and DMD configuration
This is the command to play mp3 files with specific files and folders
7E FF 06 0F 00 01 01 EF Play the song with the directory /01/001xxx.mp3 7E FF 06 0F 00 01 02 EF Play the song with the directory /01/002xxx.mp3 This project will use two folders inside the micro SD card 01 (intros) and 02 (numbers), the folders should be named 01 and 02 not with the given names in this repository, they are just for understanding!
In folder 01 there are two files '001 Bell' sound and '002 Number', so to play mp3 files in "01" folder with the name "01 Bell sound" the code is like this:
sendCOMMAND(CMD_PLAY_FOLDER_FILE, 1, 1);
- Forward button
short press to display the next queue number. Long press to display the next queue number, the queue number will continue forward until the button is released
- Replay button
short press to repeat calling the queue number. Long press to return the queue number to 0
- Previous button
short press to display the previous queue number. Long press to display the previous queue number, the queue number will continue backward until the button is released
Until this point, the queue number will return to "00" if there is loss of power, unstable power and so on.
To overcome that, the queue number data will be stored in the EEPROM. But for implementation, its not recommended using internal arduino EEPROM, use external EEPROM or Data Logger.
The demonstration video of both the code with EEPROM and without EEPROM will be shown below.
-
Freetronics dot matrix display library
https://github.com/freetronics/DMD -
TimerOne Library: Use with Freetronics dot matrix display library to configure 16bits hardware timer
http://code.google.com/p/arduino-timerone/downloads/list -
LCD Monitor Library: Arduino LiquidCrystal driver based on the Hitachi HD44780
https://github.com/adafruit/LiquidCrystal