Code Monkey home page Code Monkey logo

duino-coin-monitor-oled-display's Introduction

Duino Coin Monitor OLED Display

duino_coin_monitor_oled.jpeg

Install Library:

  1. Install Library Arduino core for ESP8266
    - https://github.com/esp8266/Arduino
  2. Install Library Arduino core for the ESP32
    - https://github.com/espressif/arduino-esp32
  3. Install Library :
    - https://github.com/adafruit/Adafruit_BusIO
    - https://github.com/adafruit/Adafruit_SSD1306
    - https://github.com/adafruit/Adafruit-GFX-Library
    - https://github.com/bblanchon/ArduinoJson (use V6)

OLED Display Software Setup:

  1. OLED Display Screen Resolution, Change to your OLED display width and height.
#define SCREEN_WIDTH 128 // OLED display width, in pixels
#define SCREEN_HEIGHT 32 // OLED display height, in pixels
  1. OLED I2C ADDRESS
#define SCREEN_ADDRESS 0x3C
- use 0x3D if screen resolution 128x64 pixel
- use 0x3C if screen resolution 128x32 pixel
  1. WiFi and Duino User
const char *ssid = "YOUR_SSID"; // Change this to your WiFi SSID
const char *password = "YOUR_SSID_PASSWORD"; // Change this to your WiFi password
const String ducoUser = "YOUR_DUINO_USERNAME"; // Change this to your Duino-Coin username

Wiring:

Change SDA and SCL accordingly with your board, this example with Wemos D1 Mini and DevKit V1

ESP8266 ESP32 OLED
3.3V 3.3V VCC
GND GND GND
SCL D1 (GPIO5) GPIO22 SCL
SDA D2 (GPIO4) GPIO21 SDA

Else :

Feel free to modify, optimize and/or add yours.

Misc :

Dont be confuse with OLED screen size, there are two common size :

  • OLED 1.3" Display (128x64)
  • OLED 0.96" Display (128x32)

**if you having difficulty on ESP8266 pin reset D4, replace it with -1


Buy Me A Coffee

duino-coin-monitor-oled-display's People

Contributors

tsulis avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

duino-coin-monitor-oled-display's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.