We’re excited to announce to you right this moment that the primary main firmware replace of the yr for SparkFun’s DataLogger IoT boards is out of preview and is now prepared so that you can use! This replace consists of a number of characteristic and high quality of life adjustments to the DataLogger’s plug-and-play performance! See the Launch Notes beneath. This replace is offered at no additional cost – you probably have bought one of many DataLogger merchandise beneath, the updates are part of your buy.
With the discharge of our Model 1.2 software program for our DataLogger IoT merchandise, we proceed so as to add further functionally to the merchandise functionality, in addition to repair quite a lot of points.
And with the discharge, we really feel we’ve lined all points of a 1.1 launch – new performance, characteristic enhancements, and all kinds of bug fixes.
New Options and Enhancements
Log File Obtain through a Internet Interface
To permit entry to log recordsdata situated on the DataLogger IoT system, with out requiring the elimination of the SD card, a brand new Internet Interface is offered. As soon as enabled, you may browse the on-board log recordsdata of the DataLogger. Clicking on a a filename will obtain the file.
At the moment file browse and obtain choices can be found, however we plan on increasing this characteristic sooner or later.
Moreover, this characteristic has the next choices:
- mDNS performance permitting you to set a community title for a tool if mDNS is supported in your community
- Username/Password authentication for the net interface.
Word: For authentication use – presently some browsers would possibly require a second login relying on settings.
Word:
The datalogger requires restarting if the net interface is enabled
This characteristic is enabled in settings below the Preview heading.
Startup Command Menu and Delay
To permit start-up time configuration and delay, a Startup Menu was added to the system. Now, at startup a brief menu is introduced for a quick interval, permitting modification of the startup choices of the DataLogger.
Startup Menu choices:
Urgent the highlighted letter whereas the menu is energetic, will change the conduct of the system. This modification solely impacts the present system session.
The choices embody:
- ‘n’ – Regular startup
- ‘a’ – Disable I2C system auto load on startup
- ‘l’ – Record the I2C gadgets supported. This system desk is discarded after auto-load
- ‘w’ – Disable WiFi
- ‘s’ – Disable desire restore throughout startup
As well as, the period of time the menu is displayed is adjustable. This settings is on the Settings/Utility Settings web page, below the Superior part.
Fast (!) Instructions
The addition of a fast (!) command system that enables for the direct execution of instructions immediately from the serial console, bypassing the serial menu system.
An instance of that is the show of the “about” web page for the system. Usually this might require navigating the serial menu system. With the fast command system, coming into the worth of “!about” on the serial console will show the about web page.
The next instructions are supported:
command | Description |
---|---|
!about | Show the system about web page |
!clear-settings | Clear the on board system preferences with a sure/no immediate |
!clear-settings-forced | Clear the on board system preferences with no immediate |
!gadgets | Record the presently related gadgets |
!factory-reset | Carry out a manufacturing unit reset – presents a Y/N immediate |
!heap | Show the present system heap reminiscence utilization |
!assist | Record the accessible fast instructions |
!json-settings | For setting the system settings through a serial connection. When this command is distributed, the system expects to obtain a JSON settings file |
!log-now | Carry out a log commentary occasion |
!log-rate | If log charge measurement is enabled, the present log charge is printed |
!reset-device | Reset the system – erasing any saved settings and restarting the system |
!reset-device-forced | Reset the system, however with out a Y/N immediate |
!restart | Restart the system |
!restart-forced | Restart the system with out a Y/N immediate |
!save-settings | Save the present settings to on-board flash |
!sdcard | Output the present SD card utilization statistics |
!systime | Output present system time |
!uptime | The uptime of the system |
!device-id | The ID for the system |
!model | The model of the firmware |
!wifi | Output present system WiFi state |
Log Knowledge Price
The DataLogger system can now measure the info logging charge. As soon as this characteristic is enabled, the system will monitor the time between log occasions. This worth is averaged over the most recent 10 log occasions.
System Information within the log stream
The system operational parameters can now be added to log stream. That is helpful to observe system useful resource makes use of over time, or simply carry out normal debugging.
At the moment the next data is offered:
- WiFi SSID
- WiFi RSSI
- Reminiscence Heap free area in bytes
- SD Card free area in bytes
- Uptime in MS
Function Enhancements
Along with the brand new performance, we additionally took enter from our clients (and our personal use) to broaden and improve current options. Whereas all kinds of small additions have been made, a couple of notable additions embody:
Serial Console – Worth Show – The serial console now exhibits the present setting worth within the menu system. Beforehand this worth was solely present as soon as that merchandise was chosen.
Serial Console Colour – Textual content highlighting and coloration have been added to the serial console output. In case your serial console software/command helps it, the menu system highlights key values. This setting is managed within the Settings/Utility Settings part of the settings menu.
Startup Messages – Usually a verbose log of startup choices and settings are displayed at system startup. The about of data is now controllable – with values of Regular, Compact, Disabled.
Improved System Auto-Load – A significant replace to the I2C auto-load system detection logic that improves system detection and tackle collision prevention.
Common System Enhancements – Inside system job dispatch subsystem replace to extend efficiency throughput. Total lower in static and dynamic reminiscence utilization.
Bug Fixes
We additionally squashed quite a lot of defects within the firmware. A few of the extra notable issued mounted on this launch:
- Mounted problem with the LED show logic that brought about a system crash if the log interval was lower than 100ms
- Incorporate driver updates for better NAU7802 system output worth stability
- Incorporate driver replace for the MMC5983MA system
Set up of the brand new agency ware is simple! Since new sensors and options are being added in these patches, we have made it very easy so that you can preserve your DataLogger IoT updated. Click on the button beneath to discover ways to replace your DataLogger which is accessed through the Settings Menu.
In Abstract
With the discharge of DataLogger IoT firmware model 1.2.0 we proceed to boost the capabilities of our DataLogger IoT line – including to our IOT service, supported gadgets in addition to enhancing the general high quality of the system.
And this new performance is offered right this moment on the DataLogger repo. The replace is free, accessible as an over-the-air improve, or as a file uploaded through an SD Card. Simply choose the “System Replace” possibility throughout the DataLogger IoT menu system and choose your required improve possibility.