Posts by Michael Cheich
Using an SD Card with the ESP32 [Guide + Code]
In this article, we will be discussing how to perform file reading and writing tasks using a micro SD card connected to an ESP32 using the Arduino IDE (Integrated Development Environment). A micro SD card is a secure digital memory card that is used in many applications from cell phones to laptops to digital…
Read MoreanalogRead() with Arduino
Some sensor readings are best handled with the built in Arduino function analogRead(). analogRead() can anser things like: How bright is the light? How fast is the satellite moving? These types of answers are often analog – they cover a larger, continuous range of values, not just a binary on or off. The Arduino UNO…
Read MoreUsing Random Numbers with Arduino [SOLVED]
Are you trying to use random numbers with Arduino? This article tutorial talks about using the random() and randomSeed() functions with Arduino. It is pretty straight forward, but there are some intricacies worth noting. Creating truly random numbers in Arduino is harder than you might think. The closest we can get in Arduino, and just…
Read Moredebugging with Arduino | Full Seminar
How to use SPIFFS for an ESP32 File System [Beginner Guide + Code]
Everything you’ve ever wanted to know (and don’t want to know) about ESP32 SPIFFS. This is an extremely long and in-depth article covering SPIFFS when using an ESP32 (if you’re learning SPIFFs, you’ll want to bookmark this page). Here is a quick guide to help you jump around: What is SPIFFS, and what does it…
Read MoreESP32 Hall Effect Sensor [Beginner Guide + Code]
The Hall Effect sensor is one of the numerous built-in components of the ESP32 that is often overlooked. This sensor is a useful tool for developers since it can detect magnetic fields and has many uses. This article will examine the internal Hall Effect sensor of the ESP32, its working principles, and possible uses. ESP32’s…
Read MoreUsing a Button with Arduino [Guide + Code]
Anything cool has buttons, and using a button with Arduino is simple. Buttons are everywhere and there is a certain pleasure in pressing them. Knowing how to employ them in your projects is very beneficial. Using a button is as easy as you might think, but at the same time can be a source of…
Read MoreComment out Code – 3 Ways in Arduino IDE 1 and 2
Commenting out code. What does that mean exactly? Now, I’m not talking about ‘commenting code’. That’s a discussion in and of itself. I’m talking about commenting OUT code. That’s when you selectively turn off some of the code in your program. In this lesson, we’re gonna cover three different ways to comment out code in…
Read MoreWhich Arduino IDE should I use?
Did you know that the Arduino company provides for free three different tools for programming your Arduino board? They’re called Integrated Development Environments or IDEs. They include: SOFTWARE When you’re just getting into Arduino, there’s a lot to learn. There’s hardware and there’s also software. The software that you need to program in Arduino is…
Read MoreWriting To Console with Arduino | SOLVED
How the heck do you write and print text to the Arduino console, you know, that black output section at the bottom of the Arduino IDE? Is it even possible?! Have you been reading about Serial.print(), but it just isn’t making any sense at all? You just want to be able to view the state…
Read More