Tag Archives: ESP8266

Esp8266 WebServer farm

An Esp8266 WebServer farm project by Eldon Brown’s (a.k.a WA0UWH)

After several long months, I have reactivated my Esp8266 WebServer Farm.
Currently, one of my WebServers can be accessed as: esp.wa0uwh.com:8154

Esp8266 WebServer farm – [Link]

Tiny ESP8266 Breakout Board

Stavros made a very small ESP8266 breakout board:

A very small breakout for the ESP8266. Includes all necessary pullups/pulldowns for it to boot to your code, a LDO regulator, a 3V3 output pin and enough breadboard space for one row on each side on a standard breadboard.

Tiny ESP8266 Breakout Board – [Link]

WeMOS D1 ESP8266 vs Arduino Uno, Arduino Due and Teensy 3.2. Which one is the fastest board?

In this video educ8s.tv is going to compare the computational speed of the WeMOS D1 ESP8266 based Arduino compatible board with the computational speed of the most popular Arduino boards and the Teensy 3.2.

A few weeks ago, in a similar video we compared the performance of the Teensy with the most popular Arduino boards. Today, we are going to add another board to the comparison, the WeMOS D1 ESP8266 Arduino compatible board. I have prepared a detailed tutorial on that board so you can check it out before we start.

WeMOS D1 ESP8266 vs Arduino Uno, Arduino Due and Teensy 3.2. Which one is the fastest board? – [Link]

Expand Your ESP8266 Analog Inputs With $10

ESP8266 is a very powerful module for building an IoT or WiFi-based project. But since it has only one analog input, you may need to use another microcontroller or circuit to connect multiple sensors and data sources with your ESP8266.

Allaboutee created the second version of their analog expander board. Simply it is a board that lets you add eight analog inputs to your ESP8266 via I2C, the first version had only four inputs.

The expander is a 19x14mm board that is powered by a range of 2.7V to 3.6V, features 8 10-bit resolution analog inputs for sensors with an output voltage lower than 3.3V. Allaboutee developed some open source, easy to use libraries and examples:

Expander pinout:

  • VDD – 2.7V to 3.6V (If using with ESP8266 you’ll have to use 3.3V for this pin).
  • GND – Ground
  • SCL – I2C clock (connect this to GPIO0 of the ESP8266)
  • SDA – I2C data (connect this to GPIO2 of the ESP8266)
  • A0 -> A7 – Analog inputs (0v to 3.3V)

You can not use two or more boards to have more than 8 analog inputs because the chip’s I2C is factory fixed. If you do not connect a pin to anything, it will be “floating”, that means it’s value is not defined so it can be anything.

This video shows the expander board in action:

ESP8266 expander is available for $10 at tindie, it may be a bit expensive but with the cost of ESP8266, it is a very cheap alternative of the $100 Arduino Wifi shield.

“If you were to desire an Arduino based and thus easy to program, WiFi enabled microcontroller, then you could purchase an Arduino WiFi shield for $100+, OR you could instead get an esp8266 w/ breakout board for $6, A 3.3v voltage regulator for $1, the analog input expander $10 and an FTDI to USB 3.3v programmer $3.” – A review by Erol

ESP32 Review: Using the ESP32 with the Arduino IDE

In this video educ8s.tv reviews the ESP32, the successor of the popular ESP8266!

Hello guys, I am Nick and welcome to educ8s.tv a channel that is all about DIY electronics projects with Arduino, Raspberry Pi, ESP8266 and other popular boards. You can subscribe to our channel by clicking on this button. Today I am very excited because we are going to see this new board which uses the new ESP32 chip and we are going to learn how to program it using the Arduino IDE. The ESP32 chip will be the heart of most of the projects we are going to build in the near future, because it offers everything we need in one low cost solution!

ESP32 Review: Using the ESP32 with the Arduino IDE [Link]

Control AC Voltages Safely And Easily with Sugar Device

Sugar Device is a tool designed to control AC Voltage and it promises to change the way you control AC applications forever.
Sugar team is targeting hobbyists, students, teachers and engineers to push their application to the next level, since it makes AC control easy, safe and compatible with a lot of development platforms. The mechanical case that comes with Sugar is offering protection to users while using AC voltages and preventing any electrical shock resulted by misuse.

You can control AC voltage using Sugar with two different ways: ON-OFF switch, and AC output voltage control. You can power Sugar using the AC C14 cable. This voltage provided is used to power the load connected and the internal circuits. The fuse holder is accessible, you can replace it easily whenever you need.

For the output, Sugar is providing a universal output socket to connect your load, and it is compatible with all AC power cable types. Sugar can work with 110V/220V and with 50Hz/60Hz. You can switch between the two options using a switch provided with two indicator LEDs.

Sugar Device also can be connected with 3.3V and 5V development boards like Arduino, Raspberry Pi, and Beaglebone using the RJ12 cable. Sugar had designed  a RJ Connector breakout to make it possible to connect your board and it will be available in all kits. Controlling the AC loads using your PWM pins and Sugar will be so simple.

This 150x120x47 mm size device supports WiFi and Bluetooth and is IoT ready. For example, ESP8266 can directly control Sugar Device since it has PWM output with Frequency of 1KHz.

Sugar Device comes in two editions: Sugar 300, a white device that control up to 300W, and Sugar 1000, a black one that can control up to 1000W. The second one is offered for hackers and professionals where the first is for newbies.

Sugar Device is now live on a crowdfunding campaign on Indiegogo and still has a month to go. You can pre-order your Sugar 300 with a Power cord C14, RJ12 Cable, Sugar RJ Breakout and two AC fuse for only $49! Check the campaign video for more information.

In this video you can watch Sugar Device in Action, check it out!

Sugar device is the tool you need to expand the scope of your projects and control AC loads safely. Your dream of making your home smart can come true now with the use of this device. This device had came to life due to a cooperation with Fablab dynamic in Taipei, Taiwan. Such a cooperation will make it uncomplicated for makers to produce their own devices. Mohannad Rawashdeh and his team had tested many applications and used different platforms to ensure that Sugar is safe, practical and easy for everyone to use.

“When I was looking  for FabLab in Taiwan, I found FabLab Dynamic. They offered me a free space inside the lab to work and offered me all help I need to find component resources, using machines and instruments and contact with designers I need for my project” – Mohannad Rawashdeh, founder of Sugar Device and an electronics engineer.

You can check the campaign page to know the offers and full specifications. More information are provided on Sugar Device website. Many tutorials are added to this page and source files will be added soon on Github.

ESP8266 PlaneSpotter

@ blog.squix.org has published his latest project.

After many hours of work I’m very happy to finally publish all the sources for the ESP8266 PlaneSpotter project. It is not yet really in a V1.0.0 state but I’m sure with the help of the community it will quickly get better. While this post is more a “making-of” you can find build instructions on Github: https://github.com/squix78/esp8266-plane-spotter-color

ESP8266 PlaneSpotter – [Link]

RELATED POSTS

SmartPID, The New Open Platform For Your Projects

ARZAMAN Smart Engineering is a small innovative Italian startup company that develops smart hi-tech solutions, by working on specific ideas for a specific hobbyist market. ARZMAN has just launched a new product: SmartPID!
SmartPID Controller is a hi-tech product that facilitates temperature and process control. It has the ability to control any thermos-regulated process, heating or cooling, and also it can control any application in your home. In addition, it is compatible with Arduino, so you have the chance now to move your applications to the next step!

It is provided with two apps: smart thermostat app and the smart brewing app. The smart thermostat app can be used for any thermal regulated process, while the brewing app is is a vertical application that is dedicated to brewing process automation from mashing to boiling.

SmartPID is IoT-ready,cloud-connected, and runs PID algorithm. In addition, it has the  following features:

SmartPID is powered by SAMD21 32-bit ARM® Cortex®-M0+ by Atmel and it has 8 Mb EEPROM and ESP8266 WiFi module with many other specifications and advantages as shown in the picture.

It is totally compatible with Arduino since it
has SAMD21 processor, a dedicated USB bootloader and board definition, can be programmed with Arduino IDE and can use the libraries available.

SmartPID comes with a mobile app to control and monitor the project installed. Check this video to see the app in action.

“SmartPID is not a simple controller or thermostat, is more an “open platform” powerful and flexible where the resources and I/O can be used for different applications, different environments and integration. My idea is to develop an ecosystem of “vertical” applications on top of a common set of features” -Davide Arzarello, founder of ARZAMAN Smart Engineering.

SmartPID is now live in a crowdfunding campaign on Indiegogo and it has only one week to go. You can pre-order it now preloaded with the thermostat app for around €89. Check SmartPID website and the campaign page to know more details and specifications. You can see SmartPID in action in this promo video:

Weather Widget using ESP8266

deba168‘s new instructable is a weather widget: “an application that can be downloaded on your PC, laptop or a mobile device and perform the job of providing easy access to weather information”

It’s an ESP8266 based weather display unit which retrieves localized weather information from http://www.wunderground.com by WLAN and displays it on a 128×64 OLED display. It displays the current time with date, some weather information like temperature, pressure, humidity and rainfall, and finally the forecasting for the next 3 days.

Check this demo video:

In order to build this project you need the following parts:

  1. ESP8266 -01 (eBay )
  2. Optional NodeMCU ESP8266-12 ( eBay )
  3. OLED Display (eBay )
  4. Voltage Regulator AMS1117 ( eBay )
  5. Tactile Switch (eBay )
  6. Slide Switch ( eBay )
  7. Resistors ( 10K and 330R )
  8. Female Double Row Straight Pin Header ( eBay )
  9. Male Double Row Right Angle Pin Header ( eBay )
  10. Jumper Wires ( eBay )
  11. Prototype Board ( eBay )

You can build the circuit as per the design below on a  prototype board or a PCB:

 

For programming you have to use these files:

Arduino Code: ESP8266 Weather Station

Libraries : Json Streaming Parser, ESP8266 Oled Driver for SSD1306 display

The project’s maker advises you to follow his steps in the code inside this zip file to avoid any problems in compiling.

For obtaining data from the Weather Underground , you need to get an API key through signing up in the website and purchasing one. Once you clarify that you won’t use it for commercial use, you won’t be asked for any pay methods.

To make sure that the code will work correctly, you have to change the following things.

  1. Enter the Wunderground API Key
  2. Enter your Wifi credentials
  3. Adjust the location according to Wunderground API
  4. Adjust UTC offset

The final step will be programming the ESP8266 module using FTDI programmer.

Check this video for more information and to see the project in action:

 

You can check the instructable page for more information and detailed tutorial.

Dual Screen Netatmo Weather Station

Netatmo Weather Station is a module that measures your indoor comfort by providing vital information such as temperature, humidity, air quality, and CO2, alerting you when you need to air out your home to bring down its pollution levels.

fr8fd78ivcvqdh7-medium

One of the Netatmo limitations is that you need to use a smartphone to view the collected information by the station. To solve this, Barzok had developed an Arduino-based screen to display the weather data remotely, and published a full guide to build it in this instructable.

Barzok’s first attempt was a stand-alone device inside weather station using an Arduino UNO, a real time clock, a temperature and pressure sensor, and a 2.8” screen. It displays the time, pressure history over the past 6 days, and temperature as digits and as a gauge bar.

flxlafbivcvqchz-medium

The next experiment was connecting the Arduino UNO with Netatmo API through an Ethernet shield and displaying the data on the screen. The connection was the difficult part as the Arduino was not powerful enough to establish an HTTPS connection and receive valuable information from Netatmo servers.

The solution uses a PHP client on a web server, which connects with Netatmo servers, and then the Arduino retrieves the data using the standard HTTP.

f4bjzi3ivcvqcwg-medium-1

The final version of the station consists of an Arduino Mega, two 2.8” inches screens, and an ESP8266 Wifi module. There is no limit of the Arduino type and screen size, you can use your model with minor changes of the code. Barzok also made a custom circuit that transforms the 9V input voltage into a 5V to power the Arduino and 3.3V to power the ESP8266.

fdd0p87iva4yibz-medium

The diagram presents the process, the Netatmo module gathers the weather information and uploads them to the Netatmo servers. Then a PHP application runs on remote server and retrieves the information from the Netatmo servers and turns it into simple text data. Finally the Arduino receives the simple texts with the ESP8266 module and displays them on the two screens.

The two screens displays different information, the left one provides the real time data received from the Netatmo sensors about temperature, pressure, humidity, rain and CO2. The other screen shows the time and date, pressure history, and 3 days weather forecast.

f03ni4miva4yiem-medium

fyodjj4iva4yif3-medium

You can find more instructions to build this project with detailed description about the code, schematics, box design at the project page.