Added integration of analog channels, introduced three new setpoints (Pb_1, Pb_2, Tp) for automatic compressor operation.

Dependencies:   _24LCXXX

Changes

RevisionDateWhoCommit message
13:65936a2190ac 2021-12-24 Aleksk Added integration of analog channels, introduced three new setpoints (Pb_1, Pb_2, Tp) for automatic compressor operation. ; default tip
12:de8c39bf5da3 2021-10-15 Aleksk The weight is now transmitted in Newtons. For this, two bytes are transferred over the i2c bus instead of one.
11:86a18c130515 2021-10-08 Aleksk On the i2c bus, Arduino Nano with address 2, transmits the weight value with a resolution of 1 kg.
10:b6de15a30716 2021-03-12 Aleksk digital pin 11, pin 12 as an input limit switches are now normally closed. Returned timer_4. He now periodically opens the outlet valve to control water leaks. New variables are openTimeV2_H2O and periodV2_H2O.
9:6bd6ac6ca7d4 2020-11-11 Aleksk Removed pc.printf command that sends empty string once per second and associated timer_4, since the operator program was changed, a new operator Loc () was introduced into it. Instead of pc.printf ("Reset ALARM \ r \ n") now plotter.printf ("Reset AL
8:bf73cc68a823 2020-09-11 Aleksk Messages transmitted via pc.printf to PC are supplemented with checksums to increase the reliability of communication.The pc.printf command was introduced, which sends an empty string once per second in case of data loss (corruption) during transfer
7:97881cd71b31 2020-06-19 Aleksk The values of the EEPROM2 settings are displayed in pc.print in a special line with the current diagnostic data.; An additional block has been made in the parser for decoding incoming alarm settings; they are written in EEPROM2.
6:fe0a7180ebb7 2020-06-11 Aleksk An additional block has been made in the parser for decoding incoming alarm settings for writing to the EEPROM. Additional digital inputs are activated.
5:bb595cde0c82 2020-06-04 Aleksk The flag of the Stop button is accepted - closing of 4 valves,; and the flag of the compressor buttons is a command for discrete output PB_10. The num_chan setting is switching the channel number for the feedback of the controller, written in EEPROM
4:c34b84bfa2fb 2020-05-27 Aleksk When receiving a command line with a zero sum (empty lines), the flag_zerostart flag is set, and the current settings and values are transferred to the series. These zero settings are not entered into the controller and are not written to the EEPROM.
3:712f751b4974 2020-05-15 Aleksk Continuation (clone) mbed-os5-inerrupt_serial_readable_FIFO_12; Connected EEPROM. Now the settings are retrieved from it upon reboot. A watchdog timer has been created that expires after 100ms.
2:8230a5a4cc13 2020-05-15 Aleksk creates eeprom a watchdog timer that expires after 100 ms
1:1d4ec28f17c4 2020-05-08 Aleksk The microcontroller program has been changed so that when restarting or turning on the power, all valves are closed.
0:f2aaa8c6decf 2020-05-01 Aleksk The new parser with the FIFO buffer is very fast. You can send data every 20 ms, this does not affect the cycle time of the relay controller. CR LF line ending characters are desirable but not required.