dj1ch / minigotchi

an even smaller pwnagotchi. maintained by @dj1ch
GNU General Public License v3.0
174 stars 13 forks source link

Add support to ssd1306 #110

Closed ilbossdelfaidate closed 4 months ago

ilbossdelfaidate commented 5 months ago

I believe that adding a 1306 or SH1106 SSD screen where you can see the logs or data sent via serial to the project is very useful because if you want to bring the ESP to evaluate whether there are any errors, turning on a PC and connecting it via serial becomes complicated

nothingbutlucas commented 5 months ago

Already supported: https://github.com/Pwnagotchi-Unofficial/minigotchi/pull/106 At least the shield for the wemos d1

dj1ch commented 5 months ago

As much as I want to put out a new release with that PR, recently there's been issues with Pwnagotchi detection where the ESP would literally crash. I hope to get this patched within this week, I'll be sure to let you know when this is fixed

nothingbutlucas commented 5 months ago

Oh I notice that, but I thought maybe it was my pwnagotchi... the problem is on the json parsing, right? Let me know if I can give u a hand with something

dj1ch commented 5 months ago

Oh I notice that, but I thought maybe it was my pwnagotchi... the problem is on the JSON parsing, right? Let me know if I can give u a hand with something

The json parsing issue was just with the pwnagotchi stats being shown through its beacon frame's json. The actual problem with the crashing however could be the pwnagotchi callback itself.

dj1ch commented 5 months ago

Already supported: #106 At least the shield for the wemos d1

also someone on the discord was able to get it to work with the 0.96 SSD1306 screen, that one is also supported to ig, maybe I could make a config value to set the screen size and stuff.

ilbossdelfaidate commented 5 months ago

I managed to start the ssd 1306 0.96 screen with the beta 3.0.2 if you are interested I will send you the lines of code , in discord i send the video

dj1ch commented 5 months ago

I managed to start the ssd 1306 0.96 screen with the beta 3.0.2 if you are interested I will send you the lines of code , in discord i send the video

gotcha, if needed you can make a pr. i also made some recent changes to the display.cpp and display.h for the SSD1306 if you wanna make sure that it works, although you'll just need to adjust some configuration in config.cpp for configuration related to screens to suit your screen. the current screens I have added are SSD1306 and WEMOS_OLED_SHIELD

ilbossdelfaidate commented 5 months ago

i send you a pm on discord with screen and full code with edit, on wemos d1 mini (esp8266 mod)+ssd1306 the beta of the source code are working with no crash,I tested it for a few hours and had no problems

dj1ch commented 4 months ago

I am going to close this issue since display support is now done for the most part.