RSS

Tag Archives: OLED

Grove Beginner Kit for Arduino | SEEEDSTUDIO | The BREAKOUT | Temperature/Humidity on OLED Display |First Steps with the Arduino-UNO R3 and NANO | Maker, MakerED, Maker Spaces, Coding

Grove Beginner Kit for Arduino | SEEEDSTUDIO | The BREAKOUT | Temperature/Humidity on OLED Display |First Steps with the Arduino-UNO R3 and NANO | Maker, MakerED, Maker Spaces, Coding

.

 

.


Temperature/Humidity on OLED Display | THE Breakout

In a previous tutorial WE have seen the Grove Beginner Kit for Arduino from SEEEDSTUDIO https://gustmees.wordpress.com/2020/08/03/grove-beginner-kit-for-arduino-seeedstudio-first-steps-with-the-arduino-uno-r3-and-nano-maker-makered-maker-spaces-coding/, now WE make THE BREAKOUT to use the different modules with OWN Code examples.

You can also take the modules out and use Grove cables to connect the modules. To do so, you need a sharp cutter, see PIC, please.

.

.

My recommendation for sharp cutters, which I use as well:

.

 

.

Once cut out you have made the BREAKOUT and in this case the two modules “OLED Display 0.96 inch” and “Temperature/Humidity” modules are ready to get connected to the main module. NOW we have to connect them through the delivered connection cables. Here below a picture:

.

.

As you can see, the OLED-Module is connected to the I2C connector, while the “Temperature/Humidity-Module” is connected to the “D3” connector. See PIC below, please:

.

.

SO WHY the “D3” connector for the “Temperature/Humidity-Module”?! Well, let us have a look on the code:

.

.

As you can see in this shown part of the code, there is marked ===> “#define DHTPIN 3“, SO it should GET connected to the “D3-connector” on the main board! If you use “D4” or whatever connector, SO you should change the code from “3” to “4” and so on!!! Give it a try and play around with it for understanding 😉

.


Temperature/Humidity on OLED Display | THE Code

Well, the two connections with the provided cables with connectors took ONLY a few seconds, ISN’T it? 😉 Let’s GO now to upload the code. Open your “Arduino IDE“, click on “NEW“, erase the few lines marked in there, make a “Copy&Paste” from the mentioned Code below and paste it in the “Arduino IDE (NEW)” and upload it, here below the code:

.

.

As you can see there is a “special” indication on the display, THE “Heat Index“, WHAT is it?! I encourage you to read my following tutorial which explains:

 

Have fun learning with PracTICE and stay tuned for next adventures of learning 😉

.

 


.

L’auteur Gust MEES est Formateur andragogique / pédagogique TIC, membre du “Comité Conseil” de “Luxembourg Safer Internet” (LuSI), appelé maintenant BEESECURE, partenaire officiel (consultant) du Ministère de l’éducation au Luxembourg du projet  ”MySecureIT“, partenaire officiel du Ministère du Commerce au Luxembourg du projet ”CASES” (Cyberworld Awareness and Security Enhancement Structure)..


The author Gust MEES is ICT Course Instructor, ”Member of the Advisory Board” from “Luxembourg Safer Internet” (LuSI), BEESECURE, Official Partner (Consultant) from the Ministry of Education in Luxembourg, project “MySecureIT“, Official Partner from the Ministry of Commerce in Luxembourg, project “CASES” (Cyberworld Awareness and Security Enhancement Structure).

.

.


.

Keywords necessary for me to create this blog post: Arduino UNO R3, Arduino NANO, Grove, Grove Beginner Kit for ARDUINO, Coding, Maker, MakerED, Maker Spaces, OLED, DHT11, Temperature and Humidity Monitor, I2C, SEEDSTUDIO,

.

.

 

Advertisement
 

Tags: , , , , , , , , , , , , , , , , , , , , ,

Social Distancing Monitor, Arduino NANO and I2C OLED Display | Maker, MakerED, Maker Spaces, Coding

Social Distancing Monitor, Arduino NANO and I2C OLED Display | Maker, MakerED, Maker Spaces, Coding

.

.


Social Distancing Monitor, Arduino NANO and I2C OLED Display

In times of the Coronavirus-Crisis (Covid_19), it might be GOOD to respect the 2 meters distance to avoid getting infected!!! But not everybody can estimate distances, nor are ALL persons respecting the 2 meters rule!!! So came the idea to build an easy to realize gadget, which measures the distance when the 2 meters are not respected.

First of all, like usual, I was searching the internet to find out if there isn’t already such a project around. And YES, there is one; I found a tutorial with an Arduino UNO with provided code as well. Please check below:

In a previous tutorial WE were already using a “Social Distancing Monitor with Alarm, Arduino NANO and I2C LCD1602 Display“, check below please for revision:


Connecting the HC-SR04 Ultrasonic Sensor:

 

Connections to the Arduino NANO:

Vcc+ gets connected to + 5V

GND to GND

ECHO gets connected to PIN 10

TRIGGER gets connected to PIN 9

.


Connecting the 128×64 SSD1306 OLED Display

Click the image, please, to access the source of the image and tutorials.

Click the image, please, to access the tutorials.


THE Code

For the code (Sketch), with theory explications, please check below:

All you need NOW is to put everything into a case… Have fun and stay safe!!

.

 

128 x 64 Pixel 0.96 Inch I2C OLED Display

 

Click image, please, to enlarge.

Arduino NANO

ARDUINO NANO

Click image, please, to enlarge.

 

Click image, please, to enlarge.

 

 
.

L’auteur Gust MEES est Formateur andragogique / pédagogique TIC, membre du “Comité Conseil” de “Luxembourg Safer Internet” (LuSI), appelé maintenant BEESECURE, partenaire officiel (consultant) du Ministère de l’éducation au Luxembourg du projet  ”MySecureIT“, partenaire officiel du Ministère du Commerce au Luxembourg du projet ”CASES” (Cyberworld Awareness and Security Enhancement Structure)..


The author Gust MEES is ICT Course Instructor, ”Member of the Advisory Board” from “Luxembourg Safer Internet” (LuSI), BEESECURE, Official Partner (Consultant) from the Ministry of Education in Luxembourg, project “MySecureIT“, Official Partner from the Ministry of Commerce in Luxembourg, project “CASES” (Cyberworld Awareness and Security Enhancement Structure).


.

Stay tuned for next blog post(s) 😉

.

.

.

.

.

.

 

 

 

Tags: , , , , , , , , , , , , , , , , , , , , , , , , , ,

First Steps with the Arduino-UNO and NANO | Maker, MakerED, MakerSpaces, Coding | Servo Motor Position displayed on 0.96 inch 128X64 I2C OLED

First Steps with the Arduino-UNO and NANO | Maker, MakerED, MakerSpaces, Coding | Servo Motor Position displayed on 0.96 inch 128X64 I2C OLED

.

.


Servo Motor Position displayed on 0.96 inch 128X64 I2C OLED

 

 

WE were playing around already with OLED displays in previous tutorials <===> https://gustmees.wordpress.com/?s=oled <===> where WE created an Analog-Digital Clock a Temperature/Humidity Monitor with “Heat-Index” and Text messages on the OLED. In this tutorial WE will display the angle of  a rotating Servo-Motor on an OLED.

This is actually very easy and WE will learn also (for those who want so…) the different coding for OLEDs here below:

.


The Code (Sketch)

There is an already existing sketch existing which WE will use, please use the link below to download the code:

The tutorial where the Sketch (Code) is located is in German, BUT that shouldn’t be a problem 😉

For those who want to experiment a bit around with OLEDs, here my recommendation with ready codes and very well explained tutorials:

.


The libraries

You might need to add certain libraries, see below please which ones will GET needed, please.

 

Click the image, please, to enlarge.

 

IF a newbie, please check the below tutorial for the How-To:

 

 


The Wiring

.

Click the image, please, to access the source of the image and tutorials.

Click the image, please, to access the source of the image and tutorials.

.


TIP

thumbs upFix the Servo-Motor on cardboard or on a wooden, plastic, plate. Glue a white paper on it and mark the angles on the paper. This would be a nice project for schools 😉

Play around with the code to add some more angles ===> LEARNing-By-Doing 😉

.

.


Prices and where to order

 

128 x 64 Pixel 0.96 Inch I2C OLED Display

 

Click image, please, to enlarge.

Arduino NANO

ARDUINO NANO

Click image, please, to enlarge.

 

 

6 x Servo for Arduino, Raspberry Pi, Drohnen SG90 9g Small Servo Motor

Click image, please, to enlarge.

 

 
.

L’auteur Gust MEES est Formateur andragogique / pédagogique TIC, membre du “Comité Conseil” de “Luxembourg Safer Internet” (LuSI), appelé maintenant BEESECURE, partenaire officiel (consultant) du Ministère de l’éducation au Luxembourg du projet  ”MySecureIT“, partenaire officiel du Ministère du Commerce au Luxembourg du projet ”CASES” (Cyberworld Awareness and Security Enhancement Structure)..


The author Gust MEES is ICT Course Instructor, ”Member of the Advisory Board” from “Luxembourg Safer Internet” (LuSI), BEESECURE, Official Partner (Consultant) from the Ministry of Education in Luxembourg, project “MySecureIT“, Official Partner from the Ministry of Commerce in Luxembourg, project “CASES” (Cyberworld Awareness and Security Enhancement Structure).


.

Stay tuned for next blog post(s) 😉

.

.

.

 

.

.

 

Tags: , , , , , , , , , , , , , , , , , , , , , ,

First Steps with the Arduino-UNO and NANO | Maker, MakerED, MakerSpaces, Coding | Text on 0.96 inch 128X64 I2C OLED

First Steps with the Arduino-UNO and NANO | Maker, MakerED, MakerSpaces, Coding | Text on 0.96 inch 128X64 I2C OLED

.

.


Text on 0.96 inch 128X64 I2C OLED

 

WE were playing around already with OLED displays in previous tutorials <===> https://gustmees.wordpress.com/?s=oled <===> where WE created an Analog-Digital Clock and a Temperature/Humidity Monitor with “Heat-Index”. In this tutorial WE will display text on an OLED.

This is actually very easy and WE will learn also (for those who want so…) the different coding for OLEDs here below:

 


The wiring

Please check below how to connect the OLED SSD1306 with the Arduino NANO.

Click image, please, to access the tutorial

 


The libraries

You might need to add certain libraries, see below please which ones will GET needed, please.

.

 

IF a newbie, please check the below tutorial for the How-To:


The Coding

.

Click the image, please, to enlarge.

.

Please check ALSO this GREAT tutorial:

 

You can download the code here:

It’s an “OpenOffice” document, open it and make a Copy&Paste into the Arduino IDE.

.


Prices and where to order

 

128 x 64 Pixel 0.96 Inch I2C OLED Display

 

Click image, please, to enlarge.

Arduino NANO

ARDUINO NANO

Click image, please, to enlarge.

 

 
.

L’auteur Gust MEES est Formateur andragogique / pédagogique TIC, membre du “Comité Conseil” de “Luxembourg Safer Internet” (LuSI), appelé maintenant BEESECURE, partenaire officiel (consultant) du Ministère de l’éducation au Luxembourg du projet  ”MySecureIT“, partenaire officiel du Ministère du Commerce au Luxembourg du projet ”CASES” (Cyberworld Awareness and Security Enhancement Structure)..


The author Gust MEES is ICT Course Instructor, ”Member of the Advisory Board” from “Luxembourg Safer Internet” (LuSI), BEESECURE, Official Partner (Consultant) from the Ministry of Education in Luxembourg, project “MySecureIT“, Official Partner from the Ministry of Commerce in Luxembourg, project “CASES” (Cyberworld Awareness and Security Enhancement Structure).


.

Stay tuned for next blog post(s) 😉

.

..

 

 

Tags: , , , , , , , , , , , , , , , , , , , ,

First Steps with the Arduino-UNO and NANO | Maker, MakerED, MakerSpaces, Coding | Analog-Digital Clock using Arduino NANO + RTC DS3231 + 0.96 inch 128X64 I2C OLED

First Steps with the Arduino-UNO and NANO | Maker, MakerED, MakerSpaces, Coding | Analog-Digital Clock using Arduino NANO + RTC DS3231 + 0.96 inch 128X64 I2C OLED

.

.


Analog-Digital Clock using Arduino NANO + RTC DS3231 + 0.96 inch 128X64 I2C OLED

WE were playing around already with <===> Temperature & Humidity monitor using Arduino NANO + DHT22 + 0.96 inch 128X64 I2C OLED <===> https://gustmees.wordpress.com/2019/08/26/first-steps-with-the-arduino-uno-and-nano-maker-makered-makerspaces-coding-temperature-humidity-monitor-using-arduino-nano-dht22-0-96-inch-128×64-i2c-oled/ <===> which displays the temperature in °F AND °C, as well as it displays the “Heat Index“.

This time WE will create a “Analog-Digital Clock” using the RTC DS3231 + 0.96 inch 128X64 I2C OLED. It’s quite easy to realize: only a few connections for the wiring and a Copy&Paste of an existing Sketch (Code)..

.

 

.


The Code

It’s very easy, just Copy&Paste the Sketch (Code) from below address.

Please check the link below:

You might need to add certain libraries, see below please which ones will GET needed, please.

.

IF a newbie, please check the below tutorial for the How-To:

.


The wiring

Connect all the devices, please, like shown below:

 

 

.

For the quick finishers of the project and/or curious ones: find below my curation, please, about projects with OLEDs:

 


Prices and where to order

 

128 x 64 Pixel 0.96 Inch I2C OLED Display

 

Click image, please, to enlarge.

Arduino NANO

ARDUINO NANO

Click image, please, to enlarge.

 

 

Real Time Clock RTC DS3231 and free battery including I2C for Arduino

Click image, please, to enlarge.

 

 
.

L’auteur Gust MEES est Formateur andragogique / pédagogique TIC, membre du “Comité Conseil” de “Luxembourg Safer Internet” (LuSI), appelé maintenant BEESECURE, partenaire officiel (consultant) du Ministère de l’éducation au Luxembourg du projet  ”MySecureIT“, partenaire officiel du Ministère du Commerce au Luxembourg du projet ”CASES” (Cyberworld Awareness and Security Enhancement Structure)..


The author Gust MEES is ICT Course Instructor, ”Member of the Advisory Board” from “Luxembourg Safer Internet” (LuSI), BEESECURE, Official Partner (Consultant) from the Ministry of Education in Luxembourg, project “MySecureIT“, Official Partner from the Ministry of Commerce in Luxembourg, project “CASES” (Cyberworld Awareness and Security Enhancement Structure).


.

Stay tuned for next blog post(s) 😉

.

.

.

 

 

Tags: , , , , , , , , , , , , , , , , , , , , , , , ,

First Steps with the Arduino-UNO and NANO | Maker, MakerED, MakerSpaces, Coding | Temperature & Humidity monitor using Arduino NANO + DHT22 + 0.96 inch 128X64 I2C OLED

First Steps with the Arduino-UNO and NANO | Maker, MakerED, MakerSpaces, Coding | Temperature & Humidity monitor using Arduino NANO + DHT22 + 0.96 inch 128X64 I2C OLED

.

.


Temperature & Humidity monitor using Arduino NANO + DHT22 + 0.96 inch 128X64 I2C OLED

WE were playing around a lot already with I2C-LCD displays <===> https://gustmees.wordpress.com/?s=i2c+lcd <===> but not yet with I2C-OLEDs. In this tutorial WE will create a <===> Temperature & Humidity monitor using Arduino NANO + DHT22 + 0.96 inch 128X64 I2C OLED <===> which displays the temperature in °F AND °C, as well as it displays the “Heat Index“.

FIRST of all, let us talk about the Heat Index“, what it is and WHY it could be important to display it:

.

Heat-Index in °C

.

Click the image, please, to access the article

.

Heat-Index in °F

.

Click the image, please, to access the article

.


NO more Theory now, the PracTICE!

Let us have a look on the wiring and check the below Fritzing, please. It shows a DHT11 Sensor instead of a DHT22 Sensor, but the wiring is the same. It shows ALSO a 220 Ohm resistor instead of a 10K resistor!! Use a 10K resistor please!!

.

.

Once finished the wiring, WE will need to go for the coding by using a Sketch, we will use a already done Sketch, which WE can transform to our needs from:

IF you use “°Fahrenheit” you can use it without any changes, but IF you use “°Celsius” in your country WE will need to make some changes in the code, which WE will discuss the How-To here below.

First step: you can change the text, IF wanted: Original says "DHTxx test!", I changed it to what you see below; GET creative ;)

.

 

Click image, please, to enlarge

.

SO, here below the changes to make to display in “°Celsius“:

 

Click image, please, to enlarge

.

 

You might need to add certain libraries, see below please which ones will GET needed, please.

.

.

 

IF a newbie, please check the below tutorial for the How-To:

.

Well, that ISN’T difficult folks 😉

.


Check the video below, please, to see it in action (Fahrenheit version).

.

.

Check out ALSO, please, the tutorial below about DHT 11, DHT22 Sensors on Arduino and Raspberry PI:

.


Prices and where to order

 

128 x 64 Pixel 0.96 Inch I2C OLED Display

 

Click image, please, to enlarge.

Arduino NANO

ARDUINO NANO

Click image, please, to enlarge.

 

LCD2004-I2C

Click image, please, to enlarge.

 

 Temperature/Humidity SensorsDHT11

.

L’auteur Gust MEES est Formateur andragogique / pédagogique TIC, membre du “Comité Conseil” de “Luxembourg Safer Internet” (LuSI), appelé maintenant BEESECURE, partenaire officiel (consultant) du Ministère de l’éducation au Luxembourg du projet  ”MySecureIT“, partenaire officiel du Ministère du Commerce au Luxembourg du projet ”CASES” (Cyberworld Awareness and Security Enhancement Structure)..


The author Gust MEES is ICT Course Instructor, ”Member of the Advisory Board” from “Luxembourg Safer Internet” (LuSI), BEESECURE, Official Partner (Consultant) from the Ministry of Education in Luxembourg, project “MySecureIT“, Official Partner from the Ministry of Commerce in Luxembourg, project “CASES” (Cyberworld Awareness and Security Enhancement Structure).


.

Stay tuned for next blog post(s) 😉

.

.

 

 

Tags: , , , , , , , , , , , , , , , , , , , , , , , ,