Things used in this project

Hardware components:
Ardgen 101
Arduino Arduino 101 & Genuino 101
×1
Amazon Web Services OLED 128X64
×1
09939 01
Rotary potentiometer (generic)
×1
11026 02
Jumper wires (generic)
×1
Adafruit industries ada62 image 75px
USB-A to B Cable
×1
12002 04
Breadboard (generic)
×1
Software apps and online services:
Ide web
Arduino Arduino IDE

Schematics

My circuit
Normal bb zpqhcgz8zl

Code

Code Arduino
Code to send information to the OLED display
#include <Arduino.h>
#include <U8g2lib.h>

#ifdef U8X8_HAVE_HW_SPI
#include <SPI.h>
#endif
#ifdef U8X8_HAVE_HW_I2C
#include <Wire.h>
#endif

U8G2_SSD1306_128X64_NONAME_F_SW_I2C u8g2(U8G2_R0, /* clock=*/ SCL, /* data=*/ SDA, /* reset=*/ U8X8_PIN_NONE);   // All Boards without Reset of the Display


int a=0; //variable of value of analog read pin
char taco[4];//variable to send text to the oled display
void setup(void) {
  u8g2.begin();// Oled display begins
}

void loop(void) {
  a=analogRead(A0); //read potentiometer value
  sprintf(taco,"%04d",a); //convert potentiometer value to string
  u8g2.clearBuffer();					// clear the internal memory
  u8g2.setFont(u8g2_font_inr38_mf);	// choose a suitable font
  u8g2.drawStr(0,60,taco);  // write something to the internal memory
  u8g2.sendBuffer();					// transfer internal memory to the display
  delay(1000);  
}

Credits

Soka cdsdtvc7fp
Alexis Santiago Allende

Im a person who since young feel a passion for electronics, I also like to cook pizza and travel. Now Im working on the internet of things

Contact

Replications

Did you replicate this project? Share it!

I made one

Love this project? Think it could be improved? Tell us what you think!

Give feedback

Comments

Similar projects you might like

Iron-Rich Foods!
Easy
  • 49
  • 3

A necessary skill for all people with iron deficiencies. It's always hard to find foods that are rich in iron. Until now. Just ask Alexa!

Movie Quotes Trivia
Easy
  • 18
  • 1

Full instructions

Test your knowledge of great movies by matching five famous movies quotes. It will be great fun activities among famaly and friends.

Wise Quotes
Easy
  • 133
  • 3

Full instructions

More than 100 wise quotes to empower you everyday.

Wildlife Facts Skill
Easy
  • 53
  • 2

Learn more about wildlife animals with more than 200 interesting facts with this Alexa skill.

Compost Helper Alexa Skill
Easy
  • 152
  • 3

Use Alexa to find out if a household item can be added to your compost.

Ferrari Facts
Easy
  • 266
  • 4

Full instructions

learn about the most expensive cars in the world with Ferrari Facts you you will know some interesting facts that you probably didn't hear a

Add projectSign up / Login