Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ESP32 support #2

Open
dronecz opened this issue Mar 4, 2019 · 2 comments
Open

ESP32 support #2

dronecz opened this issue Mar 4, 2019 · 2 comments

Comments

@dronecz
Copy link

dronecz commented Mar 4, 2019

Hello,

is there any plan to support ESP32 boards? We can try to implement these boards, but I did not find any info about how to add some support for boards. We, here at FabLab Brno, would like to use your games from RetroGames projects, but we feel that Arduino Nano or Uno is too old for this and we want to use modern chip with WiFi connectivity.

@bmcage
Copy link
Collaborator

bmcage commented Mar 4, 2019

You can select board NodeMCU, this is an ESP32, and the pin layout and code generated should be correct. If the pin layout is different, you can add another board, by editing

  1. blocks/arduino/component.js : add in dropdown your board. As you can see, NodeMCU is present, use that as base
  2. generators/arduino/boards.js: add your board.

However, saying that Nano or UNO are too old is mistaken. They serve a purpose. For introduction, using simpler boards is to be advised. Also, WiFi has big current drain over not using WiFi, don't use 9V battery then, or at least test current draw.

Also, the games I made are tailored for the nano. Some might start to run too fast or too slow if another processor is used. Some tweaks might be needed, patches welcome in the retrogames repo.

Finally, when adding ESP32, adding blocks for wifi connect and reconnect would be nice. It is on my todo, but up to now, workshops with children did not go into WiFi terrain.

Best of luck!

@bmcage
Copy link
Collaborator

bmcage commented Mar 4, 2019

In case you are interested, we are doing a retrogames camp this week. The latest, Dutch manual, for the children to learn working with the consoles is at
https://docs.google.com/document/d/1xxyp3OQObZTlzTvthhaos_SQcoZh-0AXhmrIEuPBvQU/edit?usp=sharing
The blocks should be clear to you in how we structure the camp.
At the end, the children can then upload one of the classic games from the retro games console, or leave their own creation on the device.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants