Giter Club home page Giter Club logo

witty's Introduction

Witty ESP8266

This ESP8266 based module consists of two PCB's. A bottom and top one. Witty ESP-12F WiFi module, ESP8266

Introduction

Hardware bug

When powering the Witty for the first time, the RGB should show some color(s). Mine did not. After loading the sketch that shows random colors, the RGB LED didn't work either. So mine was part of a batch where the RGB LED was soldered wrong. This can be fixed by unsoldering the LED and soldering it after rotating it 180 degrees.

Of course, the LED can also be removed, to free up pins.

Workshop friendly.

Pre-soldered, so that it is friendly for workshops. The top PCB has male pins, so when attaching other components, you probably use female-female dupont wires. Please test your PCB before you start a workshop to know if you have the hardware bug.

Breadboard unfriendly.

Unfortunately it covers rows a-j on a breadboard, so you need two breadboards next to each other, or use jumper wires underneath the PCB.

Credits

Programming the board

Arduino IDE 1.8.2

No additional driver was needed on Win10 with the Arduino IDE 1.8.2.

Board Manager

Code

The code is from the Jedi blog, and it uses the LDR, the RGB and the button, that are specific for this Witty module. It does not use generic ESP8266 functions.

Upload

Using the NodeMCU 1.0 board, there is no need to use the flash or reset buttons on the shield. Just upload.

Hardware

Witty pinout (6 ESP pins not exposed)

REST         |       TXD
ADC    LDR   |       RXD
CH_PD        |       GPIO05
GPIO16       | BTN   GPIO04
GPIO14       |       GPIO00
GPIO12 RGB-G |       GPIO02
GPIO13 RGB-B | RGB-R GPIO15
VCC          |       GND
            USB

Bottom PCB (programmer)

  • USB for power + data
  • Reset button
  • Flash button

Note: When selecting NodeMCU 1.0 as target in the Arduino IDE, there was no need to use the Flash or Reset button.

Top PCB (ESP8266)

  • User button

  • USB for power (no data probably)

  • LDR (light sensitive resistor)

  • RGB LED (hardware bug: might be mounted 180' wrong)

  • Unused ESP GPIO pins

witty's People

Contributors

amkuipers avatar

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.