Queue display with remote control and… surprise!


At the request of a friend I realized long ago that the display “eliminacode” the type of those used by salumiere…

Since I had left free a certain amount of flash memory in the MCU, I decided to use it by adding a function “hidden”… a complete implementation of the bingo (bingo ..) which is activated only by pressing appropriate buttons on the remote!

A picture is worth a thousand words… whereby below a video that shows the operation and the function dell'eliminacode “additional” (the reason for 007 It served to create a bit of atmosphere from… Casino):

The audio quality is what it is… in the end I used a buzzer built to do just… “beep”!.

Description of the tab

All this is based on a version “custom” Arduino Uno, achieved using a version ATMEGA328P in TQFP32, that pilot directly in “multiplexing” the two digits of the display obtained with normal LED 3mm. It also handles the decoding of the IR receiver and the piezo buzzer.
The clock dell'Atmega is made with the classic quartz 16MHz.

The infrared sensor is known TSOP4838 to which an RC filter was added nutrition as recommended by its datasheet (by some tests that I ran showed that the omission of this filter may cause “false” reception by the receiver, going to “trigger” the MCU inutilmente).

The circuit diagram is as follows:

The board has the following connectors:

* P1: input for feeding at 12V (with reverse polarity protection);
* P2: ICSP interface to load the Arduino bootloader;
* P3: connection to a serial-USB adapter (with DTR signal for the autoreset commanded by the IDE Arduino) for normal upload IDE.

CAUTION!: only one connector can be connected to the rate / used.

The resistor R1 upstream of the regulator has the aim to decrease the power dissipated by the regulator itself, allowing the use of an inexpensive 12V 1A power supply “nominal” (the absorbed current does not exceed approximately 180mA).

For the remote control I used a low-cost remote control (1$) for LED strips that sends IR signals in accordance with the “NEC code”. Of course you can use any other IR remote control between those recognized (and there are many) IrRemote from the library that I used, taking care to change the codes in the sketch of the individual keys used.

All this can be easily replicated with any Arduino Uno (the equivalent). In this regard, to make things easier I reported on the wiring diagram in brackets the number of pins according to the “standard” Arduino Uno.

Below pictures of the card:

The white paper folded to “L” under the IR sensor is used to avoid the optical disturbance doviti to the display multiplexing.

The welding of the regulator is coming a “sewer”… the lesson is: “Never weld SMD after midnight”!

Loading the Bootloader

The first operation to be done once the assembly is completed loading the Arduino bootloader through the interfacccia ICSP. For this you can use different kinds of programmers with ICSP interfacccia and function “carica bootlaoder” IDE (of course IDE drive must first be selected as “device” the board “Arduino / Genuine ONE”).

I used an inexpensive programmer type USBasp:

The ICSP connector layout standard 10 pin is as follows:

Note that the pin 4 e 6 ICSP connector of the USBasp They are not connected to ground and must not be used.

To connect the USBasp to the connector P2 and also cater provisionally supply of the card during the upload of the bootloader, It was followed the following connection table:

connector P2 ICSP connector USBasp
GND GND (Pin 10)

CAUTION!: when you connect to P2’ USBasp both P1 P3 which must be disconnected.

One time “installed” the bootloader you can disconnect the programmer from P2 USBasp.

It would be also possible to directly upload the sketch using the only programmer USBasp with the IDE mode “charge through programmer”. In this way, however, it will not be present Arduino bootloader and any changes can only be loaded with the same programmer.

Loading the “sketch”

After loading the bootloader you can use normal mode upload Arduino IDE through a serial-USB adapter 6 pin like this, P3 connected to the card connector:

having also the DTR pin used for the autoreset commanded by the IDE.

Once you loaded the sketch with the preferred mode, and only then, It will be possible to connect the power supply to 12V with the connector P1, taking care to disconnect the programmer or the serial-USB adapter (as already mentioned, It should never happen the simultaneous use of 2 or more “sources” feeding, whereby it is possible to use only one connector at a time between P1, P2 e P3).

The circuit diagram (in .pdf) It can be downloaded from who.

The sketch with the libraries used can be downloaded from who.

7 replies
  1. Giancarlo
    Giancarlo says:

    Ciao, I am Giancarlo, I congratulate the project, I made it and it works great, I would ask you kindly if possible, design change.
    E’ You can add the management of 90 numbers on the outer table, for example, with the LEDs, so as to indicate the numbers drawn?
    Since I made specifically for the raffle.
    Congratulations again and I send you my warmest greetings.

  2. Marcello
    Marcello says:

    I believe that I will reply soon, perhaps using a pic instead of a MCU as atmega.
    Excellent article very clearly and precisely written.
    It looks similar.

  3. gvsoft
    gvsoft says:

    Thank you, you were very courteous and fast.
    I like the circuit, But let not a criticism of course (!) but personally I would have done so:
    For the LED display I used a MAX7219: with three Arduino pin would have solved the whole multiplex including and without resistance (except for the LEDs in series or parallel).
    For the micro I was planning my circuits with the ATMEGA and circuitry varies, but I ultimamamente with some Arduino_NANO so-saving connections, USB interface to upload the sketch, USB bus power or external. If you need some advice look at my two articles recently posted,
    Hello and thanks.

  4. gvsoft
    gvsoft says:

    Great,however, the electrical circuit is unreadable (at least on my pc). I'm very interested because even with the remotes have done some experiences, Could you send me the pattern ? (gvsoft75@hotmail.com).
    Thank you.

    • Just4Fun
      Just4Fun says:

      Ciao, I've just sent the outline to the email indicated.
      However, in the last lines of the article there is a link to download both the scheme that the SW… Perhaps I have not highlighted enough…

      PS: for good view “photography” schema, you have to right click on the image and choose “View image” (I have the English version of Windows… )

      At your disposal for any further info.



Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply