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
Sci-Pi Design Challenge
  • Challenges & Projects
  • Design Challenges
  • Sci-Pi Design Challenge
  • More
  • Cancel
Sci-Pi Design Challenge
Blog Raspberry Pi-based Experiment Logger: Wiring up Raspberry Pi 4 B
  • Blog
  • Forum
  • Documents
  • Leaderboard
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Sci-Pi Design Challenge to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: aaryan2134
  • Date Created: 29 May 2023 2:05 PM Date Created
  • Views 841 views
  • Likes 8 likes
  • Comments 4 comments
  • sci-pi
  • setup
  • raspberry pi
  • raspberry pi 4 b
  • sci-pi design challenge
Related
Recommended

Raspberry Pi-based Experiment Logger: Wiring up Raspberry Pi 4 B

aaryan2134
aaryan2134
29 May 2023

Blog List:

1. Raspberry Pi-based Experiment Logger and Analyzer with Remote Lab Control

2. Raspberry Pi-based Experiment Logger: Glimpses of the Kit

3. Raspberry Pi-based Experiment Logger: Wiring up Raspberry Pi 4 B

4. Raspberry Pi-based Experiment Logger: System Concept & Workflow

5. Raspberry Pi-based Experiment Logger and Analyzer with Remote Lab Control: Ready, Set, Go!

Introduction:

In this blog, I will go through the steps for setting up your Raspberry Pi 4 Model B for the first along with some prerequisites. 

Prerequisites:

Firstly, we need to connect the Micro HDMI adapter to the Raspberry Pi and connect the other end to the monitor. Also, we can connect the mouse and keyboard for interfacing.

Then, we can connect a type C power adapter to the Raspberry Pi. Once that is done, we will see the bootloader screen.

Now, as we did not connect a Micro SD Card, we will not be able to boot just yet. Let us see how we can configure the Micro SD Card

image

Setting up the Micro SD Card:

First step to setup Micro SD Card

You can buy microSD cards with NOOBS (New Out Of the Box Software) pre-installed
enabling you to easily install Raspberry Pi OS for your Raspberry Pi.

Alternatively, you can use the following instructions to use the Raspberry Pi Imager tool to install an operating system
manually to your blank microSD card.

Download Raspberry Pi Imager


image

Write the OS to the microSD card

Attach your microSD card to your PC: you’ll need a microSD card USB adapter

Launch the Raspberry Pi Imager application. Click the ‘Choose OS’ button to select which
operating system you would like to install. The top option is standard Raspberry Pi OS – if
you’d prefer the slimmed-down Lite version, or the Full version (with all the recommended
software pre-installed), select ‘Raspberry Pi OS (other)’. There are also options to install
LibreELEC and Ubuntu Core or Server.

image

Note: If you want to install a different OS, simply download its image file
from the relevant website, then select the ‘Use Custom’ option in Raspberry Pi Imager.
With an OS selected, click the ‘Choose SD card’ button and select your microSD card

Finally, click the ‘Write’ button and wait while the utility writes the selected OS to your card
and then verifies it. When complete, you may remove the microSD card. You can then insert it
into your Raspberry Pi and boot it up into the operating system you just installed.

image

image

Some Specific purpose OS options:

image

Select storage after mounting micro SD card and then click on write

Note: All previous data will be removed so be aware of that

image

Once it is ready, eject the memory card

Now, we can insert the Micro SD Card into the Raspberry Pi

image

 

Connect a display having a Micro HDMI port or using a Micro HDMI Adapter

Then connect a type C power Supply along with a keyboard and a mouse

We can also connect an ethernet cable in place of WIFI though Raspberry Pi 4 supports WIFI as well


Now, we are ready to see the Raspberry Pi in action!
We can next complete the basic setup steps like language, time zone, adding passwords, WIFI setup and doing the updates

Raspberry Pi Configuration tool

It allows you to change various settings in Raspberry Pi OS

Shutting down

Now you’ve explored the Raspberry Pi OS desktop, it’s time to learn a very important skill:
safely shutting your Raspberry Pi down. Like any computer, Raspberry Pi keeps the files you’re
working on in volatile memory – memory which is emptied when the system is switched off.
For documents you’re creating, it’s enough to save each in turn – which takes the file from
volatile memory to non-volatile memory, the microSD card – to ensure you don’t lose anything.
The documents you’re working on aren’t the only files open, though. Raspberry Pi OS
itself keeps a number of files open while it’s running, and pulling the power cable from your
Raspberry Pi while these are still open can result in the operating system becoming corrupt
and needing to be reinstalled.


To prevent this from happening, you need to make sure you tell Raspberry Pi OS to save all
its files and make itself ready for being powered off – a process known as shutting down the
operating system.


Click on the raspberry icon at the top left of the desktop and then click on Shutdown.
A window will appear with three options: Shutdown, Reboot, and Logout.
Shutdown is the option you’ll use most: clicking on this will tell Raspberry Pi OS to close all
open software and files, then shut Raspberry Pi down. Once the display has gone black, wait a
few seconds until the flashing green light on Raspberry Pi goes off; then it’s safe to turn off the
power supply.


To turn Raspberry Pi back on, simply disconnect then reconnect the power cable, or toggle
the power at the wall socket.

You can refer the setup guide here

Some issues I encountered:

For me, the Micro SD card writing step with my PC did not work smoothly. I believe the card reader or the USB port was having some issues.

Basically after following the steps, the Card was no longer getting recognized in my PC. Also, it took a long while to complete the write step with Raspberry Pi Imager tool

But anyways I decided to insert the microSD card in the Raspberry Pi and power it up. After connecting I saw the bootloader screen which said that the memory card was not readable. Then I just plugged by keyboard and mouse to see if I can do something. When I connected them I was automatically taken to another screen which allowed me to download the Raspberry Pi Imager on the Raspberry Pi itself. For this, I had to connect an ethernet cable for the network connectivity.

image

image

After the tool was installed, the steps were the same as the PC tool. But this process was much more faster and took hardly a few minutes as compared to over an hour with my windows PC. So, I would suggest anyone trying to setup your memory card to directly connect the MicroSD card to Raspberry Pi and power it up. This also removes the need to use another PC to setup the memory card and this step can be completed much more smoothly on the Pi itself.

My setup:

I created a temporary setup and case using the Raspberry Pi 4 box itself. Sharing some pictures below to give an idea! Blush

image imageimage  image

In the next blog, I will go into the details of the system design and workflow concept for the Remote Lab as detailed in Blog 1.

  • Sign in to reply
  • aaryan2134
    aaryan2134 over 2 years ago in reply to soldering.on

    That sounds great! Thank you so much

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • soldering.on
    soldering.on over 2 years ago in reply to aaryan2134

    Haha well done avoiding my mistake then. Thanks, I find it really useful, you can use a program called 'Putty' on either Windows or Linux for remote terminal access, and there's also WinSCP on Windows or equivalents on Linux for remote file transfer, and then the inbuilt Remote Desktop program on Windows 10 is fine for remotely conecting to the Pi desktop.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • aaryan2134
    aaryan2134 over 2 years ago in reply to soldering.on

    Thank you! I was about to do the same too! Luckily I read the reviews before ordering and someone had mentioned just this.
    Using Remote Desktop sounds like a cool idea! I will also look into it for the remote lab control aspect!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • soldering.on
    soldering.on over 2 years ago

    Nice usage of the Pi box! Really enjoyed getting mine up and running too although I stupidly bought a mini not micro HDMI adaptor so I've been entirely using remote desktop and Putty to access it. Look forward to seeing more of your project!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • 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