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
1 Meter of Pi
  • Challenges & Projects
  • Design Challenges
  • 1 Meter of Pi
  • More
  • Cancel
1 Meter of Pi
Blog Mushrooms' Paradise #6. Initial Configuration of Raspberry PI and ESP32
  • Blog
  • Forum
  • Documents
  • Polls
  • Files
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: ilvyanyatka
  • Date Created: 17 Dec 2020 6:20 AM Date Created
  • Views 1003 views
  • Likes 6 likes
  • Comments 0 comments
  • esp32
  • 1meterofpi
  • raspi
  • vnc
  • 1 meter of pi
  • 1 meter of pi - design challenge
  • raspberry pi
  • mushrooms' paradise
  • growing mushrooms
Related
Recommended

Mushrooms' Paradise #6. Initial Configuration of Raspberry PI and ESP32

ilvyanyatka
ilvyanyatka
17 Dec 2020

The whole Mushrooms' Paradise blog

 

    • Hardware
    • Steps for configuring PI
    • Steps for configuring ESP32
    • (Optional) Configuring VNC

 

Hardware

My Raspberry PI model is 4B with 4GB RAM

My ESP32 model is NodeMCU-32S

My laptop is Intel Core i5 and has Windows 10 Home OS.

 

Maybe I will need to add something there in the future, but so far the configuration steps are below, with links to detailed instructions on each step.

 

 

Steps for configuring PI

 

  1. Download Pi Imager for Windows on the laptop Raspberry Pi OS

     It will install all updates up-to-date automatically. It also comes with Chromium browser and Thonny IDE that I plan to use. If Thonny will not be enough - I will      switch to Visual Studio code

 

  1. Using PI imager flush “Raspbian OS with Desktop” image to micro SD card (I used 32Gb)
  1. Snap on Enviro Hat on PI and plug in SD card, screen, keyboard, mouse and power

 

  1. (Optional) Install Visual Studio Code on PI Installing Visual Studio Code on the Raspberry Pi

 

  1. Install Enviro Hat managing software on PI. Using Terminal run

git clone https://github.com/pimoroni/enviroplus-python

cd enviroplus-python

sudo ./install.sh

 


Steps for configuring ESP32

 

Steps are different depending on what programming language and IDE will be used

  1. If one decides to proceed with coding ESP32 in C++ and using laptop to upload the code, then


1.1  Install Arduino IDE on the laptop Install the Arduino Software (IDE) on Windows PCs
1.2  Install ESP32 library for Arduino IDE on the laptop.  Installing ESP32 in Arduino IDE (Windows, Mac OS X, Linux)

  1. If the code will be in Python and will be uploaded from Raspberry PI itself, then

 

2.1  Connect ESP32 to PI using USB cable.

 

2.2  Upload MicroPython firmware on ESP32 Raspberry Pi ESP32 MicroPython Tutorial

 

2.3  Configure Thonny to See ESP32 by going to   Tools > Options > Interpreter

In the first dropdown list one can select an interpreter which in my case should be “MicroPython on a generic device”.

In the second dropdown list one should select the port to which the ESP32 board is connected.




(Optional) Configuring VNC

 

VNC will be useful so I can code on PI with all the comfort of a laptop

 

1.  Download and install VNC server on PI Download VNC Server for Raspberry Pi | VNCRegistered Connect

 

2.  Configure VNC server on PI VNC (Virtual Network Computing)

 

3.  Download VNC viewer for windows Download VNC Viewer for Windows | VNCRegistered Connect

 

4.  Set a static IP for PI (I didn’t do it, just keep it here for a future reference) https://raspberrytips.com/find-current-ip-raspberry-pi/#How_to_set_a_static_IP_(LAN_or_WLAN)



That’s it. My Raspberry PI and ESP32 are configured.

  • Sign in to reply
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