Shop OBEX P1 Docs P2 Docs Learn Events
IOT In My Home — Parallax Forums

IOT In My Home

NWCCTVNWCCTV Posts: 3,629
edited 2016-07-20 16:58 in General Discussion
I am slowly getting in to the IOT fad and wanted to create a thread so I can keep track of my own projects. The first thing I want to work on is being able to view the temp and humidity in different rooms in the house. Pretty basic stuff to start out with and I hope to get more advanced as time goes on. I am reserving several spots but feel free to jump in with any ideas, comments, etc. that you may have. No hijacking of the thread please.

Comments

  • NWCCTVNWCCTV Posts: 3,629
    edited 2016-07-20 20:30
    Project Number One: Install Servo on Garage Door latch to lock and unlock. Very simple. I will be connecting a Servo motor to my garage door latch and controlling via Blynk. (http://www.blynk.cc/getting-started/)I have tried various IOT Apps and as of now I like Blynk the best. I am waiting on a new latch to accomplish this so I am getting the code side started. I have figured out the method to control one servo with Blynk, which is no problem for this project since I only need one.
  • NWCCTVNWCCTV Posts: 3,629
    edited 2016-07-20 16:48
    The next idea I have is a simple Temp/Humidity sensor setup outside of my house. I currently have a radio that came with a wireless adapter for the outside temperature. It stopped working so I changed the batteries and it is back on and working. However, all it does is show the outside temp on the radio. My plan is to use some WS2812's to light up different colors for different temps. The plan is to place the LED's inside my home such as kitchen, bedroom, living room and office. Extreme overkill I know. That's the fun of it. I have cameras inside and outside my home so when I am not here I will be able to make it look like I am. I have a couple of Sensiron Temp/Humidity sensors and several DHT 22's from eBay. I think I will try the DHT 22's first to see how well they work as the SHT11's are a bit pricier and subject to the elements.
  • NWCCTVNWCCTV Posts: 3,629
    edited 2015-03-14 19:09
    Reserved 3
  • NWCCTVNWCCTV Posts: 3,629
    edited 2015-03-14 19:09
    Reserved 4
  • NWCCTVNWCCTV Posts: 3,629
    edited 2015-03-14 19:10
    Reserved 5: That should be enough.
  • Cluso99Cluso99 Posts: 18,069
    edited 2015-04-01 17:16
    What do you plan to use as the wireless device?
    Over on the P1 section there is quite a bit of info about the ESP8266 and what a number of us have done so far if it's any help.
  • Why not use a system of several BS2s with each connected to an XBee module. Each remote unit would have the same Basic program with inputs to monitor temp, humidity, _smoke_, motion or whatever else you need/desire and depending on how you locate them could be used for 2 or more rooms. You may want an output or two for a floor lamp and/or radio to be turned on at times you are away to simulate signs that someone is home and discourage burglars. It could even be monitored by a PC or not.

    I am near the end of designing such a system using BS2-XBee units to accomplish a specific task. My partner in the project came up with the idea and is doing the mechanical stuff while I build and program the modules. I will not go into a lot of detail about my project since this is your thread<G>. You can PM me for a bit more detail of you like.
  • JLockeJLocke Posts: 354
    edited 2016-07-18 13:47
    I did a project several years ago to collect temperature and humidity from several locations. It's been working great, although I've thought of a few changes I'd like to make to the code; just haven't had the time lately.

    My project is called Thermo-Prop, and is buried deep in the 'Robotics' section of the Forum (used to be in 'Projects', I believe). It uses a Propeller for the brains and XBees for communications. The master unit stores the readings every quarter-hour on a micro-SD card in a comma-separated values format, so it imports into Excel, where I have pages set up to graph the results.

    [Edited to change link to point to updated project]
  • Heater.Heater. Posts: 21,230
    What goes on here? NWCCTV started this thread and "reserved" a bunch of posts over a year ago. Nothing happened?
  • kwinnkwinn Posts: 8,697
    Heater. wrote: »
    What goes on here? NWCCTV started this thread and "reserved" a bunch of posts over a year ago. Nothing happened?

    Sometimes the best laid plans go a bit astray. I think NWCCTV had some medical problems lately. That may be the cause of it.
  • @Heater, I am just getting back to the IOT ideas that I had. Working on a few projects at the same time. Life happens and a bunch of things have changed.

    @Cluso99, Yes, I plan on using the ESP8266's. They are cheap and somewhat easy to work with. I am currently working to get some motors going now.

    @Trooks, your idea, although worthy, is way outdated and WAY expensive compared to the ESP8266 modules.

  • Heater.Heater. Posts: 21,230
    NWCCTV,

    Glad to hear you are still at it. A lot has changed in the IoT world in the past year.
  • Moderators, Could you please move this discussion to the "General Discussion" page? It is more General than Robotics.
  • Done!
  • Thank you.
  • NWCCTVNWCCTV Posts: 3,629
    edited 2016-07-20 20:31
    So now that I am healthy and back at the controls again I am going to start working on several IOT projects I have in mind. I have one Servo figured out but I am stuck on more than one so I am working with that issue today. The below code works but there are issues that I need to iron out. Can any of the C experts show me a better way?
    Servo servo;
    Servo servo1;
    void setup()
    {
    
      
      Serial.begin(9600);
      Blynk.begin(auth, "XXXXXXXX", "XXXXXXXXXXXX");  // replace with your WiFi router details
      servo.attach(15);
      servo1.attach(10);
    }
    BLYNK_WRITE(V15)
    
    {
      servo.write(param.asInt());
      servo1.write(param.asInt());
    
    
    }void loop()
    
    {
     Blynk.run();
    }
    
  • OK, I have been playing around some more and although I really like Blynk, I think I might change my mind (again) about how I want to control everything. I think it would be much more advantageous and also more secure if I were to just create one web page that I can access from outside and keep everything else accessible through links on that page through my LAN. That way I do not have a bunch of port forwarding to do, etc.
  • The IOT has some really cool gadgets out there.... I just finished a contract job for a hospital making/designing 500 PoE units designed to "drop-in" on an existing Ethernet line. Each unit is equipped with HM-11 WiFi modules where several units can daisy chain on the same Ethernet line and negotiate Poe or injected power automatically. It was a really fun project.
Sign In or Register to comment.