<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>ESP8266 on Bald Engineer</title><link>https://www.baldengineer.com/tag/esp8266</link><description>Recent content in ESP8266 on Bald Engineer</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Thu, 30 Aug 2018 16:07:41 +0000</lastBuildDate><atom:link href="https://www.baldengineer.com/tag/esp8266/index.xml" rel="self" type="application/rss+xml"/><item><title>Arduino EEPROM stores any datatype</title><link>https://www.baldengineer.com/arduino-eeprom-stores-any-datatype.html</link><pubDate>Wed, 20 Jun 2018 13:00:46 +0000</pubDate><guid isPermaLink="false">https://www.baldengineer.com/?p=7381</guid><description>Funny how a simple idea can spider out into multiple paths. Arduino EEPROM seemed like a straightforward concept. A few a years ago it was as easy as having either 512 or 1024 bytes of flash memory. The Arduino IDE offered an EEPROM library which let you read and write a single byte. Today, however, with many different processor architectures saving data to EEPROM varies. It is now possible to save any datatype to EEPROM but not on all boards and not all using the same method.<p><img src="https://www.baldengineer.com/wp-content/uploads/2018/06/Arduino-EEPROM-Hero-1600px.jpg" alt="Arduino EEPROM stores any datatype"/></p></description></item><item><title>Debug SONOFF AC Relay with a Thermal Camera</title><link>https://www.baldengineer.com/debug-sonoff-ac-relay-thermal-camera.html</link><pubDate>Thu, 22 Feb 2018 03:43:36 +0000</pubDate><guid isPermaLink="false">https://www.baldengineer.com/?p=7023</guid><description>My recent SONOFF WiFi Switch experience reminded me of something from high school. I attended an off-site electronics class with my best friend. As teenage boys, we were prone to doing stupid things. One of our favorite games was to see who could handle the highest voltage. Our bench had a variable AC supply that went from 0 to 120 volts. So we would grab the alligator clips while the other person slowly turned the knob up. John once made it to 50 volts. I seem to recall my tolerance around 30 volts. First, DO NOT do this. It was stupid. Second, I think this game is why handling AC makes me so uncomfortable.<p><img src="https://www.baldengineer.com/wp-content/uploads/2018/02/SONOFF-FLIR-Banner-1600px.jpg" alt="Debug SONOFF AC Relay with a Thermal Camera"/></p></description></item><item><title>Circuit Python adds Python to Microcontrollers</title><link>https://www.baldengineer.com/circuit-python.html</link><pubDate>Wed, 14 Feb 2018 14:57:09 +0000</pubDate><guid isPermaLink="false">https://www.baldengineer.com/?p=7000</guid><description>Back in 2013, a Kickstarter ran for a project to put a python interpreter on a microcontroller. At the time I could not see the benefit. Cool project, but I asked myself: “why?” On my last Adafruit order, I received a free Circuit Playground Express. The board comes with CircuitPython pre-installed. After playing with Circuit Python, or CP, I finally “get it.”&#10;For Valentine’s Day, I made an animated LED heart for a new love in my life, Circuit Python. Well, love is a bit of a strong word. The past couple of weeks I have been l earning Circuit Python, and I am excited by what it offers.<p><img src="https://www.baldengineer.com/wp-content/uploads/2018/02/Circuit-Python-LED-Matrix-Example-Banner-1600px.jpg" alt="Circuit Python adds Python to Microcontrollers"/></p></description></item><item><title>Adafruit Feather Review and Selection Guide</title><link>https://www.baldengineer.com/adafruit-feather-review.html</link><pubDate>Wed, 24 Jan 2018 14:04:17 +0000</pubDate><guid isPermaLink="false">https://www.baldengineer.com/?p=6940</guid><description>Four days ago, I found out I needed to make a piece of a costume. The idea was to combine a TFT LCD with a microcontroller and Bluetooth Low Energy. I checked my microcontroller bin and found some Adafruit Feather Boards. In this post, I will introduce the feather family and provide a decision chart for choosing the right one for your project.&#10;adafruit-feather-layout&#10;The Feather board have a standard footprint and pinout. Most(All?) have a USB connector, a microcontroller, two rows of pins, and a battery charger. They measure 50.80 by 22.86 mm, which is 2.0 by 0.9 inches.<p><img src="https://www.baldengineer.com/wp-content/uploads/2018/01/Adafruit-Feather-Banner-v2-1600px.jpg" alt="Adafruit Feather Review and Selection Guide"/></p></description></item><item><title>Zener diode makes for a lousy regulator</title><link>https://www.baldengineer.com/zener-diode-regulators.html</link><pubDate>Wed, 20 Sep 2017 12:57:08 +0000</pubDate><guid isPermaLink="false">https://www.baldengineer.com/?p=6737</guid><description>The Zener diode is often used to create a reference voltage. In tutorials and even college texts, there are mentions of creating a Zener diode based regulator. The idea is that the Zener maintains a known voltage drop. The problem is that current matters. This post looks a quick Zener diode overview and shows what happened when I tried to power a microcontroller using a “Zener diode regulator.”&#10;Zener diodes overview Just a brief overview if you are not familiar with Zener diodes. Like typical diodes, Zeners have low forward voltages. Typically you voltages are around 0.7. However, different material sets can offer different forward voltages.<p><img src="https://www.baldengineer.com/wp-content/uploads/2017/09/zener-diode-regulator-1600px.jpg" alt="Zener diode makes for a lousy regulator"/></p></description></item><item><title>Multiple MQTT Topics with Arduino PubSubClient</title><link>https://www.baldengineer.com/multiple-mqtt-topics-pubsubclient.html</link><pubDate>Wed, 01 Feb 2017 13:00:22 +0000</pubDate><guid isPermaLink="false">https://www.baldengineer.com/?p=6348</guid><description>In my Arduino MQTT Examples, I kept things simple by only subscribing to a single topic. One of the strengths of MQTT is that a device can subscribe (or publish) to multiple topics. The broker will sort things out. Even though my first example only showed one, it is straight forward to get the Arduino PubSubClient library to subscribe to Multiple MQTT topics.&#10;The quick answer is that you need to look at the MQTT response to find out which topic sent the payload.<p><img src="https://www.baldengineer.com/wp-content/uploads/2017/02/multiple-mqtt-topics-banner-760px.jpg" alt="Multiple MQTT Topics with Arduino PubSubClient"/></p></description></item><item><title>Measure PWM Current with a Modified Moving Average</title><link>https://www.baldengineer.com/measure-pwm-current.html</link><pubDate>Wed, 28 Sep 2016 13:00:16 +0000</pubDate><guid isPermaLink="false">https://www.baldengineer.com/?p=6217</guid><description>Pulse Width Modulation (PWM) makes it possible to dim lights, control the speed of motors, and (with the help of filters) generate analog reference voltages. When measuring the voltage or current of a PWM signal, there are unique challenges. You can use this tutorial to measure PWM current with a modified moving average (MMA).&#10;As I’ve mentioned in a few posts, I’m working on an RGB LED IoT controller. Soon I’ll post some detailed information on that. In the meantime, one choice I made was to include an INA219 current sensor on the LED power supply. For prototyping, I’m using the Adafruit Breakout Board, but my final design uses the same parts integrated into a custom PCB.<p><img src="https://www.baldengineer.com/wp-content/uploads/2016/09/measure-pwm-current-with-mma.jpg" alt="Measure PWM Current with a Modified Moving Average"/></p></description></item><item><title>Arduino to ESP8266, 5 reasons to switch</title><link>https://www.baldengineer.com/esp8266-5-reasons-to-use-one.html</link><pubDate>Wed, 02 Mar 2016 16:00:04 +0000</pubDate><guid isPermaLink="false">https://www.baldengineer.com/?p=5819</guid><description>A couple of weeks ago I posted four things to know about the ESP8266 before using one. The biggest surprise from that post is people seem to think I do not like the ESP8266! This idea is not the case; the ESP8266 is awesome. I like them so much that my Adafruit Feather HUZZAH with ESP8266 has become my go-to Arduino board.&#10;Wait what? James uses something other than Arduino? Yes, I do! I have many different boards and have used most of them for one task or another.<p><img src="https://www.baldengineer.com/wp-content/uploads/2016/03/esp8266-adafruit-huzzah-hero-1000px.jpg" alt="Arduino to ESP8266, 5 reasons to switch"/></p></description></item><item><title>MQTT Tutorial for Raspberry Pi, Arduino, and ESP8266</title><link>https://www.baldengineer.com/mqtt-tutorial.html</link><pubDate>Wed, 24 Feb 2016 16:00:45 +0000</pubDate><guid isPermaLink="false">https://www.baldengineer.com/?p=5799</guid><description>This week’s MQTT Tutorial connects a Raspberry Pi, ESP8266 (or Arduino), and a PC together. Remember last week’s post provided an overview of message brokers and MQTT. We learned that MQTT is a hub and spoke protocol for sending messages between IoT devices. Clients can subscribe or publish messages to a central server, called a broker.&#10;Now it’s time to connect our IoT devices together!&#10;For this MQTT tutorial, I have three main elements:&#10;• My Computer, which will act as the broker.&#10;• Raspberry Pi running Python&#10;• ESP8266 controlling an LED<p><img src="https://www.baldengineer.com/wp-content/uploads/2016/02/mqtt-tutorial-banner.jpg" alt="MQTT Tutorial for Raspberry Pi, Arduino, and ESP8266"/></p></description></item><item><title>MQTT Introduction and Tutorial Part One</title><link>https://www.baldengineer.com/mqtt-introduction.html</link><pubDate>Wed, 17 Feb 2016 16:00:25 +0000</pubDate><guid isPermaLink="false">https://www.baldengineer.com/?p=5778</guid><description>MQTT is an easy way for Internet of Things (IoT) devices to communicate with each other. This light-weight protocol can be used with a simple 8-bit Arduino to a Raspberry Pi to a multi-core PC to Amazon Web Services. It is that versatile.&#10;This MQTT Tutorial is broken into two parts. Part one is an MQTT Introduction. You’ll understand how publish/subscribe message brokering works. Next week, Part two will be a tutorial on using MQTT to communicate between a PC, Raspberry Pi, and ESP8266.<p><img src="https://www.baldengineer.com/wp-content/uploads/2016/02/mqtt-tutorial-banner-mqtt-part-one.jpg" alt="MQTT Introduction and Tutorial Part One"/></p></description></item><item><title>Four ESP8266 Gotchas and a tip for a first time users</title><link>https://www.baldengineer.com/four-esp8266-gotchas.html</link><pubDate>Wed, 02 Dec 2015 16:00:13 +0000</pubDate><guid isPermaLink="false">https://www.baldengineer.com/?p=5617</guid><description>Adding WiFi to any project can be difficult. There are a few off the shelf options that make it easier. One option is the official Arduino WiFi shield. This full-featured shield uses its integrated microcontroller to handle the WiFi protocol, security, and the TCP/IP stack for you. From “plug it in and go” perspective, this is an awesome option for Arduino-based projects. Plenty of example code supports the nicely designed hardware. The main downside to some people is the price.<p><img src="https://www.baldengineer.com/wp-content/uploads/2015/12/esp8266-banner-1000px.jpg" alt="Four ESP8266 Gotchas and a tip for a first time users"/></p></description></item><item><title>Add wireless with one of these five wireless modules</title><link>https://www.baldengineer.com/five-wireless-modules-for-wireless-projects.html</link><pubDate>Wed, 20 May 2015 14:00:07 +0000</pubDate><guid isPermaLink="false">https://www.baldengineer.com/?p=4960</guid><description>Your IoT project needs one of these wireless modules Getting your project connected to the internet is relatively easy these days. Here are five off the shelf modules that will easily add wireless to your project.&#10;Back when I was in school, I remember spending an entire semester making a RF amplifier board. In fact, I had to use a pencil eraser to remove oxidation on the copper traces to remove an unwanted oscillation, caused by the impedance mismatch of the oxidation on the copper traces. Talk about tough.<p><img src="https://www.baldengineer.com/wp-content/uploads/2015/05/5-wireless-banner.png" alt="Add wireless with one of these five wireless modules"/></p></description></item></channel></rss>