This isn’t really a ‘projects made with Blynk,’ but I didn’t know where to put it.
I just wanted to throw this out there- especially for people who have only done fairly simple projects with Arduino’s and ESP’s and mostly using Arduino IDE- try out Blynk on a Raspberry Pi.
For whatever reason (okay, I’ve started dabbling in Javascript coding), I bit the bullet and spent quite a bit of time getting a headless Raspberry Pi 3 I’ve had sitting around collecting dust all set up with Node, the Blynk library, Git, etc. today… I also downloaded VS Studio Code (nice looking, quite customizable text editor) and Git for Windows and spent more time getting my Windows 10 computer to a point where I could be editing a .js file in the editor while watching things happen in my console output via a built in git-bash terminal in VS Studio.
I sure as hell don’t really know what I’m doing yet, but it’s a huge breath of fresh air.
-
There are tons of cool libraries out there via NPM- they’re easy to install and update… It’s so much better than going through the Arduino IDE. And it’s a hell of a lot easier to update your Blynk library through NPM vs having to re-upload a sketch on an ESP that has been running something for the last 8 months straight and knowing something is going to break.
-
Editing code wirelessly. Yeah, it’s not too difficult to code Arduinos/Esp’s wirelessly, but changing a RPI script is like opening the hood of your car. You just… open the file that’s on the Rpi, edit it, save, and you’re done. You can see which file you’re currently running (for those of you with dozens of updates on your Arduinos and you can’t remember which .ino you uploaded last/which is currently running on it). And most importantly, you’re doing all of this across the room from your Rpi. Maybe across the city via ssh.
-
Javascript is… kind of a fun language. Definitely a change of pace from C++. Event handlers are cool, and the timers are pretty straightforward- and maybe even a little more controllable than the simpleTimer library you’re used to.
-
Git. Getting git set up and using it for my Arduino / Esp projects has just been kind of a pain in the ass for whatever reason. Maybe it’s because keeping track of libraries you use in a project is such a PIA with the arduino IDE, or something, but switching to an RPI makes using something like Github ridiculously easy.
-
Blynk- Obviously, I want to tie this back to Blynk… but the blynk library install is super quick. You can also quickly check if you’re connecting to the Blynk server via the script that is installed with the library. It’s awesome.
End of rant. Point is, if you haven’t tried it yet, take a day to mess around with it.
I’m curious what other’s thoughts are on Blynk + Rpi… Pro’s and Con’s: I can think of 1 con- where is the nicely organized Javascript equivalent to all of the Arduino Blynk examples?!