I always wanted to find an efficient way to share information between an Arduino and a computer. You can send raw strings, use a protocol or even create your own. In this context, I will use as example a DHT11 sensor with an Arduino Uno to retrieve data back. DHT11 Sensor This sensor is very … Continue reading Python, Serial Port, Arduino and JSON
Month: December 2020
Install Node.js and cncjs on Raspberry Pi Zero
Installation of Node.js Like I installed the light version of Raspbian without any additional packages, it is necessary to install Node.js on which cncjs is based. Raspberry Pi Zero is based on an armv6l architecture, so we have to download the appropriate version. Furthermore, cncjs v1.x recommends to use a specific Node.js version as v4 … Continue reading Install Node.js and cncjs on Raspberry Pi Zero
Start Python file with crontab at startup
When I used cncjs with my laser engraver, I had to start manually it at each startup which can be annoying. Furthermore, I added a script for the streaming of the camera. The keyword that needs to be used is "@reboot". Then, eachtime your computer starts, it will also launch the script.