Testing a Newly Buy ESP32 Board Using Arduino IDE (Arduino IDE භාවිතයෙන් අලුතින් මිලදී ගත් ESP32 පුවරුවක් පරීක්ෂා කිරීම)

by shakeeldhanushka in Circuits > Microcontrollers

345 Views, 1 Favorites, 0 Comments

Testing a Newly Buy ESP32 Board Using Arduino IDE (Arduino IDE භාවිතයෙන් අලුතින් මිලදී ගත් ESP32 පුවරුවක් පරීක්ෂා කිරීම)

SharedScreenshot.jpg

ESP 32 is a good platform for IOT projects. it can be programmed using Arduino IDE, Micropython like programming environments.

in this tutorial, we are going to check whether the newly bought ESP 32 controller is working or not.to test it out you need to have a LED , 220Ω resistor and some jumper wires,


ESP 32 යනු IOT ව්‍යාපෘති සඳහා හොඳ වේදිකාවකි. එය Arduino IDE, Micropython වැනි ක්‍රමලේඛන පරිසරයන් භාවිතයෙන් වැඩසටහන්ගත කළ හැක.

මෙම නිබන්ධනයේදී, අපි අලුතින් මිලදී ගත් ESP 32 පාලකය ක්‍රියා කරන්නේද නැද්ද යන්න පරීක්ෂා කිරීමට යන්නෙමු.එය පරීක්ෂා කිරීමට ඔබට LED, 220Ω ප්‍රතිරෝධකයක් සහ ජම්පර් වයර් කිහිපයක් තිබිය යුතුය,

Supplies

  • ESP 32 controller
  • LED
  • 220Ω resistor (220Ω ප්‍රතිරෝධකයක්)
  • jumper wires (ජම්පර් වයර් කිහිපයක්)
  • Arduino IDE 

Installing ESP 32 on Arduino IDE (Arduino IDE මත ESP 32 ස්ථාපනය කිරීම)

follow this tutorial to install the ESP 32 board in Arduino.

Arduino හි ESP 32 පුවරුව ස්ථාපනය කිරීමට මෙම නිබන්ධනය අනුගමනය කරන්න.

click here

Build the Circuit and Upload the Code(පරිපථය ගොඩනඟා කේතය උඩුගත කරන්න)

SharedScreenshotk.jpg

build the circuit as in the above diagram, you can use any color LED (or can use the LED installed on board ).

Then, upload the code to the board. if the board is working, then the LED will blink (turn on and off) with a 1sec time intervals.

ඉහත රූප සටහනේ පරිදි පරිපථය සාදන්න, ඔබට ඕනෑම වර්ණ LED භාවිතා කළ හැකිය (නැතහොත් පුවරුවේ ස්ථාපනය කර ඇති LED භාවිතා කළ හැකිය).

ඉන්පසු, කේතය පුවරුවට උඩුගත කරන්න. පුවරුව ක්‍රියා කරන්නේ නම්, තත්පර 1 කාල පරතරයකින් LED දැල්වෙයි (on and off).


const int ledpin = 2;
//you can use any identifier and/or any pin 
void setup() {
  pinMode (ledpin, OUTPUT);
  // this will run only once:


}


void loop() {
digitalWrite(ledpin, HIGH);
delay(1000);
digitalWrite(ledpin, LOW);
delay(1000);
  // put your main code here, to run repeatedly:


}


Downloads