Hello. I am new to arduino, and was building a project for a theater group. We designed a clock that could go to all their cues without touching it! It was working the day we sent it to them, but now they cannot get the motor to work, and the display is only giving question marks (Reverse and normal). We only had a VS1838 on hand.
I don't know much about coding, and my partner flaked out. The theater is starting to get desperate.
Attached is my code. I can post where things are, just know that this set up worked before, and that we built our own Reed Switch so that the hour clock hand could trigger a repulsion on a back magnet telling the clock what time it is.
Okay so, we had a baud rate issue. But now the display is always the escape case "Other button" we are using a different remote now. Could that be the problem?
Sure. This clock takes input "cue" values. A motor rotates the clock hands until it detects an hour. Starting at a specific time each run makes all following cues accurate. The cases describe how many revolutions the clock needs to execute in order to bring the clock to a specific hour. For example cue 1 is nine. This is button one on the IR controller. Other buttons like fast forward keep the hands forward in time while recording the hour, then once the next cue is detected stops at the specified hour. My current problem is that the controller is going to the escape value of the switch case, regardless of what IR controller input I give it.
Yes you have that correct. I was incorrect in saying escape case. It is the default case, it says "Other button" the translateIR function is the cue received from the remote.
My Flakey partner just responded to me saying that it could be the fact that the theater group is using a different IR remote. It is the same model however. I am unsure of how this would change the output signals of the controller, but I thought I would ask if the remotes have calibration settings or something.
The print result each time is "Other Button" I could write other print statements... but seemingly the sensor simply doesn't understand what button is sent to it.
Alright so it was a different remote. We took out the hexadecimal case, then pressed every button getting the correct values for the buttons with the new remote. This is my first chat forum, and first coding project. I don't mean to be rude.
Now we are having the issue that the sensor is getting the correct values but the Clock is not moving... The motor only jumps whenever the arduino starts up. Any Ideas on how to get the motor to begin rotating for the cues it receives? I had thought the code already written would do that?