Alright, so I'm going to describe this as well as I possibly can. Also, note that I am very much willing to pay if someone can do this for me. If you need any more information on it, please reply.
So I am making a giant ray gun basically, but the function of this is beside the point tbh. I need an Arduino to drive a relay board. This project is a prop for an upcoming event, so I need this code pretty quickly-- in the next week and a half or so. I have an 8 channel Relay board and need it to do several things. I'll make a description of what I want to be done on each channel here. I also have 9 buttons to control this relays.
I am operating on an Arduino Uno, and there should be enough outputs/inputs to handle this, but if there isn't, please tell me. I can handle the wiring of the Relay board, but I'd like you to handle the arduino side to fit the code. I may be a newb with coding, but I know wiring very well, so.
Hopefully this is enough information, please give me a quote first on the price, I'm getting re-embursed for whatever the cost of this project is, so I've got no reason not to pay you-- I don't totally get how this arrangement works on here so yeah. I've got venmo and all that stuff so I'm flexible.
thanks,
Alex
Button functions:
Button 1
this button will deal with channels 1 and 2 of the relay board
These two together will drive a linear actuator. When channel 1 is activated, it will drive the actuator forward, when channel two is activated it will drive the actuator in reverse.
When the button is pressed for this channel, I need it to reverse the actuator (activate relay 2) for a set amount of time (that exact time I still need to figure out, so ideally this is easily editable), pause and hold position (no relays are on) and Activate Relay 1 again, for the same amount of time as relay 2 (to return the actuator to its home position)
This is by far the most difficult relay to do in this project.
In simple terms, this happens:
Button 1 is pushed* --> Relay 2 is activated for XX ms, pauses for YY ms, Relay 1 is activated for XX ms
Button 2: this deals with channel 3 of the relay board (sorry that difference in numbers is probably annoying)
This relay should be a simple one, if button 3 is pushed, this relay is on, if it isn't pushed, Relay 3 is off.
It may seem like its pointless to even use a relay for this but you'll understand later here.
Button 3: this deals with channel 4 of the board (again sorry)
This is identical to button 2 except its for the next channel. Button pushed =on, button unpushed = off
Button 4: this button will drive a motor. When it is pushed once, the motor turns on, when it is pushed a second time, the motor turns off. The motor is hooked up to channel 5 of the relay board
Button 5: drives channel 6 of the relay board
this is just like buttons 2 and 3. When pushed, the relay is on, when unpushed the relay is off. C
Button 6: This drives channel 7 of the relay board. same as buttons 2,3, and 5. When pushed it's on, when unpushed it's off.
Button 7, just like 2,3,5,6. Drives channel 8 of the relay board, When pushed its on when unpushed it's off.
BUTTON 8: THIS IS WHERE ITS A LITTLE DIFFERENT. WHEN THIS IS PUSHED, IT WILL ACTIVATE A SERIES OF RELAYS
It activates relays 5, and 7. They remain on until either of the following happens-- Button 8 is pushed, or button 9 is pushed.
BUTTON 9:
When button 9 is pushed, several things happen
The sequence described for button 1 is triggered,
Relay 3 is triggered for XX amount of time
Relay 4 is triggered for XX amount of time
Relay 5 remains active for XX amount of time
Relay 6 is triggered for XX amount of time
Relay 7 is deactivated
Relay 8 is activated for XX amount of time
when that XX time is up everything is deactivated. The BUTTON 1 sequence should be allowed to play out though.
If ya got any questions please respond. Like I said this is timely.