Monthly Archives: December 2015

Designing and printing the sensor brackets

Sensor Mounting Brackets.

The first step was to measure the area around where I thought I would install the sensors. The Magnet will go on the door and then a sensor clipped onto the rail for the open position and to the wall bracket for closed.  I just used a set of calipers and a couple of sketches.

I then modeled the open and closed arrangement in Solidworks 2015 and designed the brackets.  The blue one was my first attempt.  I did not take into account the sticky backed tape on the magnet and sensor so it was pretty closed.  Then I could also see that this orientation of magnet would not work very well so I decided to switch it and redesign the brackets.

GDM2GDM1

GDM3

This is the original mounting orientation.  I don’t like how close the magnet is to the weight compensating cable. So, looks like I need to rotate the magnet.

GDM10 Here the magnet has more clearance to everything.

Here are the brackets being printed and when complete.

GDM9 SeeMeCNC Rostock Max V2GDM4 There are 4 total parts.  The closed bracket has 3 pieces.  For manufacturing purposes and to clamp it to the bracket.  Here’s an exploded view from Solidworks.

explode

GDM5 GDM6 Here’s the open bracket installed.  Friction seems to hold just fine.  I’m using the stick backed tape to hold the sensor in place.

GDM8 GDM7 The door closed sensor clears everything and looks OK.  Both sensors are close enough to the magnet to close.   I’m only checking the sensors every few seconds (to be determined) so I’m not really worried about switch bounce.

SensorsPlaced

Here you can see the sensors mounted in place.

Now back to the control unit.

IoT Adventures. Getting all of the pieces to talk (ESP8266 WiFi to/from stuff)

I decided I needed to outline my design for the esp8266 monitor project.

GDR Archtecture

The problem is I’d like to pass the status (an integer representing Open, Closed, Operating) to a Google script. The Google script can then add a row to the table, calculate the delta time and show the status.

Well, since I’m not an expert, I’ve learned that just about everything requires an HTTPS POST or GET and the security stuff for the ESP8266 is over my head.  So, now I’m trying a bunch of different intermediaries to set what can work.

Next, loot at the options for IoT connections.