Using the HC-SR04 Ultrasonic Distance Sensor with Arduino

Using the HC-SR04 Ultrasonic Distance Sensor with Arduino

The HC-SR04 Ultrasonic Distance Sensor is a staple in robotics projects. This inexpensive device is capable of measuring the distance between itself and the nearest solid object from 2 to 400 centimeters. Exactly what you need to keep your bots from driving into walls!

In this article we’ll look at this sensor in depth, including ways to make it even more accurate by compensating for temperature and humidity. There’s lots of Arduino code to be has as well, so dig in!

Controlling DC Motors with the L298N Dual H-Bridge and an Arduino

Controlling DC Motors with the L298N Dual H-Bridge and an Arduino

Controlling DC Motors is an essential skill for constructing robots and other hobby projects. An easy way to control DC motors is to use an L298N H-Bridge, an inexpensive component tat you can buy from several sources.

Fear not if you’ve never heard of the L298N or if you don’t know what an H-Bridge is – in this article I’ll show you everything you need to know to start making things move with an Arduino. We’ll even construct a simple Robot Car that you can pilot using a Joystick.

So let’s get our motors running and learn all about the L298N H-Bridge!

Arduino 37 Sensors Part 1 – Overview

Arduino 37 Sensors Part 1 – Overview

The 37 sensor collection for Arduino is a popular kit that is available from many manufacturers. Its low cost makes it an ideal Arduino accessory but one thing that it lacks is adequate documentation. In this article I will review all 37 sensors and describe what they do and how they are used. Future articles in this series will give you actual code and examples for using these sensors in your projects.