Home / Tutorials

Tutorials

Generating Sine, Triangular, and Sawtooth Waveforms using STM32F4 DAC

STM32F4 Waveform Generation using DAC

The STM32F4 microcontroller series is popular in embedded systems applications due to its powerful features. One of its key peripherals is the Digital-to-Analog Converter (DAC), which enables the generation of analog waveforms. In this article, I will show you how to generate sine, triangular, and sawtooth waveforms using the STM32F4 …

Read More »

Using an NPK Sensor with Arduino

arduino NPK sensor wiring diagram

We’ve featured in a previous project how we can make a “plant” send messages when it needs more water. Of course, healthy plants don’t only need water; the soil in which they are planted must also be abundant in a number of chemicals. Is there a sensor that does this?

Read More »

Unleash the Potential of the Internet: 10 Essential IoT Starter Kits to Kickstart Your Journey

End your search for the ultimate, cost-effective IoT starter kits designed to help you construct innovative IoT solutions. With these exceptional smart device kits, your journey into the world of IoT begins here. The Internet of Things (IoT) represents the future of technology, a sector poised to attract billions of …

Read More »

Arduino Simulation in Proteus ISIS

Arduino simulation model UNO version

Labcenter Electronics’ Proteus has become an indispensable tool for engineers as it offers not only schematic and PCB design but also real-time simulation. However, Arduino simulation is not supported by this application by default. This tutorial will show you how to simulate an Arduino with Proteus ISIS.

Read More »

Arduino Programming: Ternary Operator

nested-ternary-arduino-circuit

If your Arduino code involves decision-making, then it's very likely you're using conditional statements. Using if ... else... is common;  switch statements as well. But there is a third way, using ternary operator, that will really make your code shorter.   Example Scenario Say we are reading the state of …

Read More »

Arduino Programming: Arrays

An array is a data structure for storing multiple variables of the same data type. Mastering arrays will definitely make your Arduino sketches more efficient. If you’re a beginner when it comes to Arduino array, then this tutorial is for you.

Read More »

Arduino Programming: Classes

The Arduino platform runs on C++ and with this comes all the pros (and cons) of the language. One of those pros is the use of classes and in general, object oriented coding. This article aims to guide you in creating your own Arduino classes which can make your sketches …

Read More »