jueves, 22 de diciembre de 2016

ESP8266 and the new wifi things revolution

Recently I bought a Huzzah Breakout board based on ESP8266 from Adafruit. Really nice piece of technology similar to an arduino or a Teensy development board... but with Wifi capabilities!. Isn´ t that gourgeous?

https://learn.adafruit.com/adafruit-huzzah-esp8266-breakout/overview

This tiny wifi enabled micro has some amazing features:
  • 1 x Analog input (1.8V max)
  • 9 x GPIO (3.3V logic), which can also be used for I2C or SPI
  • 2 x UART pins
  • 2 x 3-6V power inputs, reset, enable, LDO-disable, 3.3V output
You can program the little beast using a preloaded Lua Interpreter, or with Arduino IDE, or even with microPython... but this last does not leave much memory to be creative... so I decided to program it using arduino programming lenguage, which is pretty good and stable, using tons of arduino libs for doing whatever the imagination is able to give us.

So, I decided to create a very interesting combination:

Hardware

  • 1x Huzzah Breakout Board
  • 1x MCP23017 16-bit port expander using I2C interface
  • 2x SainSmart 8-channel relay board
  • Raspberry Pi 2 or 3
Software
  • Socket Server using python (running on a raspberry pi)
  • Web Application using flask and python (running on a raspberry pi)

The Idea is to create a 16-way channel relay box wifi enabled to be manipulated trough a web app, that can be used from any device.

Stay Tuned...



No hay comentarios:

Publicar un comentario