Skip to Content
Practical Arduino Robotics
book

Practical Arduino Robotics

by Lukas Kaul
March 2023
Intermediate to advanced
334 pages
9h 30m
English
Packt Publishing
Content preview from Practical Arduino Robotics

5

Getting Started with Robot Programming

We have already used a few small code snippets here and there to demonstrate certain functionalities of the Arduino Uno to read sensors and control motors. But what if you wanted to combine all of this into a single program that uses multiple interfaces at the same time, runs control algorithms, and controls motors, all concurrently?

In this chapter, you will learn how to make all of this work in practice. It is structured as follows:

  • The general structure of a robot program
  • Cooperative multitasking
  • State machines
  • Blocking and unblocking function calls
  • Feedback control

You will be able to use these general concepts and techniques in every robotics project.

Technical requirements

There are several code ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learn Electronics with Arduino

Learn Electronics with Arduino

Jody Culkin, Eric Hagan

Publisher Resources

ISBN: 9781804613177Supplemental Content