LED random number Generator project using sajilobot

 LED NUMBER RANDOMIZER


We can use LEDs and Sajilobot to create a Number randomizer device.this device will provide random numbers when the button is pressed.


For this project we will be making a Randomizer for 4 Numbers[1 to 4]

Materials Required:

  1. Sajilobot

  2. 4 LED’s

  3. Push Button

  4. Jumper Wires

  5. Programmer

  6. Resistors

  7. Battery


Circuit connections:


  1. Connect the push button to A2 of Sajilobot with resistor to detect Switch

  1. Connect positive LEDs with resistors to D6,D11,D12,D13 and connect the ground of the LED to common ground.

fig:Main code:

fig:Block to generate random cases


Post a Comment

0 Comments

Comments