rwaldron / johnny-five

JavaScript Robotics and IoT programming framework, developed at Bocoup.
http://johnny-five.io
Other
13.3k stars 1.77k forks source link

Is it possible to use with esp32? #1738

Open rodolphonetto opened 3 years ago

rodolphonetto commented 3 years ago

Hi guys, I did not found where to ask simple questions but I would know if it is possible to run johnny-five into an esp32

dtex commented 3 years ago

I don't think ESP32 support has been added to firmata yet (which is how Johnny-Five would talk to it). Something about no support for analogWrite. It does work with ESP8266 however.

There is a skunkworks alternative to Arduino C firmata from the moddable team that I think will run on an esp32. Not even sure its creators have tried that yet, to be honest, and I'm sure there are holes. It was built as a proof-of-concept. I don't imagine that it would support wi-fi firmata though.

Depending on what you want to build, you might be able to use J5e (AKA Johnny-Five Embedded). It runs on board an ESP32, but it is not nearly as full-featured as Johnny-Five.

rodolphonetto commented 3 years ago

I Just wanna do pinMode, pin.high, pin.low and pin query, only simple things. I Will give It a try

Alevale commented 3 years ago

@rodolphonetto did it work?

rodolphonetto commented 3 years ago

Hi, bro.

I did other thing, I connected esp to my app via websockets

Em ter., 5 de out. de 2021 07:48, Alejandro Vales @.***> escreveu:

@rodolphonetto https://github.com/rodolphonetto did it work?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/rwaldron/johnny-five/issues/1738#issuecomment-934293273, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEKBLUCRQIAYSX4LPZDQN3TUFLJYXANCNFSM5BSJZR5Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

o-in25 commented 1 year ago

@dtex Is there any update on this? Also looking to use an ESP32 with this platform.

dtex commented 1 year ago

I think this is the issue you want to watch for analogWrite support on esp32.