/toto-play

Cat entertainment system.

Primary LanguageC++MIT LicenseMIT

Toto|Play

Description

A cat entertainment system.

Hardware

Parts

Microcontroller

WEMOS D1 mini

Actuator

Servo Motor:

SG90

Setup

Wiring

  • 5V <> 5V @ WEMOS D1

  • 5V <> Vcc @ SG90 (Red)

  • GND <> G @ WEMOS D1

  • GND <> Ground @ SG90 (Brown)

  • D0 @ WEMOS D1 <> PWM @ SG90 (Orange)

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"
    }
}

Update Makefile-user.mk with the correct COM_PORT.

Build

./tools/build.sh

Flash

./tools/flash.sh

Copyright

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