Hi, welcome to a product review based on ESP 32 by Robojax my name is Ahmad Shamshiri
I'm presenting this tutorial from Canada in this review we are going
to introduce the Heltec OLED display based on ESP 32 all in one module. this
is the module that has ESP32 attached to the device so you can plug it without
extra wiring and effort with library everything is available so you can
display your text or information on the display you can get the code and
information related to this by clicking at the link below the video in the
description which will take you www.robojax.com/learn/arduino
let's get started with this
using any display requires power to power the device and also you need
either 2 or 4 wires for I2C or SPI communications making ESP32 module
wet OLED is a great feature and great product a great feature that makes it
very easy to use
Hardware explained
when you power up the device with a Wi-Fi setup this is how it has been
programmed built-in so it checks all Wi-Fi and displays it on the screen this
is the module this is the ESP 32 this is memory or RAM this is CP 2102 USB
chip this is connector is for battery in case if you want to operate at the next
general battery you can connect it here and we have a program button that if you
want to flush it you have to press this down to flush it
otherwise you'll not be able to do it and this is the reset button when you
press it it will just reset the micro controller that LCD have been attached
very nicely secured with these screws so you have no worries all the wires
everything is solid they also give you these pen headers too if you want to use
it with if you want to solder it and use it for other purpose so
Preparing Arduino IDE (Arduino Program) for ESP32
to get started with this Heltec OLED display you need to
install their driver for arduino uno and here is the URL you will need to get
this URL I'll provide you the link let me just copy it then go to file
preferences and in this area click on this and here is the link that I have
put if you do not have it at the end of whatever you have just press ENTER and
paste it I'm using control V it is pasted it this is the same link that I have so
I will not do it I will remove this but once you pates it click OK and then
click OK. after that you click on tools->boards->board manager wait for this
type heltc-- haltech you will see Heltec ESP32 now this text say removed in
your case it will be installed click install it will take few minutes or a
second depending on your internet speed and then close once you close it then go
to tools>- boards you should see it in this left scroll down you will see a
speed 32 and then scroll down
and Select Heltec WiFi Kit 32
and it takes like few seconds wait for that and it is ready.
that's just preparing your board and other material but for the board you
need to download different library as well I will provide you the link and
also I will provide you the zip file any case you will download it as a zip file
then go to a sketch->include library->add dot zip library
when the screen comes pointed to where we have saved it for example if this was
Heltec.zip click on it and, once you click it will be selected click open
and it will be included
Make sure to close Arduino IDE and re-open it so you can see the examples in the list.
Code Explained
Go to file we are opening an example file->examples-> scroll down
and you will see this he'll take developer boards and the
go to factory test and open the factory test file click and open it. Let me now explain
this code the. This is part of of the library that you download with a driver they are
all included you don't worry about it this is drawing the logo here the logo
that you see here is this section responsible for and the logo is actually
here inside the file if I click here this has been converted into that type
of text so you can see it here as this logo Wi-Fi setup is my SSID and this is
password for to this tutorial for my Wi-Fi when I disconnected this is ok
this is a text that you see here now connecting ok if it fails and then it
says Wi-Fi done that you just saw it after that ok
start scan and scan done you see start scan and then scan done and then how
many Network found no network found so you see the loop is continuously running
the scan every two seconds
Code example 2
now let's open another example click on file examples
Heltec ESP 32 dev board->O LED and then select UI demo that all the last
I've uploaded so it shows three dot
if you have different development boards you can show the Bluetooth signal
battery logo so this is for user interface
and we have four different examples the dot moves and shows us
Code example 3
another example go to file->examples and then Heltec ESP32 OLED and that I'm
going from the last second one
let's uploaded
so this is an example that show some text and alignment of the text and the
different shapes circle and also even progress bar with a Wi-Fi logo and
larger and smaller texts and the logo that you saw is here part of this array
of values
Code example 4
let's open another example good examples Heltec ESP32 and then this time from
the bottom that third one let's upload it. okay so this uses Adarfuit drawing
patterns with the different rectangle drawing I have another video about this
OLED separately without this all of these have been can be seen there as well
Code example 5
let's go another example file example
and this is I2C scanner
and here it prints the I2C address for this OLED
you
thank you for watching this was the review of this Heltec OLED display
based on ESP32 if you learn something and found this useful please thumb 👍 up
as this will help my video in the search algorithm of YouTube if you have product
that you want to send it to us for review
please visit robojax.com and click on contact page if you have comment or
question posted at a comment section below I try to answer and reply and if
you want to get updates of my upcoming videos please make sure to subscribe
Typed and corrected on Mar 04, 2020 by Ahmad Shamshiri.
The least you can do for me it to 👍 the video, Subscribe and share this video.
you