Wednesday 2 August 2023

Tutorial 12: Bagaimana Upload Code IOT Blynk 2.0 Guna Board ARDUINO MEGA

 




Berikut saya akan tunjukkan video bagaimana untuk Setup libary dan upload code ARDUINO MEGA dgn BLYNK 2.0 anda dengan menggunakan Software Arduino IDE 1.8.X ( LATEST VERSION ).












Sunday 30 July 2023

Tutorial 13: Bagaimana Upload Code IOT Telegram Guna Board ESP32

  




Berikut saya akan tunjukkan video bagaimana untuk Setup libary dan upload code ESP32 dgn Telegram anda dengan menggunakan Software Arduino IDE 1.8.X ( LATEST VERSION ).








Friday 15 October 2021

Tutorial 11: Bagaimana Upload Code IOT Blynk 2.0 Guna Board ESP32





Berikut saya akan tunjukkan video bagaimana untuk Setup libary dan upload code ESP32 dgn BLYNK 2.0 anda dengan menggunakan Software Arduino IDE 1.8.X ( LATEST VERSION ).


  1. Open Arduino IDE
  2. Go to File > Preference
  3. Copy this > https://dl.espressif.com/dl/package_esp32_index.json 
  4. Paste it at the box (besides Additional Boards Manager)
  5. Go to Tools > Board > Boards Manager > search “esp32” by Espressif Systems > Install
  6. Go to Sketch > Include Library > Manage Libraries
  7. Search “Blynk version 0.6.1” by Volodymyr Shymanskyy > Install
  8. I prefer that you restart your Arduino IDE
  9. Go to Tools > Board > Your ESP32 Board Type (usually Esp32 Dev Module)

You’re done.



 










Tuesday 3 July 2018

Tutorial 10 : Software untuk FTDI to USB ttl

Jika anda menggunakan board seperti gambar dibawah,anda perlu install driver yg diberikan di bawah ini terlebih dahulu


Klik link di bawah :


Connections

1.Sambung seperti diagram di atas.
2 Buat pilihan berikut pada arduino IDE



  1. Arduino IDE -> Tools -> Board -> Arduino Pro or Pro Mini
  2. Arduino IDE -> Tools -> Processor -> ATmega328 (5V, 16 MHz)
  3. Arduino IDE -> Tools -> Port -> in Windows you should see comX (X is a number)
  4. Arduino IDE -> Tools -> Programmer -> AVRISP mkII

Friday 14 April 2017

Tutorial 8: Bagaimana menguji sensor LM35

Berikut adalah cara menguji sensor LM35 Temperature Sensor

Step 1:
Sambungkan wiring:

 LM35 output pada pin A0 arduino
5v pada 5v Arduino
0v pada ground Arduino


Step 2:

Copy dan Paste Coding Dibawah:
///////////////////////////////////////////////////////start///////////////////////////

int reading = 0;
int sensorPin = A0;
 
void setup()
{
Serial.begin(9600);

}
 
void loop()
{
reading = analogRead(sensorPin);
int celsius = reading/2;
        Serial.print("Temperature:");
        Serial.println(celsius, DEC);

delay(500);

}
//////////////////////////////////////////////////////////////end//////////////////////////////////////

Step 3.Buka Serial Terminal dan lihat keputusannya

Step 4.Panaskan sensor dengan lighter dan lihat suhu nya berubah pada serial terminal.


Monday 14 November 2016

Tutorial 7:Cara menguji LCD dan Arduino


Untuk tutorial projek elektronik pada kali ini,saya akan menunjukkan untuk menguji LCD.Dengan cara ujian ini,anda dapat menentukan point dibawah ini.

  • Wiring Arduino ke LCD adalah betul
  • Cable Arduino ke LCD dalam keadaan Baik
  • Arduino anda dalam keadaan baik
  • LCD anda dalam keadaan baik
Langkah 1 :

Sambung LCD dan Arduino seperti gambarajah dibawah :


Setelah selesai wiring,copy dan paste program di bawah:

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

/*
  LiquidCrystal Library - Hello World

 Demonstrates the use a 16x2 LCD display.  The LiquidCrystal
 library works with all LCD displays that are compatible with the
 Hitachi HD44780 driver. There are many of them out there, and you
 can usually tell them by the 16-pin interface.

 This sketch prints "Hello World!" to the LCD
 and shows the time.

 Library originally added 18 Apr 2008
 by David A. Mellis
 library modified 5 Jul 2009
 by Limor Fried (http://www.ladyada.net)
 example added 9 Jul 2009
 by Tom Igoe
 modified 22 Nov 2010
 by Tom Igoe

 This example code is in the public domain.

 http://www.arduino.cc/en/Tutorial/LiquidCrystal
 */

// include the library code:
#include <LiquidCrystal.h>

// initialize the library with the numbers of the interface pins
LiquidCrystal lcd(8, 9, 10, 11, 12, 13);

void setup() {
  // set up the LCD's number of columns and rows:
  lcd.begin(16, 2);
  // Print a message to the LCD.
  lcd.print("hello, world!");
}

void loop() {
  // set the cursor to column 0, line 1
  // (note: line 1 is the second row, since counting begins with 0):
  lcd.setCursor(0, 1);
  // print the number of seconds since reset:
  lcd.print(millis() / 1000);
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

Anda sepatutnya melihat tulisan hello world pada LCD anda. Jika tiada tulisan,Mesti buat bagi ada.Tukarlah apa yang patut .