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

Using an Arduino to reset the counter? #10

Open
DDanielH opened this issue May 5, 2021 · 5 comments
Open

Using an Arduino to reset the counter? #10

DDanielH opened this issue May 5, 2021 · 5 comments

Comments

@DDanielH
Copy link

DDanielH commented May 5, 2021

Hi, is it possible to use an Arduino to write the counter on a cassette and if yes are you planning on writing some kind of tutorial?

@rubyFeedback
Copy link

Would be useful to know; I guess the corporations will try to desperately counter the civil rights-to-repair movement, so information in this regard is super-helpful in the long run. And Arduino's are quite accessible even for semi "Average Joe's" (give or take).

@dekuNukem
Copy link
Owner

Of course! It's just a bog standard EEPROM inside, and you can use any arduino to read and write it.

Here's a tutorial on sparkfun: https://learn.sparkfun.com/tutorials/reading-and-writing-serial-eeproms/all

@dekuNukem
Copy link
Owner

The PCB plugs into a USB-A female socket just fine:

https://raw.githubusercontent.com/dekuNukem/bob_cassette_rewinder/master/resources/pics/pmm.jpeg

the pinouts are, from left to right in that photo on the USB socket, VCC, SDA, SCL, GND

@DDanielH
Copy link
Author

DDanielH commented May 7, 2021

I hope this is not to mutch to ask, but do you have some example code on how to write the byte at address 0xa1? If i get this right: theoretically I just need to access the EEPROM via i2c and write 0x4e at address 0xa ?

Edit: I am struggling a bit with the EEPROM I2C address... are all 3 pins grounded for address 0x50?

@dekuNukem
Copy link
Owner

this should be a decent tutorial: https://microcontrollerslab.com/24c04-two-wire-serial-eeprom-interrfacing-arduino/

A0, A1, A2 are all grounded on bob cassette's EEPROM, so the address should be 0x50.

Someone in the discord chat got it working with an Arduino, so maybe you can try asking there as well.

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

No branches or pull requests

3 participants