DEPOINOVASI | SUPPLIER ROBOTIK & SISTEM OTOMASI

KRAN ELEKTRIK,LINE FOLLOWER,MOTOR GEARBOX,SENSOR,ALARM,POWER SUPPLY,MIKROKONTROLLER,PLC

Jual Sensor Arah Angin

Posted by dealer on October 23, 2015

sensor arah angin

Sensor Arah Angin Terbaru

Jual Sensor Arah Angin Murah

Spesifikasi :

  • Vsuplai : DC 5V
  • Sensor : 8 sensor magnetik
  • Output : 8 digital output
  • Mendeteksi 8 arah angin : utara, timur laut, timur, tenggara, selatan, badat daya, barat, barat laut
  • Saat mendeteksi sensor (logika “0”), saat tidak mendeteksi sensor (logika “1”)
  • Dimensi vane : 16 cm x 3 cm x 6,5 cm
  • Dimensi modul : 7 cm x 6,5 cm x 3 cm
  • Berat : 110 gr
  • Kondisi : Baru

Note:
Warna dimungkinkan berbeda, menyesuaikan stok yang ada

Aplikasi :

Sensor pembaca arah angin

Codevision C AVR reference code:

#include <mega16.h>
#include <stdio.h>
#define utara PINA.0
#define tl PINA.1
#define timur PINA.2
#define tenggara PINA.3
#define selatan PINA.4
#define bd PINA.5
#define barat PINA.6
#define bl PINA.7
#define aktif 0
#define nonakftif 1
// Alphanumeric LCD Module functions
#asm
.equ __lcd_port=0x15 ;PORTC
#endasm
#include <lcd.h>

void main(void)
{
PORTA=0xFF;
DDRA=0x00;

lcd_init(16);

while (1)
{
// Place your code here
lcd_gotoxy(0,0);lcd_putsf(“ARAH ANGIN :”);
if(utara==aktif){lcd_gotoxy(0,1);lcd_putsf(“UTARA “);}
else if(tl==aktif){lcd_gotoxy(0,1);lcd_putsf(“TIMUR LAUT “);}
else if(timur==aktif){lcd_gotoxy(0,1);lcd_putsf(“TIMUR “);}
else if(tenggara==aktif){lcd_gotoxy(0,1);lcd_putsf(“TENGGARA “);}
else if(selatan==aktif){lcd_gotoxy(0,1);lcd_putsf(“SELATAN “);}
else if(bd==aktif){lcd_gotoxy(0,1);lcd_putsf(“BARAT DAYA “);}
else if(barat==aktif){lcd_gotoxy(0,1);lcd_putsf(“BARAT “);}
else if(bl==aktif){lcd_gotoxy(0,1);lcd_putsf(“BARAT LAUT “);}
};
}

Arduino UNO reference code:
#define utara 2
#define tl 3
#define timur 4
#define tenggara 5
#define selatan 6
#define bd 7
#define barat 8
#define bl 9
void setup()
{
  Serial.begin(9600);
  pinMode(utara,INPUT_PULLUP);
  pinMode(tl,INPUT_PULLUP);
  pinMode(timur,INPUT_PULLUP);
  pinMode(tenggara,INPUT_PULLUP);
  pinMode(selatan,INPUT_PULLUP);
  pinMode(bd,INPUT_PULLUP);
  pinMode(barat,INPUT_PULLUP);
  pinMode(bl,INPUT_PULLUP);
}
void loop()
{
if(digitalRead(utara)==LOW){Serial.println(“ARAH ANGIN : UTARA”);}
else if(digitalRead(tl)==LOW){Serial.println(“ARAH ANGIN : TIMUR LAUT”);}
else if(digitalRead(timur)==LOW){Serial.println(“ARAH ANGIN : TIMUR”);}
else if(digitalRead(tenggara)==LOW){Serial.println(“ARAH ANGIN : TENGGARA”);}
else if(digitalRead(selatan)==LOW){Serial.println(“ARAH ANGIN : SELATAN”);}
else if(digitalRead(bd)==LOW){Serial.println(“ARAH ANGIN : BARAT DAYA”);}
else if(digitalRead(barat)==LOW){Serial.println(“ARAH ANGIN : BARAT”);}
else if(digitalRead(bl)==LOW){Serial.println(“ARAH ANGIN : BARAT LAUT”);}
}

Jual Sensor Arah Angin Murah

Harga : @ Rp 215.000,-

Cara pembelian klik Cara Beli

Advertisements

Form Order

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s