myhololens / Toto-Miam-a-wirelessly-controlled-automomous-cat-feeding-system.

Toto|Miam :: a wirelessly controlled automomous cat feeding system.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Toto|Miam

Description

A wirelessly controlled automatic cat feeding system.

Hardware

Parts

Microcontroller

WEMOS D1 mini

Actuator

Stepper Motor:

28BYJ-48

Drive Module Board:

ULN2003

Setup

Wiring

  • 5V <> 5V @ WEMOS D1

  • 5V <> + @ ULN2003

  • GND <> G @ WEMOS D1

  • GND <> - @ ULN2003

  • D0 @ WEMOS D1 <> IN1 @ ULN2003

  • D1 @ WEMOS D1 <> IN2 @ ULN2003

  • D2 @ WEMOS D1 <> IN3 @ ULN2003

  • D3 @ WEMOS D1 <> IN4 @ ULN2003

Firmware

Setup

Configuration

Create a ./files/Setting.json configuration file with the following content:

{
    "network":
    {
        "ssid": "WIFI_SSID",
        "password": "WIFI_PASSWORD"
    }

}

Build

make

Flash

make flash

Copyright

(c) 2016 Lucas Brémond

Citing Peter Andersson, author of the great SPIFFS library:

For legal stuff, see LICENSE.
Basically, you may do whatever you want with the source.
Use, modify, sell, print it out, roll it and smoke it - as long as I won't be held responsible.

About

Toto|Miam :: a wirelessly controlled automomous cat feeding system.

License:MIT License


Languages

Language:C++ 86.5%Language:HTML 5.7%Language:JavaScript 4.2%Language:CSS 2.2%Language:Makefile 1.5%