#node-red
On the initial K-9 version we used NodeRed, Python, and Blynk to enable control by an I-phone. This was a fast to implement solution since we had no experience programming in JavaScript / HTML.
However it had several issues:
- Time needed at boot to load both the Blynk and NodeRed servers.
- Challenges to keep the servers in sync through various software releases.
- User interface limited by Blynk’s options.
![](https://64.media.tumblr.com/e1a1af5966adfc33beb96198fd2bba37/633f625c38e6f26e-b7/s540x810/4ce2b705af50c2e6667e17844403417c4cba8a37.jpg)
On K-9 V3 we are simplifying the architecture using just Python and a Flask server. This allows for a quick load on boot and by using sockets we maintain fast communications between the I-Phone and control.
![](https://64.media.tumblr.com/134a9542e853d02ca704130740c3ca96/633f625c38e6f26e-7f/s540x810/d27f3c87c6fa8a76a8179c6fd580fa9643f442c7.jpg)
K-9 Version 3!
Back in the summer of 2016 we built a full size replica of K-9 from Dr Who based from BBC drawings and operated by a model airplane RC control. (K-9 V1)
During the winter/spring of 2017 we updated K-9 to include a Raspberry Pi and control through an I-Phone using a local Blynk server and app; Python, and Node-Red. This also added voice and video capability. (K-9 v2) K-9 won best prop at Anime Iowa that summer.
Now it’s time for another update! V3 planned updates will include:
- Conversion of the remote control from the Blynk app on an I-Phone to a local web server and an I-Pad/I-Phone control. This will allow increased flexibility in the user interface and reduce software complexity eliminating the node-red and Blynk servers on the Pi.
- A change from heavy SLA (Lead Acid) batteries to LiFePo or Lipo batteries to reduce weight. This will increase both operating time and improve counter-rotation.
- An update to the electrical system to allow for speed sensitive “hover lights”, control of eye brightness, and to better balance the load on the batteries.
- The ability to stream video from K-9’s nose camera to the I-Pad.
Keep an eye out on the blog for K-9 updates! Since he’s already on V3, his updates won’t be numbered like Wheatley’s but they’ll all be tagged/titled K-9 V3.
Post link
![loading](images/loading.gif)