Browsed by
Category: Arduino

Slow Arduino IDE with ESP-32 Devices

Slow Arduino IDE with ESP-32 Devices

There is a noticeable difference on how long it takes for a sketch for the ESP-32 to compile when using a Windows based system, versus using a Linux based system. Depending on the sketch, this difference can be up to 10 times, which could frustrate developers. The suggestions online point to anti virus as the cause, with disabling the anti virus or adding exceptions as the workaround. Others recommend using Visual Studio instead of the Arduino IDE. This post will…

Read More Read More

Visualizing Data with Processing

Visualizing Data with Processing

The purpose of this post is to demonstrate how to use Processing to present data in a visual way. The methods used in this post will be based on the work done by M.Furkan Bahat. Source – https://mfurkanbahat.blogspot.com/2014/11/artificial-horizon-and-compass-using.html The hardware used in this demonstration will be the following: GY-521 MPU6050 Arduino Uno ESP32-Cam ESP32-USB-Module Patch wiring USB cables Windows 10 laptop The MPU6050 is connected to the Arduino Uno using the following pin connections, as shown in the images below….

Read More Read More

Data-sheets, the devil in the details

Data-sheets, the devil in the details

Finding a suitable and reliable power supply for a project seems trivial to most. The battery selection is typically one of the common types available at stores. However, if you have a project that needs to run on battery, that choice will influence its overall use. The first question to ask is, what are the components of the project. These can range from discrete components to boards or modules requiring varying supply voltages. As the number of components increase, so…

Read More Read More

CO Detector Hack – Part 9

CO Detector Hack – Part 9

This will be the last post on the subject of interfacing the First Alert CO Detector with a wireless ESP8266 module. The limits of the ESP8266 and lower costs of the higher functioning ESP32 module prove that this effort is not worth continuing. I will say that the overall simplicity of this project should provide a firm footing for future projects. The process from start to finish can be applied to any number of electronic devices. So with that said,…

Read More Read More

CO Detector Hack – Part 8

CO Detector Hack – Part 8

“No changes are permanent, but change is” – Neil Peart Rush, Tom Sawyer It’s been quite sometime since my last post, my apologizes. I won’t be diving right back into the CO Detector project just yet. First, I’d like to cover some developments that have occurred the past two months. Late in April, there were updates available to my WordPress site. Updates are a constant flow and this was just another routine bit of work for maintaining the site. The…

Read More Read More

CO Detector Hack – Part 7

CO Detector Hack – Part 7

In this post, I’ll be begining to cover the Arduino code used to program the ESP8266, as it pertains to the CO Detector. Most of what I’ll be going over here is based off of Rui and Sara Santos’s work at https://randomnerdtutorials.com/about/. They have done a tremendous amount of work and deserve the attention for it. The ESP8266 will be replacing the ins and outs to the CO Detector. Besides the typical operation of the CO Detector, we’ll need to…

Read More Read More

CO Detector Hack – Part 6

CO Detector Hack – Part 6

In this post I’ll be covering the theory of operation in regard to interfacing the ESP8266 with the CO Detector. The first item that should be covered before actually creating the code to program the ESP8266 for use in the CO Detector is to define the operation. This is a blueprint that lays out what we expect the CO Detector to do when interfaced with the ESP8266. It also helps us develop the code we’ll eventually write. Basically, we’re trying…

Read More Read More

CO Detector Hack – Part 5

CO Detector Hack – Part 5

In this post I’ll be covering the programing of the ESP8266 with the Arduino IDE The first step is to download and install the Arduino IDE, go to https://www.arduino.cc/en/Main/Software. It is at version 1.8.5 as of this writing. Refer to the online guide for install steps, https://www.arduino.cc/en/Guide/HomePage. Once installed, you’ll need to be sure that your have the needed rights to run and upload sketches. On Linux systems, your user account will need to be a member of the dialout…

Read More Read More

CO Detector Hack – Part 4

CO Detector Hack – Part 4

With many devices becoming connect to the internet, I thought it would be worthwhile to interface the CO Detector that I’ve been covering using a wireless ESP8266 board. There are several IoT services that make connecting devices as streamlined as possible. In this post. I’ll be covering IFTTT, a cloud based service that will perform an action based on a condition. The ESP8266 board I’m using has 2 GPIO pins that I would like to use to interface with the…

Read More Read More

Bicycle Helmet Embedded Electronics

Bicycle Helmet Embedded Electronics

Several years ago I purchased a small video camera that was shaped like a flashlight for $50.  It had VGA 640 x 480 30 fps video quality and would record up to 2 hours on a single charge.  I used it to record several bike rides around the county on numerous bike trails.  The videos provided a way to recall the conditions and experiences which I used to plan future trips. A couple of years later I purchased some 808…

Read More Read More