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

Novice ask next how to upload js to hardware #1820

Open
zhou1591 opened this issue May 16, 2023 · 7 comments
Open

Novice ask next how to upload js to hardware #1820

zhou1591 opened this issue May 16, 2023 · 7 comments

Comments

@zhou1591
Copy link

My highly skilled brothers ,I would like to ask how I can upload js to the hardware, that is, I connect a battery to the hardware, and then it can execute the logic of js I upload。

@lbineau
Copy link

lbineau commented Aug 16, 2023

Hello @zhou1591 ,
As far as I know you always need a computer to be able execute nodeJS in order to be able to run johnny-five.
It is not code that you can compile and put on Arduino with a battery.
If you want something compact you'll need something like a raspberry pi zero in addition to your Arduino to execute johnny-five.
This question is a duplicate of this topic #1792

@scottgonzalez
Copy link
Contributor

This requires an on-board linux environment. See the Platform Support page for a list of hardware that will support what you want to do.

@zhou1591
Copy link
Author

zhou1591 commented Oct 8, 2023

Hello @zhou1591 , As far as I know you always need a computer to be able execute nodeJS in order to be able to run johnny-five. It is not code that you can compile and put on Arduino with a battery. If you want something compact you'll need something like a raspberry pi zero in addition to your Arduino to execute johnny-five. This question is a duplicate of this topic #1792

thanks

@zhou1591
Copy link
Author

zhou1591 commented Oct 8, 2023

This requires an on-board linux environment. See the Platform Support page for a list of hardware that will support what you want to do.

thanks

@zhou1591
Copy link
Author

Hello @zhou1591 , As far as I know you always need a computer to be able execute nodeJS in order to be able to run johnny-five. It is not code that you can compile and put on Arduino with a battery. If you want something compact you'll need something like a raspberry pi zero in addition to your Arduino to execute johnny-five. This question is a duplicate of this topic #1792

I now have a nodemcu, and I want to compile the Jonny-Five file and upload it to nodemcu, can I use some vscode plugins to implement it?

@zhou1591
Copy link
Author

This requires an on-board linux environment. See the Platform Support page for a list of hardware that will support what you want to do.

I now have a nodemcu, and I want to compile the Jonny-Five file and upload it to nodemcu, can I use some vscode plugins to implement it?

@scottgonzalez
Copy link
Contributor

There is no such thing as compiling Johnny-Five files. nodemcu is firmware that runs lua, that is not what you need. As I said, you must use a board listed on the platform support page. These boards run Node.js directly; they are the host instead of your computer being the host.

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

3 participants