Sunday, 14 July 2019

My Garage Door Opener - Software

Where the Rubber Hits the Road

(This is a post in my series about my Garage Door Opener.  Yes I wrote a series. About a Garage Door Opener.  Check it out:

Okay, I'm an Electronics Engineer by trade, and while most of my projects are hardware-centric, I'm also comfortable with firmware and C.

So, naturally, I thought I'd give ESP8266 web page development a shot.  How hard can it be?



Well, let's just say it took me longer than expected and I learnt quite a few lessons.  Which I wrote about here

But first, some requirements - this unit has to work independently of an internet connection.  No cloud service, no If This Then That, it just has to work.  it can act as an access point and you connect to it directly, or it can sit on your home network and be access by any device there.

Also, any device that works with HTML5 can be used to access control this unit.  So iPhone, Android, Desktop of choice will work with it.  No special app needed!

Okay, lets go!

Saturday, 13 July 2019

My Garage Door Opener - Hardware

The Nitty-Gritty (Hardware)

(This is a post in my series about my Garage Door Opener.  Yes I wrote a series. About a Garage Door Opener.  Check it out:
In a previous long winded post I detailed the history of how I built and installed my IoT Garage Door controller.  However, that blog was light on technical details, and I'm going to cover those here.




Friday, 12 July 2019

USB CAN

USB TO CAN INTERFACE

Back in August 2015 my mate needed a USB to CAN converter.  So we rolled our own, and here's some pics of the build.  





Let me know if you're interested in more details. 

Optoisolated Serial Coms

When Digital Meets Analogue

For my Multi-channel meter, I used some FL817 opto-isolators from Aliexpress.  Why?  Cheapest I could find.



I was then dissapointed to find that they didn't work at 115200 baud, but did at 9600.  I parked that for a while, then decided to take a look at it later.  It's now later :)

My ESP-8266 Programmer

Easier ESP-8266 Programming

When I started developing my ESP8266 based projects, I started with ESP-01 modules and built a programming jig to help put the ESP-01 into programming mode. 


And this got tedious, fast.  When your Arduino code was ready to be uploaded, you have to hold down GPIO_0, hit RESET and then hit upload.  Never mind the fact with this ESP-01 unit you have to then unplug it an place it back in your main board afterwards.


So to overcome the tedium, I cooked up this!

Yet Another IoT Garage Door Opener

Job Done, Finally!

(This is a post in my series about my Garage Door Opener.  Yes I wrote a series. About a Garage Door Opener.  Check it out:

Okay, so I've written a little about this before.  Back in 2013 I added a light to my garage door, and then started to work out how to control it with my phone.

Let me (finally) tell you how I did it!


Installed and Ready to Go!

Tuesday, 2 July 2019

Easier ESP8266 Development

Or How to Learn from My 4 Years of Frustration

(This is a post in my series about my Garage Door Opener.  Yes I wrote a series. About a Garage Door Opener.  Check it out:

Okay, so that took a little longer than expected.....



Back in 2013 I built a light for my Garage Door and my daughter said it would be cool if I could control it from my phone.

My original plan was to simply use a Bluetooth to serial converter, type 'open' in an iPhone app and job's done.

However, my iPhone 4 didn't support Blue Tooth Low Energy, and I was hearing good stuff about this $5 WiFi chip, the ESP8266.

So, I thought I'd give it a go.  But, no, this post isn't about the widget I built, but rather a collection of tip's for anyone else who wants to try developing  with an ESP8266 from scratch.  There was a lot to learn, and if you're looking to get started with the ESP866, please read on and learn from my mistakes!