Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Raspberry Pi Embedded Projects Hotshot
  • Toc
  • feedback
Raspberry Pi Embedded Projects Hotshot

Raspberry Pi Embedded Projects Hotshot

By : Sai Yamanoor, Srihari Yamanoor
close
Raspberry Pi Embedded Projects Hotshot

Raspberry Pi Embedded Projects Hotshot

By: Sai Yamanoor, Srihari Yamanoor

Overview of this book

This book is targeted towards beginners and intermediate designers of mechatronic systems and embedded system design. Some familiarity with the Raspberry Pi and Python programming is preferred but not required.
Table of Contents (15 chapters)
close
14
Index

Programming the Arduino using the Raspberry Pi


We will introduce ourselves to the Arduino IDE with an LED blinking example.

Prepare for lift off

There are several examples for the Arduino and it takes less than a minute to execute the first program. Let's get started with the traditional LED blinking example. The LED blinking example can be found at File | Examples | 01 . Basics | Blink.

Engage thrusters

  1. We get started by identifying the Arduino's serial port enumerated on the Raspberry Pi.

  2. The serial port is identified from Tools | Serial Port. Usually there is only one serial port as shown in the following screenshot. If there is more than one serial port device connected, it is recommended that you proceed with caution.

  3. We can program the Arduino by clicking on the Upload button.

    The Arduino IDE interface

Objective complete – mini debriefing

If the Arduino is connected and the serial port was correctly identified, the program should be uploaded successfully.

Sketch uploaded using the Arduino IDE...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech
bookmark search playlist font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete