Live data from Hacker News

ESP32 Game Boy Printer (2018)

github.com

1–10 of 17 posts

Re: ESP32 Game Boy Printer (2018)

#3
"Since the whole protocol is bit-banged, it is susceptible to delays caused by other higher priority task"

Ermmm no. Not utilising both cores properly on the ESP32 is a common mistake which causes this (described) behaviour https://randomnerdtutorials.com/esp32-dual-core-arduino-ide/

Ref. me, I wrote a Java Gameboy 2BPP encoder/decoder library and have done multicore ESP32 dev. https://github.com/KodeMunkie/gameboycameralib

Re: ESP32 Game Boy Printer (2018)

#4

"Since the whole protocol is bit-banged, it is susceptible to delays caused by other higher priority task" Ermmm no. Not utilising both cores properly on the ESP32 is a common mistake which causes this (described) behaviour https://randomnerdtutorials.com/esp32-dual-core-arduino-ide/ Ref. me, I wrote a Java Gameboy 2BPP encoder/decoder library and have done multicore ESP32 dev. https://github.com/KodeMunkie/gameboyca…

Adding to that, it probably shouldn't need to be bit banged. I've found that SPI peripherals can generally be put into a mode that can speak gameboy link cable. When I wrote a gameboy printer emulator in an arduino that simply spoke over serial instead of over wifi, running the emulation state machine as the highest priority task directly in the SPI interrupt worked great.

Re: ESP32 Game Boy Printer (2018)

#6

Where's the printer part? You could connect this to a cheap chinese termal ESC/POS printer and print out the image too... there are probably libraries availble that do most of the esp32->print work.

My immediate thought also, I have seen some very cheap thermal printers on Aliexpress and the like that could be used for this purpose.

Re: ESP32 Game Boy Printer (2018)

#7

Where's the printer part? You could connect this to a cheap chinese termal ESC/POS printer and print out the image too... there are probably libraries availble that do most of the esp32->print work.

It's a software implementation (on the ESP32 microcontroller) of something that the Gameboy will think is a printer. You print to it, and images are made accessible on the ESP's web server instead of on paper.

Re: ESP32 Game Boy Printer (2018)

#8

"Since the whole protocol is bit-banged, it is susceptible to delays caused by other higher priority task" Ermmm no. Not utilising both cores properly on the ESP32 is a common mistake which causes this (described) behaviour https://randomnerdtutorials.com/esp32-dual-core-arduino-ide/ Ref. me, I wrote a Java Gameboy 2BPP encoder/decoder library and have done multicore ESP32 dev. https://github.com/KodeMunkie/gameboyca…

> Ermmm no.

Removing the snide 'Well, akshually...' remark from your comment makes you come across like a much better person.

> Not utilising both cores properly on the ESP32 is a common mistake which causes this (described) behaviour https://randomnerdtutorials.com/esp32-dual-core-arduino-ide/

Doesn't it? :)

Re: ESP32 Game Boy Printer (2018)

#9
post #8

"Since the whole protocol is bit-banged, it is susceptible to delays caused by other higher priority task" Ermmm no. Not utilising both cores properly on the ESP32 is a common mistake which causes this (described) behaviour https://randomnerdtutorials.com/esp32-dual-core-arduino-ide/ Ref. me, I wrote a Java Gameboy 2BPP encoder/decoder library and have done multicore ESP32 dev. https://github.com/KodeMunkie/gameboyca…

> Ermmm no. Removing the snide 'Well, akshually...' remark from your comment makes you come across like a much better person. > Not utilising both cores properly on the ESP32 is a common mistake which causes this (described) behaviour https://randomnerdtutorials.com/esp32-dual-core-arduino-ide/ Doesn't it? :)

I’m glad I’m no the only one put off by this. I’ve been thinking of making a simple browser extension to hide all the “eeeermmm no”’s from HN.
Post reply on HN