In this example we are using NRF24L01 radio module, Pushbutton switch, Buzzer and an I2C OLED display to show which player pressed pushbutton first. Here, 4 shields act as Transmitter and One shield act as a Receiver. Each time when any user(transmitter) presses button, then arduino sends the user number to receiver through NRF24L01 radio module and receiver receives the input and makes decision which player pressed the button first.You can change the number of players and particular time after which receiver will take decision.
- In this example we have used RF24Network.h and RF24.h library for NRF24L01 radio module and u8glib.h library for OLED display. This sketch is for receiver.
- In this example receiver receives input from users and decides which user pressed the pushbutton first and shows the number of that user on OLED display and makes beep sound on buzzer.
Upload the code to 5 arduino's and Enjoy the fastest finger first Game with your friends.
No more connecting things to breadboard and messy wiring.With the idIoTware shield the sky's the limit.
Comments