Posts

Showing posts from July, 2022

How to use ultrasonic sensor to triger buzzer alarm and hardwares with Ardiuno uno and c/c++ programming language.

Image
COMPONENTS AND SUPPLIES Arduino UNO × 1 USB-A to Mini-USB Cable × 1 Breadboard (generic) × 1 Buzzer × 1 Relay X 1 led x 2 Ultrasonic sensor x 1 ABOUT THIS PROJECT This is tutorial to help you understand ultrasonic and buzzer and go deeper into learning Arduino, follow these steps and give me feedback please. Step 1: Prepare your material and tools T 1 2 3 4 5 1. Test Board 2. Ultrasonic sensor 3. Arduino cable 4. +5V buzzer 5. Male to male pins 6. Arduino uno board 7. 2 led(red & green) 8.Relay(5v dc to 220v ac) Tools and materials are shown in the pictures. Step 2: Connect your circuit 1 2 Connect the Buzzer positive terminal to the Arduino pin 2 and the negative terminal to the Gnd.  Connect the VCC pin of ultrasonic to +5v pin and the Gnd to the ground. Connect trig pin to pin 10 and echo pin to pin 9. connect red led to the pin 3 on the ardiuno connect green led to the pin 4 on the ardiuno with 330kohms resistor connect the relay to the pin 5 on the ardiuno with 330kohms re...

How to create Quiz or cbt exam using,html,css and javascript

Image
  Good day guys!, We are creating another useful website application today. An online exam/quiz app. First of all,you will need to create a new folder on your computer, then name it as Quiz app. Therefore, follow all the listed steps bellow: Open notepad on your computer Create this three files: index.html style.css script.js Copy and past all the codes bellow in there respective files you just created. Do not forget to save all the files inside the folder which you created name (Quiz app) Navigate to the folder  Right click on the index.html file, click on open with google chrome or any browser  that you are using. Your app will work if you save all the files in the right place. Create index.html file <!DOCTYPE html> <html lang="en"> <head>   <meta charset="UTF-8">   <meta http-equiv="X-UA-Compatible" content="IE=edge">   <meta name="viewport" content="width=device-width, initial-scale=1.0"...

Home Automation using NodeMCU ESP8266 and Blynk 2.0(IOT)

Image
 Hello! guys,let us develop another real life project today. we are about to control any of our home electronics,lighting and power system with our  smart phone . We are using a diffrent micro controller with wifi module called NodeMCU ESP8266 to hook up all our connection to cloud . In addition, we are using Blynk 2.0 as our mobile app to control all the embeded system from our smart phones. THE WORK FLOW IS AS FOLLOWING: CODE<------>NodeMCU ESP8266<---->CLOUD<---->BLYNK2.0<------>RELAYS<-->LOADS<--->CODE Circuit of the Blynk NodeMCU Home Automation projects The circuit is very simple, I have used  D1, D2, D5 & D6  GPIO pins to control the 4-channel relay module. And the GPIO  SD3, D3, D7  &  RX  are connected with the switches to control the relay module manually. I have used the  INPUT_PULLUP  function in Arduino IDE instead of using the pull-up resistors with each switch. As per t...