Monday, July 2, 2018

More ESP8266 fun

I continue to test and validate the stability of Node Red, MQTT (on Rasp Pi Zero) and SONOFF devices with various firmware loads as a home automation platform.

This past weekend at the TRW Swap Meet I picked up a LoLin V3 NodeMcu Lua CH340G ESP8266 development board for $8 from Tim who is there nearly every month and has many cool Arduino and other micro-controller items. This board is cool because it is a ESP8266, has a built in FTDI USB interface all in a nice break-out board. After doing some quick googling I found many resources to get going with this board. The following are my steps:

1.) Download serial driver for LoLin Board -->  HERE
2.) Configure/check-out the board using the Arduino IDE (I'm using v1.8.1) from this site --> HERE
3.) WebServer to control LED from this site --> HERE
4.) MQTT DHT code  -->  HERE , I then modified it for JSON message format HERE

With step 4, we have our own Arduino IDE based MQTT code running on the ESP8266

I created a Node Red flow HERE to monitor the DHT sensors to chart the message that are sent every minute.

I was able to build this Node Red dashboard.

I am now running ESPurna v1.13.0 firmware on one of my SONOFF basics and so far I believe it is simpler than Tasmota for setup and operation. I am now running it to see how it looks as far as uptime and hangs. I was getting restarts of Tasmota every day or so and recently hard hangs that required me to reset them and reconfigure it back on the network.

Tuesday, April 24, 2018

More SONFF, Node Red, and MQTT testing

Below is my simple lash up of the DHT-11 sensor to the basic SONOFF switch using the unused GPIO. I am powering it via the FTDI board. This works great for the sensor and LED on the SONOFF but does not fully operate the relay. I did this so I could range test the Wifi and actually had it powered by a USB battery pack. The range was great, good signal in the house and back yard.
The Node Red UI screen below shows the use of the chart function to plot the WiFi signal level and DHT-11 temperature. The Node Red code is HERE

Tuesday, April 3, 2018

SONOFF Wireless switches, Node-RED, Tasmota, and MQTT

I have been busy playing with SONOFF wireless switches, both the Basic and the 4CH. I have developed some Arduino IDE based firmware for both devices here on GitHub,

I am also looking at an alternative to OpenHAB for home automation using Node-RED (the coolest software I have ever seen to date) and MQTT Mosquitto all running on Docker. I am running it on a PC with Vagrant but I would like to move it to Raspberry Pi Zero W. The idea being two or more running a Docker swarm for the Node-RED and MQTT services. I want to figure out a way to make it highly available using something like Keepalived. My Node-RED flows are here onGitHub. Today I just loaded the alternate firmware for the SONOFF's --> Tasmota. It is very powerful. So far I got the MQTT mode working with Node-RED and I added a DHT11 sensor (super cool).

Wednesday, January 24, 2018

Digi-Comp I v2.0

This last weekend I built my Digi-Comp I v2.0 which is a replica of a Digi-Comp I which was first released back in 1963.

The Digi-Comp I v2.0 available from Minds-On Toys is made of cardboard verses the plastic of the original. Since originals are hard to come by, this is good alternative. I am still tuning it mechanically but the picture above is basically alternately toggling the A and B flip-flops. It is of course hand operated and the GIF is stop motion without my hand in view :-).

It is great entertainment to researching vintage computing toys and actually being able to own one and build it, to understand it with your own hands is even better.

Tuesday, July 11, 2017

Camper Build IX

The basic build of the folding camper is complete. The panels are insulated and I have begun painting. I decided not to fiberglass. I am using a high quality house paint, The painting and finishing takes time and you can spend as much or as little on it, but it is directly proportional to how it will look in the end. I am trying to strike a balance because I want it get it on the truck and use it soon.

The top, front and side panels will be ultra white. It is taking between 3 and 4 coats to get good thick coverage. The bottom half and underside will be either black or desert tan, maybe forest green, I am still deciding. The inside may not get painted until I use it a few times but I plan to urethane the floor. The interior walls may be what ever color of extra paint I have from other house projects :-)



Sunday, June 11, 2017

APRS Touch Tone Gateway

I have been playing with WB2OSZ Direwolf software, it is very powerful and can act as a APRS Touch Tone gateway. His software ia located HERE.

I was able to get his code working under windows and using the DTMF decoder it is decoding my 10 digit call sign and a two digit message. This is a new configuration idea suggested by the father of APRS WB4APR, see the new idea below. I just set mine up on a simplex radio for testing.

-----------Bob's new idea! --------------
But here is the NEW idea of how to use its 2 digit message capability
locally...
1) Have it listen from a very high central metro area location for DTMF on
146.58
2) The two-digit messages (01 to 99) can be used to trigger the APRS and
voice response of "CALLSIGN, LISTENING ON XXX.XXX MHz"
3) then ALL APRS mobiles in the area will see the message on their radios
4) AND he messages goes worldwide in the APRS-IS system
5) You could be called back via Echolink for example
6) AND if anyone is monitoring 146.58, they will hear EVERYONE on the air
and where they are listening.
In our area with over 50 repeaters, we are so spread out, hardly any
repeater is being used. But this way, everyone's "presence" on the air is
announced on APRS and the single 146.58 just like APRS was always intended
to be... a single clearing house channel for everything happening in ham
radio.
But now you only need a DTMF radio. Not a full APRS rig.
Oh, we just make a local list 01 to 99 of the different frequencies. Every
local list is different, but so are the repeaters in every local area...
Though I am starting to think it can be quite universal! Wow, Il start
now... for example 76 is 146.76 and 94 is 146.94, etc!
You just program your DTMF memory with the few repeaters you use, and then
sending out your message is just one button. Send the DTMF memory with
your chosen "monitoring frequency!
for more info on APRStt see http://aprs.org/aprstt.html
Bob Bruninga, WB4APR
USNA Satellite Lab

Camper Build VIII

It has been a while since I posted in general and regarding the camper build. The build continues  a bit each weekend with the following progress:

  • Windows with slider inserts completed
  • Insulating of the top and sides
  • Paneling of the front with door and one side
Here are the windows with screens in, looking in one to the other.

Here is the basic assembly of the windows using the synthetic wood trim material and the slider guides that are glued to the synthetic wood.

This is the black plastic sliding door tracks I am using that I got from Rockler

I am finishing up all the insulating with the R-TECH foam.

Here is the door insulated and sided with 2.7 mm thin door skin plywood.
Here is one of the sides insulated with the inside sidinging.
Once I finish the insulation and interior paneling I will begin the exterior finish. I am planning on a light epoxy fiberglass coating and then paint. I still need to work out the door latch assembly and the general weather sealing.

I am hoping to try it out camping in the late summer as well as fall/winter since it is insulated.