3 ms·
On an attiny14a, with 128B of RAM, I had no problem implementing a 433MHz radio remote decoder, controlling 13 LEDs (via a shift register), a digital pot, a rot
by bombela 2y ago
On an attiny14a, with 128B of RAM, I had no problem implementing a 433MHz radio remote decoder, controlling 13 LEDs (via a shift register), a digital pot, a rotary encoder, and one button. With the ability to clear and record new remotes in EPROM.
I definitely didn't use near the whole 128B of RAM. I don't remember how much, because it wasn't ever an issue.
The difficult part was actually the 1024 instructions limit on the FLASH storage.
It was written in Rust, which wasn't good with AVR at the time (it got better since then).
- TaylorAlexander 2y agoSure. And Pong was implemented in pure logic circuits with no CPU at all. Your comment takes up 530 bytes. When tools like the RP2040 are available, using an ATTiny should be carefully considered. There’s many better options now, and I think this is worth pointing out to people who might not be aware of its limitations. You can take a sailing ship across the ocean too but it’s cheaper and faster to fly.
- Eisenstein 2y agoSome people sail for fun. Same with circuit design.
- TaylorAlexander 2y agoTotally. I absolutely see that the person who designed this little board was having fun. I’m in no way criticizing them for doing that. Actually I think it’s a neat project. I just wanted to add a warning to this thread in case any beginners saw this who are used to working with other modern chips. It might not be obvious to beginners who might not think to check the CPU specs.