Jump to content
 
Sign in to follow this  
Orunmila

Interesting IoT board

Recommended Posts

BTW. I posted the source code which comes with that board here, you can generate this code using START or with MCC, the MCC code is a little different from the START version as the structure is closer to the typical MCC structure.

 

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

 


  • Popular Contributors

    Nobody has received reputation this week.

  • Similar Content

    • By N9WXU
      A few weeks ago, I installed shop air in my garage.  I was pretty proud when it held 150psi all night.  But of course I did not quite tighten a connection and at 2 AM (or so my daughter tells me) there was a loud bang followed by a steady "compressor" noise.  I did not notice until the next morning when I wondered why there was a noise from the garage.  That compressor was pretty hot for running 6 hours straight.
      Of course this could be stopped by turning the compressor off each night.  But, I write embedded software for a living and lately I have been deep into IoT projects.  Naturally, this was an ideal chance to do something about my dumb compressor.
      Ingredients
      First, I needed a way to switch the compressor on-off remotely.  These Sonoff switches are almost perfect.

      On the plus side, they have an ESP8266 inside so I can run TASOMOTA which is a generic Home Automation / IoT firmware for all things 8266.  On the down side, they only are good for 10A.  So I added a 120VAC 2 pole relay good for 30A.  The compressor has a 16.6A motor draw so some overkill seems appropriate.
      I refreshed the Sonoff Basic with Tasmota and installed everything inside a metal electrical box.

      And when I visited the web page:

      I can turn the compressor on/off from my phone.  Fantastic!
      As long as I had everything opened up, I went ahead and added 2 pressure sensors.

      Left and right of the primary pressure regulator.  The left side sensor goes to the compressor and lets me know what it is doing.  I am now tempted to remove the mechanical hysteretic controller on the compressor and simply use the Sonoff switch and some electronic pressure sensing to do the same thing.  We shall see.
      Everything is now in place to ensure the compressor can be automatically turned off, or have a maximum run limit.  The only thing left is software!
      Good Luck.
    • By Orunmila
      Did you guys see the new XPress Evaluation boards that Microchip are now selling. These boards are very cheap and pretty cool way to start. They do not need any programmer to get going (programmer is on-board) and they also implement a USB CDC interface so you can hook up printf to go to the serial port and get a console on your device going. If you are using MCC you can set all of this up without writing a single line of code!
      Pretty cool beginner board I think and they are going for $12 with an additional $3 discount running right until the end of 2018 !
      The boards look like this :

      You can get them from Microchip Direct here : 
      https://www.microchipdirect.com/product/search/all/DM182026
       
    • By Orunmila
      For those too busy to generate this from START or MCC, this is v1.0.2 of the AVR IoT WG Sensor board source code
×
×
  • Create New...