Commit Graph

63 Commits

Author SHA1 Message Date
Pierrick C ea15123df4 Add raspberry pi power control pin 2018-09-15 08:12:54 +02:00
Pierrick C 4ed3310042 Add pin usage in docstrings 2018-09-15 08:11:09 +02:00
Pierrick C 672b0b6015 Disable debug for set_clock_from_localtime 2018-09-10 15:18:00 +02:00
Pierrick C cca0c082c8 Add clock check before writing data 2018-09-10 11:03:28 +02:00
Pierrick C e84682c391 Fix error when GPS send None timestamp 2018-09-10 11:02:38 +02:00
Pierrick C 7146111a56 Explicit debug + change in data collection order 2018-09-10 11:01:44 +02:00
Pierrick C 5396d6f946 Unused variables 2018-09-10 10:59:41 +02:00
Pierrick C 1cce6281b5 Fix the use of GPS as time source in the new cameteo module 2018-09-10 10:01:36 +02:00
Pierrick C aafc5f2c77 Small changes in verbosity 2018-09-10 10:00:26 +02:00
Pierrick C d5be5e1a28 Better way to free ressources from unused neopixel 2018-09-10 09:58:31 +02:00
Pierrick C af9d40ceb6 Fix file rotation.
Now it's a method of Data classes
2018-09-10 09:57:01 +02:00
Pierrick C bb2a2f2665 Lib & firmware update + cleaner directories structure 2018-09-10 09:52:27 +02:00
Pierrick C 7953969dff Debug csv line generation 2018-09-10 07:53:21 +02:00
Pierrick C 1d02bb7d2f Disable LED13 at boot (too fast to be seen) 2018-09-09 22:55:41 +02:00
Pierrick C 97b6d67177 Return json to Data.__repr__() 2018-09-09 16:58:12 +02:00
Pierrick C fba971349c Big rewrite !!!
Data objects has subclasses for GPS, system and BME280 and moved to 
module
2018-09-09 11:39:21 +02:00
Pierrick C 9b36c49893 Comment update 2018-09-09 11:36:54 +02:00
Pierrick C bc875c32fe Do not wiat for fix to use date/time from GPS => use GPS RTC everytime! 2018-08-25 22:21:37 +02:00
Pierrick C c64f463ef0 pylint and PEP 8 checks (again) 2018-08-25 22:16:09 +02:00
Pierrick C eeaa78869c Some code formatting changes 2018-08-25 11:44:35 +02:00
Pierrick C 67b7fdce68 pylint and PEP 8 checks
Only styles changes
2018-08-25 11:38:05 +02:00
Pierrick C b4036b8092 Debug daily file rotation 2018-08-24 21:19:49 +02:00
Pierrick C 17757f7b1f Add file rotation : data.csv => hourly => daily 2018-08-19 23:39:58 +02:00
Pierrick C 4b9885d7a7 Add GPS data to data on flash memory 2018-08-19 00:01:23 +02:00
Pierrick C b7187d6d54 Add Vbat to written data on flash 2018-08-17 23:19:30 +02:00
Pierrick C fe009f6116 Add different interval of time for sending data to Rpi and backup on flash memory 2018-08-15 18:59:03 +02:00
Pierrick C d0c130e5e6 New (working !) UART to communicate with the raspberry pi 2018-08-15 18:44:13 +02:00
Pierrick C d9d6d80588 Add info about pins usage and some tweak to try to debug 2d UART (to raspberry pi) 2018-08-12 17:09:47 +02:00
Pierrick C 57b22c4cc5 Add freeshly compiled firmware (one with frozen modules for bus-devices, GPS, Neopixel and BME280) 2018-08-12 15:28:59 +02:00
Pierrick C ac55131ac5 Move old M0 firmawre in new directory 2018-08-11 16:28:54 +02:00
Pierrick C 4acb6bee45 Move code from M0 express feather board to M4 express board 2018-08-11 15:57:35 +02:00
Pierrick C d7e4705abd Add firmware with Circuitpython 3.x (stable) and frozen modules : GPS, BusDevice, BME280 and Neopixel 2018-08-04 17:03:03 +02:00
Pierrick C 3718666890 Add age (in seconds) of the last GPS fix 2018-08-04 16:20:51 +02:00
Pierrick C d88a47d793 Add end of line symbol to after json output to uart 2018-08-04 14:26:08 +02:00
Pierrick C 6363264b95 Rename firmware with version 2018-08-04 12:07:19 +02:00
Pierrick C e6faa04702 More informations 2018-08-04 12:05:23 +02:00
Pierrick C b767ff9670 More comments and informations 2018-08-04 12:03:11 +02:00
Pierrick C 4cc41e8e9a Add threshold parameter to set_clock_from_gps() and update some documentation 2018-08-03 23:25:14 +02:00
Pierrick C 66abc780f8 Add @property decorator to some method of Data class 2018-08-03 23:10:40 +02:00
Pierrick C 60e4b9f12d todo & version update 2018-08-03 22:44:41 +02:00
Pierrick C a5a279a64d Add first lines of code to send json data to raspberry pi with additionnal UART 2018-08-03 22:44:01 +02:00
Pierrick C 588a0e815c Debug json : now valid compact JSON (RFC 4627) 2018-08-03 20:38:46 +02:00
Pierrick C f07f998771 Reduction of memory use and fragmentation
Add onbaord LED as "read-only flash" indicator
2018-08-03 19:59:34 +02:00
Pierrick C 2a1aae6da8 Delete unneed print command 2018-08-03 18:55:30 +02:00
Pierrick C 7aa786493b Delete unnneeded code to disable GPS 2018-08-03 18:29:21 +02:00
Pierrick C 403ff7f550 Add : cut power to the GPS module if gps_enable if False to save battery 2018-08-03 15:35:03 +02:00
Pierrick C b08a56b204 Move function "update_neopixel()" to data class method "atmo2rgb()" for consistency and french to english color variables translation 2018-08-03 15:00:28 +02:00
Pierrick C 280823577c Full declaration of Data.data dict to "reserve" the RAM 2018-08-03 12:09:55 +02:00
Pierrick C bb88522d51 Updated directory arch 2018-08-03 10:59:14 +02:00
Pierrick C 434d02288b Add new firmware with build-in lib: GPS, neopixel, BusDevice and BME280 2018-08-03 10:57:50 +02:00