Showing posts with label Arduino. Show all posts
Showing posts with label Arduino. Show all posts

Monday, May 22, 2017

6. Learn how to use comparators and indicators(LED) in labview

Hi in this article Learn how to use comparators and indicators(LED) in labview program..




Procedure:


Step 1:  Open labview software..

Step 2:  Open blank VI..

Step 3: Use block diagram panel to program

Step 4:  Use Right click to get codes

Step 5: Follow Right click-Numeric-Add

Step 6:  Place the Addition tool where we want

Step 7:  Then Right click at node of input to addition tool

Step 8: Create Control and enter input

Step 9: Now create indicator by using right click at the output node at addition pin

Step 10: Now we are going to use comparison command to use comparison between the two
               Numbers in the function

Step 11: 1st use Greater than command from command bar

Step 12: Next select Less command from command bar...

Step 14: connect each comparison command 1st input with addition out put to compare...

Step 15: Create constant input like (10) for other input in comparators..

Step 16: Use indicator on both comparators...

Step 17: That indicator is like led...

Step 18: Run the program continuously...

Step 19: So program obey the condition

Step 20: Check weather the program is correct or wrong

Step 21: Run continuously if program is correct otherwise check the program

Step 22: Use Front panel to RUN...

Step 23: Enter inputs in the front panel

Step 24:  Now get the results...




Watch video:


Thank you.....



Sunday, October 18, 2015

Bluetooth controlled car by using Arduino

Apparatus required: 


1 X  Arduino Atmega328


1  X Bluetooth module ( HC-05/HC-06 )


1 X Chassis


4 X  Wheels ( OR ) 2 x Wheels supports to chassis


4 X  Motors ( OR ) 2 x Motors supports to chassis

1 X  L293D IC   ( OR )   H-Bridge


1 X Android mobile with Bluetooth controller app


Circuit:









Connection:

Step 1:     Here pin configuration is that arduino pin 3 is going to connect with in1 in L293D



Step 2:     Then arduino pin 3 is going to connect with in2 in L293D




Step 3:     Then arduino pin 4 is going to connect with in3 in L293D




Step 4:     Then arduino pin  5 is going to connect with in4 in L293D




Step 5:     Then Arduino pin 6  is going to connect with in5 in L293D




Step 6:     Then connect the bluetooth module HC-05/HC-06  with arduino with below pins



Step 7:     The pin TX in the Bluetooth module to the arduino pin 10 



Step 8:     The pin RX in the Bluetooth module to the Arduino pin 11





Step 9:     Then connect 5V and GND  pins to that Arduino pins




Step 10:     Then upload the program given below to the Arduino board




Step 11:     Download the Android mobile app given below and install it to your Android mobile  OR                     to learn how to develop this android app CLICK HERE

                                 App screen looks like











Step 12:     Then pair HC-05/HC-06   with your mobile 




Step 13:     Then connect the  HC-05/HC-06 with that app.




Step 14:     Then make use of that app to control the car. 

Working:  












Program:



Implementing:










For details follow us and ask in  Contact Form. You will receive response.


Monday, October 12, 2015

Arduino Programming basic Analog Read

Arduino Programming basic Analog Read



Procedure:





Step 1:     Open the Arduino software



Step 2:     Go to file



Step 3:     Then move to examples



Step 4:     Then open Analog read program



Step 5:     Then watch the video 



Step 6:     Make clear and brief detail pf this program from this video
 


Step 7:     Try to make implement with Potentiometer



Step 8:     By adjusting Potentiometer Analog values can be varied



Step 9:     By using serial monitor output values can be read.



Video:




Program:



void setup() {
  // initialize serial communication at 9600 bits per second:
  Serial.begin(9600);
}
// the loop routine runs over and over again forever:
void loop() {
  // read the input on analog pin 0:
  int sensorValue = analogRead(A0);
  // print out the value you read:
  Serial.println(sensorValue);
  delay(1);        // delay in between reads for stability
}


























For details follow us and ask in  Contact Form. You will receive response in 24 hours

Arduino Programming basic Read Analog Voltage


Arduino Programming basic Read Analog Voltage 









Procedure:





Step 1:     Open the Arduino software



Step 2:     Go to file



Step 3:     Then move to examples



Step 4:     Then open Read Analog Voltage program



Step 5:     Then watch the video 



Step 6:     Make clear and brief detail pf this program from this video
 


Step 7:     Try to make implement with Potentiometer



Step 8:     By adjusting Potentiometer Analog voltage values can be varied



Step 9:     By using serial monitor output values can be read.









Video:


















Program:





void setup() {
  // initialize serial communication at 9600 bits per second:
  Serial.begin(9600);
}
// the loop routine runs over and over again forever:
void loop() {
  // read the input on analog pin 0:
  int sensorValue = analogRead(A0);
  // Convert the analog reading (which goes from 0 - 1023) to a voltage (0 - 5V):
  float voltage = sensorValue * (5.0 / 1023.0);
  // print out the value you read:
  Serial.println(voltage);
}






















For details follow us and ask in  Contact Form. You will receive response in 24 hours


Arduino Programming basic Led fade











Video:





Program:



int led = 9;           // the pin that the LED is attached to
int brightness = 0;    // how bright the LED is
int fadeAmount = 5;    // how many points to fade the LED by
// the setup routine runs once when you press reset:
void setup() {
  // declare pin 9 to be an output:
  pinMode(led, OUTPUT);
}
// the loop routine runs over and over again forever:
void loop() {
  // set the brightness of pin 9:
  analogWrite(led, brightness);
  // change the brightness for next time through the loop:
  brightness = brightness + fadeAmount;
  // reverse the direction of the fading at the ends of the fade:
  if (brightness == 0 || brightness == 255) {
    fadeAmount = -fadeAmount ;
  }
  // wait for 30 milliseconds to see the dimming effect
  delay(30);
}



























For details follow us and ask in  Contact Form. You will receive response in 24 hours