In the previous installment, we discussed the Five Program Steps and how we can use those five steps to organize our thoughts about writing programs. In this article, we’ll discuss the format that the Arduino Integrated Development Environment (IDE) requires for your program to execute in the IDE. We’ll then examine how the IDE allows us to easily organize a program using the Five Program Steps.
An RTOS (Real Time Operating System) is a software component that lets you rapidly switch between different running sections of your code. Think of it as having several loop() functions in an Arduino sketch where they all run at the same time.
Most of you have at one time or another thought about designing your own electronics. The thing stopping many of you is the fact that you realize you’re not a “real” graduate engineer. Well, so what? You don’t have to have an EE degree to design. You can do your own design with a little direction. Here’s my approach to it, so you can give it a try.
Back in Part 1 of this series, we designed a simple Nextion display screen and got it to do stuff. However, the look was rather droll. In this installment, we’ll use the Nextion in a special application (building a small engine ignition timing controller) and make the screen sizzle.
Internet-of-Things (IoT) projects that use sensors, actuators, displays, or controllers can easily communicate through an MQTT (Message Queuing Telemetry Transport) server, or broker. The MQTT standard lets devices publish and subscribe to specific topics. When they use the JavaScript Object Notation (JSON) format to exchange information, software can easily interpret or parse it. In this tutorial, I'll explain how to create and parse JSON messages.
Most of us have invested some time in learning those things we want or need to do. Learning how to program is no different, and it can be an extremely satisfying endeavor. Seeing a device respond to code you wrote is, well, intoxicating in a good way. My goal is to create an interest in exploring microcontrollers and encourage you into investing $5 and some of your time into that exploration. I honestly think you'll enjoy the journey.
Even when a circuit functions as it’s supposed to, it’s not always easy to tell what it’s doing. Plus, waiting for an output (especially if there’s a long delay involved) is not always practical. Conversely, if a circuit does not function, the only means to find out what’s wrong is to troubleshoot it with either a multimeter or oscilloscope. Wouldn’t it be great if the circuit itself could tell us more directly what’s wrong?
This article discusses basic theory on the decibel unit and its role in electrical measurements of power, etc. It also describes the construction of an RF power meter which in the past has been difficult to use and expensive to own. With the breakthrough of new ICs in recent years, most of the former problems and expense have been eliminated. This is a simple and inexpensive unit to build, but has the accuracy, resolution, and dynamic range that was only obtainable in lab quality test equipment a decade or so ago. This kind of test equipment is almost mandatory for amateurs, radio frequency work, or test equipment calibration. Also, when built as described, it’s a very professional looking piece of gear that anyone would be proud to display on their test bench.
In the first article, we downloaded the Nextion IDE, built a couple screens with various objects, and tested it in simulation. For this installment, we’ll actually be loading software onto a real Nextion TFT display and interacting with a PIC16F1824 microcontroller programmed with ME Labs PBP3 BASIC software. Finally, it will be tested on a breadboard.
Life would not be the same without the transistor, which was invented just over seven decades ago. It is considered by researchers and historians to be the most important invention of the 20th century, leading to groundbreaking advances in computing, communications, medicine, and practically every technically related field. In this article, we’ll examine the contributions of the personalities and organizations involved, as well as the impetus that led to this landmark invention.