O`rnatilgan tizimlar 3-amali ish Talaba guruhi: 417-20 Bajardi: Ramziddinov Mohir Tekshirdi: Nurmurodov Javohir


Download 1.73 Mb.
bet4/4
Sana18.06.2023
Hajmi1.73 Mb.
#1575841
1   2   3   4
Bog'liq
ramzddinov mohir ornatilgan

simsiz aloqa. Va bu IR, RF, Bluetooth, WiFi va boshqalar yordamida uzatishga imkon beradigan modul yoki qurilmalarning bir turiga ega bo'lish bilan sodir bo'ladi. Ya'ni, sizning holatingizda qaysi turdagi signal eng mos kelishini bilish ehtiyojlari to'g'risida aniq ma'lumotga ega bo'lishingiz kerak.
Bu holda bizda a NRF24L01 bo'yicha qo'llanma Siz uchun. Bu sizga signal yuborish va qabul qilish uchun kerakli narsalarni taqdim etadigan simsiz aloqa chipidir. U boshqaradigan signallarning turi RF yoki radio chastotasi, ya'ni to'lqin uzunligining katta to'lqinlari va shuning uchun elektromagnit spektrda chastotasi 3 Hz dan 300 Gts gacha bo'lgan past energiya.



#include

// Pin 13 has an LED connected on most Arduino boards.


// give it a name:
int led = 13;

// the setup routine runs once when you press reset:


void setup() {
// initialize the digital pin as an output.
pinMode(led, OUTPUT);
}

// the loop routine runs over and over again forever:


void loop() {
digitalWrite(led, HIGH); // turn the LED on (HIGH is the voltage level)
delay(1000); // wait for a second
digitalWrite(led, LOW); // turn the LED off by making the voltage LOW
delay(1000); // wait for a second
}
Download 1.73 Mb.

Do'stlaringiz bilan baham:
1   2   3   4




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling