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
Raspberry Pi
  • Products
  • More
Raspberry Pi
Blog Before You Start Coding the Pi
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
GPIO Pinout
Raspberry Pi Wishlist
Comparison Chart
Quiz
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: shabaz
  • Date Created: 7 Jul 2017 2:19 PM Date Created
  • Views 1735 views
  • Likes 5 likes
  • Comments 2 comments
Related
Recommended
  • coding
  • rpibeginner
  • get started with pi
  • rpi
  • raspberry_pi_getting_started

Before You Start Coding the Pi

shabaz
shabaz
7 Jul 2017

  • Introduction
  • What do I do with the Circuit Board?
  • Installing Raspbian
  • Powering it off Safely
  • Next Steps

 

Introduction

This blog post contains information on some of the important steps worth taking if you've purchased a Pi and are getting ready to set it up all ready for creating projects.

It covers the practical points up to installing a fresh copy of Raspbian.

 

The key steps are listed and all the links to click on for more information on topics.

 

The bare essential things needed are:

A Raspberry Pi (for example the Pi 4, but earlier models will work too)

A USB power supply (if you're using a Pi 3 or Pi 4 then save trouble by using the recommended supply - a mobile phone charger isn't the same thing even though it has the same connector on the end - it's electrically different!)

A micro SD card (8GB minimum but 16GB is cheap these days; use a reputable brand from a reputable source since there are fake cards around)

An Ethernet cableEthernet cable (this is needed to plug the Pi into your home router - it is essential for troubleshooting if wireless doesn't work, so definitely keep an Ethernet cable handy)

 

 

What do I do with the Circuit Board?

There are enclosures available for the Pi, but perhaps it is better to spend that money on other parts, and build a more practical base for hardware and software development purposes. Access is often required to attach external hardware, and a closed enclosure doesn’t make that practical.

 

3mm or so thick plastic could make a nice base for the Pi. I used a 4mm thick sheet of wood which was cut and sanded. SpacersSpacers hold it all together, and rubber feet are on the underside. For hardware experiments a breadboard could be attached alongside it. These are just some basic ideas, I'm sure others will have much better tips in this area. The four holes on the Pi are suitable for 2.5 mm diameter threaded hardware. Consider using plastic spacers or stand-offs to prevent accidental electrical shorts to the nearby circuitry. Plastic screws are an option too. In particular, you want to avoid anything metal for the hole nearest the built-in antenna. Metal will de-tune the antenna and will affect its performance. The antenna is close to the hole on the Micro SD card end, closest to the 40-way connector.

image

 

 

Installing Raspbian

Raspbian is the most popular operating system distribution for the Pi, and it is to be installed on a micro SD card.

Follow these three steps!

 

1. Go to raspberrypi.org Downloads->Raspbian (direct link) and download the latest Raspbian image. It is a zip file, so unzip it.

 

2. Follow the installation guide for Mac/Linux/Windows; for windows, insert a blank microSD card (8GB or higher) and download Win32DiskImager, install it, and then run it and select the unzipped Raspbian file, and click on ‘Write’. It should take about a minute to successfully complete.

image

 

3. If you have a keyboard/mouse and TV with HDMI  then plug the card into the Pi, and continue with the setup. 

Alternatively, if you want to set up the Pi without a keyboard/mouse and TV with HDMI, then plug an Ethernet cable into it, attach to the home router and then follow the Pi setup here. Technically the Pi does work with some non-HDMI displays but if you're setting up the Pi the last thing you want is to get stuck with no display due to some incompatibility with your display and the cable connecting it to the Pi. As a result, it is better to play it safe and either use a display with HDMI, or alternatively follow the link mentioned above which uses your PC to set it up.

 

Powering it off Safely

Now that the Pi has the latest copy of Raspbian installed, you can log in (initial username/password is pi/raspberry) and begin using it. When finished, a controlled shutdown is needed by using the menu option. Disconnecting the power without doing a controlled shutdown could result in a corrupted micro SD card.

 

Next Steps

Now you can proceed to Accessing and Controlling the Pi

  • Sign in to reply

Top Comments

  • luigimorelli
    luigimorelli over 5 years ago in reply to hajir +1
    They suggest using a 5.1V-2.5A PSU to power up the Raspy. More if you have a PI 4. Also, if you have peripherals or a HDMI cable attached to the Raspberry, it might use more power.
  • luigimorelli
    luigimorelli over 5 years ago in reply to hajir

    They suggest using a 5.1V-2.5A PSU to power up the Raspy. More if you have a PI 4. Also, if you have peripherals or a HDMI cable attached to the Raspberry, it might  use more power.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • hajir
    hajir over 6 years ago

    hi

    I've faced a problem with Raspberry Pi.

     

    Raspberry Pi is working but it does not distribute the power to the mouse and keyboard. When I connect them(mouse and keyboard) to the other PC, they are working.

     

    I've tried with two power supplies one of them provides 5V-2A, and the other provides 5V- 1A.

     

    Could you please help me to fix this problem?

    • 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