Skip to content

This software will be part of a design done by a group of enthusists to learn and practice in the hardware and software design process

Notifications You must be signed in to change notification settings

klicGdl/IrrigationSystem

Repository files navigation

Irrigation system

Storage Configuration

This is the memry map used to store:

  • Blynk Token
  • Telegram
    • Token
    • Chat ID

To manage the storage the EEPROM ligrary is used

The memorymap is as follow, each column represents a byte:

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
ChatID Telegram Token
Telegram Token
Telegram token Blynk token
Blynk token
Blynk token padding
Flag Unused Configuration relay1 Configuration relay2
Configuration relay3 Configuration relay4

where the the time configuration per each relay is shown in the table below, the time span is a 4 bytes number the least significan byte is stored on the first byte.

0 1 2 3 4 5 6 7
Hour Min Seg time span (lsb) time span time span time span (msb) Days

One byte is used to represent all the days, where one bit corresponds to a day as describbed in the table below

Byte
7 6 5 4 3 2 1 0
n/a Saturaday Friday Thursday Wednesday Tuesday Monday Sunday

About

This software will be part of a design done by a group of enthusists to learn and practice in the hardware and software design process

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 5