Kelompok 6 Alarm Pendeteksi Gas Bocor & BJT
Kelompok 6 Alarm Pendeteksi Gas Bocor & BJT
Kelompok 6 :
• Daniel Natio Panggabean (13117002)
• Sberlgcamp Dharemsis Simbolon (13117040)
• Wenny Maesy Sianipar (13117109)
• Agnis Walentine Manullang (13117123)
• Loksa Tobias M. Situmoranag (13117124)
1. Screenshoot Rangkaian :
https://www.tinkercad.com/things/3pJvD1QE9zE-gas-detection-kel-6-elge-agnis-walentine/editel
#include <LiquidCrystal.h>
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
int buzzer = 7;
int LED_RED = 10;
int LED_YELLOW = 9;
int LED_GREEN = 8;
int pin_gas = 0;
int input_gas = 0;
void setup() {
pinMode(A0, INPUT);
pinMode(7, OUTPUT);
pinMode(8, OUTPUT);
pinMode(9, OUTPUT);
pinMode(10, OUTPUT);
lcd.begin(16, 2);
void loop() {
if (input_gas<500){
input_gas = analogRead(pin_gas);
lcd.setCursor(0, 0);
lcd.print("Gas Detector");
lcd.setCursor(0,1);
lcd.print("Gas : ");
lcd.setCursor(6, 1);
lcd.print(input_gas);
lcd.setCursor(9, 1);
lcd.print("!");
digitalWrite(buzzer, LOW);
digitalWrite(LED_RED, LOW);
digitalWrite(LED_YELLOW, LOW);
digitalWrite(LED_GREEN, HIGH);
}
else {
input_gas = analogRead(pin_gas);
lcd.setCursor(0, 0);
lcd.print("Gas Detector");
lcd.setCursor(0,1);
lcd.print(" DANGER!!!");
digitalWrite(buzzer, HIGH);
digitalWrite(LED_RED, HIGH);
digitalWrite(LED_YELLOW, LOW);
digitalWrite(LED_GREEN, LOW);
delay (500);
tone(7, 262, 1000);
delay(500);
tone(7, 440, 1000);
}
delay (500);
}
4. Screenshoot Hasil :
Gambar 2. pendeteksi gas bocor ketika gas kurang dari 500 lampu berwarna hijau
Gambar 3. pendeteksi gas bocor ketika gas lebih dari 500, kurang dari 600, lampu berwarna
kuning
Gambar 4. pendeteksi gas bocor ketika gas lebih dari 600, lampu berwarna merah
Laporan Tugas Besar Simulasi Rangkaian Penguat BJT
Menggunakan Transistor 2N3904
Kelompok 1:
− Daniel N Panggabean (13117002)
− Sberlgcamp D Simbolon (13117040)
− Wenny M Sianipar (13117109)
− Agnis W Manullang (13117123)
− Loksa T M Situmorang (13117124)
1. Screenshoot Rangkaian
2. Link multisim yang di copy (pastikan link tsb dapat di klik) : Tidak ada karena menggunakan
software multisim
4. Screenshoot Hasil
Gambar 2. Hasil simulasi rangkaian penguat BJT
Rumus Arus:
𝐼𝑜𝑢𝑡 3,119
I = 𝐼𝑖𝑛 = 0,224 = 13,92 A
Rumus Penguatan:
𝐼𝑜𝑢𝑡
AV(dB) = 20 log ( )
𝐼𝑖𝑛
3,119
AV(dB) = 20 log ( )
0,224
AV(dB) = 1,3 dB