RSS

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

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

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.