Commit Graph

84 Commits

Author SHA1 Message Date
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
Pierrick C
7c80336f9a Update metadata & info 2018-07-29 19:39:13 +02:00
Pierrick C
f779371c5e Add fritzing "schema" 2018-07-29 18:49:19 +02:00
Pierrick C
a958fc4189 Add Licence and metadata in the header 2018-07-29 18:48:25 +02:00
Pierrick C
a758b2c3f4 Add function to set date/time with GPS clock if available and diffence >= 5s 2018-07-29 17:27:52 +02:00
Pierrick C
5ed1b85280 Set neopixel brightness to 1 and use neopixel_max_value instead to spare some mem 2018-07-29 16:45:19 +02:00
Pierrick C
8f73b1f864 Update and translate (fr->en) some comments 2018-07-29 16:25:37 +02:00
Pierrick C
b8586837c3 Add Feather M0 internal RTC support 2018-07-29 16:19:44 +02:00
Pierrick C
0c2f6f22a9 GPS enable 2018-07-29 15:27:37 +02:00