Hi everyone, just trying to resolve a small issue with the above. (New to the Arduino world)
Having connected a 12 volt wiper motor to the MD10C and successfully managed to write a simple sketch that triggers the motor to run both clockwise and counterclockwise at variable speeds.
The issue I seem to have is being able to code the sketch to allow the DIR pin on the MD10C to receive the "0x case" generated by the key press on the remote.
Trust the above make sense, if not I will be happy to add further details
Pure25:
The issue I seem to have is being able to code the sketch to allow the DIR pin on the MD10C to receive the "0x case" generated by the key press on the remote.
Hi Karma: 9 - the remote I am using is an old Sony remote, decoded using a sketch and serial print to grab the HEX code "0x case" value.
The pin layout of the hardware between the UNO and the MD10C is as follows;
MD10C - UNO R3 Pin Connection:-
GND on MD10C - UNO R3 - GND
PWM on MD10C - UNO R3 - Pin 3 (wave)
DIR on MD10C - UNO R3 - Pin 2)
Followed by IR receiver G =gnd R = 5v Y = pin 9 on the UNO R3 (IR receiver mounted on a breadboard)
As per my previous post can't seem to write a line of code that triggers the motor to react when I press the "blue key" on the Sony remote.
Being new to this I don't know how or if it is possible for a sketch that allows a value from pin 9 to be relayed to pin 2, then passed onto the MD10C DIR