-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Team DelSquared (RGSoC '18): Added Hello World tutorial for Windows 10 #29
Open
arushi019
wants to merge
8
commits into
tessel:master
Choose a base branch
from
arushi019:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
9fe0190
fixes (https://github.com/tessel/reach-wg/issues/27): made a folder f…
arushi019 ec1108f
fixes (https://github.com/tessel/reach-wg/issues/27): added hello wor…
arushi019 668e50b
fixes (https://github.com/tessel/reach-wg/issues/27): deleted tempora…
arushi019 a08cf5e
Create esp32_blogpost.md
arushi019 bd8e063
Added image files for ESP32 blogpost
arushi019 834caad
Update esp32_blogpost.md
arushi019 58baafe
fixes (https://github.com/tessel/reach-wg/issues/27): Updated esp32_b…
arushi019 56c9e92
fixes (https://github.com/tessel/reach-wg/issues/27) : made suggested…
arushi019 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
--- | ||
title: Hello World- ESP32 Firmware | ||
layout: post | ||
created_at: Wed Aug 29 2018 | ||
permalink: tutorials/esp32_blogpost | ||
current: blog | ||
author: Arushi | ||
twitter: arushi1803 | ||
categories: | ||
- student-posts | ||
--- | ||
|
||
We’re currently aiming to make our contribution to the Tessel project. Tessel-Reach is a developing concept that we | ||
recently got introduced to.<br> | ||
It aims at creating a star topology network with a Tessel 2 board as the hub and Reach modules as low power nodes, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can you link "star topology network" to a definition of that concept? |
||
that are currently being configured on an ESP32 Thing.<br><br> | ||
What is a star topology network?<br> | ||
A star topology network consists of several nodes (a node here means any device) connected to a single central node. The central node can talk to all the nodes connected to it. Each node (connected to the central one) can talk only with the central node. So to | ||
send any message to another node in the network, the node sends a message to central node which transmits to the intended | ||
recipient node.<br> | ||
The latest development on this project was to push a hello world program onto the firmware of ESP32. We began | ||
by achieving the same, while following the ESP-IDF tutorial (https://docs.espressif.com/projects/esp-idf/en/latest/get-started/) , in order to familiarise ourselves with the | ||
platform we would be working on.<br> | ||
Connecting the ESP32 module to the laptop was just about plugging it into a USB port via a micro-USB | ||
cable. But that is not enough to run the module on Windows 10. We need to setup a toolchain so that we can ‘talk’ | ||
with the sensor i.e. push code to the sensor and make it do some exciting stuff :D<br> | ||
Here’s how we went about it...<br> | ||
## Step 1 | ||
We kick-started the process by setting up the toolchain for the ESP32 module. This took about an hour — first | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What is the toolchain? Can you link to it? Or be more specific? |
||
downloading, then unzipping the compressed file. The toolchain provided an environment to interact with the ESP32 | ||
module on Windows 10 through minGW32 CLI. IDF_PATH was set as the system environment variable pointing to to the | ||
‘esp-idf’ folder in esp.<br><br> | ||
You might have noticed we mentioned "toolchain". A toolchain basically compiles the source code into execuatable files | ||
which can be run directly on the device and it consists of a compiler, linker and run-time libraries. In this case, the toolchain | ||
was used to set up terminal and other software to act as an interface for communication with ESP32.<br> | ||
(/img/esp1.png) | ||
## Step 2 | ||
The hello world folder loaded into the msys32 folder. We had to the set IDF_PATH correctly. It was initially set | ||
to the esp folder but it worked only with the esp-idf folder. The path given on the website did not work.<br> | ||
(/img/esp2.png) | ||
## Step 3 | ||
We then gave the "make menuconfig" command and selected the serial flash option. Following that, we selected the default | ||
serial port, which did not work. We had to do some hit and trial to figure out the correct port. We tried /dev/ttyUSB0, | ||
/dev/ttyUSB1,…..,/dev/ttyUSB3, /dev/ttyS2 /dev/tty. The device manager in Windows 10 showed the connected port to be | ||
COM3. We googled around and it finally worked at COM3 (/dev/ wasn’t required).<br> | ||
(/img/esp3.png) | ||
## Step 4 | ||
The next command we gave was "make flash". We then waited for the process to complete. The sdkconfig file was generated.<br> | ||
(/img/esp4.png) | ||
## Step 5 | ||
Upon its completion, this is what we got.<br> | ||
(/img/esp5.png) | ||
## Step 6 | ||
We then followed with the command "make monitor". After doing so, the screen showed some garbled characters — so on | ||
referring to the guide again, we set the XTAL frequency to 26 Hz instead of 40 Hz in the component configuration | ||
menu under the serial flash option ("make menuconfig").<br> | ||
(/img/esp6.png) | ||
## Step 7 | ||
The process was finally complete and we got ‘hello world’ up and running on our screen!<br> | ||
(/img/esp7.png) | ||
|
||
|
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In markdown, you should do two carriage returns to demarcate paragraphs, instead of the
<br>
html syntax