Sunday, 08 February 2015 21:09

Arduino电子排队叫号机

Written by
Rate this item
(0 votes)

这是为谋诊所设计的排队叫号机,计数器只需显示两位数。此叫号机使用了两片Arduino,一个安置在房内用来输入编号,称之为发送器,另一个则安装在房外,用来显示编号,称之为接收器。发送器是通过串口发送信息给接收器。

发送器连接了一个PS2键盘来完成输入,当然也可以使用USB键盘,不过必须添加一个USB Host Shield,这样将会增加成本。如果没办法取得PS2键盘,建议使用矩阵键盘。发送器也应用了一个小型LCD,用于显示编号,当然还能显示更多的相关资料。

接收器用了一片32x16像素的矩阵LED单元板,用来显示从串口取得的相关数据。接收器也安装了一个“铃铛”报知器,每当接收到来自发送器的数据,都会温馨提醒一下。

制作重点

  1. 不需购买昂贵的Arduino开发板,此制作是使用自制Arduino
  2. 使用8MHz内部振荡器,省了16MHz晶体
  3. 两个Arduino通过串口通信
  4. PS2键盘应用
  5. 控制日立HD44780兼容LCD
  6. 触发叮咚提示音效
  7. 驱动 32x16 单色LED单元板
  8. 所有工作几乎是同步,因此没有延时

 

我有许多用剩的CAT5e网线,发送器与接收器之间的距离不是很远,大约25尺,用它来传输信号和供电最恰当了。下面框图展示发送器通过网线与接收器连接:

Block diagram

元件与材料(发送器)

  1. ATMEGA328
  2. PS2 键盘
  3. 10K 电阻器
  4. 0.1uF电容器
  5. 100uF电容器
  6. 印刷电路板
  7. 1602液晶屏
  8. 2.2K 电阻器或者6.8K 电阻器
  9. 5V 2A 电源适配器
  10. RS232串口头DB9(公头与母头各一个)
  11. 一些电线

 

元件与材料(接收器

  1. ATMEGA328
  2. 印刷电路板
  3. 10K 电阻器
  4. 0.1uF 电容器
  5. 100uF 电容器
  6. 32x16 单色LED单元板
  7. RS232串口头DB9(公头与母头各一个)
  8. 470 电阻器
  9. 8021-2”铃铛“门铃集成电路
  10. 2W或3W迷你功放板+扬声器
  11. 一些电线

 

事前預備

以下是必须安装的程序库,请到各相关网站下载与安装:
Freetronics矩阵显示屏库:用于驱动Freetronics512像素(32×16布局)矩阵LED显示屏的Arduino程序库
https://github.com/freetronics/DMD
 
TimerOne库:用于配置16位硬件定时器的Arduino程序库,用在ATmega168/328时称之为Timer one
 
PS2键盘库:用于PS2键盘用户输入的Arduino程序库
 
液晶显示器库:基于日立HD44780驱动来控制LiquidCrystal显示器的Arduino程序库

 

Arduino电路图与源码下载

压缩文件里包含了两个文件夹,分别为Queue_calling_system_Sender 和 Queue_calling_system_Receiver。这里下载Arduino源码。接下来,把Queue_calling_system_Sender.ino 和 Queue_calling_system_Receiver.ino 分别上载至两颗ATMega328。

Electronic Queue Display System

  

发送器印刷电路板

这是一个自制Arduino(DIY Arduino),使用了8MHZ内部振荡器为时钟,只需三个外部元件。电阻器R3是用于控制光线对比(contrast),其电阻值可以从2.2K欧姆至6.8K欧姆建议先利用一10K可调节电阻器测试其对比。我拥有20个同款液晶屏,大部分可以使用2.2K欧姆,但其中几个必须使用6.8K欧姆。R3、LED+ 和 LED- 直接焊接在液晶屏的PCB以便减少 Arduio 与液晶屏之间的连结线

Sender PCB

 Sender Printed Circuit Board

  

接收器印刷电路板

接收器也是一个使用8MHZ内部振荡器为时钟的自制 Arduino(DIY Arduino),印刷电路板设计几乎与发送器一样,只是接近 ATMega328 的28引脚处焊接了一颗470欧姆电阻器和一个8021-2铃铛声效集成电路。由于8021-2的输出信号非常弱,不足于驱动3W扬声器,因此必须连接一个迷你扩音器

关于32x16 单色LED单元板(Dot Matarix Display Panel)的资料,我就不多讲了,欲了解更多细节,请浏览这里

Receiver PCB

Receiver Printed Circuit Board

 

M8021-2铃铛声效集成电路

8021-2是一颗一触发二铃铛声效集成电路,内置的RC振荡器和数字信封电路,设计只需很少外部元件。

M8021 Ding Dong Door Chime

 

键盘功能和说明 

Keyboard function 

 

更多图片

sender1

Sender Front

Sender Back

Complete Set Front

Complete Set Back

Receiver1

Read 8933 times Last modified on Sunday, 11 October 2015 17:17

196 comments

  • Comment Link ozameBaw Monday, 01 June 2020 02:13 posted by ozameBaw

    Another difference between Viagra Soft and the original is full compatibility with alcohol.Meaning that if all the constituent parts are removed, thus leaving solely 100 pure icariin flavonols, then those flavonols will be both very unstable and mostly inactive due to the result of over-extraction.I wasn t embarrassed but I thought they wouldn t give me Viagra as I m too young, so I ordered it online.Treating the, but including of many in penile is 5 hypotension - sexual as.Flaccid years. online viagra However, Viagra can be prescribed freely on the NHS while Cialis is restricted, meaning it might be harder to get your hands on.Impotence, 373 in, dosage were by stuffy field sildenafil, self and.But for many it is important convenience of the drug in the area of its compatibility with alcohol and food.Overdoing the dosage, a woman may face not a desire for sexual intimacy, but with such side effects as dizziness, headache, nasal congestion, vision problems, difficulty with concentration, nausea, back pain, decreased performance.Usually the condition of male menopause occurs after 45-55 years and lasts for 3-5 years. viagra pills However, if you feel the pain after taking Cialis and it s either too intense or lasting too long, we strongly recommend that you call your doctor and discuss possible ways of soothing it.The main advantages.The answer may be as simple as continued stimulation.Advised to refrain from sexual activity due to risk factors associated with the cardiovascular system Severe liver problems Rare hereditary retinal disorders Low blood pressure Recent heart attack or stroke Kidney disease Taking alpha-blockers Taking protease inhibitors for HIV.While vision changes are considered a common side effect of Viagra, changes to color perception are only a rare side effect of Levitra. https://pharm-usa-official.com - viagra pills I'll knock you out on the Tennis Table.Increases endurance during intercourse, prevents premature ejaculation.This was until the patent expired and Sildenafil could be sold as a cheaper generic medication.A user comment will be deleted if it.Acapella 89 Bpm 6Ix9Ine Gooba Diy Acapella.

  • Comment Link fhgsyBaw Sunday, 31 May 2020 15:12 posted by fhgsyBaw

    The liver eliminates alcohol at a fixed rate.Caution should be used the drug in anatomical deformation of the penis in t.Most manufacturers of analogues Viagra for men, which can be bought at the pharmacy, on their packages place a warning that the drug is incompatible with alcohol and is prohibited to be taken to persons who have problems with blood pressure and cardiovascular system.Before choosing a gift, it is rather important to get information about health s shape you can use a couple of that man because it is the easiest way to get it.- Use in patients receiving continuous or intermittent nitric oxide, organic nitrates or nitrites in any form. buy viagra Bioperine - clinically proven to increase herbal supplement absorption rates Puncture Vine - used in Europe for thousands of years as a method to treat sexual dysfunction and increase libido Epimedium Leaf Extract - also known as Horny Goat Weed ; has been used for thousands of years as a libido enhancer Ginkgo Leaf - Ginkgo Biloba provides nutritional support for mental alertness, enhanced vitality level, circulatory health, and blood vessel health Asian Red Ginseng - traditionally used to overcome general weakness and deliver extra energy, it also has aphrodisiacal powers Saw Palmetto Berry - has a long-held a reputation as a sexual stimulant and aphrodisiac Muira Pauma Bark Extract - used to restore sexual virility and to increase sexual desire and potency in men Catuaba Bark Extract - the most famous of all the Brazilian aphrodisiac plants Hawthorn Berry - rich in bioflavoloids, which relax and dilate the arteries; also contains powerful antioxidants that help increase blood flow and oxygen to the heart and other areas of the body.Today, the generic Sildisoft Viagra software, the price of which is much lower than that of the original tablets, has gained great popularity.The chambers also contain a network of blood vessels.It is becoming increasingly accepted among doctors that sex hormone levels Testosterone should also be checked by way of a blood test.ITSOKTOCRY VIAGRA Ft 909MEMPHIS Official Music Video. viagra pills 10 25 59 me did you know i am married.A urologist explains how the drug affects your refractory period.But a rent reserved in any othercommodity is liable, not only to the variations in the quantity oflabour which any particular quantity of corn can purchase, but to thevariations in the quantity of corn which can be purchased by anyparticular quantity of that commodity.Azizim Onam Nashiba Abdullayeva.The correct dose for each patient will depend on their condition and response. https://pharm-usa-official.com - viagra buy Viagra Connect contains microcrystalline cellulose, calcium hydrogen phosphate anhydrous , croscarmellose sodium and magnesium stearate, hypromellose, titanium dioxide E171 , lactose, triacetin and indigo carmine aluminium lake E132.In fact, for a certain period of time this pill was attributed to the group of antidepressants.It helps to increase libido, fatigue relief, additional testosterone production.erythromycin, ketoconazole Nizoral, Extina, Xolegel, Kuric , paroxetine Paxil , cimetidine Tagamet , ritonavir Norvir , lopinavir, and other drugs that reduce the elimination of drugs by liver enzymes.How And When To Use Viagra Sildenafil.

  • Comment Link yotxrCow Saturday, 30 May 2020 13:45 posted by yotxrCow

    avast free antivirus 2019 total av antivirus reviews https://xantivirusx.com/ - free antivirus software top dating sites sex dating sites https://onlinedatingwow.com/ - cupid dating site prizegrab sweepstakes publishers clearing house sweepstakes https://supersweepstakesx.com/ - pch sweepstakes #8800

  • Comment Link ojxfaCow Saturday, 30 May 2020 12:38 posted by ojxfaCow

    panda antivirus total av antivirus https://xantivirusx.com/ - avast free antivirus download christian dating for free adult dating https://onlinedatingwow.com/ - dating daddy odette part 2 hgtv sweepstakes 2019 contestgirl sweepstakes https://supersweepstakesx.com/ - contests and sweepstakes

  • Comment Link rkogkCow Friday, 29 May 2020 11:03 posted by rkogkCow

    comodo antivirus free antivirus software 2019 https://xantivirusx.com/ - panda antivirus sex dating sites dating for seniors https://onlinedatingwow.com/ - kfc dating sim contests and sweepstakes sweepstakes https://supersweepstakesx.com/ - bassmaster fish with randy howell sweepstakes

  • Comment Link sbyexCow Friday, 29 May 2020 10:11 posted by sbyexCow

    windows defender antivirus avast free antivirus 2019 https://xantivirusx.com/ - avira antivirus house investigating dating apps cherry blossoms dating https://onlinedatingwow.com/ - adult dating sites wheel of fortune sweepstakes sweepstakes https://supersweepstakesx.com/ - hgtv sweepstakes 2019

  • Comment Link hjlnhCow Thursday, 28 May 2020 15:08 posted by hjlnhCow

    antivirus antivirus protection https://xantivirusx.com/ - avast antivirus plenty of fish dating site best dating apps https://onlinedatingwow.com/ - gay dating sites rainbow sweepstakes diy sweepstakes https://supersweepstakesx.com/ - slickdeals contests and sweepstakes forum

  • Comment Link sebggCow Thursday, 28 May 2020 13:58 posted by sebggCow

    instup.exe avast antivirus installer avast free antivirus download https://xantivirusx.com/ - free antivirus 2019 christian dating sites uncensored naked dating reality show https://onlinedatingwow.com/ - dating for seniors hgtv dream home 2020 sweepstakes sweepstakes advantage https://supersweepstakesx.com/ - reader's digest sweepstakes

  • Comment Link xjdpuCow Wednesday, 27 May 2020 13:15 posted by xjdpuCow

    antivirus protection eset antivirus https://xantivirusx.com/ - antivirus protection pof dating speed dating https://onlinedatingwow.com/ - xname xname dating hgtv dream home 2020 sweepstakes post sweepstakes nintendo switch https://supersweepstakesx.com/ - contestgirl sweepstakes

  • Comment Link gflgnCow Wednesday, 27 May 2020 12:16 posted by gflgnCow

    avast! antivirus avast antivirus best antivirus 2019 https://xantivirusx.com/ - antivirus who is blake shelton dating who is taylor swift dating? https://onlinedatingwow.com/ - lds singles online dating reader's digest sweepstakes pch sweepstakes #8800 https://supersweepstakesx.com/ - sweepstakes

  • Comment Link nvxonCow Sunday, 24 May 2020 08:16 posted by nvxonCow

    side effects for testosterone propionate testosteron testosterone pills testosterone side effects foods to boost testosterone

    how to increase testosterone function of testosterone GP Test Enanth 250 testosterone injection low testosterone symptoms

    https://pharm-usa-official.com/testosterone.php - GP Clomiphene

  • Comment Link ofjigCow Sunday, 24 May 2020 07:26 posted by ofjigCow

    normal testosterone levels by age testosterone replacement therapy Induject icd 10 low testosterone low testosterone icd 10

    testosterone injections for men how to boost testosterone GP Exemestane testosterone pills testosterone function

    https://pharm-usa-official.com/testosterone.php - GP Stan 10

  • Comment Link euffoBaw Saturday, 23 May 2020 15:45 posted by euffoBaw

    generic levitra online levitra generic order levitra levitra generic levitra 20

    online levitra levitra pills cialis 20mg generic levitra buy levitra online

    https://drugstoreonliner.com/ - online levitra

  • Comment Link wgeihBaw Saturday, 23 May 2020 07:39 posted by wgeihBaw

    levitra coupon levitra 20mg levitra generic levitra levitra 10mg

    levitra generic buy levitra levitra coupon levitra generic levitra online

    https://drugstoreonliner.com/ - levitra 10mg

  • Comment Link yjdrtCow Saturday, 23 May 2020 05:48 posted by yjdrtCow

    low testosterone in men best testosterone boosters 2019 testosterone levels que es la testosterona how to naturally increase testosterone

    normal testosterone levels by age testosterone cypionate 200mg/ml testosterone booster testostГ©rone dГ©finition testosterone booster

    https://pharm-usa-official.com/testosterone.php - testosterone

  • Comment Link vawchCow Saturday, 23 May 2020 04:56 posted by vawchCow

    free testosterone granite testosterone testosteron prime male testosterone booster normal testosterone levels by age

    increase testosterone masterburation testosterone testosterone supplements where is testosterone produced testosterone therapy

    https://pharm-usa-official.com/testosterone.php - testosterone gel

  • Comment Link SipAwainnaceara Saturday, 23 May 2020 03:27 posted by SipAwainnaceara

    cbd buy cbd oil online cbd oil for dogs cbd products

  • Comment Link Speectdeemiedia Friday, 22 May 2020 15:24 posted by Speectdeemiedia

    http://cbdoilrx.us.com/ cbd oil cbd oil for pain cbd oil online best cbd oil buy cbd oil

  • Comment Link SipAwainnaceara Friday, 22 May 2020 14:31 posted by SipAwainnaceara

    cbd products http://buycbdoilonline.us.com/ cannabis oil medterra cbd cannabis oil

  • Comment Link Speectdeemiedia Friday, 22 May 2020 08:31 posted by Speectdeemiedia

    hemp cbd oil http://cbdoilrx.us.com/ cbd oil for pain hemp cbd oil cbd store

Leave a comment

Back to Top