Science, technology, education, 3-D printing, robots, computer programming, games
I have Opinions which may differ from yours. If so, please tell me about your point of view!
| Portfolio | https://zelfmaker.nl |
Science, technology, education, 3-D printing, robots, computer programming, games
I have Opinions which may differ from yours. If so, please tell me about your point of view!
| Portfolio | https://zelfmaker.nl |
I had to make this. How can anyone believe these clowns?
(Clip from the Rational National: https://youtu.be/AFFJFiQKlcs)
I've been working on and off on a project with an attiny24 microcontroller for a long time now, and I'm finally making progress.
My very professional setup made it possible to program the avr, but for some reason it wasn't responding.
Just found out that it had aggressive brown out detection set up, and it's only running at 3.3V here. Once I found out, that was easy to solve. But did that take a long time...
#electronics #programming #avr #hardware
My project to control my central heating is slowly but steadily progressing. I have now made a board. It looks good, but unfortunately programming the #avr microcontrollers doesn't work and I have no idea why.
If you want to help, details are here: https://www.avrfreaks.net/forum/i-fail-programming-attiny2313a-why
Well, this took ages and I'm proud that I finally found it: I believe there is a bug in the atmega32u4 (the heart of the #Arduino Leonardo, which supports USB), where it will not move to the status phase after receiving an OUT packet on a control endpoint.
Now I understand why everyone on the internet, including the Arduino library, seems to have given up on making the HID request SET_REPORT work. But I have a workaround and it works!
To build a thing for my central heating, I wanted to program an attiny microcontroller. I don't like the #arduino system, so I wrote a replacement. To be complete, I also implemented USB. To debug it, I wrote a USB sniffer on an avr (with a #Python parser to make sense of the data).
Now backtracking has finally begun: my sniffer works, I can fix the USB code now.
Maybe I'll even finish the heating project at some point.