Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

weird data from MDB device #6

Open
Tarcontar opened this issue Feb 3, 2017 · 4 comments
Open

weird data from MDB device #6

Tarcontar opened this issue Feb 3, 2017 · 4 comments
Labels

Comments

@Tarcontar
Copy link

Hi,
i set up my code for the 9 bit serial communication and testet it with 2 arduinos.
But I still get weird data from the MDB device (coin changer).
Im not sure if my circuit is correct(2 optokopplers).
Do you have any example circuit for your code?

greetings Tarcontar

@justintconroy
Copy link
Owner

Without seeing any of your code or the hardware you're using, it will be hard for me to provide any help debugging. It's been about 2 years since I last worked on this project, so it's unlikely that I'll be able to easily find an old circuit diagram for this, but I might be able to see what's wrong with yours if you post pictures or something.

Keep in mind that the example code in the samples directory was made for a Bill Accepter, not a coin changer. They may have different sets of commands available to them, or at least have different sets of responses (which might be why it seems jumbled).

Other problems could be that the speed of the interface is wrong. I think I only ever tested on Arduino Uno. If you're on a different Arduino, I can't say for sure if it will work. It might, but I haven't tested it.

@Tarcontar
Copy link
Author

Tarcontar commented Feb 4, 2017 via email

@Tarcontar
Copy link
Author

Tarcontar commented Feb 4, 2017 via email

@justintconroy
Copy link
Owner

This doesn't look like you're using any of the libraries provided in this repository. Can you maybe explain what you're actually trying to do? Are you trying to write your own implementation? Did you try integrating these libraries into a project at all? I know it's not all that well documented, but I can probably help you better if you're actually using what I wrote.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants