- Raspberry Pi Mechatronics Projects HOTSHOT
- Sai Yamanoor Srihari Yamanoor
- 184字
- 2021-07-23 20:31:41
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
- We get started by identifying the Arduino's serial port enumerated on the Raspberry Pi.
- 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.
- 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
Most Arduino products come with an onboard LED to test the LED blinking example.
推薦閱讀
- Learning Single:page Web Application Development
- Java范例大全
- 數(shù)字媒體應(yīng)用教程
- Hands-On Data Structures and Algorithms with JavaScript
- AutoCAD VBA參數(shù)化繪圖程序開發(fā)與實(shí)戰(zhàn)編碼
- Java程序設(shè)計(jì):原理與范例
- 青少年P(guān)ython編程入門
- Python算法詳解
- Node Cookbook(Second Edition)
- Beginning C++ Game Programming
- 寫給程序員的Python教程
- 現(xiàn)代C:概念剖析和編程實(shí)踐
- Ionic3與CodePush初探:支持跨平臺(tái)與熱更新的App開發(fā)技術(shù)
- TypeScript High Performance
- Java Web開發(fā)系統(tǒng)項(xiàng)目教程