Commit Graph

92 Commits

Author SHA1 Message Date
Pierrick C 2efc31ab4d Update README.md
Mise à jour de la liste de matériel (CircuitPython sur adafruit feather)
2018-08-20 22:17:15 +02:00
Pierrick C 17757f7b1f Add file rotation : data.csv => hourly => daily 2018-08-19 23:39:58 +02:00
Pierrick C c62ad455ba Better management of data to display 2018-08-19 00:02:45 +02:00
Pierrick C 4b9885d7a7 Add GPS data to data on flash memory 2018-08-19 00:01:23 +02:00
Pierrick C 50b73d3592 New base plate for electronic components 2018-08-19 00:00:22 +02:00
Pierrick C 238f5d0160 Small change to actually print Vbat 2018-08-17 23:55:01 +02:00
Pierrick C fcc9c2f15b Add 'CPUT' data type for CPU Temperature 2018-08-17 23:54:30 +02:00
Pierrick C b2e547cf55 Move data units and types dict from uart2mqtt module to cameteo_conf 2018-08-17 23:53:56 +02:00
Pierrick C 9174e70030 Display Vbat instead of Altitude 2018-08-17 23:20:08 +02:00
Pierrick C b7187d6d54 Add Vbat to written data on flash 2018-08-17 23:19:30 +02:00
Pierrick C 6141e4a9b2 Wait data for full screen refresh.
There is no partial refresh and the full refresh is slow => wait few
seconds for other data to arrive before refreshing instead of
refreshing every many times.
2018-08-15 22:04:29 +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 c65b4d3c44 Move from waveshare e-ink display to pimoroni's inkyphat
(run install_inkyphat_lib.sh to install dependencies)
2018-08-12 13:17: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 69ab6d4c2c Deleted one baaaad little space 2018-08-04 23:04:18 +02:00
Pierrick C 273be7d4b4 Updated schema with UART connecting RPi to feather 2018-08-04 22:53:57 +02:00
Pierrick C dda9f3ed7d Handle exception when the data is not correctly formatted or partial (ie : first start at boot time) 2018-08-04 22:20:19 +02:00
Pierrick C 311a36fbdf French -> english translation 2018-08-04 20:58:39 +02:00
Pierrick C c96f7b86ae Version 0.2 - Change date/time display to match the new source (feather RTC !).
Update doc, comments, licence, version...
2018-08-04 20:33:14 +02:00
Pierrick C be8d28a2f9 Update to use new data from feather m0 express (UART->MQTT) 2018-08-04 19:29:49 +02:00
Pierrick C b7205f397f Send data as single "packet" instead of multiple 2018-08-04 19:21:08 +02:00
Pierrick C 01dd30d2cf Add: data receveid on UART as compact JSON are sended to MQTT broker.
Old obsolete script deleted
2018-08-04 19:04:17 +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 d5d7d78f59 Add the feather M0 express pinout to the doc 2018-08-04 16:21:30 +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 4ab331dd30 Update for new directory arch. 2018-08-03 10:58:29 +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
Pierrick C aa60639307 Add : do not try again to write data on flash if it failed with read-only error 2018-08-02 00:15:25 +02:00
Pierrick C 5665ccff52 Add function to measure Vbat with some simple filter (mean of n samples, 10 by default) 2018-08-02 00:11:57 +02:00
Pierrick C 37e77ebef6 Add : write data on SPI flash memory if writable 2018-08-02 00:09:13 +02:00