https://github.com/nugrohoesbb/workshop-basicraspberry
Berikut merupakan code percobaan yang digunakan untuk kebutuhan workshop basic raspberry Laboratorium Multimedia dan Robotika Universitas Gunadarma
https://github.com/nugrohoesbb/workshop-basicraspberry
Last synced: 2 months ago
JSON representation
Berikut merupakan code percobaan yang digunakan untuk kebutuhan workshop basic raspberry Laboratorium Multimedia dan Robotika Universitas Gunadarma
- Host: GitHub
- URL: https://github.com/nugrohoesbb/workshop-basicraspberry
- Owner: NugrohoESBB
- Created: 2023-07-21T08:09:40.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-15T06:24:24.000Z (over 1 year ago)
- Last Synced: 2025-02-18T10:19:03.171Z (11 months ago)
- Language: Python
- Homepage:
- Size: 438 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🛠️ Basic Raspberry 🛠️
Run SSH -> depending on the IP address
# 🔍 GPIO 🔍

#
# 📖 Command Line 📖
## Melihat IP address yang digunakan raspi
```c++
ifconfig
```
## Melihat isi file dan direktori
```c++
ls
```
## Melihat isi file dan direktori yg hidden
```c++
ls -a
```
## Melihat isi file dan direktori beserta permission accessnya
```c++
ls -l
```
## Pindah ke direktori lain
```c++
cd
```
## Melihat posisi direktori yang sedang dibuka
```c++
pwd
```
## Melihat isi dari direktori
```c++
ls
```
## Membuat folder baru
```c++
sudo mkdir (folder name)
```
## Membuat file/edit isi file
```c++
sudo nano (file name)
```
## Copy file
```c++
sudo cp (file name) (new file name)
```
## Melihat isi file
```c++
sudo cat (file name)
```
## Memindahkan/rename file
```c++
sudo mv (current file directory) (destination file directory)
sudo mv (file name) (new file name)
```
## Menghapus direktori/file
```c++
sudo rm -R (file name)
```
## Config raspi
```c++
sudo raspi-config
```
## Reboot raspi
```c++
sudo reboot
```
## Shutdown raspi
```c++
sudo shutdown -h now
```
#
# 📄📒 Documentation 📒📄
## Light Sensor Pin Use to Raspi
| PIN LDR | Type | Pin Raspi|
| :-------- | :------- | :------- |
| `A0` | `Communication Serial` |`4` |
| `D0` | `Communication Serial` |`4`|
| `GND` | `Ground` |`GND`|
| `5V` | `VCC` | `5V`|
## Servo Pin Use to Raspi
| PIN LCD | Type | Pin Mega|
| :-------- | :------- | :------- |
| `Data` | `Communication Serial` |`25`|
| `GND` | `Ground` |`GND`|
| `5V` | `VCC` | `5V`|
## Motor Driver Pin Use to Raspi
| PIN LCD | Type | Pin Mega|
| :-------- | :------- | :------- |
| `ENA` | `Communication Serial` |`25`|
| `IN1` | `Communication Serial` |`8`|
| `IN2` | `Communication Serial` |`7`|
| `GND` | `Ground` |`GND`|
# ⚠️ Optional ⚠️
## Install pip in linux
```c++
sudo apt install python3-pip
```