- 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.
推薦閱讀
- Android Wearable Programming
- Learning Python Web Penetration Testing
- Advanced Machine Learning with Python
- 軟件項(xiàng)目管理(第2版)
- Hands-On Machine Learning with scikit:learn and Scientific Python Toolkits
- PyTorch自動(dòng)駕駛視覺感知算法實(shí)戰(zhàn)
- 實(shí)用防銹油配方與制備200例
- 零基礎(chǔ)入門學(xué)習(xí)Python
- Learning ArcGIS for Desktop
- Linux C編程:一站式學(xué)習(xí)
- Natural Language Processing with Java and LingPipe Cookbook
- C語言程序設(shè)計(jì)
- 工業(yè)機(jī)器人離線編程
- Mastering jQuery Mobile
- 面向?qū)ο蟪绦蛟O(shè)計(jì)及C++(第3版)