Wireless Quiz Buzzer System using Arduino, nRF24L01 and TP4056 lithium battery charger

Поделиться
HTML-код
  • Опубликовано: 27 сен 2024

Комментарии • 144

  • @Короткиевидео-ю1е
    @Короткиевидео-ю1е 3 месяца назад +1

    Good afternoon. I bought an Arduino nano with a built-in WIFI module. When checking the code, it gives an error for detecting a radio communication device. Please tell me what needs to be changed in the code. I really liked your idea. I want to make myself the same

  • @NoahRonaldo22
    @NoahRonaldo22 6 месяцев назад +2

    i would want to use these like got talent the red & yellow but without the lighting & Stuff I Mean It Can Still Work But Would there be a way i can connect the buzzers to my led Lights

    • @RobSmithDev
      @RobSmithDev  6 месяцев назад

      If you use this version, the wireless one then you’d probably be best doing it from the controller - and that can already play sounds for each button. But there’s a wired version too

  • @YesWeAreAnonymous
    @YesWeAreAnonymous 13 дней назад

    Hi, Do I need to build the 4 buttons for it to work? I already have 1 button and the controller. I tried to connect the button but it won't connect. any ideas? I already assigned buttonID to 1 via the serial monitor. I copy and paste the code. check the wires and use the correct voltage. Thank you so much!

    • @RobSmithDev
      @RobSmithDev  13 дней назад

      1 should be enough. Try powering it on in a different order

    • @YesWeAreAnonymous
      @YesWeAreAnonymous 13 дней назад +1

      @@RobSmithDev i tried the one you suggested to move away from crowded wifi and pc and It seems to worked. Im worried that it might not work inside my classroom since i have one router and 26 wireless computer.

    • @RobSmithDev
      @RobSmithDev  13 дней назад

      You can fix the channel it runs on. There’s a similar section of code in both where it searches for an empty area so you could just force a value

    • @YesWeAreAnonymous
      @YesWeAreAnonymous 13 дней назад +1

      @@RobSmithDev i need to figure it out which part of the code is it. Thank you by the way

    • @RobSmithDev
      @RobSmithDev  13 дней назад

      @@YesWeAreAnonymous you’re welcome

  • @alex22767
    @alex22767 Год назад +1

    Which Board do I have to select in the Arduino IDE ?

    • @RobSmithDev
      @RobSmithDev  Год назад

      Depends which board you have purchased. Probably the nano or pro mini. You may also need to select old/new boot loader for one of them. If it’s the wrong one it just won’t work - you won’t damage it

  • @jezclark3536
    @jezclark3536 2 месяца назад

    This looks great - can it be expanded up to 20 buttons?

    • @RobSmithDev
      @RobSmithDev  2 месяца назад

      Technically, although there isnt enough pins on the main controller to show you what was pressed. I know someone successfully got 8 working

    • @jezclark3536
      @jezclark3536 2 месяца назад

      I guess adding a tft display instead of less could be an option.

    • @jezclark3536
      @jezclark3536 2 месяца назад

      Or just led display

  • @eliaslover4765
    @eliaslover4765 Год назад +1

    Hi! first fo all this proyect its super cool!
    i have a question... by accident i bought another arduino mini pro instead of the nano, can i still be able to program the controller or its a must?
    and i want to do a quiz on my laptop to play this christmas with the family like ( catchphrase or guess the celebrity) there's any game allready made for windows, if i have to devolope it from the scracth which language or "way" its the easiest to do it for a noobie nerd level 0 like me
    Im watching your videos from spain! sorry for my poor english :DD
    thanks in advance!

    • @RobSmithDev
      @RobSmithDev  Год назад +1

      Hi, other arduino will work ok, the nano is easier to program, just the battery might not last quite as long.
      There’s no software I know of, well there’s the software I developed but I can’t share that due to copyright.
      I’m not sure what’s the best language to get started with today. Some people would say C#, some python, etc so I’d take a look at a few, watch a few tutorials and see which one feels best for you

  • @mwpriem
    @mwpriem Год назад +1

    Can you use arduino nano for all instead of mini pro

  • @sylgonjaysanoy8890
    @sylgonjaysanoy8890 Год назад +1

    good day sir.. i really like you wireless quiz buzzer.. is these possible to make one these wireless quiz using velostat conduction resistace.

    • @RobSmithDev
      @RobSmithDev  Год назад

      I would imagine so. You’d have to give it a try

    • @sylgonjaysanoy8890
      @sylgonjaysanoy8890 Год назад +1

      @@RobSmithDev im working with my project and my study is about wireless electronic sensor and I'm using nrf24l01 as a means of communication. can I ask you some help with my project

    • @RobSmithDev
      @RobSmithDev  Год назад +1

      I’d love to help but my time is very limited. You may find better help from the Arduino Facebook groups

    • @sylgonjaysanoy8890
      @sylgonjaysanoy8890 Год назад

      @@RobSmithDev hi. good day.. can i ask question? how to program a two push button that when you press it together, there will be no output or let say output is invalid
      ? thank you.

  • @garybrown5761
    @garybrown5761 8 месяцев назад

    This is brilliant! I’m adapting your build to have 10 buzzers across 2 teams of 5, but I find the LEDs too dim for the 100mm buttons at 5v. Could a step-up board be used to step up from 5v to 12v to power 12v LEDs?

    • @RobSmithDev
      @RobSmithDev  8 месяцев назад

      I'd test to see if the 12v leds are any brighter (they might be) however the 5V and 12v will probably be the same LED but with different resistors.

    • @over_lord418
      @over_lord418 8 месяцев назад

      @@RobSmithDev wow, thats interesting, thanks for your answer!

  • @OllieDeer-cw2kp
    @OllieDeer-cw2kp 11 месяцев назад

    Hi where did you get the battery’s from Thanks

    • @RobSmithDev
      @RobSmithDev  11 месяцев назад

      I salvaged them, but you can buy these 18650 batteries from Amazon among others

  • @TheGoatPC
    @TheGoatPC 8 месяцев назад +1

    I really like the idea here. But would rather have it all wired. Will the ready/wrong answer let others answer and reset button functionality work on your previous setup?

    • @RobSmithDev
      @RobSmithDev  8 месяцев назад +1

      Yes should do. If it doesn’t it’s easy enough to change

    • @TheGoatPC
      @TheGoatPC 7 месяцев назад

      @@RobSmithDev So looking over the code, when do you assign the button ID for the buzzers? Also, for clarification, you are using a latching switch for power button and momentary for the ready and reset buttons on the controller?

    • @RobSmithDev
      @RobSmithDev  7 месяцев назад +1

      @camiji so as in the video, when you power the button up, before it will work it will wait for you to tell it the button iD, which you send over the serial port. You can only do this once and then It’s remembered.
      If the button only powers whilst holding the power button you have the wrong type of button. The one I’m using latches

    • @TheGoatPC
      @TheGoatPC 7 месяцев назад

      @@RobSmithDev Oh, ok. You're saying to power the button up while still connected to the PC, and from there in the code you can assign the button id?

    • @RobSmithDev
      @RobSmithDev  7 месяцев назад

      @camiji yes so power up the arduino in the buttons with the serial connected. It won’t do anything, then type the button number from the serial window (1-4) - I’m sure I covered this in the video?

  • @Tubiteikin
    @Tubiteikin 11 месяцев назад

    Hi! Thank you very much for the project! It’s amazing)
    I have one problem. Maybe you had a similar experience. So, I have a few different pro mini (originals and Chinese clones)
    Some of that with 328p and some with 328pb chips.
    When I’m using 328p - everything is fine. But with 328pb chip it doesn’t work. It’s strange(((

    • @RobSmithDev
      @RobSmithDev  11 месяцев назад +1

      The PB chips are slightly cheaper so probably why they use them. Could be a number of reasons why, difficult to say. Are you sure they are both 16mhz versions?

  • @morissesteven4494
    @morissesteven4494 Год назад +1

    First, great tutorial, this project is brilliant ! I made two of the four buttons for now and when I turn on the button, the led are not blinking but just having weak dimmed light (0.45V). Is it normal ?

    • @RobSmithDev
      @RobSmithDev  Год назад

      That doesnt sound right to me. Not sure how you’d have that happen

    • @morissesteven4494
      @morissesteven4494 Год назад

      @@RobSmithDev Is it normal in the code of the button that there is no identification of each button itself ? How do the controller know how to define each button to the right color of led ?

    • @morissesteven4494
      @morissesteven4494 Год назад

      @@RobSmithDev Ok, I have found the issue, know every button are kinda OK. The controller find all the 4 buttons and everything is working on the controller but except one button, all the other are flashing like when trying to find the controller. So it's very weird. Have you some path to a solution for me because I'm lost ?

    • @RobSmithDev
      @RobSmithDev  Год назад

      @@morissesteven4494 not really sure. Is it possible you’ve assigned two of the buttons to the same Id?

    • @morissesteven4494
      @morissesteven4494 Год назад

      @@RobSmithDev Sadly I have checked multiple times, they have the good ID. I think I will give up and make it wired instead. Thank you for your help.

  • @timonkreylos4329
    @timonkreylos4329 5 месяцев назад

    really a great video. just what i was looking for. is it correct that a maximum of 6 buttons will work with the nRF24L01s and a controller with an nRF24L01? i would like to expand it to 6 once i have done it according to the build plan. change (almost) all positions with a 4 to 6 and extend the status arrays?

    • @RobSmithDev
      @RobSmithDev  5 месяцев назад

      There’s no limit of buttons, well not that small anyway. I’m guessing you’re talking about the 6 channel part of the nRF but it doesn’t work that way.
      The only real limit is output pins for LEDs on the controller to show who actually pressed first

    • @timonkreylos4329
      @timonkreylos4329 5 месяцев назад

      @@RobSmithDev Thank you for your answer. That is perfect! I ordered accessories for 10 buttons but then read that it would only work with a maximum of 6. Then the fun of making can begin 🙂

    • @timonkreylos4329
      @timonkreylos4329 4 месяца назад

      Finally, it works for 6 players. 👍✌🏽

  • @over_lord418
    @over_lord418 8 месяцев назад

    Another question is, is it possible to make them without a remote control? by type: you press 1, it flashes for seconds, and the others do not react at this time. Can you press it again after the time has expired?

    • @RobSmithDev
      @RobSmithDev  8 месяцев назад

      You need a remote control as there has to be a transmitter. There is a follow up video to this though where the controller is controlled by computer instead. In this case I use an old retro computer but you could do this from the Pc

    • @over_lord418
      @over_lord418 8 месяцев назад

      @@RobSmithDev Yes, I saw that video, thank you for making a detailed guide!

  • @kantoprasree7052
    @kantoprasree7052 Год назад

    I have problem with Write failed message for all 4 buzzer unit I try to replace Arduino pro mini to UNO and Nano, change 5v power supply but It s same result

    • @RobSmithDev
      @RobSmithDev  Год назад

      Difficult to say what the issue is. Are you using the adapter boards for the nRF24 boards or connecting them directly?

    • @kantoprasree7052
      @kantoprasree7052 Год назад

      @@RobSmithDev I start by using nRF24 adapter board. It seem to be worked when connecting board to computer by USB TTL and the same problem when disconnected to computer.

    • @RobSmithDev
      @RobSmithDev  Год назад

      @@kantoprasree7052 so when it’s not connected is it running off the battery? And is that set to output 5V?

    • @kantoprasree7052
      @kantoprasree7052 Год назад

      ​@@RobSmithDev Thank you very much for answer, recent its already work.The cause is probably from 1.The newly purchased battery is not fully charged and 2.connector is not tight(not yet soldered).

  • @MarkNewton-hp2ef
    @MarkNewton-hp2ef Год назад

    Were the power buttons linked in the description? I couldn't find them...

    • @RobSmithDev
      @RobSmithDev  Год назад +1

      I think I missed them. They’re amzn.to/3OykMq0

    • @MarkNewton-hp2ef
      @MarkNewton-hp2ef Год назад

      @@RobSmithDev How do you check the voltage of the TP4056 charger booster? And which direction increases the voltage? (CW or CCW?)

    • @RobSmithDev
      @RobSmithDev  Год назад +1

      @@MarkNewton-hp2ef you’ll need a multimeter to measure it’s output. I suspect cw increases it but you shouldn’t have the rest connected while you are measuring it

    • @MarkNewton-hp2ef
      @MarkNewton-hp2ef Год назад

      @@RobSmithDev I am stumped again: I've connected everything to the controller but the DFPlayer and audio socket, and when I turn it on, the Nano seems like it dies (light comes on and fades out). Any ideas? The button looks like it's working great though!

    • @RobSmithDev
      @RobSmithDev  Год назад

      I’d try disconnecting things one by one to see if something is shorting. Also check battery is charged

  • @geertschelstraete
    @geertschelstraete Год назад

    Hey
    Do you use the same programming for all buttons? Or do you have to change something for each button? How does the controller know how to define each button for the correct LED color?

    • @RobSmithDev
      @RobSmithDev  Год назад

      Before you can use each button you have to assign it a number. You do this from the Arduino IDE by leaving it connected when powered up. Send the button number (1-4) from the serial console and it will save it

  • @ClavierJimmy
    @ClavierJimmy Год назад

    hello, I would have liked to know if it was possible to connect 12 buzzers at the same time on the same controller

    • @RobSmithDev
      @RobSmithDev  Год назад

      It is, but it’s a little more complex as there isn’t enough pins to include the LEDs for them
      too

    • @ClavierJimmy
      @ClavierJimmy Год назад +1

      @@RobSmithDev no, I don't want to add LEDs, just to know if I will have to modify the code so that it works with 12 buzzers instead of 4, please.

    • @RobSmithDev
      @RobSmithDev  Год назад

      Yes a small modification is needed but not much

    • @ClavierJimmy
      @ClavierJimmy Год назад

      @@RobSmithDev ok so is it possible? sorry to bother you but maybe you tell me which line should be modified because I really don't know anything about programming please

    • @ClavierJimmy
      @ClavierJimmy Год назад

      just tell me if it's wrong to modify please

  • @sylgonjaysanoy8890
    @sylgonjaysanoy8890 Год назад

    can i ask you again.. in the controller part how can I replace the LED Display into a 7sigment that will allow to count the number from 0-9 everytime is was pressed?

    • @RobSmithDev
      @RobSmithDev  Год назад

      That’s a little more complex to explain for a RUclips reply. You could use a 7Segment display and connect each LED to the arduino, or you could use one that connects via SPI, I2C or Serial

    • @sylgonjaysanoy8890
      @sylgonjaysanoy8890 Год назад

      @@RobSmithDev thank you so much sir.. where can i insert the code? indide the controller?

  • @Diymakervn
    @Diymakervn 4 месяца назад

    Can it be applied to 9 people?

    • @RobSmithDev
      @RobSmithDev  4 месяца назад

      With changes to the code and not showing the LEDs on the controller, yes

    • @Diymakervn
      @Diymakervn 4 месяца назад

      @@RobSmithDev So do I need to change the code?

    • @RobSmithDev
      @RobSmithDev  4 месяца назад

      Yes

    • @Diymakervn
      @Diymakervn 4 месяца назад

      @@RobSmithDev Tks bro

  • @OllieDeer-cw2kp
    @OllieDeer-cw2kp 10 месяцев назад

    Hi my button led is not blinking why would this be Thanks

    • @OllieDeer-cw2kp
      @OllieDeer-cw2kp 10 месяцев назад

      sorry I have fixed this why will my button and controller not connect?

    • @RobSmithDev
      @RobSmithDev  10 месяцев назад

      Sometimes Wi-Fi confuses the connection. Both the buttons and the controller on startup will scan for each other. You can change the code to fix the channel used. That might help. Alternatively power everything off, and power on the controller first. Wait a few second then try a button

    • @OllieDeer-cw2kp
      @OllieDeer-cw2kp 10 месяцев назад

      Thanks why would I have a white led flashing on controller startup

    • @RobSmithDev
      @RobSmithDev  10 месяцев назад

      which led is the white led?
      @@OllieDeer-cw2kp

    • @OllieDeer-cw2kp
      @OllieDeer-cw2kp 10 месяцев назад

      the one above the buttons on the main controller@@RobSmithDev

  • @DerTabulator
    @DerTabulator 2 года назад +1

    I am struggling to get this working...
    In the code for the buzzers, in the "while ((buttonNumber4))"-loop (lines 53-66 in the video) it seems that
    "if (Serial.available())" (in lines 61-64) is never called so teh program is stuck in this while-loop for eternity... i tried several rf24-modules and arduinos...
    Any ideas? Grateful for every tipp!

    • @RobSmithDev
      @RobSmithDev  2 года назад +1

      If this is the buttons, on their first use you need to type their number via the serial port to set it. After that they’ll start as normal

    • @DerTabulator
      @DerTabulator 2 года назад

      @@RobSmithDev Thanks for the fast answer. I am one step further now:
      The Quiz Button LED is flashing now.
      The Controller says "Channel 125 is selected", but the Buzzer can't find it although it is scanning channel 125...->
      "Searching for controller..."
      "Write failed" (a bunch of times)
      "Searching for Controller..."
      Any ideas on how to solve this one?

    • @RobSmithDev
      @RobSmithDev  2 года назад

      I've had this a few times. Best solution I found was to move the controller and buttons away from computers, and switch everything off. Then switch the controller on and wait for it to be ready. Then switch one button on at a time. Its a weird one, for me 99% of the time they just work, but theres at occasional time it doesnt and im sure its wifi causing issues lol

    • @RDX-cf1so
      @RDX-cf1so Год назад +1

      @@RobSmithDev can you help with code by updating the code with different addresses for different transmitter of our choice?
      As this circuit with only arduino uno and nrf led and normal button (press) switch
      Can you help me out?

    • @RobSmithDev
      @RobSmithDev  Год назад

      @@RDX-cf1so simplest way is to change the name of the NRF channels I guess

  • @rapeerdb1
    @rapeerdb1 Год назад

    Great video! I started wondering tho, wouldn't it be better and cheaper, to just use the ESP8266? With little to no changes it can even run the same code, or am I missing something?

    • @RobSmithDev
      @RobSmithDev  Год назад +1

      You could - and the ESP8226 (I think) has built in comms built in, but that wasn’t the point of the video

  • @alexanderglovett
    @alexanderglovett 5 месяцев назад +1

    This is also exactly what I need to make this weekend! Easy subscribe and like!

  • @glassballl
    @glassballl 2 года назад +2

    Thank you!
    It was exactly what I was looking for making wireless quiz buzzer
    Really professional information and they really helped to understand how things working 💪
    Thanks for the video 😊

    • @RobSmithDev
      @RobSmithDev  2 года назад

      Glad to have helped and thanks for the feedback!

  • @Quiz-O-Mania
    @Quiz-O-Mania Год назад +1

    Thank you. if i want to make it for 8player what change is required in player code?

    • @RobSmithDev
      @RobSmithDev  Год назад

      Quite a bit unfortunately, I may have to revisit this at some point to make this easier. Essentially a lot of 4's need changing to 8s

  • @MagicDUK
    @MagicDUK Год назад +1

    Hi, would this code work with just 2 buzzers connected, or would you need to build all 4 before it would work?

    • @RobSmithDev
      @RobSmithDev  Год назад +1

      Yes it works with two. Well it will work with just one but that’s a little pointless

  • @KishorPawar-i8e
    @KishorPawar-i8e Год назад +1

    Is it OK to give 5V to Vcc of nrF Module while its specification is 1.6 to 3.6 V

    • @RobSmithDev
      @RobSmithDev  Год назад

      No, it would damage it. I use a small adapter that converts everything to 3.3v and also makes sure the supply is stable. You can power them from the Arduino directly but the adapters are more reliable. The board: amzn.to/3z2A4Mi

  • @MrCedricoss
    @MrCedricoss 6 месяцев назад +1

    Great video!
    Do you plan to make an improved wireless version with the score display on the respective buzzers?
    That would be great

    • @RobSmithDev
      @RobSmithDev  6 месяцев назад

      I haven’t, but maybe in the future

    • @MrCedricoss
      @MrCedricoss 6 месяцев назад

      So I subscribe and I wait to see this! Thanks

  • @godfredsam7940
    @godfredsam7940 2 года назад +1

    Please can I ignore the audio side and will it still work fine

    • @RobSmithDev
      @RobSmithDev  2 года назад

      Yes it’s fine if the audio module isn’t installed

  • @MrProvash
    @MrProvash 2 года назад +1

    I want 8 set buzzer system . Can you help?

    • @RobSmithDev
      @RobSmithDev  2 года назад

      Hi - there’s not a huge change to the code required to support extra buttons if I remember correctly. I’m sure you could figure it out. The buttons is probably just one or two likes, the controller is probably a few lines changed (to change buttons from 4 to 8) and then extra lines of code for the extra leds.

    • @MrProvash
      @MrProvash 2 года назад +1

      @@RobSmithDev u said in your code that there are only 6 pipes possible to connect nrfs . how to solve this issue?

    • @RobSmithDev
      @RobSmithDev  2 года назад +1

      😀 I also said the pipes aren’t useful so I don’t use them. The code only uses 2 that they all share

  • @over_lord418
    @over_lord418 8 месяцев назад

    Hello, I would like to try your game system. but I want to connect an LED strip and add sound. How can i do this? can you help me with this?

    • @RobSmithDev
      @RobSmithDev  8 месяцев назад

      Well sound is already in the project. Each button plays a different sound. If you wanted to add more sounds it wouldn’t be difficult. For LEDs you probably need to look up one of the led control libraries (check out my video on fake firefly’s)

    • @over_lord418
      @over_lord418 8 месяцев назад

      @@RobSmithDev Speaking of LEDs, I found them on your channel, thank you for being so responsive!

  • @marvinragasajo9220
    @marvinragasajo9220 2 года назад

    Amazing. Do you accept build order for these buzzers?

    • @RobSmithDev
      @RobSmithDev  2 года назад

      Sadly not. Unfortunately I just don’t have the time.

  • @kantoprasree7052
    @kantoprasree7052 Год назад +1

    Please advise what code do I need to add if I want a sound when answering correctly.

    • @RobSmithDev
      @RobSmithDev  Год назад

      You’d need to add extra sounds to the memory card and then need some way to tell it if they got it right or wrong (maybe two more buttons?) which would just play sounds like it does when you press the buttons

  • @MagicDUK
    @MagicDUK Год назад

    This is really interesting, what are the batteries you are using in this?

  • @syaduinotech3681
    @syaduinotech3681 2 года назад

    This is very good sharing. Tq sir