Day 101 Self-Study to Web Dev!

Austin Beaufort
2 min readApr 15, 2019

--

The twitter community (especially the #100DaysofCode and #301DaysofCode) community are positive, uplifting, and I owe a large thank you to each and every person that’s part of those communities!

I’ve always felt that if I’m inspired by something, it’s important to give back to that “something” to “pass along” the inspiration, motivation, and positivity.

In that light, I am creating a series of ‘warm-up’ morning daily coding challenges and “how to’s” to get everyone thinking for the day. Here is the first.

I spent the rest of the day focused on hardware after the tutorial was uploaded to youtube.

Specifically I spent time with the arduino (or my version of that, the ‘elegoo’).

After some research it appears the arduino IDE likes ‘C’ and ‘C++’. I thought to myself, “oh hell no, I’m only proficient in JavaScript.”

So, with a bit more research I found the “Johnny-Five” JavaScript Library for working with robotics and arduinos!

Turns out after downloading the “Firmata Plus” thingy to the arduino, I no longer need the Arduino IDE.

I was able to import the Johnny-Five Library and the “serialport” library with npm and run the program with node.

If you are trying this, make sure to download “serialport” also. From my limited understanding JavaScript isn’t really meant to do the kind of low level language things like connecting to serialports, but the ‘serialport’ library makes it simple and possible. Just install it, you’ll thank me later.

‘Johnny-Five’, Node, ‘serialport’, and arduino in action.

=> All code since day one can be found here on github!

=> Build original apps with me on youtube!

=> Follow me on twitter!

=> Codepen projects!

=> Portfolio

--

--

Austin Beaufort
Austin Beaufort

No responses yet