Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Robotics at Home with Raspberry Pi Pico
  • Table Of Contents Toc
  • Feedback & Rating feedback
Robotics at Home with Raspberry Pi Pico

Robotics at Home with Raspberry Pi Pico

By : Danny Staple
4.8 (13)
close
close
Robotics at Home with Raspberry Pi Pico

Robotics at Home with Raspberry Pi Pico

4.8 (13)
By: Danny Staple

Overview of this book

The field of robotics is expanding, and this is the perfect time to learn how to create robots at home for different purposes. This book will help you take your first steps in planning, building, and programming a robot with Raspberry Pi Pico, an impressive controller bursting with I/O capabilities. After a quick tour of Pico, you’ll begin designing a robot chassis in 3D CAD. With easy-to-follow instructions, shopping lists, and plans, you’ll start building the robot. Further, you’ll add simple sensors and outputs to extend the robot, reinforce your design skills, and build your knowledge in programming with CircuitPython. You’ll also learn about interactions with electronics, standard robotics algorithms, and the discipline and process for building robots. Moving forward, you’ll learn how to add more complicated sensors and robotic behaviors, with increasing complexity levels, giving you hands-on experience. You’ll learn about Raspberry Pi Pico’s excellent features, such as PIO, adding capabilities such as avoiding walls, detecting movement, and compass headings. You’ll combine these with Bluetooth BLE for seeing sensor data and remotely controlling your robot with a smartphone. Finally, you’ll program the robot to find its location in an arena. By the end of this book, you’ll have built a robot at home, and be well equipped to build more with different levels of complexity.
Table of Contents (20 chapters)
close
close
1
Part 1: The Basics – Preparing for Robotics with Raspberry Pi Pico
7
Part 2: Interfacing Raspberry Pi Pico with Simple Sensors and Outputs
12
Part 3: Adding More Robotic Behaviors to Raspberry Pi Pico

Coding on Pico – first steps

Writing and testing code on Pico is made easier with a handy tool, Mu. We will get you up and running and get stuff going in Pico REPL. We’ll then write some code in a file and upload that program so that it runs when Raspberry Pi Pico boots. How do we get Mu? Let’s find out in the next section.

Downloading the Mu editor

The Mu editor gives easy access to the CircuitPython REPL. It also has a Python editor, allowing you to see the code and results together. It’s small and supports other hardware-oriented Python platforms.

To download it, do the following:

  1. Go to https://codewith.mu/. Use the Download button to get the right version for your computer and install it.
  2. Launch Mu editor, and when it is running, click on the Mode button. From this, select CircuitPython. Look at the following screenshot:

Figure 2.2 – Mu editor buttons

The preceding screenshot shows the toolbar...

Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Robotics at Home with Raspberry Pi Pico
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon