Blues/Notecard with Bynk

Hi. Doing some prototyping with Notecard + Notecarrier F and all is working well. I am thinking of migrating an application from Wifi to Notecard/Blues that uses Blynk IOT as both UI (via the Blynk Android app) and their backend. The application is a battery powered wireless air quality monitor that pulls samples from several sensors and also records GPS position every few seconds. I also use Thingspeak as datastore and API. Do you have any experience using Blynk or another synchronous client app with Notecard/Blues? My concern is reliability of Notecard to be continuously connected to the Internet as I currently do through Wifi, not in periodic/batch mode. Thanks.

Hi @drewcssv ,

The cellular Notecard DOES offer a continuous connection to the cell towers, via {"req":"hub.set","mode":"contiuous"}. This will offer the fastest data egress available, but this is a very battery intensive mode to operate in. As such, we recommend having mains power available to your device. To achieve the same quickness during ingress, we have an optional "sync":true parameter that can be supplied to the hub.set command.

To learn more about this type of communication, checkout our Minimizing Latency Guide.

Hey @drewcssv,

Welcome to the Blues community! We’re glad you’re here and I look forward to seeing how your project migration goes!

I’ve not personally used Blynk in some time, and haven’t tried it with the Notecard, but if you follow Zak’s continuous mode instructions, you should be able to give it a shot. Let us know how it goes, and if you run into any stumbling blocks!

Hi.

It will work just fine with Blynk but you will need to go via something like Node-RED to convert the inbound MQTT message from Blues to Blynk API calls. Not sure what value you get out of the “always connected” but then I dont know anything about your application. Either way it’s irrelevant to the question of being able to use Blynk.

Hi, thanks for the tips. Many Blynk users do indeed use Node-RED with MQTT. The value of Blynk to my application is a highly-customizable Android/iOS app that I can quickly build and deploy without needing Android, Swift or Xcode skills. It is this app that needs a constant connection, similar to, say, a Bluetooth connected app that monitors a realtime sensing device. When students using the air quality monitor sense particulates or CO2 gas the app instantly displays data and graphs showing the values in realtime. The data is also sent to the cloud and stored in Thingspeak.

Drew

Hi Drew,

Not sure I understand completely so read my reply with that in mind.

Blynk is a great App and I have been using it a lot for several years. It however does not require an always up connection. However if I understand correctly your specific use case does require always on.

You do have the option to use the WiFi Notecard in the case that you have wifi available to the node(s) and this would be the best in my opinion for an always on requirement. Should you need connectivity beyond the reach of wifi you can swap to the cellular notecard but I would avoid the always on scenario if your specific use case can work with some lag. As mentioned the Blynk platform does not care either way but it will not be realtime.

The cellular connectivity with the cellular notecard is robust even in always on mode but there is a cost associated with always on in the cellular world.

Hope this helps,
Serge

2 Likes