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

Cryptocurrency Price Checker!
Easy
  • 161
  • 2

Full instructions

With the recent rise in cryptocurrencies, this Price Checker will keep you up to date with the most recent market fluctuations!

Trademark Master
Easy
  • 321
  • 10

Work in progress

Trademark Master tells you if any string has already been registered.

Opening Bell
Easy
  • 1,542
  • 23

Full instructions

A simple Alexa voice skill to retrieve the current performance of a publicly traded stock (NASDAQ, NYSE) using the company name.

Brick Bot
Easy
  • 705
  • 14

Protip

A one-stop-skill for your LEGO® needs! Alexa can tell you available sets, themes, and sub-themes and give you details based on set numbers.

Funny Quoter
Easy
  • 326
  • 8

Full instructions

This has some of the weirdest quotes up her sleeve! If you're feeling blue, and need something to cheer you up, just call on Funny Quoter.

Voice Control RGB LED
Easy
  • 7,686
  • 41

Full instructions

Control your rgb kitchen lighting with Alexa and Photon.

Add projectSign up / Login