MicroPython | 6 min | 2176
access to dataanalyticsesp32jupyterjupyter kernelsensorsvisual studio code
I was looking at my last articles about MicroPython and my new articles about Jupyter and Docker, and I thought if it is possible to make a mix between Jupyter and the ESP boards. I use usually Visual Studio Code to program the ESP but for analytics I use Jupyter. I looked if it was possible to connect the Jupyter kernel to the ESP using the serial port and: Yes!, it is possible. This can be a great tool to teach kids to access data from connected sensors and analyze it using a browser with Jupyter.
This is what I will try to accomplish in this tutorial:
- Install MicroPython
- Install the Jupyte...
MicroPython | 1 min | 623
esp32happy new yearloramicropythonwipyxmasxmas lights
Out with the old, in with the new! Happy 2019!
It's been a two years now since I started this blog. It's a hard job to maintain it up-to-date but I still have fun writing and coding for this purpose! I hope the next year will be better than this one! :)
This post includes a new video for happy new year! The video combines some of the MicroPython code, that I've published this year. I'll be uploading the repo to GitHub in the next days. But, in the meantime enjoy the video, and check the MicroPython projects here!
Analytics | 3 min | 1380
Portainer is a management UI which allows you to easily manage your different Docker environments.
This is what I will try to accomplish in this tutorial. You will be able to:
- Run Portainer for Docker management on Windows, Linux and on a Cloud platform
- Start container with a predefined admin password, in case you are on a public network
If you are running Docker on Ubuntu or Mac OSX, you can start using Portainer as a Docker Container typing the following:
docker volume create portainer_data docker run -d -p 9000:9000 --name portainer --restart always -v /var/run/docker.sock:...
MicroPython | 3 min | 8545
atomesp32micropythonpymakrvisual studio codewemoswipy 3.0
Quoting the official MicroPython's website:
MicroPython is a lean and efficient implementation of the Python 3 programming language that includes a small subset of the Python standard library and is optimised to run on microcontrollers and in constrained environments.
Besides C++ and C, I use MicroPython to program microcontrollers, especially the ESP32/ESP8266 types. These two microcontrollers are compatible with MicroPython and it is easy to integrate sensors and actors programming using this language. I wrote a tutorial about installing MicroPython on the ESPs, as well a lot of articles a...
MicroPython | 1 min | 527
esp32happy new yearjupyterlightsmerry Christmasmicropythonvideoxmas
LeMaRiva|tech wishes you a Merry Christmas and a Happy New Year! To celebrate I made a video using the Xmas-lights from last year, but this time I connected the ESP32 to a Jupyter kernel to control the lights. A new Jupyter-ESP32 tutorial is coming soon. In the meantime, you can track Santa and spend time with your family!
Product Reviews | 1 min | 427
blockchainetherproduct reviewuncensorable social network
Hi there! the guys at InkDrop need some stars on GitHub! Follow the project and stayed tune! What? You don't know about InkDrop.tech?! Ok, no problem: Here you got a description!
InkDrop is an open, easy-to-use and uncensorable social network. It is an open source project and can be considered the blockchain community’s answer to the major, privacy invading platforms we depend on today.
Today’s social networks are centrally controlled & moderated and they don’t pass back the proceeds to the creators. They rely on business models that are irreconcila...
Analytics | 8 min | 1711
analyticsdata sciencedockerextending docker imagesgoogle cloud platformportainer
Today, I am opening a new section on my blog, and this time it is about analytics. As you may know, I've been working in research on IIoT and analytics for the last years, but up to now my blog has only shown my hobbyist projects. I want to change the focus of my website a little bit and add something about data analytics, machine learning, Docker technology etc. Everything that I will be publishing in this section is not new. There are many tutorials and great YouTube videos that explain these topics too, but I am going to focus on building an end-to-end data science project using some of the...
hobbyistpcb boardspcb designsproduct reviewseeed fusion studio
To define the Fusion service, I take this text from its website:
Seeed Fusion Service offers one-stop prototyping services for PCB manufacture,PCB assembly and other electronic and mechanical customized services such as CNC Milling, 3D printing and PCB layout services.
I didn't have at that time a design but I had something in mind that uses communication technology. I was experimenting using LoRa technology and I thought, I could managed to design a b...
esp32google cloud platformmicropythonpythonsmart power outletszerynth
This part 2 of the tutorial will allow you to get data from the smart power outlets and send it to the Google Cloud Platform (GCP) throught the Google IoT Core and using an ESP32 programmed with Zerynth (Python). This data is not usually available to the user (directly, you need to use the power outlet application), and it is sent to the company servers.
If you want to check, if your power outlets are compatible for this tutorial, they should have the port
6668opened. To check that:
>>> nmap <<ip-address>> -p 6668 [...] Host is up (0.13s latency). PORT STATE SERVICE 6668/tcp open irc
esp32home automationmicropythonsmart power outletstutorial
Today there is a wide range of offer for home automation devices. A lot of sensors, actors etc. can be connected to the cloud and be controlled using Google Home, Amazon Alexa, your smartphone, etc. There are a lot of companies offering low cost devices, e.g. Sonoff, Tuya, Teckin etc. Most of these solutions are based on ESP32 or ESP8266, and all of them send data to cloud solutions usually deployed on Amazon services, and the data is only accessible using the Android/iOS applications. They can be also controlled using voice commands over Google Home or Amazon Alexa devices.
Nice, but... my a...
MicroPython | 3 min | 9939
LoRa (Long Range) is a patented digital wireless data communication technology. It was developed by Cycleo of Grenoble in France and then acquired by Semtech in 2012. Semtech defines the Lora Technology "as the DNA of IoT, which connects sensors to the Cloud and enables real-time communication of data and analytics that can be utilized to enhance efficiency and productivity".
To sum up, LoRa is a wireless data communication technology that enables very-long-range transmissions (more than 10 km in rural areas) with low power consumption. It uses license-free sub-gigahertz radio frequency bands ...
batteryraspadraspberry pitable for raspberry pitouch screen
This is my first review on a product that I bought. I hope you enjoy it! Advices and tips are welcome. Please leave me them in the comment section.
Update: I changed the title of the article from "#Reviews: RasPad - an open source tablet for Raspberry Pi" to "#Reviews: RasPad - a tablet for open-source platforms like Raspberry Pi". The table is a close-source solution for open-source platforms like Raspberry Pi, Beaglebone, etc. (thanks Zykino for your advice!)
At the beginning of March I supported the Kickstarter campaign called RasPad. I pledged for the
Super Early Bird - RasPad...
bmp180data accessgoogle cloud platformhome automationmicropythonpythonzerynth
There are lot of tutorials about connecting the ESP32 to a cloud service, but I planned to connect these boards using MicroPython directly to the cloud. That means, I didn't want to use a hardware or software bridge. I wanted to use the Google IoT Core, but MicroPython doesn't support JSON Web Token (JWT), which is needed for the device authentication. I tried to write the library myself, but it didn't work, because of the needed dependencies and the small memory available on the ESP modules. But, I found Zerynth. Zerynth supports JWT and using it, it is possible to connect the ESP32 directly ...
Real Time Systems | 6 min | 8108
kernel patchingraspberry pireal time systemxenomai
The website of Xenomai says the following about it Xenomai:
Xenomai brings POSIX and traditional RTOS APIs for porting time-critical applications to Linux-based platforms. When the native Linux kernel cannot meet the response time requirements of the application, Xenomai supplements it with Cobalt, a small real-time infrastructure which schedules time-critical activities independently from the main kernel logic.
Checking the list of supported hardware, the Raspberry Pi 2, 3 B(+) ARM micro (BCM2835) is included.
This tutorial is almost the same as the tutorial for Preempt-RT patching, but in ...
Real Time Systems | 8 min | 16333
kernel patchingpreempt-rtraspberry pireal time system
The Preempt-RT tutorial article is the most visited post on my blog. Therefore, I decided to update the tutorial to make it cleaner, and to introduce some other possible modifications and tips for solving problems.
Preempt-RT is a popular patch for the Linux kernel to transform Linux into such a real-time operating system. There is another option to get this done, and that's Xenomai (tutorial and performance tests here).
Tiejun Chen, the main responsible for the official Raspberry-Pi-RT branch, has published a video about Preempt-RT here. It includes tips, results and tests.
Getting the Sour...