Thursday, December 12, 2013

servo motor with arduino

this is the post explains about the how to connect the arduino with the servo motor.

mainly servo motor having 3 pins
1.5v supply
2.gnd
3.output pin

pls see the below image for the better connections






pls check the code


#include <Servo.h>

Servo myservo;  // create servo object to control a servo

int potpin = 0;  // analog pin used to connect the potentiometer
int val;    // variable to read the value from the analog pin

void setup()
{
  myservo.attach(9);  // attaches the servo on pin 9 to the servo object
}

void loop()
{
  val = analogRead(potpin);            // reads the value of the potentiometer (value between 0 and 1023)
  val = map(val, 0, 1023, 0, 179);     // scale it to use it with the servo (value between 0 and 180)
  myservo.write(val);                  // sets the servo position according to the scaled value
  delay(15);                           // waits for the servo to get there
}


pls watch the video for more clear explanation



optimisation of the vlsi architecture in the wireless sensor network

ABSTRACT
Optimisation of vlsi architecture in wireless sensor network (WSN) scheme for fusion centre to detect the faults of sensor nodes via efficient collaborative sensor fault detection (ECSFD), these scheme identifies the sensor node fault percentage and its efficiency of the particular sensor node. In real world most of the applications of WSN are based on ASIC and the standalone devices. So this optimized efficient
collaborative wireless sensor fault detection scheme is less expensive area of the chip is very less and fast in performance.
Index Terms — Wireless sensor network, Collaborative sensor fault detection, Efficient collaborative sensor fault detection, Fusion centre, Fault detection.

for full base paper , visit the link:
http://warse.org/pdfs/2013/icacsesp51.pdf

python class topic video