top of page

Search Results

143 items found for ""

  • Line Follower Bot using Arduino Uno

    In this project based on black line follower and white surface. The line follower is an automated self-driven vehicle in which follows the line. In general, there are two types of line follower. one is a black line follower which follows the black line and the second is a white line follower which follows the white line. Line follower actually senses the line and follows it. These types of line followers are used in the industries, food restaurants for food delivery, the medical field for transmitting the medicine to the required patients, etc. Circuit Diagram: Components: Arduino Uno - 1 Infrared Obstacle Avoidance IR Sensor - 2 L298N Motor driver module - 1 2WD Car chassis kit -1 9V battery - 1 For Programmed ardunio Uno & Price: https://www.dofbot.com/product-page/arduino-based-line-follower-bot-using-ir Explanation IR Sensor has three terminals, two terminals for power supply and one terminal for Output. Additionally, there is a potentiometer to calibrate the sensor. An IR sensor contains IR LED and a photodiode. The IR LED will be continuously emitting the IR rays and the photodiode will act as a receiver to the IR rays emitted by the IR LED. Whenever the IR rays emitted by the IR LED hits an object (Note: the surface shouldn’t be black color), the rays are reflected back. If the photodiode receives the IR rays emitted by the IR LED, then the output of the IR sensor is digital high. If the photodiode doesn’t receive any IR rays emitted by the IR LED, then the output will be digital low. When it comes to the operating voltage of the IR sensor, it operates on 5V and the output of the IR sensor module is either 5V (high) or 0V (low). The concept of working of line follower is related to light. We use here the behavior of light at the black and white surfaces. When light falls on a white surface it is almost fully reflected and in the case of a black surface light is completely absorbed. This behavior of light is used in building a line follower robot Arduino UNO is the main controller in the project. The data from the sensors (IR Sensors) will be given to Arduino and it gives corresponding signals to the Motor Driver IC. L293D Motor Driver module IC is used in this project to drive the motors of the robot. It receives signals from Arduino based on the information from the IR Sensors. Program Code: At first, we will define the pins, which will make our coding easy. The pins which are connected to enable pins of the L293D module is called en1 or en2. The pins connected to the input pins of the L293D are defined as Left motot T1, Left motor T2, Right motot T1,Right motor T2 pins. The sensor, which is connected to the right side of the line follower is called Right sensor and the sensor which is connected to the left side is called the Left sensor. Subscribe Arduino code: #define Leftsensor 9 // left sensor #define Rightsensor 2 // right sensor #define LeftMotorT1 10 // left motor #define LeftMotorT2 11 // left motor #define RightMotorT1 3 // right motor #define RightMotorT2 4 // right motor void setup() { pinMode(Leftsensor, INPUT); pinMode(Rightsensor, INPUT); pinMode(LeftMotorT1, OUTPUT); pinMode(LeftMotorT2, OUTPUT); pinMode(RightMotorT1, OUTPUT); pinMode(RightMotorT2, OUTPUT); } void loop() { // Move Forward if(digitalRead(Leftsensor) && digitalRead(Rightsensor)) { digitalWrite(LeftMotorT1, HIGH); digitalWrite(LeftMotorT2, LOW); digitalWrite(RightMotorT1, HIGH); digitalWrite(RightMotorT2, LOW); } // Turn right if(!(digitalRead(Leftsensor)) && digitalRead(Rightsensor)) { digitalWrite(LeftMotorT1, LOW); digitalWrite(LeftMotorT2, LOW); digitalWrite(RightMotorT1, HIGH); digitalWrite(RightMotorT2, LOW); } // turn left if(digitalRead(Leftsensor) && !(digitalRead(Rightsensor))) { digitalWrite(LeftMotorT1, HIGH); digitalWrite(LeftMotorT2, LOW); digitalWrite(RightMotorT1, LOW); digitalWrite(RightMotorT2, LOW); } // stop if(!(digitalRead(Leftsensor)) && !(digitalRead(Rightsensor))) { digitalWrite(LeftMotorT1, LOW); digitalWrite(LeftMotorT2, LOW); digitalWrite(RightMotorT1, LOW); digitalWrite(RightMotorT2, LOW); } } Applications of Line Follower Robot Line follower Robots are commonly used for automation process in industries, military applications and consumer applications. They are very useful as they can work without any supervision i.e. they work as automatic guided vehicles. With additional features like obstacle avoidance and other security measures, line follower robots can be used in driver less cars. Demo: Subscribe Pay and get arduino code.

  • Parallel Resistance calculation in Android application

    Resistors are in parallel when their two terminals connect to the same nodes. Resistors are often connected in series or in parallel for creating more complex networks. The voltage across resistors in parallel will be the same for each resistor. But, the current will be in proportion to the resistance of each individual resistor. The purpose of finding the equivalence resistance is that we can replace any number of resistors connected in a parallel combination by the equivalent resistance of the parallel combination resistors. If two or more resistors are connected in parallel, then the potential difference across all the resistors is the same. Resistors in parallel connection are connected to the same nodes from both ends. This can be identified by the presence of more than one way for the current to flow. The potential difference across the resistors is the same as that across the resistor which is equal to the supply potential. Resistors in Parallel: case 1. Consider the following circuit where four resistors R1, R2, R3 and R4 are connected in parallel: Case2: Consider the following circuit where four resistors R1, R2 and R3 are connected in parallel: case3. Consider the following circuit where four resistors R1 and R2 are connected in parallel: Case4. Consider the following circuit where four resistor R1 The total current in the circuit can be calculated by two methods. First method is to calculate individual currents flowing through each resistor. The supply voltage is V, If I1 is the current flowing through the resistor R1, then according to Ohm’s law I1 = V / R1 Similarly if I2 is the current flowing through the resistor R2, then according to Ohm’s law I2 = V / R2 If I3 is the current flowing through the resistor R3, then according to Ohm’s law I3 = V / R3 And if I4 is the current flowing through the resistor R4, then according to Ohm’s law I4 = V / R4 If I (t) is the total current in the circuit, then according to Kirchhoff’s Current law, I(t) = I1 + I2 + I3 + I4 The equivalent resistance R(t) of the circuit is 1/R(t) = (1/ R1) + (1/R2) + (1/ R3) + (1/R4) This single resistor can be used to replace all the resistors in the parallel combination. ∴ I(t) = V/R(t) Creating android application for parallel resistance calculation. Screen1: Case 1 Screen1: Case 2 Screen1: Case 3 Screen1: Case 3 Main Page: The below blocks for in which parallel circuit is taken for calculation. i.e. case 1, Case2, Case3, Case4 using the check box. Initialize the input varailble and math block for calculation as mention above. Applications The concept of resistors in parallel is used in the analysis of Wheatstone bridge circuit. Resistors in parallel combination act as Current Divider Circuit. This current divider concept is use full in applications like Analog to Digital Converters and Digital to Analog Converters. Demo: download app: https://drive.google.com/file/d/1ouc6GGwaJfUCDXrsFMKHjhcmfmz-8gnu/view?usp=sharing

  • Android Game using Parabolic Trajectory

    Projectile motion is a form of motion where an object moves in a bilaterally symmetrical, parabolic path. The path that the object follows is called its trajectory. Projectile motion only occurs when there is one force applied at the beginning on the trajectory, after which the only interference is from gravity. What are the Key Components of Projectile Motion? The key components that we need to remember in order to solve projectile motion problems are: Initial launch angle, θ Initial velocity, u Time of flight, T Acceleration, a Horizontal velocity, Vx Vertical velocity, Vy Displacement, d Maximum height, H Range, R Parabolic Trajectory We can use the displacement equations in the x and y direction to obtain an equation for the parabolic form of a projectile motion: Let in time t, horizontal distance travelled by object is x and vertical distance travelled is y.For horizontal motion: Since the velocity of object in horizontal direction is constant hence horizontal acceleration ax​ will also be zero. The position of object in horizontal direction at any time t is given by: x=x0​+ux​t+1/2ax​t2 where, x0​=0 (distance covered at t=0)  ax​=0 ux​=ucosθ Hence, x=0+ucosθt+1/2(0)t2=ucosθ t=x/(ucosθ) ..................eq(1) For vertical motion: Since, the velocity of object in vertical direction is decreasing due to gravity. Hence, vertical acceleration: ay​=−g The position of object in vertical direction at any time t is given by: y=y0​+uy​t+1/2ay​t2 where, y0​=0 (distance covered at t=0) ay​=−g uy​=usinθ Hence, y=0+usinθt+1/2(−g)t2 y=usinθt−1/2gt2 .........eq(2) This is the expression to calculate the height Y as a function of the distance X. g = 9.8 m / s The angle in degrees. We put the speed in km / h using the Slider, but then we divide it by 3.6 to pass it at m / s. If y <= 0, it is on the ground. For the Clock. The Ball moves in the X and Y coordinates. In addition, a trajectory line is drawn. - Notice that the Y ordinate evolves from top to bottom, that's why I have put [200 - Y] to draw its points. Try other values ​​with the dimensions of your mobile USING THE SLIDER. Creating the Android Application for the Parabolic equation is given below: Screen 1. Screen 1. Download app: https://drive.google.com/file/d/1miEvbpfcJEUb7KClsKyg8inaRYLdCvBP/view?usp=sharing Main page Math block for the equation ======================================================================= Creating the Android Application for the Parabolic SHOT GAME is given below: Scree1: Scree1: Main Page: Math block for the equation: Demo: Download app: https://drive.google.com/file/d/1XOrTwHwcMkoxmrYM-a460IzVYQhFW2eP/view?usp=sharing

  • Quadratic Equation using Android Application.

    A Quadratic Equation is usually written ax2 + bx + c = 0, where x is an unknown variable and a,b,c are numerical coefficients Here, a ≠ 0 because if it equals to zero then the equation will not remain quadratic anymore and it will become a linear equation, such as bx+c=0. where ± (one plus and one minus) represent two distinct roots of the given equation. Quadratic Equation Definition The polynomial equation whose highest degree is two, is called a quadratic equation. It is expressed in the form of: ax² + bx + c = 0 where x is the unknown variable and a, b and c are the constant terms. Since the quadratic include only one unknown term or variable, thus it is called uni-variate. The power of variable x are always non-negative integers, hence the equation is a polynomial equation with highest power as 2. The solution for this equation is the values of x, which are also called as zeros. Zeros of the polynomial are the solution for which the equation is satisfied. In the case of quadratics, there are two roots or zeros of the equation. And if we put the values of roots or x in the Left-hand side of the equation, it will equal to zero. Therefore, they are called zeros. Solution of Quadratics by Factorization Begin with a equation of the form ax² + bx + c = 0 Ensure that it is set to adequate zero. Factor the left-hand side of the equation by assuming zero on the right-hand side of the equation. Assign each factor equal to zero. Now solve the equation in order to determine the values of x. Creating android application: screen 1: Main Page The Below Blocks for Input Initialize and Math block for formula for Quadratic equation. Applications of Quadratic Equation Many real-life word problems can be solved using quadratic equations. While solving word problems, some common quadratic equation applications include speed problems and Geometry area problems. Solving the problems related to finding the area of quadrilateral such as rectangle, parallelogram and so on Solving Word Problems involving Distance, speed, and time, etc., Demo: Download app: https://drive.google.com/file/d/1EyUCdOk0eEvBCo37PAmKTUnhz9ICIaXu/view?usp=sharing

  • The Ohm’s Law in Android application

    Ohm’s principal discovery was that the amount of electric current through a metal conductor in a circuit is directly proportional to the voltage impressed across it, for any given temperature. Ohm expressed his discovery in the form of a simple equation, describing how voltage, current, and resistance interrelate: E=IR In this algebraic expression, voltage (E) is equal to current (I) multiplied by resistance (R). Using algebra techniques, we can manipulate this equation into two variations, solving for I and for R, respectively: I=E/R ; R=E/I Analyzing Simple Circuits with Ohm’s Law Let’s see how these equations might work to help us analyze simple circuits: In the above circuit, there is only one source of voltage and only one source of resistance to current. This makes it very easy to apply Ohm’s Law. If we know the values of any two of the three quantities (voltage, current, and resistance) in this circuit, we can use Ohm’s Law to determine the third. Creating android app for Ohm's law Mobile screen: Main page Slider block for Voltage adjustment Math block for Ohm's Law Initialize Block for Input variables: Slider block for resistance adjustment: Ohm’s Law Applications The main applications of Ohm’s law are: To determine the voltage, resistance or current of an electric circuit. Ohm’s law is used to maintain the desired voltage drop across the electronic components. Ohm’s law is also used in dc ammeter and other dc shunts to divert the current. Limitations of Ohm’s Law Following are the limitations of Ohm’s law: Ohm’s law is not applicable for unilateral electrical elements like diodes and transistors as they allow the current to flow through in one direction only. For non-linear electrical elements with parameters like capacitance, resistance etc the voltage and current won’t be constant with respect to time making it difficult to use Ohm’s law. Demo: download app: https://drive.google.com/file/d/1p6J9clhBO0TcHUFPvYQb8cYwJzZFy1wP/view?usp=sharing

  • Series RLC Circuit Analysis using Android application

    Series RLC circuits consist of a resistance, a capacitance and an inductance connected in series across an alternating supply. Calculate Inductive Reactance, XL.,Capacitive Reactance, XC, Circuit Impedance, Z, phase angle α. and the resonance frequency, fr in a RLC circuit. In a series RLC circuit there becomes a frequency point were the inductive reactance of the inductor becomes equal in value to the capacitive reactance of the capacitor. In other words, XL = XC. The point at which this occurs is called the Resonant Frequency point, ( ƒr ) of the circuit, and as we are analysing a series RLC circuit this resonance frequency produces a Series Resonance. Series Resonance circuits are one of the most important circuits used electrical and electronic circuits. They can be found in various forms such as in AC mains filters, noise filters and also in radio and television tuning circuits producing a very selective tuning circuit for the receiving of the different frequency channels. Consider the simple series RLC circuit below. formula: Inductive reactance, XL Capacitive reactance, XC Circuit Impedance, Z. The phase angle α The resonant frequency, ƒr Creating android Application: In design of android application, the output to be saved in label, refer below block for creating calculated output for above formula as applied.. The Input value to be varied by using slider control and default thump position also marked in the properties. Screen Example 1: Screen Example 2: Screen Example 3: Screen Example 4: Screen Example 5: Main Page First Iniatialize the Components and adding the slider for adjusting the value, refer below blocks. The below blocks for the calculation for Inductive Reactance, XL.,Capacitive Reactance, XC, Circuit Impedance, Z, phase angle α. and the resonance frequency, fr. Demo: Download App: https://drive.google.com/file/d/1kQcXisk9REOry9TOSjAYkRKBALlu1qKd/view?usp=sharing

  • Gesture Controlled Bot Using arduino & Bluetooth (Two way control)

    To make a car that can be controlled using the accelerometer in a android phone. We can use the data from the accelerometer and transmit it to arduino using bluetooth module HC-05. It will help you in building a gesture based android controlled robot without any experience in android app development by providing you the free android app. The communication between the robot and the android application is carried over by the Bluetooth link between the phone’s Bluetooth and the Bluetooth device in the Robot. The ASCII commands are sent from the phone to the Robot which in turn checked by the Arduino for the control of the wheels according to the commands to move the robot in the desired direction. The Following parts are required for this project: 1) Arduino Uno R3 2) HC-05 or HC-06 3) Chassis With Motors 4) Breadboard 5) L293D Motor Driver Board 6) 9V Batteries with battery Caps (2 battery and 2 caps) 7) Jumper Cables 8) Android Phone for controlling the bot Make the circuit as is given by the circuit diagram. Make the robot assembly with your selected parts and connect the motors to the circuit. 1) The VCC of HC-05 to 5V of Arduino 2) The GND of HC-05 to GND of Arduino 3) The TX of HC-05 to RX of Arduino (Digital power pin 0) 4) The RX of HC-05 to TX of Arduino (Digital power pin 1) Then Power on the Arduino. The HC-05 should power up if all connections are perfect. The LED on the HC-05 Module will continuously blink which means the device is now discoverable. Go to the settings of the Android phone search for bluetooth. Make sure your device is discoverable. The default name of the module is HC-05 and the default password is 1234. Pair the device with your phone. If paired Successfully you will see a change in the blinking of the LED on HC-05 Module. The LED will blink less frequently if the device is paired Successfully. We are using L293D Motor driver Board because arduino only gives a output of 5V from the digital pins. 5V are not enough to run 2 DC motors. L293D Motor driver board gives us the option to supply power to the motors externally using a battery. If you look at the L293D carefully you will find 4 Pins for output and 4 Pins for input. Connect the Output Pins to the motors and input pins will later be connected to the arduino. There Will Also Be A Set Of Pins + and - Which Need To Be Powered By External 9V Battery. Arduino Can be easily be programmed by using its IDE. refer arduino iDE installion project in previous post in our website. const int motor1Pin1 = 3; const int motor1Pin2 = 4; const int motor2Pin1 = 10; const int motor2Pin2 = 11; byte serialA; void setup() { // initialize the serial communication: Serial.begin(9600); //baud rate - make sure it matches that of the module you got: // initialize the ledPin as an output: pinMode(motor1Pin1, OUTPUT); pinMode(motor1Pin2, OUTPUT); pinMode(motor2Pin1, OUTPUT); pinMode(motor2Pin2, OUTPUT); } void loop() { if (Serial.available() > 0) {serialA = Serial.read();Serial.println(serialA);} switch (serialA) { case 0: digitalWrite(motor1Pin1, LOW); digitalWrite(motor1Pin2, LOW); digitalWrite(motor2Pin1, LOW); digitalWrite(motor2Pin2, LOW); break; case 1: digitalWrite(motor1Pin1, HIGH); digitalWrite(motor1Pin2, LOW); digitalWrite(motor2Pin1, HIGH); digitalWrite(motor2Pin2, LOW); break; case 2: digitalWrite(motor1Pin1, LOW); digitalWrite(motor1Pin2, HIGH); digitalWrite(motor2Pin1, LOW); digitalWrite(motor2Pin2, HIGH); break; case 3: digitalWrite(motor1Pin1, LOW); digitalWrite(motor1Pin2, LOW); digitalWrite(motor2Pin1, HIGH); digitalWrite(motor2Pin2, LOW); break; case 4: digitalWrite(motor1Pin1, HIGH); digitalWrite(motor1Pin2, LOW); digitalWrite(motor2Pin1, LOW); digitalWrite(motor2Pin2, LOW); break; } } ANDROID APPLICATION The Android app developers generally use JAVA language, but this Android app can also build without knowing the Java language. This app was developed in the online Development Environment which is developed by MIT called “App Inventor”. This app inventor is specially designed for Block programmers those who don’t know the JAVA language. The app shown below has buttons and all the buttons give different bytes in the output that has to be sent to the Arduino using Bluetooth for processing. For eg. if we press forward button, the Bluetooth Module will give 1 byte at its output, which is received by the Arduino to process the byte and take necessary action. The app consists of the option to use the accelerometer of the Android phone or to use the buttons to control the Robot. You can find tutorials related to the App inventor in its website. Step1: Step2: Step3: Step4: Step5: Step6: Step7: Step8: Demo: download app: https://drive.google.com/file/d/17VMHbsEUSGCthyf3IziY06zqpQQ3m8S7/view?usp=sharing Subscribe and Download code.

  • Arduino IDE installation

    The open-source Arduino Software (IDE) makes it easy to write code and upload it to the board. This software can be used with any Arduino board. The Arduino IDE can be used on Windows, Linux (both 32 and 64 bits), and Mac OS X. we’re ready to download the free software known as the IDE. You can find the latest version of this software on the Arduino IDE download page. To install the software, you will need to click on the link that corresponds with your computer’s operating system. Once the software has been installed on your computer, go ahead and open it up. This is the Arduino IDE and is the place where all the programming will happen. Take some time to look around and get comfortable with it. Connect Your Arduino Uno At this point you are ready to connect your Arduino to your computer.  Plug one end of the USB cable to the Arduino Uno and then the other end of the USB to your computer’s USB port. Once the board is connected, you will need to go to Tools then Board then finally select Arduino Uno. Next, you have to tell the Arduino which port you are using on your computer. To select the port, go to Tools then Port then select the port that says Arduino. Arduino Project 1: Blink an LED It’s finally time to do your first Arduino project.  In this example, we are going to make your Arduino board blink an LED. If you need a refresher on the parts of the Arduino or how a breadboard works, check out our previous tutorial called Arduino For Beginners. Required Parts Arduino Uno Board Breadboard – half size Jumper Wires USB Cable LED (5mm) 220 Ohm Resistor Connect The Parts You can build your Arduino circuit by looking at the breadboard image above or by using the written description below.  In the written description, we will use a letter/number combo that refers to the location of the component.  If we mention H19 for example, that refers to column H, row 19 on the breadboard. Step 1 –Wiring as per the Circuit diagram Step 2 – Connect the Arduino Uno to your computer via USB cable Upload The Blink Sketch Now it’s time to upload the sketch (program) to the Arduino and tell it what to do.  In the IDE, there are built-in example sketches that you can use which make it easy for beginners. To open the blink sketch, you will need to go to File > Examples > Basics > Blink OR Code here void setup() { // initialize digital pin LED_BUILTIN as an output. pinMode(LED_BUILTIN, OUTPUT); } // the loop function runs over and over again forever void loop() { digitalWrite(LED_BUILTIN, HIGH); // turn the LED on (HIGH is the voltage level) delay(1000); // wait for a second digitalWrite(LED_BUILTIN, LOW); // turn the LED off by making the voltage LOW delay(1000); // wait for a second } Next, you need to click on the verify button (check mark) that’s located in the top left of the IDE box.  This will compile the sketch and look for errors.  Once it says “Done Compiling” you are ready to upload it.  Click the upload button (forward arrow) to send the program to the Arduino board. The built-in LEDs on the Arduino board will flash rapidly for a few seconds and then the program will execute.  If everything went correctly, the LED on the breadboard should turn on for a second and then off for a second and continue in a loop. Great! Congrats!  You just completed your first Arduino project. ============================================================================= Arduino Project 2: LED w/ Switch Now it’s time to talk switches and how they can be incorporated into Arduino projects.  A switch is a electrical component that completes a circuit when pushed and breaks the circuit when released.  In this project, we will be using a pushbutton switch to control an LED. Required Parts Arduino Uno Board Breadboard – half size Jumper Wires USB Cable LED (5mm) Push button switch 10k Ohm Resistor 220 Ohm Resistor Connect The Parts You can build your Arduino circuit by looking at the breadboard image above or by using the written description below.  In the written description, we will use a letter/number combo that refers to the location of the component.  If we mention H19 for example, that refers to column H, row 19 on the breadboard. Step 1 –Wiring as per the Circuit diagram Step 2 – Connect the Arduino Uno to your computer via USB cable Upload The Switch Sketch Now it’s time to upload the sketch to the Arduino that will allow us to use a switch.  As with the blink sketch, there are example programs already loaded in the Arduino IDE that we will be using. In order to use a switch, we have to load the file called “Button” which can be found here:  File > Examples > Digital > Button OR Code here const int buttonPin = 2; // the number of the pushbutton pin const int ledPin = 13; // the number of the LED pin // variables will change: int buttonState = 0; // variable for reading the pushbutton status void setup() { // initialize the LED pin as an output: pinMode(ledPin, OUTPUT); // initialize the pushbutton pin as an input: pinMode(buttonPin, INPUT); } void loop() { // read the state of the pushbutton value: buttonState = digitalRead(buttonPin); // check if the pushbutton is pressed. If it is, the buttonState is HIGH: if (buttonState == HIGH) { // turn LED on: digitalWrite(ledPin, HIGH); } else { // turn LED off: digitalWrite(ledPin, LOW); } } Next, you need to click on the verify button (check mark) that’s located in the top left of the IDE box.  Once it says “Done Compiling” you are ready to upload it.  Click the upload button (forward arrow) to send the program to the Arduino board. Press the button switch on the breadboard and you should be able to turn on and off the LED as shown in the below video. Troubleshooting If you are having any problems with the projects we did, make sure the following has been checked. Verify the correct leg of the LED is connected properly.  LONG leg to positive and SHORT leg to negative. Make sure the Arduino IDE shows the correct board.  Go to Tools > Board then select Arduino Uno. Make sure the Arduino IDE shows the correct port.   Go to Tools > Port then select the port that says Arduino. Verify all component connections are secure with the Arduino board and breadboard.

  • Now You Can Blog from Everywhere!

    We’ve made it quick and convenient for you to manage your blog from anywhere. In this blog post we’ll share the ways you can post to your Wix Blog. Blogging from Your Wix Blog Dashboard On the dashboard, you have everything you need to manage your blog in one place. You can create new posts, set categories and more. To head to your Dashboard, open the Wix Editor and click on Blog > Posts. Blogging from Your Published Site Did you know that you can blog right from your published website? After you publish your site, go to your website’s URL and login with your Wix account. There you can write and edit posts, manage comments, pin posts and more! Just click on the 3 dot icon ( ⠇) to see all the things you can do. #bloggingtips #WixBlog

  • Grow Your Blog Community

    With Wix Blog, you’re not only sharing your voice with the world, you can also grow an active online community. That’s why the Wix blog comes with a built-in members area - so that readers can easily sign easily up to become members of your blog. What can members do? Members can follow each other, write and reply to comments and receive blog notifications. Each member gets their own personal profile page that they can customize. Tip: You can make any member of your blog a writer so they can write posts for your blog. Adding multiple writers is a great way to grow your content and keep it fresh and diversified. Here’s how to do it: Head to your Member’s Page Search for the member you want to make a writer Click on the member’s profile Click the 3 dot icon ( ⠇) on the Follow button Select Set as Writer

  • Arduino Based Wireless Notice Board using Bluetooth and Android Application

    The project based on HC-05 Bluetooth module which Controlling 16x2 LCD display using android application. For Programmed ardunio Uno & Price: https://www.dofbot.com/product-page/arduino-based-wireless-notice-board-using-bluetooth-android-app The stuff you will need: Breadboard. HC-05 bluetooth module. 16x2 LCD display I2c Module Arduino UNO or Nano. Some wires. Mobile phone from Android. That's all! First, pin your LCD with I2C board on the breadboard and power the breadboard by connecting a wire from "5V" (Positive) on your Arduino to the positive row on the breadboard and another one from "GND" (ground or 0V) to the negative row. Then connect the LCD to the I2C module and I2C to Arduino: I2C SCL pin 4 - Arduino pin A5 I2C SDA pin 3 - Arduino pin A4 I2C GND pin 2 – 0V I2C VCC pin 1 – 5V Then connect the Tx(Transmit) pin on your Bluetooth module to the Rx (Receive) on the Arduino, and connect the Rx pin on your BT module to the Tx on the Arduino. Finally, power the BT module by connecting the VCC (or 5V) to the positive row on the breadboard and connect the GND to the negative one on the breadboard. Now open android app and goto Bluetooth setting and connect to Bluetooth is “ON” and select HC-05. Then simply write your text in L1 & L2 row in the app through mobile and press send text Button and text should be printed on the LCD. Trouble shooting of Bluetooth issue: Turn on the Bluetooth in your device. Search for new device. Click on Hc05 once it appear. Enter the password "1234" or "0000". Step 1: To print text to the LCD, the LCD I2C address should be 0x27 or 0x3F. Subscribe and Download code. #include LiquidCrystal_I2C lcd(0x27,16,2); // set the LCD address to 0x27 for a 16 chars and 2 line display void setup() { lcd.init(); // initialize the lcd // Print a message to the LCD. lcd.backlight(); lcd.setCursor(0,0); lcd.print("Hello world"); lcd.setCursor(0,1); lcd.print("Hello World"); } void loop() { } Here the Final output Download Code Here: https://drive.google.com/drive/folders/1K4hHoZI1XtdjYtE2CEKEbkd3ubI7qSeZ?usp=sharing Step 2: To print Scroll text to the LCD, the LCD I2C address should be 0x27 or 0x3F. #include // set the LCD number of columns and rows int lcdColumns = 16; int lcdRows = 2; // set LCD address, number of columns and rows // if you don't know your display address, run an I2C scanner sketch LiquidCrystal_I2C lcd(0x27, lcdColumns, lcdRows); String messageStatic = "Dofbot.com"; String messageToScroll = "arduino, IoT, NODEMCU Projects done here"; // Function to scroll text // The function acepts the following arguments: // row: row number where the text will be displayed // message: message to scroll // delayTime: delay between each character shifting // lcdColumns: number of columns of your LCD void scrollText(int row, String message, int delayTime, int lcdColumns) { for (int i=0; i < lcdColumns; i++) { message = " " + message; } message = message + " "; for (int pos = 0; pos < message.length(); pos++) { lcd.setCursor(0, row); lcd.print(message.substring(pos, pos + lcdColumns)); delay(delayTime); } } void setup(){ // initialize LCD lcd.init(); // turn on LCD backlight lcd.backlight(); } void loop(){ // set cursor to first column, first row lcd.setCursor(0, 0); // print static message lcd.print(messageStatic); // print scrolling message lcd.setCursor(0,1); scrollText(1, messageToScroll, 250, lcdColumns); } Download Code Here: https://drive.google.com/drive/folders/1x5YoJn3vOa88mDWWWzBrxO7l3yWAIzmO?usp=sharing Step 3: To print text to the LCD using android app, the LCD I2C address should be 0x27 or 0x3F. // Project by G Ramesh // dofbotindia@gmail.com // dofbot.com #include #include int lcdColumns = 16; int lcdRows = 2; LiquidCrystal_I2C lcd(0x27, lcdColumns, lcdRows); char Display; String Word; String messageStatic; String messageToScroll; int L1; int L2; void scrollText(int row, String message, int delayTime, int lcdColumns) { for (int i=0; i < lcdColumns; i++) { message = " " + message; } message = message + " "; for (int pos = 0; pos < message.length(); pos++) { lcd.setCursor(0, row); lcd.print(message.substring(pos, pos + lcdColumns)); delay(delayTime); } } void setup() { lcd.init(); // initialize the lcd // Print a message to the LCD. lcd.backlight(); lcd.begin(16,2);// Columnas y filas de LCD Serial.begin(9600); } void loop() { if(Serial.available()) { Display = Serial.read(); Word = Word + Display; if (Display == '*') { Serial.println(Word); Serial.println(); L1 = Word.indexOf(','); messageStatic = Word.substring(0, L1); L2 = Word.indexOf(',', L1+1); messageToScroll = Word.substring(L1+1, L2); Serial.print("messageStatic"); Serial.println(messageStatic); Serial.print("messageToScroll"); Serial.println(messageToScroll); Word = ""; lcd.setCursor(0,0); lcd.print(messageStatic); lcd.setCursor(0,1); lcd.print(messageStatic); // lcd.setCursor(0,1); // scrollText(1, messageToScroll, 250, lcdColumns); } } } Subscribe and Download code. Here the Final output Download Android App Here: https://drive.google.com/file/d/1EyUCdOk0eEvBCo37PAmKTUnhz9ICIaXu/view?usp=sharing Wireless LCD application: Updating New Menu list in Remote LCD. The notice board is used to update with new information. #where is my bot? #Here is my bot! Good news!

bottom of page