You are on page 1of 21

 (/) Circuits (/circuits/) Workshop (/workshop/) Craft (/craft/) Cooking (/cooking/) Living (/living/) Outside (/outside/) Login (/account/login/)

Login (/account/login/) | Sign Up


Teachers (/teachers/) (/account/register/)

instructables (/circuits/) Projects (/circuits/projects/) Community (/circuits/community/) Let's Make...


circuits 
Arduino Based Electronic Queuing System
By smching (/member/smching/) in Circuits (/circuits/) > Arduino (/circuits/arduino/projects/) 10,524 22 13

Download Favorite
(https://cdn instructables com/FOL/OG3I/I7HG6SXZ/FOLOG3II7HG6SXZ LARGE jpg?auto=webp&fit=bounds)

(/member/smching/)
By smching
(/member/smching/) More by
eDIY (http://www.ediy.com.my) the author:

Follow

About: A place for DIY projects More About smching » (/member/smching/)

This is a Queuing System project requested by a clinic asistant which allows the doctor
enter number from a keyboard and display it on a 32x16 LED panel.
This project uses two Arduino, the rst Arduino functioned as a SENDER which included a
PS2 keyboard and a mini LCD for number input. While the other Arduino is functioned as a
RECEIVER which will trigger a "ding-dong" tone and display number on the 32x16 LED
panel.

The SENDER uses a PS2 keyboard instead of USB keyboard, USB keyboard will cost
higher since it require a USB host shield. You should get a Matrix keypad
(http://ediy.com.my/index.php/2012-10-21-15-15-03/2013-04-14-05-06-50/item/65-
arduino%E8%AF%BB%E5%8F%96%E9%94%AE%E7%9B%98) (please use google
translate) in case the PS2 keyboard is not available in the market.

These two Arduino (SENDER & RECEIVER) is connected via a CAT5e network cable, the
CAT5e cable provide power to the RECEIVER and also transfer data between two Arduino.

 Add Tip V Ask Question | Comment Download

Teacher Notes

Teachers! Did you use this instructable in your classroom?


Add a Teacher Note to share how you incorporated it into your lesson.

Add Teacher Note

Step 1: What You Will Learn From This Project


Built your own DIY Arduino without using the Arduino development board
Using 8MHz internal oscillatior & eliminated the uses of 16 MHz crystal
Serial communication between two Arduino
Connect a PS2 keyboard for user input
Control a Hitachi HD44780 compatible LCD
Trigger a ding-dong reminder tone
Driving a 32x16 Dot Matrix Display LED panel
Monitor serial data while blink the Dot Matrix LED without delay

 Add Tip V Ask Question | Comment Download

Step 2: Materials for SENDER

ATMEGA328 microcontroller
PS2 Keyboard
10K resistor
0.1uF capacitor
100uF capacitor
Printed circuit board
1602 LCD screen
2.2K resistor or resistor 6.8 K
5V 2A power adapter
RS232 serial port header (DB9 male and female each one)
Some wire

 Add Tip V Ask Question | Comment Download

Step 3: Materials for RECEIVER

ATMEGA328
Printed circuit board
10K resistor
0.1uF capacitor
100uF capacitor
32x16 Dot Matrix LED Display panel
RS232 serial port header (DB9 male and female each one)
470 ohm resistors
8021-2 ding-dong doorbell IC
2W or 3W ampli er board + Mini SpeakerSome wire

 Add Tip V Ask Question | Comment Download

Step 4: Arduino Software Libraries


You must have the following software libraries install on your computer:

Freetronics dot matrix display library: Driving Freetronics 512 pixels (32 × 16 layout)
matrix LED display
https://github.com/freetronics/DMD (https://github.com/freetronics/DMD)

TimerOne Library: Use with Freetronics dot matrix display library to con gure 16bits
hardware timer
http://code.google.com/p/arduino-timerone/downloads/list
(http://code.google.com/p/arduino-timerone/downloads/list)

PS2 Keyboard Library: An Arduino library for PS2 keyboard


http://playground.arduino.cc/Main/PS2Keyboard
(http://playground.arduino.cc/Main/PS2Keyboard)

LCD Monitor Library: Arduino LiquidCrystal dirver based on the Hitachi HD44780
https://github.com/adafruit/LiquidCrystal (https://github.com/adafruit/LiquidCrystal)

 Add Tip V Ask Question | Comment Download

Step 5: Circuit Diagrams and Source Code Download


(https://cdn instructables com/FGP/FUW6/I7HG6U3S/FGPFUW6I7HG6U3S LARGE jpg?auto=webp&fit=bounds)

There are two folders (Queue_calling_system_Sender and


Queue_calling_system_Receiver) inside the ZIP le, download
(http://ediy.com.my/Downloads/2015/Electronic_Queue_Display_System/Queue_calling_sys
tem.zip) and extract it to Arduino sketch folder. After that upload the
Queue_calling_system_Sender.ino & Queue_calling_system_Receiver to the two Arduino.

 Add Tip V Ask Question | Comment Download


Step 6: SENDER PCB Design

(https://cdn instructables com/FMN/L814/I7HG6U7F/FMNL814I7HG6U7F


auto=webp&fit=bounds) LARGE jpg? (https://cdn instructables com/FAX/1DDI/I7HG6U7G/FAX1DDII7HG6U7G
auto=webp&fit=bounds) LARGE jpg?
This is a homemade Arduino (http://ediy.com.my/index.php/projects/item/86-minimal-
arduino-with-8mhz-internal-clock) (DIY Arduino) , it uses the 8MHZ internal oscillator as
the clock source and require very few components. Resistor R3 is used to control the
contrast , its resistance can be varies from 2.2K ohms to 6.8K ohms, it is recommended to
use an 10K adjustable resistor to test the contrast before selecting a resistor. I have 20 sets
mini LCD screen, most of them can use the 2.2K ohm resistor for contrast control, however
several of them have to use 6.8K ohm resistor.

R3, LED + and LED- is soldered directly to the PCB in order to reduce the wire connection
beween the Arduino & mini LCD screen

 Add Tip V Ask Question | Comment Download

Step 7: RECEIVER PCB Design


(https://cdn instructables com/FPU/98ZH/I7HG6UA3/FPU98ZHI7HG6UA3
auto=webp&fit=bounds) LARGE jpg? (https://cdn instructables com/FSD/67ZK/I7HG6UG9/FSD67ZKI7HG6UG9
auto=webp&fit=bounds) LARGE jpg?

The RECEIVER also using an 8MHZ internal oscillator as the clock source, its design is very
similar to SENDER with additional 470 ohm resistor and a 8021-2 ding-dong sound effect
IC near to the pin 28 of ATMega328 .
The 8021-2 ding-dong sound effect IC is not able to drive a 3W speaker since its output
signal is very weak, and therefore it must connected to a mini-ampli er. I will not talk much
about 32x16 Dot Matrix Display panel, please visit here for more details
(http://ediy.com.my/index.php/blog/item/116-arduino-driving-a-32x16-dot-matrix-display-
panel).

 Add Tip V Ask Question | Comment Download

Step 8: 8021-2 Ding-dong Sound Effect IC

(https://cdn instructables com/F0L/GZDF/I7HG6UKP/F0LGZDFI7HG6UKP LARGE jpg?auto=webp&fit=bounds)


The 8021-2 is a ding-dong sound effect generator IC produced by LSI CMOS technology.
With built-in RC oscillator and digital envelope circuits, minimal external components are
required.

 Add Tip V Ask Question | Comment Download

Step 9: Keyboard Functions and Instructions


(https://cdn instructables com/F9S/D56B/I7HG6UNF/F9SD56BI7HG6UNF LARGE jpg?auto=webp&fit=bounds)

 Add Tip V Ask Question | Comment Download


Step 10: More Photos

(https://cdn instructables com/FFF/L71T/I7HG6UTM/FFFL71TI7HG6UTM


auto=webp&fit=bounds) LARGE jpg?
3 More Images
(https://cdn instructables com/FQ7/GC1Z/I7HG6URW/FQ7GC1ZI7HG6URW
auto=webp&fit=bounds) LARGE jpg?

 Add Tip V Ask Question | Comment Download

2 People Made This Project!


raweendra86 (/member/raweendra86/) made it! farmantkd (/member/farmantkd/) made it!

Did you make this project? Share it with us!

I Made It!

Recommendations

(/id/Resin-Cast-LED-Vacuum-Valve/) (/id/Ultimate-Dry-Ice-Machine- (/id/ILC1-18L-Clock/) (/class/Internet-of-Things-Class/)


Bluetooth-Controlled-Batt/)
Resin Cast LED Vacuum Valve ILC1-1/8L Clock (/id/ILC1-18L- Internet of Things
(/id/Resin-Cast-LED-Vacuum- Ultimate Dry Ice Machine - Clock/) Class (/id/Internet-of-
Valve/) Bluetooth Controlled, Battery by ChristineNZ (/member/ChristineN… Things-Class/)
by Ajaxjones (/member/Ajaxjones/) i… Powered and 3D Printed. 22,949 Enrolled
(/id/Ultimate-Dry-Ice-Machine-
Bluetooth-Controlled-Batt/)
by DIY Machines (/member/DIY%20…

(/contest/MadeWithMath19/) (/contest/multi2019/) (/contest/robotics2019/)

 Add Tip

V Ask Question

| Post Comment

We have a be nice policy.


Please be positive and constructive.
Add Images Post

13 Discussions

(/member/raweendra86/) raweendra86 (/member/raweendra86/) 7 weeks ago


Reply / Upvote
Can I use any p10 16*32 led display for this project or freetronic display only?

(/member/farmantkd/) farmantkd (/member/farmantkd/) Question 1 year ago


Answer / Upvote
How add 3rd digits in p10 like 000
I make it its coool but I need 3 digits

(/member/EzoneT/) EzoneT (/member/EzoneT/) 2 years ago


Reply / Upvote
HOW CAN I CONNECT A MATRIX KEYPAD

(/member/Diann+LorraineT/) Diann LorraineT (/member/Diann+LorraineT/) 2 years ago

Reply / Upvote
Where is the code?

1 reply F
(/member/fathurd1/) fathurd1 (/member/fathurd1/) 3 years ago
Reply / Upvote
Queue_calling_system_Sender:11: error: 'PS2Keyboard' does not name a type
Queue_calling_system_Sender.ino: In function 'void setup()':
Queue_calling_system_Sender:37: error: 'keyboard' was not declared in this scope
Queue_calling_system_Sender.ino: In function 'String getInput()':
Queue_calling_system_Sender:75: error: 'keyboard' was not declared in this scope
Queue_calling_system_Sender:78: error: 'PS2_ENTER' was not declared in this scope
Queue_calling_system_Sender:102: error: 'PS2_BACKSPACE' was not declared in this scope
where does the fault? //
1 reply F

(/member/jimtruong/) jimtruong (/member/jimtruong/) 3 years ago


Reply / Upvote
i am trying to make that with electronic laser system . so will turned you younger or not
?????????????????? any help please
1 reply F

(/member/jimtruong/) jimtruong (/member/jimtruong/) 3 years ago


Reply / Upvote
please call me at 626 766 2743

(/member/ibenkos/) ibenkos (/member/ibenkos/) 4 years ago


Reply / Upvote
This is awesome! Nice idea, thanks for sharing :)
(/member/acheide/)
acheide (/member/acheide/) 4 years ago on Introduction Reply / Upvote
Very nice Instructable. I like the way you have the two Arduinos talking communicating. Will you be
posting And Instructable for the homemade Arduino?

smching (author)Eacheide (/member/acheide/)


(/member/smching/)
Reply 4 years ago on Introduction
Reply / Upvote
The homemade Arduino is based on YABBAS by serisman
http://ediy.com.my/index.php/projects/item/86-mini...
(http://ediy.com.my/index.php/projects/item/86-minimal-arduino-with-8mhz-internal-clock)
More homemade Arduino is available here:
http://ediy.com.my/index.php/blog/item/73-arduino-... (http://ediy.com.my/index.php/blog/item/73-
arduino-pcb-diy)

Post Comment

Categories About Us Resources

 Circuits  Living (/living/) Who We Are Sitemap (/sitemap/)


(/circuits/) (/about/)
 Outside Help (/id/how-to-
 Workshop (/outside/) Why Publish? write-a-great-
(/workshop/)  Teachers (/create/) instructable/)

 Craft (/craft/) (/teachers/) Contact (/contact/)

 Cooking
(/cooking/)
Jobs
(/community/Positions-
available-at-
Instructables/)

(https://www.instagram.com/instructables/) (https://www.pinterest.com/instructables) (https://www.facebook.com/instructables) (https://www.twitter.com/instructables)

© 2019 Autodesk, Inc.

Terms of Service Privacy Statement Privacy Legal Notices & Trademarks


(http://usa.autodesk.com/adsk/servlet/item? (http://usa.autodesk.com/adsk/servlet/item? settings (http://usa.autodesk.com/legal-notices-
siteID=123112&id=21959721) siteID=123112&id=21292079) | trademarks/)
| |
(http://www.autodesk.com)

You might also like