Skip to content

Releases: fablabbcn/smartcitizen-kit-2x

0.9.9 - TwinAIR

23 Apr 08:00
2184b09
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.9.8...0.9.9

Please note that due to the limitations of the SAMD21 flash, we are currently splitting the firmware in different build files. These builds are:

SAMD21 MCU:

  • SCK2.1 Air: Firmware for SCK2.1 versions with Urban Board and Air sensors connected to the auxiliary port. Files: SAM_firmware_sck_21_air.bin (.hex, .uf2 also available)
  • SCK2.2 Air: Firmware for SCK2.2 versions with Urban Board and Air sensors connected to the auxiliary port. Files: SAM_firmware_sck_22_air.bin (.hex, .uf2 also available)
  • SCK Water: Firmware for SCK versions without Urban Board but with water sensors connected to the auxiliary port. Files: SAM_firmware_sck_water.bin (.hex, .uf2 also available)
  • SCK2: Firmware for SCK2.1 versions with core functionality. Good for dev purposes. Files: SAM_firmware_sck_2.bin (.hex, .uf2 also available)
  • SCK2.2 Air Test: Test firmware. Do not use.

ESP8266 MCU:

  • ESP: Only one firmware file. ESP_firmware.bin

0.9.8-PM

01 Jun 15:32
Compare
Choose a tag to compare

This release includes changes to support the new PM sensor batch behavior (zero readings problem), and some other fixes:

  • Fix PM reporting zero on first two readings
  • Needed for old PM sensors: longer Serial timeout, more strict command verification, and clearing buffer
  • Avoid turning off PM sensor on sleep when reading interval is too short
  • Implemented PM passive mode
  • Added PM sensor debug messages
  • PM last reading now uses rtc instead of millis and warmUp as trigger period
  • Empty Serial buffer on getReading to be sure no old data is consumed
  • PM old sensors set passive mode on each wakeUp and add small delay between commands
  • Added Support for external SHT35 Temperature and Humidity sensor
  • Updated some Libraries
  • Some minor fixes in building and flashing script make.py
  • Updated production test code
  • Fix disabling urban sensors persistence
  • Fix error on enable/disable PM/PN sensor groups
  • Added SD card detection debouncing
  • Fix Sanity reset not always triggering
  • Longer (10 min) force publishing every minute period.

Full Changelog: 0.9.8...0.9.8-PM

To update your kit you can follow this guide, only SAM update is needed.

SAM 0.9.8 PM sensor fix

13 Dec 15:17
Compare
Choose a tag to compare
Pre-release

This pre-release is a fix on the PM sensor always reading zero problem.
To update your kit you can follow this guide, only SAM update is needed.

SAM 0.9.8 - ESP 0.9.8

26 Aug 14:45
Compare
Choose a tag to compare

New in this release

  • External GPS support
    • Sync RTC with GPS time.
    • Support Sparkfun XA1110 as GPS source
    • Support Grove GPS (through pm-board) as GPS source
    • Support Sparkfun NEO-M8U as GPS source
  • Dynamic reading interval based on GPS speed
  • User configurable WiFi retry interval and offline schedule to save battery
  • Support for external ADSx15 ADC
  • Support for Atlas Scientific Salinity and Total Dissolved Solids metrics
  • OLED display (documentation)
    • Update OLED display support use Seeed 128x128 SH1107G (v2.1)
    • New interface wich includes: Info bar, setup screen, readings display, error reporting, monitor plot and debug log.
  • Improved RTC and sleep management
  • Debug and ouput level settings are now persistent
  • Internal SCK flash memory support (documentation)
    • Keep reading sensors whithout WiFi or sdcard
    • Save more than 2 months of readings internally
    • Batch publishing when network is available
    • Recover old readings via SCK shell
  • Allow setting custom MQTT broker and/or NTP server host address and port via console
  • More efficient shorter/faster publish with less verbose MQTT message
  • Added support for Sensirion SCD30 CO2 sensor
  • Improved new error system (documentation)
  • Improved SCK responsiveness by adjusting update loop timings
  • SCK shell interface improvements
  • Updated most of the libraries, SAM and ESP cores.

Fixes

  • Fix WiFi scan not finding networks
  • Fix bug on sdcard mode that enters in ESP reset loop on some situations
  • Increase I2S initialisation time to avoid microphone ramp up period
  • Fix not retrying publish after MQTT error
  • Fix diff when RTC update happens before saving readings
  • Fix PM sensor failing to start and PM monitor mode
  • Fix error on json buffer size that messes SAM<->ESP communication
  • Minor fixes.

This update must be done in both chips SAM and ESP.

Pre release SAM 0.9.8 - ESP 0.9.3

03 Sep 17:47
Compare
Choose a tag to compare
Pre-release

All changes will be detailed here.

SAM 0.9.7

23 Jun 14:31
Compare
Choose a tag to compare

New in this release

  • Added CCS811 command for manually change sensor drivemode.
  • Preliminary release of battery calculator (WIP).
  • Power related changes:
    • Battery capacity can be configured via shell.
    • Kit now go to sleep with and without battery after sleep timer (solar panel friendly).
    • Shell configurable sleep timer (30 min default).
    • Button or sd card events keep kit awake.
    • While wakeup kit will publish as soon as readings are available.
    • After timer, kit will publish every 3 min as default.
    • New default PM sensor reading every 5 min.
    • With default settings a 2000mAh battery should last at least 5 days.

Fixes

  • Updated INA219 auxiliary sensor to use auxWire bus
  • Update tools scripts to work with python 3.
  • Fixed bug that prevents per sensor intervals to work properly.
  • Updated noise compensation tables to improve readings on quiet environments.

There are no changes on ESP firmware 0.9.2 version is still the latest. It is also attached to this release for convenience.

SAM 0.9.6

27 Aug 14:59
Compare
Choose a tag to compare

New in this release

  • Chirp Soil moisture sensor work:
    • After calibration normal Soil Moisture sensor returns percent.
    • New Soil Moisture RAW sensor delivers capacitance.
    • Calibration data is saved on SAM flash.
    • Integrated Chirp light sensor.
    • Added reset command to recover Chirp sensor default I2C address.
  • Rename build build.py script to make.py to avoid confusion on usage.
  • Updated I2C Aux sensor address list.
  • Stop urban board disabled sensors on boot. Important for PM power savings.

Fixes

  • Fix kit not taking readings on wifi error.
  • Fix kit not waking up on button click on some situations.
  • Fix hang with Monitor console command.
  • Fix test-protocol: now waits until initial ESP flash memory format is finished.
  • Fix error when changing from net to sd mode with readings on ram.
  • Fix bug that breaks some console config commands

There are no changes on ESP firmware 0.9.2 version is still the latest.

Bug Fix release SAM 0.9.5 - ESP 0.9.2

25 Jul 11:00
Compare
Choose a tag to compare

New in this release:

  • General clean up.
  • Python build script now can build/flash SAM bootloader.
  • Some improvements in python build script.

SAM firmware (0.9.5):

  • Avoid RTC misconfiguration on some situations.
  • Fix wrong RTC preventing wake up.

ESP firmware (0.9.2):

  • Vue.min.js updated to 2.6.10
  • Updated to gulp 4
  • Fix button not responding on token check in setup mode
  • Updated webserver page after net mode configuration in setup mode

Please follow the SAM update guide on our documentation.
ESP update guide is under construction.