Skip to content

A wirelessly controlled automomous cat feeding system.

License

Notifications You must be signed in to change notification settings

lucas-bremond/toto-miam

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Driver

On macOS High Sierra: https://blog.sengotta.net/signed-mac-os-driver-for-winchiphead-ch340-serial-bridge/

Configuration

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

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

}

Build

make

Flash

make flash

Copyright

(c) 2016 - 2019 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.