In the field of Electronics, sometimes it is becomes essential to know how much current an appliance consumes. We need something that can accurately tell what the current is. There are many ways to do this but one of the most handy and cost efficient way to do this is the Hall-effect sensing technique. In this project, we make use of the ACS712 sensor that operates at 5V to measure the current consumed by a load, in this case a bulb.
Reaction Testing Game using Interrupts and Arduino
The interrupts provided by the AVR microcontroller can be used for various purposes. Using the ISR, many applications can be made.This feature of the AVR microcontroller will be used to make a led following game which will test a user’s reaction time. There will be 4 led’s and 4 corresponding buttons for each. After the game begins, a timer will start and a random led will glow. The user will then have to press the button corresponding to that led to turn it off. If the correct button is pressed, another led will glow-up. If the wrong button is pressed, a penalty will be added and the same led will continue to glow till the correct button is pressed. This will be repeated for a total of 5 turns. Like this player one will complete his turn and his time will be displayed. Then the second user will play his turn. At the end of player two’s turn, the winner will be declared as the one with minimum time.