# CrowPi Dev Kit

## &#x20;[**Raspberry Pi OS**](https://www.raspberrypi.com/documentation/computers/os.html#introduction)

&#x20;      RaspberryPi สามารถใช้กับระบบปฏิบัติการ (Operating Systems) เช่น  [Raspbian](https://www.raspbian.org/) (recommended), Pidora, OpenElec, RaspBMC, RISC OS, Windows10IoT, Arch Linux เป็นต้น ในที่นี้เราจะใช้  [Raspberry PI OS](https://www.raspberrypi.com/documentation/computers/os.html#updating-and-upgrading-raspberry-pi-os) หรือ Raspbian ซึ่งพัฒนาอยู่บนพื้นฐาน Debian โดยปรับปรุงและพัฒนาให้ OS สามารถใช้งานกับฮาร์ทแวร์ Raspberry Pi ได้&#x20;

&#x20;      สำหรับวิธีการติดตั้ง OS สามารถทำง่าย ๆ โดยใช้โปรแกรม [RaspberryPi imager](https://www.raspberrypi.org/software/) ติดตั้งลงบนคอมพิวเตอร์แล้ว ทำตามขั้นตอนบนเว็บไซต์เลือก Raspberry PI OS(32bit) เลือกชื่อไดร์ฟของ SDcard ที่ต้องการติดตั้ง แนะนำขนาดตั้งแต่ 8 ถึง 32GB แล้วโปรแกรมจะทำการเขียน OS ลง SDcard หรือทำการ ตั้งค่าเปิดการใช้งาน ssh สำหรับเตรียมความพร้อมการ Remote เข้าใช้งาน rasppberry pi ด้วย PC มีขึ้นตอนดังต่อไปนี้

### &#x20;[**Installing the Operating System**](https://www.raspberrypi.com/documentation/computers/getting-started.html#installing-the-operating-system)

1. ดาวน์โหลดโปรแกรมและติดตั้ง [Raspberry Pi Imager](https://www.raspberrypi.com/software/) สำหรับ flash Raspberry Pi OS&#x20;
2. เปิด โปรแกรมคลิ๊ก Advanced Menu ตามภาพด้านล่าง Advanced Menu&#x20;

![Advanced Menu](https://paper-attachments.dropbox.com/s_967B16FB1B75A418E6A12296C4D1A35BCD9D139E0238DF06B4F5E3BECA466AF2_1658474699724_rpi_imager.png)

&#x20; 3\. คลิ๊ก “Enable SSH” สำหรับอนุญาติให้เข้าถึง Raspberry Pi OS ผ่าน SSH protocol ได้

![Advanced options: Enable SSH](https://paper-attachments.dropbox.com/s_967B16FB1B75A418E6A12296C4D1A35BCD9D139E0238DF06B4F5E3BECA466AF2_1658474938527_image.png)

&#x20; 4\. คลิ๊ก “WRITE” เพื่อ flash OS ลง SD Card

![Process Writing](https://paper-attachments.dropbox.com/s_967B16FB1B75A418E6A12296C4D1A35BCD9D139E0238DF06B4F5E3BECA466AF2_1658475129333_image.png)

&#x20;   5\. โปรแกรม ทำงานเสร็จแล้วสามารถนำ sd card ไปเสียบลง Raspberry pi&#x20;

&#x20;   6\. ทดลองใช้งานตามหัวข้อถัดไป

Date: May 2023

Author: Soontree Jaikhong (AIC-Researcher)

Author: Thanaluk Pranekunakol (AIC-Researcher)
