Showing posts with label e-paper. Show all posts
Showing posts with label e-paper. Show all posts

Sunday, June 26, 2016

More devices IN

I've completed to code to add more devices, so now the module as common code can:


  • update from OTA server if the version on server is bigger the its own version of code
  • get the data from AUTH server (topics, type, MQTT server etc, credentials)
  • get the time from NTP server
  • log data to an external server
  • log debug data to a DEBUG server
  • do  CRON tasks on GPIO pins based on schedule received from Android App
  • send status and its state to Android app.


All these features are part of the common code that will run an all my modules.
Now sky is the limit on what each module can do : 

  • temperature,
  • humidity, 
  • noise, 
  • presence,
  • gas detection, 
  • acceleration, 
  • vibration, 
  • measuring power consumption, 
  • controlling blinds, 
  • garage door, 
  • boiler, 
  • irrigation controller, 
  • fish tank, 
  • motors, 
  • air conditioning or a thermostat etc
  • coffee machines
  • washing machines
  • fridge
  • remote control substitute for TV, Satellite dish, Cable TV or any other IR
  • power sockets
  • exterior lights
  • interior lights
  • power sockets
  • air quality
And the beauty is that I am not limited by the WiFi, the same things I can do with my new LoRa modules.

The all power will be at your finger tips.


 Obs: Later I'll try to add some Artificial Intelligence (AI) to my system, because the IoT without AI  is pretty  much limited on manually or semi automatic control.





Sunday, February 14, 2016

E-ink display Part III

I am finished the ESP8266 connectivity to my E-ink display. 

At the end the module will stay in low power and every 10 minutes will do:

1.Measure the battery level
2.Measure the temperature from DS18B20 
3.Publish the temperature to the thinkspeak account
4.Publish the ip address, SDK version, B/G/N connectivity, it type as JSON over MQTT
5.Publish the temperature as JSON over MQTT on the temperature topic 
6.Read the current time and show it on E-ink display 
7.Go to sleep for another 10 minutes.


*In the next video the last line instead of MQTT broker address it is the Time (I will make another video and I'll replace the current one)



The purpose of this is to have a mobile device that can be moved around the house to publish temperature to my chronothermostat (of course ESP8266 based).

During the heating time device will update itself every minute otherwise every 10 minutes.

The chronothermostat will have an PID controller that will receive temperature from my module.


Github code can be found  here. Cheers.


E-ink display Part I
E-ink display Part II











Wednesday, January 27, 2016

E-ink display Part II

Now you can see the E-ink display in action.

It is connected to the ESP201 development board which also have an DS18B20 temperature sensor attached.

I've managed to reduce the pin numbers so now I can have extra pins to connect more sensors and show their values on this tiny e-ink display.