Hi, I'm working on a bigger Project with 2 Arduino Mega 2560. Also i'm using lots of relays, an 4x4 Keypad and an 20x4 lcd via i2c. By the end this control hast be built in a Pinball. the Pinball is erased and there is just the Frame. it's a Gimmick for MeTec2015 for my daddy's Company. there are 5 parts of steel which have to be descaled. The big theme about it is "Selective Descaling". so there are 5 targets at the top of the play field. at the lower side of the play field you can find 5 buttons. if you press a Butte water will be shot throughh the Playfield and hit the Target. Water hydraulics are made by my fathers Company. Also there are lots of LED's which light in sections. Thats about the Hardware.
so now about the Arduino Part: the first Arduino controls the Game itself he lights up 1 of the 5 less randomly. After that you have to "descale" the target by pressing the right button. You have a delay(reaction time) and if you don't get it to the right time you fail. If you get it you Proceed to Level 2 noe there are 2 Targets lighted up at the same time wich have to be descaled... Last Level there are 4 out of 5 Targets.
Timing and different Gamemodes have to be toggled about an LCD Interface with the Keypad. this is coordinated by 2nd arduino. also he puts out LED Signals over Realis and pwm Amplifier.
Now to what i already got: -random algorithm for the Signals. (Running) -writing agorithm for Signals. (Running) -input check Algorithm (NOT tested) -LCD Menue Structure(Running) -LCD Menue Function to change the Numbers (WORKING) -I2C Communication and Protocoll for communication between 2nd (master) and 1st ( Slave) (NOT WORKING)
Any help would be great. For the Function to change numbers i got an idea. ill write about it in the next Post. Help via teamspeak, Skype or FaceTime is really appreciated