deafboy on Nostr: Hardware hackers of the world, give me thy wisdom, and teach me how to talk to this ...
Hardware hackers of the world, give me thy wisdom, and teach me how to talk to this bullshit PWM solar charger, based on STM8S005C6T6.
According to the docs, it has I2C, but I was unable to detect anything on the bus. It doesn't help that most of the IO pins are multi purpose.
I've even tried to scrape the signals going to the LCD, but it turns out, it uses some higher level protocol.
None of the 20 pins seems to be going to the ground, and they all have 3.2V or 3.6V flowing through them at all times.
I want to read the current battery voltage.
https://akkoma-test.hiwaga.tech/media/f03c6f3b-abde-4718-b539-10b67dbaf255/stm8s005c6.pdfPublished at
2023-09-15 15:32:38Event JSON
{
"id": "d2c32faa5142e032a5c170efac90cb3bae34f351e619a77178e5f0ababd60ef9",
"pubkey": "ca49a03fdfadb6e211f508b0f0063ae8e0a0c79f1de6ff17e38c35a3b7b77f00",
"created_at": 1694791958,
"kind": 1,
"tags": [],
"content": "Hardware hackers of the world, give me thy wisdom, and teach me how to talk to this bullshit PWM solar charger, based on STM8S005C6T6.\n\nAccording to the docs, it has I2C, but I was unable to detect anything on the bus. It doesn't help that most of the IO pins are multi purpose.\n\nI've even tried to scrape the signals going to the LCD, but it turns out, it uses some higher level protocol.\n\nNone of the 20 pins seems to be going to the ground, and they all have 3.2V or 3.6V flowing through them at all times.\n\nI want to read the current battery voltage.\n\nhttps://akkoma-test.hiwaga.tech/media/59df83af-4179-4478-8eb9-3173bbb56115/8SH4cp5YQEqyVd1YGJIcwA.jpg\n\nhttps://akkoma-test.hiwaga.tech/media/ca861259-64a0-4a2b-8ed0-222eb5bc7629/NAUX7n8rRfqbwajl3jV4ww.jpg\n\nhttps://akkoma-test.hiwaga.tech/media/f03c6f3b-abde-4718-b539-10b67dbaf255/stm8s005c6.pdf",
"sig": "3677ca98571d40d8ec6020aa703b08da5f512c6389cd4c05f0cd85f7233b7e96b7324545d1982a71251d2c51afabdc062022c9ef4f3be269e27de30020932750"
}