Arduino/Genuine Uno is a microcontroller board based on the ATmega328P. It has 14 digital input/output pins (of which 6 can be used as PWM outputs), 6 analog inputs, a 16 MHz quartz crystal, a USB connection, a power jack, an ICSP header, and a reset button. It contains everything needed to support the microcontroller. Simply connect it to a computer with a USB cable or power it with an AC-to-DC adapter or battery to get started.
HC-05 is the best Bluetooth device that uses a UART communication protocol. The HC-05 Bluetooth is much different in features from all other Bluetooth devices because of its multiple pins and their functions. It has multiple pins for different methods which makes it unique compared to others. The module normally operates at UART serial communication with TX and RX pins at 9600 baud rates. It offers a two-way communication method and the HC-05 can act as either slave or master.
The L298N is a dual H-Bridge motor driver that allows speed and direction control of two DC motors simultaneously. The module can drive DC motors that have voltages between 5 and 35V, with a peak current up to 2A.
A DC motor is any of a class of rotary electrical motors that converts direct current electrical energy into mechanical energy. The most common types rely on the forces produced by magnetic fields. Nearly all types of DC motors have some internal mechanism, either electromechanical or electronic, to periodically change the direction of current in a part of the motor.
char c;
void setup() {
pinMode(13,OUTPUT); //left motors forward
pinMode(12,OUTPUT); //left motors reverse
pinMode(11,OUTPUT); //right motors forward
pinMode(10,OUTPUT); //right motors reverse
pinMode(9,OUTPUT); //Led
Serial.begin(9600);
}
void loop() {
if(Serial.available()){
c = Serial.read();
Serial.println(t);
}
if(t == 'F'){ //move forward(all motors rotate in forward direction)
digitalWrite(13,HIGH);
digitalWrite(11,HIGH);
}
else if(t == 'B'){ //move reverse (all motors rotate in reverse direction)
digitalWrite(12,HIGH);
digitalWrite(10,HIGH);
}
else if(t == 'L'){ //turn right (left side motors rotate in forward direction, right side motors doesn't rotate)
digitalWrite(11,HIGH);
}
else if(t == 'R'){ //turn left (right side motors rotate in forward direction, left side motors doesn't rotate)
digitalWrite(13,HIGH);
}
else if(t == 'W'){ //turn led on or off)
digitalWrite(9,HIGH);
}
else if(t == 'w'){
digitalWrite(9,LOW);
}
else if(t == 'S'){ //STOP (all motors stop)
digitalWrite(13,LOW);
digitalWrite(12,LOW);
digitalWrite(11,LOW);
digitalWrite(10,LOW);
}
delay(100);
}
//For the controller application, use any open source app.
Keep in touch with our social media links as mentioned below
Mifratech Note: Find the best solution for electronics components and technical projects ideas
Contact for more information: [email protected] / 080-73744810 / 9972364704
mifratech instagram : https://www.instagram.com/mifratech/
mifratech twitter account : https://twitter.com/mifratech
https://www.mifratech.com/public/
https://www.mifratech.com/public/
https://www.facebook.com/mifratech.lab
https://twitter.com/mifratech
#bestelectroniccomponentsnearme #bestcomponentsshoparoundme #topeelectroniccomponentsshop
#lcdinterfacingwithaurduinouno #lcdinterfacingwithnano #lcdinterfacingwithnodemcu #lcdinterfacingwithraspbeerpi #lcdinterfaingwithnodemcuinbreadeboard #microsdcardmodule
#allengineeringstudentsprojectscomponentsavailable #wholesalepricecomponents #allelectroniccomponentsavailable #bestpricecomponentsstore #allroboticcomponentsavailable #allelectronicscomponentsavailablelike #ARDUINO UNO #RASPBERRYPI #ESP32 #ESP8266 #RFIDMODULERC522 #4X4KEYPAD #microsdcardmodule #cp2102 #arduinopromini #nodemcu #drivercircuit #vibrationsensor #rainsensor #bmp180 #bmp280interfacingwitharduino #ADXL335ACCELEROMETER #soundsensor #5voltsadapter #12voltsadapters #wifismartcamera #moistersensor #watersensor #eyeblinksensor #ultrasonicsensorhcsr04 #currentsensor #voltagesensor #ecgsensormoduleAD8232 #PIRsensor #IRsensor #irproximitysensor #DS18B20tempraturesensor #dht22tempraturesensor #dht11temperaturesensorandhumiditysensor #flamesensor #touchsensor #fluxsensor #allsensorsavailablesofthisstore #9voltsbattery #9voltsbatteryclip #lithineumbatterycell #3.7lithiniumbattery #duresellbattery #16x2LCDdisplay #20x4LCDdisplay #I2Cmodule #LCDkeypadshield #DC-DCconverter #ultrasonicholder #0.98OLEDdisplay #rotaryencoder #12voltsbuzzer #5voltsbuzzer #gassensor #metaldetectorsensor #1channelrelaymodule #2channelrelaymodule #4channelrelaymodule #8channelrelaymodule #16channelrelaymodule #allvaluesofresistor #allvaluesofcapacitors #allvaluesofmosfet #allvaluesofIC`s #3mmleds #flowratesensor #pumpsensormodule #allvaluesofdcmotors #bomotors #bowheels #roboticmotors #roboticwheels #roboticchassis #roboticclamps #roboticscrow #allkindofroboparts #jumperwires #generalpurposewire #solderingirin #solderinglead #solderingflux #multimeter #glowgun #glowstick #cutter #tipesofpushbutton #slidebutton #onofbutton #tongleswitches #alltypesofswitches #alltypesofarduinocables #alltypesofcables #allsizeofsolarpanels #scrowdriverset #complatelyelectroniccomponentsstore