Skip to content

Latest commit

 

History

History
57 lines (43 loc) · 1.36 KB

README.md

File metadata and controls

57 lines (43 loc) · 1.36 KB

xt-valve-timer

Arduino-based 24V solenoid valves control unit for home domotic

Hardware

NOKIA 8544 LCD monitor

Alternative device: Adafruit PCD8544

  • Size: 83x48
  • Power supply: 3.3V
  • GPIO (fontal view, left-to-rigth)
    1. RES
    2. VOUT
    3. GND
    4. SCE
    5. D/C
    6. SDIN
    7. SCK
    8. VDD

Mega2560 + WiFi R3 ATmega2560 + Setup ESP8266

Action 1 2 3 4 5 6 7 8 RXD/TXD
USB <-> ESP8266
(Update firmare or sketch)
OFF OFF OFF OFF ON ON ON OFF RDX0
USB <-> ATmega2560 <-> ESP8266 ON ON ON ON OFF OFF OFF OFF RDX3

Usefull links:

Software

State machine workflow

State machine

SD usage

/* SD card read/write

This example shows how to read and write data to and from an SD card file The circuit: SD card attached to SPI bus as follows: ** MOSI - pin 11 ** MISO - pin 12 ** CLK - pin 13 ** CS - pin 4 (for MKRZero SD: SDCARD_SS_PIN)

created Nov 2010 by David A. Mellis modified 9 Apr 2012 by Tom Igoe

This example code is in the public domain.

*/