<?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/category/tutorials/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/category/tutorials/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>&lt;p&gt;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.&lt;/p&gt;</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>&lt;p&gt;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.&lt;/p&gt;</description></item><item><title>Voltage Dividers as Regulators?! | AddOhms #22</title><link>https://www.baldengineer.com/voltage-dividers-as-regulators.html</link><pubDate>Mon, 16 Oct 2017 13:00:15 +0000</pubDate><guid isPermaLink="false">https://www.baldengineer.com/?post_type=video&amp;p=6787</guid><description>&lt;p&gt;Can you use voltage dividers as regulators? What if you add a Zener Diode? In this &lt;a href="https://youtube.com/addohms"&gt;AddOhms&lt;/a&gt; episode, I show what happens when you try to power a complex circuit like an ESP8266 with a voltage divider instead of a regulator. (Spoiler: Get a voltage regulator.) This video tutorial is related to a write up I did recently on &lt;a href="https://www.baldengineer.com/zener-diode-regulators.html"&gt;Zener Diodes&lt;/a&gt;. For questions or comments visit the &lt;a href="https://discuss.addohms.com/"&gt;AddOhms Discussion Forum&lt;/a&gt;.&lt;/p&gt;&#10;&lt;h3 id="behind-the-scenes"&gt;Behind the scenes&lt;/h3&gt;&#10;&lt;p&gt;A significant change for this &lt;a href="http://www.addohms.com"&gt;AddOhms&lt;/a&gt; Episode is that I moved from Final Cut Pro X to Premiere Pro. I also shot the entire video in 4K, even though the output is 1080p. Animations were still done as 1080p compositions. One snag I ran into, the color corrections I applied in PPro, didn&amp;rsquo;t seem to get exported. You might notice when the breadboard is on screen, it has a very slight yellow tint to it.&lt;/p&gt;</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>&lt;p&gt;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).&lt;/p&gt;&#10;&lt;p&gt;As I&amp;rsquo;ve mentioned in a few posts, I&amp;rsquo;m working on an RGB LED IoT controller. Soon I&amp;rsquo;ll post some detailed information on that. In the meantime, one choice I made was to include an &lt;a href="http://www.ti.com/lit/ds/symlink/ina219.pdf"&gt;INA219 current sensor&lt;/a&gt; on the LED power supply. For prototyping, I&amp;rsquo;m using the &lt;a href="https://www.adafruit.com/product/904"&gt;Adafruit Breakout Board&lt;/a&gt;, but my final design uses the same parts integrated into a custom PCB.&lt;/p&gt;</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>&lt;p&gt;A couple of weeks ago I posted &lt;a href="https://www.baldengineer.com/four-esp8266-gotchas.html"&gt;four things to know about the ESP8266&lt;/a&gt; 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 &lt;a href="https://www.adafruit.com/products/2821"&gt;Adafruit Feather HUZZAH with ESP8266&lt;/a&gt; has become my go-to Arduino board.&lt;/p&gt;&#10;&lt;p&gt;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.&lt;/p&gt;</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>&lt;p&gt;This week&amp;rsquo;s MQTT Tutorial connects a Raspberry Pi, ESP8266 (or Arduino), and a PC together. Remember last week&amp;rsquo;s post provided an &lt;a href="https://www.baldengineer.com/mqtt-introduction.html"&gt;overview of message brokers and MQTT&lt;/a&gt;. 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.&lt;/p&gt;&#10;&lt;p&gt;Now it&amp;rsquo;s time to connect our IoT devices together!&lt;/p&gt;&#10;&lt;p&gt;For this MQTT tutorial, I have three main elements:&lt;br&gt;&#10;•    My Computer, which will act as the broker.&lt;br&gt;&#10;•    Raspberry Pi running Python&lt;br&gt;&#10;•    ESP8266 controlling an LED&lt;/p&gt;</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>&lt;p&gt;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.&lt;/p&gt;&#10;&lt;p&gt;This MQTT Tutorial is broken into two parts. Part one is an MQTT Introduction. You&amp;rsquo;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.&lt;/p&gt;</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>&lt;p&gt;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 &amp;ldquo;plug it in and go&amp;rdquo; 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.&lt;/p&gt;</description></item></channel></rss>