Git Product home page Git Product logo

monicat's Introduction

ESP8266 enabled lucky cat

Code derived from https://github.com/themad/jimmykater

Changes:

  • Keeps lights on. So, continuous lighting.
  • More light effects
  • Keeps original waving mechanism. ( Instead of using a Servo )
  • mqtt authentication support (can be configured in wifi captive portal)
  • a lot of stuff

MQTT Topics:

  • catname/eye/mode/set [solid|warp|blink]
  • catname/eye/speed/set [slow|med|fast]
  • catname/eye/color/set [dark|white|red|green|blue|yellow|cyan|pink]
  • catname/paw/command [wink|nowink]

Demo Time!

<iframe src="https://player.vimeo.com/video/198570621" width="640" height="360" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>

Monicat from Bjoern Pohl on Vimeo.

Hardware

Pinouts are currently set to a wemos d1 mini which fits nicely into such a cat. But I guess any 8266 excep a ESP01 will do it somehow.

  • 8266 : Wemos D1 Mini
    • at least three GPIOs:
      • "Force Setup" Button
      • LED Data input (only one for both leds, both could(!) be controlled individually, anyway.
      • Waving "electronic" from Cat :)
  • pushbutton ( "force setup button")
  • Cat : 22cm (~9 inch) lucky cat
  • Adafruit addressable LEDs: https://www.sparkfun.com/products/12999
  • 220 Ohm Resistor in Data line to the LEDs.
  • A lot of hot glue.

The Sketch uses the famous WifiManager. If you press the "force setup button" while powering the device, it'll loose all of it's settings and will fall back into WifiManager's AP mode.

Original lucky cat electronic can directly be driven by gpio (4-10mAh).

Circuit Diagram

Code needs to be wiped through. A lot of Spaghetti and globals layin on the ground...

Blog Post here: https://www.datenwalze.de/post/monicat/

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.