Skip to content

FAQ hub / Robotics

Robotics frequently asked questions

Motor drivers, sensors and control loops — the building blocks used in small robots.

Frequently asked questions

9 answers, each linked to the guide it comes from.

What is this circuit for?

It uses a dual motor driver board to control the direction and speed of two DC motors independently from an Arduino.

Source: Dual Motor Driver Direction and Speed Control

How does the circuit work?

Each driver channel has an H-bridge. Two direction inputs select the conducting transistor pair, and PWM on the enable input sets the speed. Logic runs on 5V and motors on a separate 12V supply, with all grounds commoned.

Source: Dual Motor Driver Direction and Speed Control

What is the expected result?

Both motors run independently in the chosen direction at PWM-set speeds, with a shared ground and a separate motor supply.

Source: Dual Motor Driver Direction and Speed Control

What is this circuit for?

It rotates a step motor precisely and in increments using step signals sent from an Arduino through a driver board.

Source: Step Motor and Driver Board

How does the circuit work?

The driver converts each step pulse into a coil combination; the rotor follows the field one step at a time. A separate supply provides coil current and a shared ground keeps the step signals referenced.

Source: Step Motor and Driver Board

What is the expected result?

The motor turns precisely in steps, the LED lights during stepping, and the driver power and common ground connections are complete.

Source: Step Motor and Driver Board

What is this circuit for?

The DHT11 sends temperature and relative humidity over a single digital line. It has three legs: power, data and ground. The data leg goes to a digital pin on the Arduino, and on request the sensor produces a 40 bit frame containing humidity, temperature and a check byte. A library validates the byte and returns the values in degrees and percent. Requests must not be too close together because the sensor needs a few seconds to take a new measurement. This circuit teaches digital sensor reading and data integrity checking.

Source: Sensor projects: read temperature and humidity with DHT11

How does it work?

The DHT11 encodes its measurement on one line using timing. The board first pulls the line to the supply level and then waits for the sensor to answer. The incoming 40 bit frame carries relative humidity in its first part, temperature in its second part and a check byte at the end. The check byte lets the software detect whether the data was corrupted during transfer. The library decodes the raw bits and converts them into usable units. A second request before the sensor has completed its measuring cycle can return stale or wrong data, so a wait between readings is required.

Source: Sensor projects: read temperature and humidity with DHT11

What should I see at the end?

Temperature and relative humidity values appear at regular intervals in the serial monitor.

Source: Sensor projects: read temperature and humidity with DHT11

How to use these answers

Three short steps.

  1. Find your symptom
    Open the question that matches what you see on your board or in your sketch.
  2. Read the short answer
    Each answer gives the most likely cause first, then the check that confirms it.
  3. Open the full guide
    Follow the source link under the answer for the complete circuit and code.

Related guides

Five real pages to continue from here.

Keep your progress in one place

Create a free account to save what you are working on and see your results.