Commit Graph

114 Commits

Author SHA1 Message Date
King Kévin 20cd04f073 switch to blue pill development board 2017-01-19 13:30:03 +01:00
King Kévin 21fffe70dd fix value calculation (integer vs float division) 2017-01-19 13:29:38 +01:00
King Kévin 978b325ba4 add timer to periodically request meter measurments 2016-10-15 16:41:38 +02:00
King Kévin 37e9c01596 fix comment 2016-10-15 16:41:05 +02:00
King Kévin c5ba314c68 save measurements in databse once all received 2016-10-15 14:21:31 +02:00
King Kévin 08cadd14a0 add variables documentation 2016-10-15 14:17:15 +02:00
King Kévin a919c34d5d fix PZEM measurement type 2016-10-15 14:16:12 +02:00
King Kévin d7168937af used index for PZEM measurements 2016-10-14 11:09:44 +02:00
King Kévin 89f7df59d4 implement timer for reliable message transmission 2016-10-14 10:46:45 +02:00
King Kévin cf44707281 comment unused PZEM non-measurements 2016-10-14 10:45:58 +02:00
King Kévin 520e5fac16 request all measruements from all meter 2016-10-14 10:45:15 +02:00
King Kévin 071cda7035 fix doc 2016-10-10 10:24:55 +02:00
King Kévin fce8008a68 request all measurements from all PZEM meters 2016-10-09 17:25:33 +02:00
King Kévin ae972c78a2 fix energy calculation 2016-10-09 17:18:31 +02:00
King Kévin d84082f147 option bytes watchdog option read 2016-10-09 17:04:42 +02:00
King Kévin dcd53a3ea4 disable debug over serial port 1 2016-10-08 18:32:21 +02:00
King Kévin 39f9efbda6 use serial port 1 for wifi 2016-10-08 18:31:56 +02:00
King Kévin 44492f33e8 make better HTTP request 2016-10-08 16:26:38 +02:00
King Kévin 4821a782ee add watchdog and better debugging 2016-10-08 14:32:31 +02:00
King Kévin 5de420d908 document esp8266 2016-10-04 11:16:49 +02:00
King Kévin 94d4d5c722 add HTTP example 2016-10-04 11:16:34 +02:00
King Kévin e9489ec910 remove memmem 2016-10-04 11:16:13 +02:00
King Kévin 1f895138b1 add open/send/close, fix disable echo, use memcmp instead of memmem 2016-10-04 11:15:55 +02:00
King Kévin a84484d215 show uptime instead of time 2016-10-03 17:46:58 +02:00
King Kévin 2cda97cbb7 add esp8266 setup 2016-10-03 17:39:59 +02:00
King Kévin b2c5fd4f44 add ESP8266 WiFi SoC library 2016-10-03 17:39:15 +02:00
King Kévin 7e14896093 add memmem function 2016-10-03 17:38:48 +02:00
King Kévin 17dd14b744 fix typo 2016-10-03 12:10:10 +02:00
King Kévin 8708cfd570 add alarm command 2016-10-03 12:09:24 +02:00
King Kévin 2b7178284e add set SDM120 configuration 2016-09-17 14:31:56 +02:00
King Kévin 8c9f5afaaf add configuration request and decode 2016-09-17 14:22:11 +02:00
King Kévin d44bbfe4f9 add generic wait to transmit SDM120 request 2016-09-14 16:39:31 +02:00
King Kévin f0eb5e0f7c fix reveiced and decode data 2016-09-14 10:02:38 +02:00
King Kévin 9b047ccf41 add SDM120 electricity meter library (only transmit works) 2016-09-13 22:43:38 +02:00
King Kévin 1e1cfb8c62 try SDM120 library 2016-09-13 22:42:56 +02:00
King Kévin 8916359b7e add SDM120 electricity meter library (only transmit works 2016-09-13 22:42:33 +02:00
King Kévin 2d8edda833 enable RCC for alternate UART function 2016-09-13 22:41:31 +02:00
King Kévin 79d76ee0fd rename PZEM enums 2016-09-12 21:42:37 +02:00
King Kévin 353dfe295f fix comment 2016-09-12 21:35:15 +02:00
King Kévin 8c15580cf1 update documentation 2016-09-11 22:44:27 +02:00
King Kévin 1923e2af4b add example code to use PZEM library 2016-09-11 17:21:33 +02:00
King Kévin 599027ac39 add library to communicate with PZEM-004 electricity meter 2016-09-11 17:21:15 +02:00
King Kévin 38e39aca63 fix small change 2016-09-11 16:54:22 +02:00
King Kévin eb47261de4 don't use software UART 2016-09-11 11:25:43 +02:00
King Kévin 66c25ec0fd implement transmit functionnalities for software UART 2016-09-05 09:33:56 +02:00
King Kévin 833d40fe10 drop old data if receive buffer full 2016-09-04 19:08:57 +02:00
King Kévin 868283a8e7 use macros to derivate USART addresses based on ID 2016-09-04 18:56:49 +02:00
King Kévin 63f07be7b5 add software UART receive buffer 2016-09-04 18:33:12 +02:00
King Kévin f9b46124a0 try soft UART EXTI and timer 2016-09-04 14:48:40 +02:00
King Kévin 6b355b0bb3 fix EXTI macro 2016-09-04 14:48:01 +02:00