Super Wifi Duck Pad
- 4 Devlogs
- 5 Total hours
A macropad with a wifi portal!
A macropad with a wifi portal!
I made so that the ordering made more sense. It used to start with zero which is fine but confusing for some people. I also made so that the pins are read in the right order, as the order used to be
1 4 7
2 5 8
3 6 9
to make it easier to route, but that also is confusing, so now it reflects the ui. The next step is shortcut profiles like the og duckyPad.
I made it so that the script selector is like the buttons so that it is easier to use. It took a while because I am not very good at frontend things, but I like how it turned out. It was made especially tricky as on-device debugging involves compiling and uploading the new firmware, connecting to the access point network, and then reloading. I did get a debug setup going with python -m http.server but then the websockets did not work for obvious reasons.
This devlog is rather long, but a lot of things needed to happen before I wanted to make another devlog. I had a very difficult bug involving macros (written in DuckyScript) running at the same time. It wasn’t always a problem, but the buttons made it really easy to crash the system by overlapping scripts. When I added some code to keep track of that, it would crash when launching a script from the web-ui, but not when launching them from the terminal or buttons. After much (much much much) debugging and banging my head against walls, I figured that the problem was with a websocket status pulse. By delaying the pulse, I could avoid a crash. You can see the one line javascript patch below. I’m not sure why it was crashing the device, but it seems to be fixed now. I made a PR to upstream here Anyway, enjoy the demo!
I made a macropad with KiCad. It uses an esp32 s3, so it will have a web based config editor. This project is the firmware for it as I did not know that stardance could do hardware projects. Since I just worked on some button code and got set up, I will just have some pics of the macropad.