RSS

Tag Archives: SSD1306

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: , , , , , , , , , , , , , , , , , , , , , , , ,