The pressure sensor on the TLPHnodeV2 is light sensitive and needs a cover. I’m not ready to commit to a full enclosure, so I designed a simpler cover for board bring-up and evaluation. The cover was designed using FreeCAD and is being printed at Shapeways.
These notes were developed while ordering the TLPHnodeV2
My hubris is showing: In
ESP-8266, Ubuntu, and 74880 baud I solved
my problem with 74880 baud the hard way. Rather than looking at the
alternatives (and with Linux/Ubuntu there is always an alternative, and
usually more than one) I assumed that other terminal programs would have
a fixed list of speeds like
minicom. Well, I was wrong.
Brian Walton pointed
miniterm.py will accept 74800 baud. Furthermore, I already
The ESP-8266 boot loader prints messages at 74880 baud. That is a
non-standard baud rate which is not available as a
stty setting on
Ubuntu, so the messages just look like garbage. But, it doesn’t have to
be that way; there is a method to set arbitrary baud rates, at least for
some serial adapters.
I am using Mosquitto, an open-source, multi-platform, broker and client. I chose it because it is easy to use on my platform of choice (Ubuntu), is being actively developed, and has a wide range of security options including encrypted connections, access control lists, and isolation of clients by group. Of course, there are a number of choices for a MQTT broker and any of them will work with T&L Nodes
Mosquitto is easy, but configuration can be quite
complex. The most difficult task is not the configuration itself, rather
it is coming up with a plan to mange
access and security. Developing that plan, and setting up a
configuration to implement it, is more than I can cover here.
You should read the manual page for
mosquitto-conf, the well commented example file
/usr/share/doc/mosquitto/examples/mosquitto.conf.gz on Debian
based systems), and probably seek out help from other sources.
In this post I cut through the complexity and present a
simple setup that will work for the
T&L Node and its
Console. Of course the MQTT settings in the
T&L Node Firmware must match these settings, so a
matching example of an
include/mqtt_config.h is also presented.
WARNING: This MQTT configuration is a totally unsecured configuration. Do not use it except as a test and learning exercise. Under no circumstances should you deploy this configuration.
Well, not really. I’ve been working on a sensor node design most of 2015 and it is based on a long term desire to have small, low cost, wireless sensor nodes for my house and yard. This is just the start of documenting and sharing my work.
Subscribe to this blog via RSS.