Hi guys (and of course girls)
I'm completely new in the world of Arduino, especially the coding.
I do understand some coding from my past experience with HTML, CSS and a bit of java.
For my first project I want to build a more complex dummy bomb for airsoft/milsim purposes.
The housing will be a standard case
My device will have the following components:
-
an Arduino Uno rev 3
-
a red 8 digit LED segment bar that will countdown the time in hh:mm:ss and when under 60 min it will be mm:ss:ssss
-
a white (or green) 4 digit LED segment bar that shows the (de)activation code
-
a matrix 3x4 keypad for entering the code and countdown time
-
a key switch that is hooked up with the battery and Arduino Uno to turn the bomb on.
-
7 wires in different colors, where 2 of the 7 will deactivate the bomb and the other 5 will add a penalty point
-
5 red LED's that visualize the penalty points
-
a buzzer and a red LED that will beep/ blink on certain commands
-
a button with integrated red LED to arm the bomb
-
a sensor that detonate the bomb when you try to move it
-
some smoke machine fluid and a very hot transistor to generate smoke when the timer is under 1 min (optional)
-
a switch that will activate the timer when you open the case (optional)
I'm not 100% sure what kind of components i need to build this, that's why I need you guys
For the coding I'll list the scenario:
ARMING
- open the case and put the key in the switch, turn right, this turns on the power
- enter a 4 digit code you want
- enter the countdown time you want in hh:mm:ss
- the red button lights up. Press the red button to arm the bomb
Now the bomb is active and counting. You can disarm the bomb by entering the code or cut the correct 2 wires.
The bomb will explode after the timer sets to 00:00:00, if you reach 5 penalty points or if you move the case.
Penalty points are given when you enter a wrong code or cut the wrong wire. After each penalty point the timer goes faster.
While the bomb is active the red led and buzzer beeps every minute, when under 1 minute it will beep twice per second and when under 10 seconds it will beep 5 times per second.
when the timer gets under 1 min, the heat transistor starts heating up the smoke machine fluid and the device starts smoking (optional)
DISARMING
- enter the correct code, the buzzer and red LED beeps 1 time
- the timer shows the remaining time and the correct code
OR
- cut the correct 2 wires
- the timer shows the remaining time and the correct code
I think I explained everything. If any of you guys want to advice me or help me out, that will be great.
Building the device is not a problem. Getting the code right is something else
Kind regards
Levi