Postingan

Menampilkan postingan dengan label Arduino

Final Project Arduino Autonomous Mobile Robots

Gambar
Dalam post perihal Arduino kali ini akan memaparkan video selesai project Kerja Lab Robotika untuk merancang sebuah autonomous mobile robot yang sanggup mendeteksi garis, mengukur jarak, serta mendeteksi benda lalu memindahkannya. Untuk mengukur jarak dan mendeteksi benda, dipakai sensor jarak ultrasonic HC-SR04, berikut link tutorial dalam Bahasa Inggris , sedangkan berikut yaitu tutorial untuk Bahasa Indonesia . Sementara untuk mendeteksi garis dipakai prinsip optocoupler . LED sebagai pemancar cahaya yang akan dipantulkan ke permukaan, lintasan. Intensitas cahaya yang dipantulkan kembali tergantung dari jenis permukaan. Pada permukaan lintasan yang berwarna cerah akan memantulkan cahaya, sedangkan permukaan gelap akan menyerap cahaya tersebut. Intensitas cahaya pantulan tersebut akan diterima oleh photodiode. Intensitas cahaya akan mempengaruhi konduktivitas photodiode, yang mana dirangkai dalam rangkaian pembagi tegangan. Tegangan output tersebut akan diolah sebagai input n...

Tutorial Arduino Komunikasi Serial Dengan Antarmuka Visual Studio C#

Gambar
Dalam tutorial Arduino kali ini akan mengulas wacana antarmuka (interfacing) Arduino dengan Visual Studio C#. Berikut ialah rangkaian sederhana Arduino untuk tutorial ini. Fungsi dari potentiometer dalam rangkaian tersebut untuk mengatur nilai tegangan input untuk Arduino. Potentiometer bekerja dengan prinsip pembagi tegangan, dimana terdapat kaki untuk sumber tegangan dihubungkan ke Vcc 5 volt Arduino, ground dihubungkan ke ground Arduino, dan data tegangan dihubungkan ke pin analog A3 Arduino. Nilai tegangan input diolah oleh ADC Arduino dan kemudian akan ditampilkan dengan antarmuka window form Visual Studio C#. Berikut ini ialah source code untuk Arduino membaca nilai ADC dan mengirimkan nilai tersebut melalui komunikasi serial ke antarmuka window form Visual Studio C#. /* Program membaca nilai ADC dengan serial Loki Lang */ void setup() {   Serial.begin(9600); } void loop() {   if (Serial.available())   {     int adc = analogRead(A3); ...

How To Connect Arduino With Ov7670 Camera Module

Gambar
OV7670 camera module is an image sensor, small size, low operating voltage, and provides all the features of the single-chip VGA camera and image processor. Users can fully control the image quality, data format and transmission mode. The process of image processing functions including gamma curves, white balance, saturation, chroma, and so can be programmed through the SCCB interface. OmmiVision image sensor applications unique sensor technology to improve image quality by reducing or eliminating the optical or electronic defect, such as fixed pattern noise, tail-blooming, clear and stable color image. Features Optical size 1/6 inches Resolution 640×480 VGA Onboard regulator, only single 3.3V supply needed Standard 0.1inch (2.54mm) pin pitch header connector Mounted with high quality F1.8 / 6mm lens Output support for Raw RGB, RGB (GRB 4:2:2, RGB565/555/444), YUV (4:2:2) and YCbCr (4:2:2) formats High sensitivity for low-light operation Low operating voltage for embedde...

Arduino And Esp8266 Basic Programming

Gambar
Overview ESP8266 is a highly integrated chip designed for the needs of a new connected world. It offers a complete and self-contained Wi-Fi networking solution, allowing it to either host the application or to offload all Wi-Fi networking functions from another application processor. ESP8266 has powerful on-board processing and storage capabilities that allow it to be integrated with the sensors and other application specific devices through its GPIOs with minimal development up-front and minimal loading during runtime. Its high degree of on-chip integration allows for minimal external circuitry, and the entire solution, including front-end module, is designed to occupy minimal PCB area. Source Code SoftwareSerial library is needed. #include <SoftwareSerial.h> #define SSID "xxxxxxxx" #define PASS "xxxxxxxx" #define DST_IP "220.181.111.85" SoftwareSerial dbgSerial(10, 11); // RX, TX void setup() {   Serial.begin(57600);   Serial.setTimeout...

Bluetooth Communication Arduino Hc-05 Basic Set Up

Gambar
The HC-05 is based on the EGBT-045MS Bluetooth module. It can operate as either a slave device or a master device. As a slave it can only accept connections. As a master it can initiate a connection. The EGBT-045MS Bluetooth modules is a 3.3v device. The HC-05 break out board has a 3.3v regulator that allows an input voltage of 3.6v to 6v but the TX and RX pins are still 3.3v. This means user can use the 5V out from the Arduino to power the boards but cannot connect the Arduino directly to the HC-05 RX pin. The HC-05 Bluetooth module is one of the most economical and easiest way to go wireless via Bluetooth. This module makes it easy for any user to wirelessly extend serial interface, so user can control any aktivitas running on Laptop with serial port interface. For the HC-05 RX pin user need to convert the Arduino's 5V to 3.3v. A simple way to do this is by using a voltage divider made from a couple of resistors. Since the Arduino will accept 3.3 volts as HIGH user can connect ...

Tutorial Install Linux Ubuntu Os Pcduino Windows Version

Gambar
Untuk pcDuino sendiri merupakan mini PC, yang dikembangkan dengan mencoba meliputi pasar baik single-board-computer menyerupai Raspberry Pi dan microcontroller development board Arduino. Nama pcDuino sendiri memang mengacu pada kombinasi antara PC dengan Arduino, yang bisa menjembatani open source operating system berbasis Linux dengan open hardware Arduino. Berikut ini yaitu tutorial dan tips untuk install kernel dan operating system pcDuino pada Windows. Software Kernel dan operating system serta informasi sanggup diperoleh pada link berikut Win32DiskImager Hardware pcDuino Adapter (rekomendasi) 5 volt 2 ampere microSD card (minimum 2GB), dengan adapter SD card Monitor dan kabel HDMI, bisa juga dengan kabel HDMI to VGA, menyesuaikan monitor yang digunakan Optional USB flashdisk (minimum 2GB) Langkah Kerja Secara default install operating system dilakukan pada NAND flash pcDuino. Namun pcDuino juga sanggup melaksanakan booting operating system (Ubuntu) baik melal...

How To Set Up The Dht11 Humidity Sensor On An Arduino

Gambar
The DHT11 humidity and temperature sensor is is capable of measuring relative humidity between 20 and 90% RH within the operating temperature range of 0 to 50°C, with an accuracy of ±5% RH. Additionally, temperature is measured in the range of 0 to 50°C, with an accuracy of ±2°C. Both values are returned with 8-bit resolution. The signaling used by the DHT sensor is similar to the 1-Wire protocol, but the response times differ. Additionally, there is no device serial number support. The DHT11 sensor also requires a power supply. In contrast, the signal line itself powers most 1-Wire peripherals. The datasheet states that the DHT11 can be powered by a range of voltages, from 3 V to 5.5 V. The device draws between 0.5 mA and 2.5 mA. Its standby current is stated as 100 mA to 150 mA, for those concerned about battery consumption. The sensor speaks only when spoken to by the master. The master must first make a request on the bus and then wait for the sensor to respond. The DHT sen...

Petunjuk Singkat Komunikasi Wireless Arduino Dengan Xbee S2

Gambar
Artikel ini hanya meliputi programming Arduino dengan XBee S2, tidak meliputi setting konfigurasi X-CTU. Table of Contents XBee S2 Arduino Contoh Pembacaan Packet Data Contoh Pembacaan Data Digital Contoh Pembacaan Data Analog Kesimpulan XBee S2 XBee S2 memakai protocol Zigbee dengan spesifikasi sebagai berikut. Operating voltage: 2.1 up to 3.6 volts Operating current: 40 mA at 3.3 volts Range: 40 meters (indoor), 120 meters (Line of Sight) Max analog pin reading: 1.2 volts Digital I/O pins: 11 Analog input pins: 4 Frequency: ISM 2.4 GHz RF data rate: 250 kbps Mesh routable Berdasarkan Digi selaku pembuatnya, XBee sanggup dipakai sebagai Coordinator, Router, maupun End Point Device. Coordinator Dalam setiap jaringan wajib mempunyai satu buah Coordinator yang harus selalu online. Coordinator (sesuai dengan namanya) berperan mengatur koordinasi jaringan. Router Router tidak wajib ada dalam jaringan, namun dalam suatu jaringan diizinkan untuk mempun...