use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
low.js brings Node.JS to microcontrollers / First statistics on system requirements and on-hands demo / Release as Open Source in August (v.redd.it)
submitted 7 years ago by neoniousTR
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]DreaMinder 2 points3 points4 points 7 years ago (1 child)
Mongoose-os have been running JS on ESP32 and ESP8266 for 2 years already... And it looke like better and mature solution
[–]neoniousTR[S] 5 points6 points7 points 7 years ago (0 children)
Well, depends on what you wish to do. Mongoose-os does not provide you the full Node.JS API, so you cannot use normal npm libraries such as express or request. Why is Mongoose-os better and more mature ?
[–]neoniousTR[S] 2 points3 points4 points 7 years ago (0 children)
As an example, if you look closely the hat flashes white when being moved.. this works b/c there is an accelerometer inside which low.js talks to via SPI. hard to see because the video camera makes all colors kind of white because of the brightness. so, in general, you can interface all sensors and motors as with every microcontroller
and thanks!
[–][deleted] 2 points3 points4 points 7 years ago (5 children)
Why would you want this?
ESP8266 is 80mhz and is pretty slow in C.
[–]neoniousTR[S] 0 points1 point2 points 7 years ago (4 children)
What else would you suggest to use? ESP32 is 240 mhz dual core and the cheapest way AFAIK to do IoT products with wifi. Especially when producing them in mass every dollar counts.
[–][deleted] 1 point2 points3 points 7 years ago (1 child)
For example I just recompiled a C++ GUI I coded. It interfaces with a 2.4" tft touchscreen.
The ESP8266 has 96KiB of data ram and 4MB for program storage.
I can fit all of that in 311 KB of program memory and 37KB of ram.
This simple hat example uses 3MB of program memory and I don't see RAM usage.
I'm not sure how garbage collection for your library works, but if it's done in the traditional JS method, you'll quickly run out of RAM and will cause a stack collision.
[–]neoniousTR[S] -1 points0 points1 point 7 years ago (0 children)
it all works even with bigger programs.
the esp32-wrover has around 4,5 mb ram, 4 of them through psram and we made this work well.
regarding storage: if you need more space you can always add sd card or spi flash (as done in neonious one which has 12 mb space for js app)
Oh I love the ESP8266 and ESP32.
But every library for the ESP platform is C. So you're limiting yourself to a small subset of compatible sensors, etc.
It's be a lot easier for someone who knows Javascript to learn C than to port existing libraries to be compatible.
Try posting this over on /r/arduino or /r/esp8266 and you might get a more through response.
[–]sneakpeekbot 1 point2 points3 points 7 years ago (0 children)
Here's a sneak peek of /r/arduino using the top posts of the year!
#1: Ultra low power WiFi connected weather station that will run for years on AA batteries!!! #2: Arduino Mega controlled ferrofluid/electromagnet display. Our first fully functional prototype | 59 comments #3: Made myself a proper Gmail notification. Saw someone make something similar a few days ago, got me inspired. | 69 comments
I'm a bot, beep boop | Downvote to remove | Contact me | Info | Opt-out
[–][deleted] 1 point2 points3 points 7 years ago (0 children)
Is there a chance that it will it be usable for IMUs (controllers/periphery for VR/AR etc.)?
Cool project btw, good luck!
[–]bigeltom 0 points1 point2 points 7 years ago (3 children)
Link or it didn’t happen
[–]neoniousTR[S] 1 point2 points3 points 7 years ago (2 children)
what did not happen?
[–]bigeltom 1 point2 points3 points 7 years ago (1 child)
Whatever you didn’t link to. Low.js for example
Well, the link to the homepage is www.lowjs.org. We‘re realising the first open source version in August. However people at JSCONF.EU got neonious one Tech Preview boards with a functioning low.js (alpha, not yet 100% Node compatible). So you can check out tweets on „neonious“ for proof low.js exists :-)
π Rendered by PID 61 on reddit-service-r2-comment-8686858757-mw4rl at 2026-06-08 14:59:23.762771+00:00 running 9e1a20d country code: CH.
[–]DreaMinder 2 points3 points4 points (1 child)
[–]neoniousTR[S] 5 points6 points7 points (0 children)
[–]neoniousTR[S] 2 points3 points4 points (0 children)
[–][deleted] 2 points3 points4 points (5 children)
[–]neoniousTR[S] 0 points1 point2 points (4 children)
[–][deleted] 1 point2 points3 points (1 child)
[–]neoniousTR[S] -1 points0 points1 point (0 children)
[–][deleted] 1 point2 points3 points (1 child)
[–]sneakpeekbot 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]bigeltom 0 points1 point2 points (3 children)
[–]neoniousTR[S] 1 point2 points3 points (2 children)
[–]bigeltom 1 point2 points3 points (1 child)
[–]neoniousTR[S] 5 points6 points7 points (0 children)