- Raspberry Pi Mechatronics Projects HOTSHOT
- Sai Yamanoor Srihari Yamanoor
- 296字
- 2021-07-23 20:31:35
Mission briefing
In this project, we will set up the GPIO (General Purpose Input Output) peripheral on the Raspberry Pi and write our first program to cause an LED to blink. At the end, we will repeat the same steps with a Raspberry Pi add-on board called PiCrust. This will allow you to get your feet wet and ensure you have all the right tools going forward, and should you need to, troubleshoot any problems you might identify.
Why is it awesome?
Think of saying "Hello World" as both a nod to programming tradition and a dry run to ensure you are well equipped!
Your Hotshot objectives
The objectives for this mission are quite simple, and yet take us all several milestones further! Here are the objectives of the Hello World mission:
- Collect all the necessary tools
- Set up the GPIO peripheral
- Introduce ourselves to the Raspberry Pi environment
- Turn a light emitting diode (LED) on and off with a 1 second delay
Mission checklist
Go over the previous sections, and make sure you have all the tools. Download the GPIO libraries, and ensure you can log in to the Raspberry Pi remotely, and you are all set!
Note
There are two different ways to use a Raspberry Pi. They are:
- Connecting a monitor to the HDMI port or the RCA jack and a keyboard to the USB port of the Raspberry Pi.
- Remotely logging into the Raspberry Pi from the reader's workstation.
If you are a beginner, it is best to use the first method while the second method can be used if you are familiar with the Linux operating system and remote login capabilities.
Once we complete the setup process by selecting Finish, the Raspberry Pi reboots and expands the file system if necessary.
- HTML5+CSS3網站設計基礎教程
- Functional Kotlin
- Arduino家居安全系統(tǒng)構建實戰(zhàn)
- 蘋果的產品設計之道:創(chuàng)建優(yōu)秀產品、服務和用戶體驗的七個原則
- C++反匯編與逆向分析技術揭秘(第2版)
- 零基礎學Kotlin之Android項目開發(fā)實戰(zhàn)
- 深入剖析Java虛擬機:源碼剖析與實例詳解(基礎卷)
- Visual Basic 6.0程序設計實驗教程
- JQuery風暴:完美用戶體驗
- 從“1”開始3D編程
- Moodle 3.x Developer's Guide
- 分布式系統(tǒng)架構與開發(fā):技術原理與面試題解析
- C++標準庫(第2版)
- MonoTouch應用開發(fā)實踐指南:使用C#和.NET開發(fā)iOS應用
- R語言數(shù)據(jù)處理及可視化分析