element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Shift it! Warehouse Automation Design Challenge
  • Challenges & Projects
  • Design Challenges
  • Shift it! Warehouse Automation Design Challenge
  • More
  • Cancel
Shift it! Warehouse Automation Design Challenge
Forum Raspberry Pi Setup
  • News
  • Forum
  • Projects
  • Leaderboard
  • Files
  • Members
  • Mentions
  • More
  • Cancel
  • New
Join Shift it! Warehouse Automation Design Challenge to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 0 replies
  • Subscribers 43 subscribers
  • Views 352 views
  • Users 0 members are here
  • intelligent extra arm
  • raspberry pi
  • camera
  • computer vision
  • dixon selvan
Related

Raspberry Pi Setup

dixonselvan
dixonselvan 5 months ago

Intelligent Extra Arm (IEA) - Logo Intelligent Extra Arm

Raspberry Pi Setup - OS & Display

In the last forum discussion, we saw Arduino MKR WiFi 1010 and Alexa Integration. In this forum discussion, I'll explain the initial setup for Raspberry Pi. It will be the brain of this project, using a camera and AI, it will find out the items like resistor, capacitor etc.

For starters, here's a quick video of my DIY Raspberry Pi 7-inch Touchscreen Display case using its packaging box. In case you need any help in setting up the display, check out the following links. For wiring and setup of display - https://dzone.com/articles/how-to-set-up-the-raspberry-pi-7-touchscreen and for pinout - Raspberry Pi GPIO Pinout.

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

For this project, I'm planning to use Raspberry Pi 4 Model B with Ubuntu OS. Below picture shows the Raspberry Pi 4 Touchscreen Display running Ubutu OS and connected to an external camera.

image

Let's get started with the OS setup.

  1. Install Ubuntu Server OS using Raspberry Pi Imager - https://www.raspberrypi.com/software/ 
  2. Due to some unknown reasons, I was not able to setup Raspberry Pi OS Desktop versions. Even for Ubuntu it was the same case. So I've installed the Server version first.
  3. Then installed desktop (GUI) on the Server OS by following instructions in this link - https://linuxconfig.org/how-to-install-a-desktop-gui-on-ubuntu-server. Below are the commands I ran in the terminal for a quick reference.                                                                                                                                                                                                                               
    sudo apt update
    sudo apt install tasksel dialog
    sudo tasksel
    sudo reboot
  4. I selected 'Ubuntu Desktop' in the GUI and after installed (took a while) restarted the Raspberry Pi.
  5. After restart, the 'Cheese' application was able to capture image, video using USB webcam.

If you are looking for the usual Raspberry Pi OS with keyboard, mouse and monitor setup, check out the below video.

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

Setting up VNC

While installing the Ubuntu OS in Raspberry Pi using Raspberry Pi Imager, I have selected network/ Wi-Fi configurations. So, I was able to access the Internet from Raspberry Pi. However, under Wi-Fi it was not showing (refer screenshot below).

image

Also, I tried accessing from VNC Viewer raspberrypi.local / IP address (use hostname -I to get raspberry pi’s IP address), it was not connecting.

Below are the steps I followed to successfully configure and connect using VNC.

  1. Installed VNC server in Raspberry Pi from https://www.realvnc.com/en/connect/download/vnc/

image

Ran the commands below in terminal after package is downloaded successfully.

sudo dpkg -i <path-to-downloaded-package>.deb
sudo apt-get install -f

After successful installation, ran below commands

sudo systemctl enable vncserver-x11-serviced.service
sudo systemctl start vncserver-x11-serviced.service

  1. Updated VNC Viewer in my laptop from https://www.realvnc.com/en/connect/download/viewer/                                                                                                                                                                  image
  2. From the error shown in VNC viewer, I had some clue to update encryption setting (https://help.realvnc.com/hc/en-us/articles/360002254738-RealVNC-Connect-Error-Messages#realvnc-server-0-1).                                                                                                                                                                                 image

I then ran the commands below in terminal to update the same.

sudo nano /root/.vnc/config.d/vncserver-x11

Update below security settings after the last line and save the file

Authentication=VncAuth
Encryption=PreferOff

Set password for VNC and then restart VNC server

sudo vncpasswd -service
sudo systemctl restart vncserver-x11-serviced.service
 

Now I was able to connect to Raspberry Pi remotely using VNC Viewer in my laptop. Below is a screenshot of VNC Server running in Raspberry Pi.

image

Remote access Raspberry Pi official documentation - https://www.raspberrypi.com/documentation/computers/remote-access.html#vnc

With this I'm done with the initial setup of Raspberry Pi. Stay tuned for more! 

  • Sign in to reply
  • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube