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.
I'm done with analyzing the Nemesis ROM file to generate a map. It's not complete, but I have everything I want to put in the video to make about it. And I've found a lot of interesting things along the way. The video is coming soon. #retrogaming
I'm making good progress with my OpenSCAD wrapper. I've changed it so the object definition is not a program to run, but a "data" file that is loaded into the program. It's still executed as Python though, so it's not safe to run an untrusted file.
Anyway, I'm designing a lock that can be created with a laser cutter as a demonstration, so I thought I'd share a picture.
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!
Scholar Social is a microblogging platform for researchers, grad students, librarians, archivists, undergrads, academically inclined high schoolers, educators of all levels, journal editors, research assistants, professors, administrators—anyone involved in academia who is willing to engage with others respectfully.