Hello,
I'm looking for some time how to connect my arduino mkr 1010 wifi with a coin-op: comestero rm5 evolution.
I can't find the information in the documentation
it is just written that you can connect in series with rx/tx (5v)
I have tried but I can't, I don't get any information from the coin acceptor.
Maybe the baud rate is not good 9600 but I can't find any other baud rate I could test.
I'm starting to run out of ideas.
If someone could give me some advice it would be great
Please post data sheets for the components of your setup.
Please post the test code. Read the forum guidelines to see how to properly post code and some good information on making a good post. Use the IDE autoformat tool (ctrl-t or Tools, Auto format) before posting code in code tags.
Disconnect the mkr 1010 and load a blink program, to see if it still works. The I/O pins that were connected to the coin device may nevertheless be destroyed.
First, you have to know the voltage levels the RX/TX lines on the coin device. If those are indeed 5V, and the I/O pins on the mkr 1010 have not been destroyed, then you can use a level shifter like this:
Measure the voltage on pin 4 of the connector. My guess is that pin 4 transmits information, and would be connected to RX of a receiving device. With a level shifter, if required by the receiving device. For that one way connection, if it is 5V to 3.3V, a resistive divider will work: