After making a new wordpress site on my shared Godaddy host I fought an issue for hours where WordPress admin and ninja form emails could send to any other email address but not the email address from the same domain. Finally, I called support and the fixed it up mentioning it was something I could change… I didn’t listen closely enough. After it happened again I finally found the magic sauce in a post and decided to make my own instructions for fixing the issue with pictures!
Node-Red and MQTT is awesome for real-time data, but what if you want to store and retrieve messages? Its rather straight forward to use Microsoft SQL Server as your database. MSSQL is free and easy to get started with.
I wanted to install a SSD on the Windows 10 desktop that my Node-Red ran on and ended up reinstalling windows. I had exported my flows and re imported them, all good. Later on I spent a few hours adding more good stuff. Everything was fine until a few days later when after a reboot, all my flows were gone!
Talk about a mix of anger, panic, and regret. Why didn’t I back up my work!?
Kossel XL 2020 RepRap
I used my first RepRap Mendel Prusa 2 to print my Kossel Mini. The Kossel Mini has been a wonderful printer but I wanted something a tad bigger so I embarked on a journey to build a big Kossel RepRap 3D printer. As of writing this post there is a significant lack of affordable kits for large Kossel printers out there so I found some inspiration online and started building my own Kossel XL 3D printer. I am very proud of the results, its gorgeous and prints great!
If you don’t know already, RepRap printers are open source, no one owns them, you do! The community has a lot of information on building your own self replicating 3D printer, http://reprap.org/wiki/RepRap
Intel Arduino 101 based tank with BLE and Blynk!
This project uses the Intel Arduino 101 board that has a built in IMU and (BLE) Blue Tooth Low Energy. For the remote control I used the free Blynk app which is is available for Android and iPhone, it allows you to rapidly drag and drop some buttons to create a user interface. The Chassis is a Dagu DG012 from Sparkfun.
I tried to power the whole rig from the 5 AA battery pack that came with the chassis but the Arduino kept resetting on low voltage. Ideally I would use a nice LiPo battery pack but I think it’s reaching to expect a beginner to learn about the care and feeding of LiPos and purchase a charger so I chose to power the motors separately from the Arduino using a USB Battery pack. Be sure to remove the optional battery jumper on the Adafruit motor shield or you can fry some things, the power sources need to be separate.
I will try to quickly explain the issue of liquid loading and slow legacy communications. Keep in mind there are many other issues that can be alleviated with this solution and there is no way I could mention them all. Oil & Gas Wells can “Load Up” with liquid reducing production and possibly incurring costly intermediation to relieve the issue. In the Machine Learning Video at the bottom of this post I go into great detail about this issue.
The August 2016 DFW Hackster MQTT meeting was a blast. Here is a link to the online presentation. https://sway.com/DpyBV3JjNYoTFrsx If …
I want Node-Red to start up (and other command line programs) when Windows 10 starts. Batch files are a simple way to achieve this.
One feature, bad or good, is the batch file will open a command prompt window that essentially acts like a live log viewer for node-red. This is fine for my application because I have a PC dedicated running 24-7 for a camera video server, MQTT server, and now Node-Red. I like being able to see what Node-Red is doing, if you want Node-Red to run in the background as a service you will want to use a different method.
Cortana can easily be extended to aid you with your DIY home automaton projects. In this example Cortana sends MQTT commands to open and close a garage door as well as ring the doorbell with custom jingles. By the way, you don’t have to use MQTT, you can also do a whole lot of other things as well from opening a file, opening a program, or launching your favorite websites.
As of the writing of this entry I am frantically trying to finish documenting the MQTT Doorbell and Garage Door Opener devices in separate posts. Hopefully I can get those whipped out in a few days.
Homemade bubble machine complete with variable speed bubble wand, variable speed fan. PID loop controlled heaters to heat the air to …
This demo connects two TI LaunchPad devices together using MQTT. I have every intention to add other devices to the mix like Arduino, Netduino, RaspBerry Pi, and BeagleBone in the future.
The Simple Wi-Fi HC-21 module is a meager $10-$15 bucks on ebay right now. It is a simple Wi-Fi serial port server or virtual serial port. This means it is self contained and will handle all the overhead of negotiating a Wi-Fi connection and communication leaving more room for your application in the Arduino.
error: expected unqualified-id before numeric constant
This Arduino IDE error blew my mind for a while, come to find out it can be caused from syntax errors. look for a missing semi colon or accidental text at the top of your sketch.
Thermostat1:1: error: expected unqualified-id before numeric constant
In file included from Thermostat1.ino:9:
Arduino Mini BMO
BMO from Comedy Central’s Adventure Time is adorable, if only someone would make one that can walk! Atleast we can make one with a personality. Here is a build using easy to get parts including Arduino Pro Mini, Nokia 3310 LCD screen, audio playback, accelerometers, and distance sensors.
X10 Lighting and appliance modules are cheap on Ebay, I wanted to control them with my HMI (ScadaBR) so I put a X10 and Modbus library together in an Arduino to turn on and off the modules.
Thermistors And Your Microcontroller
A thermistor is a simple temperature component, basically it is a variable resistor that the resistance changes in it depending on the temperature. Such a simple device needs a few more components and scaling in the microcontroller to give the desired C or F temperature reading.
A Programmable Logic Controller, PLC or Programmable Controller is a digital computer used for automation of electromechanical processes, such as control of machinery on factory assembly lines, amusement rides, or light fixtures. PLCs are used in many industries and machines. http://en.wikipedia.org/wiki/Programmable_logic_controller
A HMI (Human Machine Interface) is the system by which people can interact with a machine. The user interface includes hardware (physical) and software (logical) components.
Here are some 3D printer accessories and modifications I couldn’t live without.