Jupyter notebooks and jupyter labs are preferred workbenches for many data science projects. For IoT projects, it’s always not possible to connect to the Raspberry PI desktop to access the notebooks. We can access Raspberry PI via console using SSH but for some applications especially for the Computer Vision, we still need some graphical user interface.
In this article, I wish to share some of the techniques I found to run the Jupyterlab on a raspberry PI and access it from a remote machine.
Connect to your Raspberry PI using SSH. Install all the dependencies. We will use pip3 to install jupyter lab later.
$ sudo apt-get update $ sudo apt-get install python3-pip $ sudo pip3 install setuptools $ sudo apt install libffi-dev $ sudo pip3 install cffi
Install jupyter using pip3. If you are using virtualenv then follow the instructions from the jupyter documentation here.
$ pip3 install jupyterlab
Create a directory for your notebooks and start jupyter lab (optional)
$ mkdir notebooks $ jupyter lab --notebook-dir=~/notebooks
Alternately you can also start the jupyterlab from any directory as below.
$ jupyter lab
This should will start the jupyterlab running on https://localhost:8888 on raspberry pi but its not accessible from the your local machine. Also once you close your SSH session, the jupyterlab instance will be terminated.
To resolve this issue, we need to start the jupyterlab as a service.
Tools and Images to Build a Raspberry Pi n8n server
The purpose of this project is to create a Raspberry Pi image preconfigured with n8n so that it runs out of the box.
n8n is a no-code/low code environment used to connect and automate different systems and services. It is programmed using a series of connected nodes that receive, transform, and then transmit date from and to other nodes. Each node represents a service or system allowing these different entities to interact. All of this is done using a WebUI.
Whevever a new technology is released, two common barriers often prevent potential users from trying out the technology:
The n8n-pi project eliminates these two roadblocks by preconfiguring a working system that runs on easily available, low cost hardware. For as little as $40 and a few minutes, they can have a full n8n system up and running.
This project would not be possible if it was not for the help of the following:
All documentation for this project can be found at http://n8n-pi.tephlon.xyz.
#pi #raspberry pi #raspberry #raspberry-pi
I have not created the Object Detection model, I have just merely cloned Google’s Tensor Flow Lite model and followed their Raspberry Pi Tutorial which they talked about in the Readme! You don’t need to use this article if you understand everything from the Readme. I merely talk about what I did!
I have used a Raspberry Pi 3 Model B and PI Camera Board (3D printed a case for camera board). **I had this connected before starting and did not include this in the 90 minutes **(plenty of YouTube videos showing how to do this depending on what Pi model you have. I used a video like this a while ago!)
I have used my Apple Macbook which is Linux at heart and so is the Raspberry Pi. By using Apple you don’t need to install any applications to interact with the Raspberry Pi, but on Windows you do (I will explain where to go in the article if you use windows)
#raspberry-pi #object-detection #raspberry-pi-camera #tensorflow-lite #tensorflow #tensorflow lite object detection using raspberry pi and pi camera
The Raspberry Pi 400 has arrived in the studio, and in this video I’ll give it a review. I’ll show an unboxing of the Personal Computer Kit from Canakit, which is a great way to get started on the Pi 400. Then I’ll show off the hardware, as well as the out-of-box experience.
#raspberry pi #pi #raspberry-pi
In this video we are going to learn how to install and run the Ps4 joystick in raspberry pi. We will also created a module out of this so that we can run it with the motor module that we created in the previous video.
#raspberry-pi #pi #programming
This “Raspberry Pi 3 Tutorial” video by Edureka will help you in getting started with Raspberry Pi 3 with examples.
#iot #raspberry #developer #raspberry-pi