We’re excited to announce to you right now 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 function and high quality of life modifications to the DataLogger’s plug-and-play performance! See the Launch Notes under. This replace is on the market at no further cost – when you have bought one of many DataLogger merchandise under, 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 coated all points of a 1.1 launch – new performance, function enhancements, and all kinds of bug fixes.
New Options and Enhancements
Log File Obtain by way of a Internet Interface
To permit entry to log information situated on the DataLogger IoT machine, with out requiring the elimination of the SD card, a brand new Internet Interface is supplied. As soon as enabled, you may browse the on-board log information of the DataLogger. Clicking on a a filename will obtain the file.
At present file browse and obtain choices can be found, however we plan on increasing this function sooner or later.
Moreover, this function has the next choices:
- mDNS performance permitting you to set a community identify for a tool if mDNS is supported in your community
- Username/Password authentication for the online interface.
Be aware: For authentication use – at the moment some browsers may require a second login relying on settings.
Be aware:
The datalogger requires restarting if the online interface is enabled
This function 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 short interval, permitting modification of the startup choices of the DataLogger.
Startup Menu choices:
Urgent the highlighted letter whereas the menu is lively, will change the habits of the system. This transformation solely impacts the present system session.
The choices embrace:
- ‘n’ – Regular startup
- ‘a’ – Disable I2C machine auto load on startup
- ‘l’ – Record the I2C gadgets supported. This machine desk is discarded after auto-load
- ‘w’ – Disable WiFi
- ‘s’ – Disable choice 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 permits for the direct execution of instructions instantly 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 may 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 at the moment linked 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 machine settings by way of a serial connection. When this command is shipped, the system expects to obtain a JSON settings file |
!log-now | Carry out a log statement occasion |
!log-rate | If log charge measurement is enabled, the present log charge is printed |
!reset-device | Reset the machine – erasing any saved settings and restarting the machine |
!reset-device-forced | Reset the machine, however and not using a Y/N immediate |
!restart | Restart the machine |
!restart-forced | Restart the machine and not using 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 machine |
!device-id | The ID for the machine |
!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 function 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 basic debugging.
At present the next info is supplied:
- 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 prospects (and our personal use) to develop and improve present options. Whereas all kinds of small additions have been made, just a few notable additions embrace:
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 shade have been added to the serial console output. In case your serial console utility/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 knowledge is now controllable – with values of Regular, Compact, Disabled.
Improved Machine Auto-Load – A significant replace to the I2C auto-load machine detection logic that improves machine detection and handle collision prevention.
Normal System Enhancements – Inside system job dispatch subsystem replace to extend efficiency throughput. General lower in static and dynamic reminiscence utilization.
Bug Fixes
We additionally squashed quite a lot of defects within the firmware. Among the extra notable issued mounted on this launch:
- Fastened situation with the LED show logic that brought on a system crash if the log interval was lower than 100ms
- Incorporate driver updates for larger NAU7802 machine output worth stability
- Incorporate driver replace for the MMC5983MA machine
Set up of the brand new agency ware is straightforward! Since new sensors and options are being added in these patches, we have made it very easy so that you can hold your DataLogger IoT updated. Click on the button under to learn to replace your DataLogger which is accessed by way of 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 bettering the general high quality of the system.
And this new performance is on the market right now on the DataLogger repo. The replace is free, accessible as an over-the-air improve, or as a file uploaded by way of an SD Card. Simply choose the “System Replace” choice inside the DataLogger IoT menu system and choose your required improve choice.
Leave a Comment