-
Notifications
You must be signed in to change notification settings - Fork 44
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
Comments
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). |
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 |
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 |
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? |
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. |
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?
The text was updated successfully, but these errors were encountered: