Search This Blog

Powered by Blogger.

Translate

[TC] Arduino based distance sensor

Here  is a simple tutorial to build a Distance sensor which will show the distance from the distance sensor HC-SR04 ( Or any other compatible devices) to the wall or obstacles in front of the sensor in CentiMeters.This project uses a HCR-SR04 distance sensor and atmega 328 or any other atmega chip which is programmed using a arduino programming kit, SO the project is based on arduino. But our final Circuit will be a standalone circuit without attached arduino programmer.Hardware Used:

HC-SR04It is a simple Ultrasonic ranging module
hc-sr04
hc-sr04
With Specifications:

power supply :5V DCquiescent current : <2mAeffectual angle: <15°ranging distance : 2cm – 500 cmAnd whose Sequence chart is

:sequence chart

sequence chart. We can send a short ultrasonic pulse at t1 , and if any obstacles is there the received ultrasonic signal is converted to an electrical signal as Echo.  If a 10μs width trigger pulse is sent to the signal pin, the Ultrasonic module will  output eight 40kHz ultrasonic signal and detect the echo back. The measured distance is proportional to the echo pulse width and can be calculated by the formula above. If no obstacle is detected, the output pin will give a 38ms high level signal. 

Arduino : Either a Arduino Board or a Arduino IC( Atmgea 328 , Atmega 128 , Atmega 8 etc ) with a programmer is used. To know more about Arduino visit the official arduino site http://arduino.cc 

16*2 LCD
2X16 LCD
 2X16 LCD


Wiring:SO If you are going to use arduino board then please connect devices as following:FOR LCD:* LCD RS pin to digital pin 12* LCD Enable pin to digital pin 11* LCD D4 pin to digital pin 5* LCD D5 pin to digital pin 4* LCD D6 pin to digital pin 3* LCD D7 pin to digital pin 2* LCD R/W pin to ground* 10Komhs Variable resistor   with two ends to +5v and ground and the middle wipper ti LCD pin VO.If you also have back light in your LCD and  want to enable it:* LCD A to +5v , LCD K to Ground.And LCD VSS to Ground , LCD VDD to +5v.FOR HC-SR04:* VCC to +5v , Gnd to Groung* “Trig” Pin to Digital pin 7* “Echo” Pin to Digital pin 8 And if You are not using Arduino Board instead using a Arduino IC after programming it then use the following schematic: 

distance meter  

Software:

Here is a simple version of the software:

#define trigPin 7
 #define echoPin 8
void setup() {
Serial.begin (9600);
pinMode(trigPin, OUTPUT);
pinMode(echoPin, INPUT);
}
void loop() {
int timetaken, dist;
digitalWrite(trigPin, HIGH);
delayMicroseconds(1000);
digitalWrite(trigPin, LOW);
timetaken = pulseIn(echoPin, HIGH);
dist = (timetaken/2) * 0.034049 ;
if (dist >= 300 || dist <= 0){
Serial.println(“Out Of Range”);
}
else {
Serial.println(“Distance in CM: “);
Serial.print(dist);
}
delay(500);
}


Theory:

Here , we are going to calculate the distance of the sensor and any object in front of it. At t1 we send the trigger signal , and at t2 we get the echo.so dt = t2-t1And as dt is the time for the sound taken to reach to the object and return back;The exact time taken by the sound to reach the object is : dt/2Now , Normal speed of sound is: 340.29 m / s And converting it to Centimeters per Micro Seconds gives : 0.034049 CM / microsecondsThe actual distance traveled by the sound or the distance between the sensor and the object is:(dt/2) * 0.034049
Which is the exact formula used in the software.


Source: http://electronicsproject.org/ 

[TC] Control your PC with TV Remote

Now you can control your mouse cursor and windows media player with your TV remote… So when you are watching a movie or listening songs on your PC, you need not to get up from your seat to change the volume or to change the track.. you can simply use your TV remote to do this.
Description:
This project is an implementation of RC5-remote reception on an 8051 microcontroller. The received code is decoded and sent to the PC IR remote software written in Visual Basic. The cursor position is moved according to the keys pressed.
There are two modes of operation one is as mouse control and second is Windows media player control. More information on key control is given in the software’s help section. You might need to download the VB library files to run this software.
Circuit diagram Control your PC with TV Remote
Circuit diagram Control your PC with TV Remote
View video of the project:


[youtube=http://www.youtube.com/v/VCWyQzs0E98]
VB program of Control your PC with TV Remote
VB program of Control your PC with TV Remote
Download the project by  clicking here
If the software gives an error of missing file “MSCOMM32.ocx”, the use the ocx file supplied in the zip file and follow the instructions below:
1. Copy MSCOMM32.ocx in “c:\windows\system” folder.2. Go to Start -> run and type “regsvr32 mscomm32.ocx” and hit enter. It will give you a success dialog.
Source: http://electrofriends.com/

[TC] Ultrasonic Proximity Detector

This ultrasonic proximity detector comprising independent, battery-powered transmitter and receiver sections makes use of a pair of matched ultrasonic piezoceramic transducers operating at around 40 kHz each. This circuit can be used in exhibitions to switch on prerecorded audio/video messages automatically when a visitor evincing interest in a product comes near an exhibited product.

Fig. 1: Transmitter circuit
Fig. 1 shows the transmitter circuit. It comprises CMOS timer IC 7555 (IC1) configured as an astable multivibrator, which may be tuned to the frequency of the ultrasonic piezoceramic transmitter’s resonant frequency of around 40 kHz using preset VR1. A complementary pair of transistors T1 and T2 is used for driving and buffering the transducer while it draws spikes of current from IC1 circuit to sustain oscillations and thereby avoids any damage.

The receiver front-end (refer Fig. 2) is designed to provide a very high gain for the reflected faint ultrasonic frequency signals detected by the ultrasonic transducer. The amplifiers built around N1 and N2, respectively, provide AC voltage gain of around 80 each. These two stages should have a high open-circuit gain, wide bandwidth and very low bias current apart from being capable of single-supply operation. Quad op-amp LM324 is used here due to its low cost. For higher efficiency, you may use single op-amps such as CA3130 or CA3140.

Fig. 2: Receiver circuit


Fig. 3: Pinconfigurations oftransistors BC327and BC337
When a visitor pauses before a sistor R10 is used to meet this requirement. The filter also helps to bypass brief bursts of ambient noise in the ultrasonic range. The third stage comprising N3 works as a comparator to provide a triggering pulse when a visitor stops by. This pulse can be used to trigger a timer or a monostable, whose output may then be used to switch on the audio/video message concerning the product for a predetermined period.

When somebody comes in front of the ultrasonic piezoceramic transducer pair, the status LED (LED1) glows because of the signal reflected from the body of the visitor.

The circuit can be assembled on any general-purpose PCB. The transmitter and the receiver should be aligned such that the transmitted ultrasonic signal is optimally received by the receiver after reflection. Fig. 3 shows the pin configuration of transistors T1 and T2, while Fig. 4 shows installation of the ultrasonic piezoceramic transducer pair operating at around 40 kHz.


Source: http://electronicsforu.com/
 

Fig. 4: Installation of transducer pair

[TC] Remote controlled Spy Bot

Here is a remote operated spy robot circuit which can be controlled by using a wireless remote controller. It can capture audio and video information’s from the surroundings and can be sent to a remote station through RF signals. The maximum range is 125 meters. It overcomes the limited range of infrared remote controllers. This robot consists of mainly two sections. They are explained in detail below.

Remote Control Operated Spy Robot Circuit – Block Diagram

    Remote Control Operated Spy Robot Circuit - Block Diagram
Remote Control Operated Spy Robot Circuit - Block Diagram

1. Remote Control Section

The circuit uses HT 12E, HT 12D encoder and decoder. 433MHz ASK transmitter and receiver is used for the remote control. H-bridge circuits are used for driving motors. Two 12V DC/100RPM gear motors are used as drivers. The working of the circuit is as follows.
When we are pressing any key in remote controller the HT 12E generate 8 bit address and 4 bit data .The DIP switches are used for setting the address. Then the ASK transmitter sends the 8 bit address and 4 bit data to the receiver Then the ASK receiver receives the 8 bit address and 4 bit data and HT 12D decoder decodes the data, thus enabling the appropriate output. Thus the output signals that are generated controls the H-bridge which then rotates the motors.
The 433 MHZ ASK transmitter and receivers are extremely small, and are excellent for applications requiring short-range RF remote controls.  The transmitter module is only 1/3rd the size of a standard postage stamp, and can easily be placed inside a small plastic enclosure. The transmitter output is up to 8mW at 433.92MHz. The transmitter accepts both linear and digital inputs and can operate from 1.5 to 12 Volts-DC, and makes building a miniature hand-held RF transmitter very easy.  The 433 MHZ ASK transmitters is approximately the size of a standard postage stamp
433 MHZ ASK receivers also operate at 433.92MHz, and have a sensitivity of 3uV.  The receiver operates from 4.5 to 5.5 volts-DC.
Remote-Control-Operated-Spy-Robot-Circuit-Remote-Control-Section
Remote-Control-Operated-Spy-Robot-Circuit-Remote-Control-Section

2. Video Transmission Section

In this project we are using a wireless CCD camera. Now these types of cameras are commonly available in the market. It works on 12VDC supply.


The 12 Volt DC supply is taken from the battery placed in the robot. The camera has a receiver, which is placed in the remote station. Its output signals are in the form of audio and video. These signals are directly connected to a TV receiver or a computer through a tuner card.
Remote Operated Spy Robot - Remote Control Section
Remote Operated Spy Robot - Remote Control Section

Components Required

IC HT 12E 1
HT 12D 1

LM 7805 2
TRANSISTOR TIP 127 4

TIP 122 4

S 8050 4
DIODE 1N 4148 8
RESISTOR 1K 4

220E 4

39K 1

1M 1
ASK TRANSMITTER 433 MHz 1
ASK RECEIVER 433 MHz 1
DIP SWITCH
2
PUSH TO ON SWITCH
4
GEAR MOTOR 12V DC 100rpm 2
BATTERY 12V 1.3 Ah   rechargeable 1

9V 1
WIRELESS CCD CAMERA
1

Construction

The steps for the construction are…
1. Take a hylam sheet with (20cm*15cm) size.
2. Fix two gear motors (12VDC 100rpm) in the hylam sheet by using aluminum pieces and nut bolts as shown in the figure below.
3. Fix the ball castor as shown in the figure below.
Construction of Remote Operated Spy Robot Circuit
Construction of Remote Operated Spy Robot Circuit
4. Then fix the battery (12VDC 1.2Ah) on the top of the spy robot as shown in the figure below.
Construction of Remote Operated Spy Robot Circuit - Top View
Construction of Remote Operated Spy Robot Circuit – Top View
5. Connect two motors to the PCB. The PCB is then connected to the battery.
6. Connect the wireless CCD camera to the battery.
7. Connect the camera receiver to the TV or computer. Video information’s will thus appear in the screen.
8. Switch on the remote controller and control the spy robot


Source: http://www.circuitstoday.com/

SMS Remote Control For Ericsson T10s Cell Phone


SMS Remote Control For Ericsson T10s Cell Phone






8051 Micro-controller based Robotic Car

Robotic Car is a miniature prototype car powered by batteries whose various movements can be control either manually or automatically, or the combination of both.  Here the command is given through keyboard; it would have been better if we used IR remote control or something of that kind rather than using keyboard for commanding. However, by realizing the complexities we have made simple using keyboard.
8051 Micro-controller based Robotic Car
Block diagram of the project:
Some photographs of this model:
8051 Micro-controller based Robotic Car
Robotic car model
8051 Micro-controller based Robotic Car
Robotic car model
Project Description:
Keyboard section:
There are six switches in this section. They are
  1. Turn left.
  2. Turn right.
  3. Stop.
  4. About turn.
  5. Park left.
  6. Park right.
Circuit diagram of keyboard is shown bellow.
8051 Micro-controller based Robotic Car
Keyboard circuit of the Robotic car
Car section:
There are many sub sections in this section. They are
Motor:
We are using a 5V dc motor to drive the vehicle. The speed of the vehicle and its strength is controlled by the proper use of pulley. The rear wheel of the vehicle is connected to this motor through a pulley. This motor is meant for moving the vehicle both in forward and backward direction. Microcontroller (8051) controls the forward and backward movement of the vehicle in the following manner:
Circuit diagram of Motor connection
Circuit diagram of Motor connection
Here in the above circuit, T1, T2, T3, T4 are the NPN power transistor (2N3055). A0, A1, A2, A3 are the signals coming from the micro controller. With the specific combination of A0, A1, A2, A3 we can change the direction of rotation of motor as follows:
Case I: When   A0=high; A3=high; & A1=low; A2=low
The motor rotates in clockwise direction

Case II:
 When   A0=low; A3=low; & A1=high; A2=high
The motor rotates in anti-clockwise direction

Case III:
 When   A0=low; A3=low; A1=low; A2=low
The motor stops the rotation.


Stepper Motor:
A 5V dc Stepper motor is fixed at the front wheel lever directly. It enables the vehicle to rotate left or right through any angle. The electrical pulses generated from the micro controller directly control the movement of the stepper motor.
A stepper motor is an electromagnetic device that translates electrical pulses into mechanical movement.
Circuit diagram of stepper motor interfacing is shown bellow. First 4 pins port 2 is connected to motor. Power transistors must be connected to drive the motor.
Interfacing stepper motor to 8951
Interfacing stepper motor to 8951
Transmitter and Receiver:
We are fitting three IR sensors along with the transmitter at the front of the vehicle in such an angle that the sensor will detect the signal only if certain obstacle is placed at the front of the vehicle at a distance of around 3 inches. This range of detection can be further adjusted by adjusting the amplitude of transmitter or by adjusting the angle of alignment between the transmitter and the sensor.  All these sensors work independently and can sense the obstacle that comes at the front of the vehicle through different position independently. Thus with these three sensors, we are able to cover the entire frontal view of the vehicle at a distance of 3 inches. The circuit diagram of the transmitter and the receiver are given below:
Transmitter:
Transmitter circuit is used to transmit the IR rays. The IR LED emit infrared light switch is put on in the transmitting unit. To generate IR signal 555 IC based astable multivibrator is used. Infrared LED is driven through transistor BC 177.
Circuit diagram of IR Transmitter
Circuit diagram of IR Transmitter
Receiver:
The receiving unit consists of a sensor and its associated circuitry, which detects IR pulses transmitted by IR-LED. As a result the monostable is triggered and a short pulse is applied to port 2.5 of 8951. Circuit diagram is shown below. Do the same circuit two more times and connect it into 6 and 7 of port 2.
Circuit diagram of IR  Receiver
Circuit diagram of IR Receiver
Working:
Manual mode:
In manual mode, the vehicle can be commanded through a wireless microphone to
  1. Turn left.
  2. Turn right.
  3. Stop.
  4. About turn.
  5. Park left.
  6. Park right.
1. Turn left:
On getting the command of turn left, the vehicle turns towards left with 30 degree and after 3sec; it comes back to the original position.  The degree in which the vehicle rotates, and the timing of coming back to the original position can be further adjusted based on our desired.
2. Turn right:
Right turn is same as that of left turn except for the fact that on getting command it turns towards right. All the modifications those are valid for the left turn is also true in this case.
3. Stop:
Once the vehicle gets the command for “stop” it remains in the idle state.  There after its control is hand over to the beginning state.
4. About turn:
In about turn, the vehicle turns backward in two steps same as we did in our normal car. In first step the vehicle move only 90 degree and repeat the same in second step.
5. Park left:
On getting the command to park left, the vehicle parks on the left side of the road in a single step.
6. Park right:
Park right is same as that of park left,  but here in this case, it parks towards the right side of the road.
You can also add two modes to the present design using two more switches. They are
Auto Mode:
In auto mode, the vehicle can be programmed to move at a particular place and park there. While moving, if any obstacle comes at the front of the vehicle, it will deviate its path automatically and come to the original path. The place where the vehicle is desired to move is the choice of the user; it can be either straight or bent path.
In our model, we have put three sensors at the front of the vehicle, so it is up to the user that, by what angle the vehicle should deviate. Further, it can be programmed on which side it should deviate, either left or right based on our desired. To alert the user that the vehicle is deviating an obstacle, a musical sound system is fitted in the vehicle, so that whenever it is deviating any obstacle, it will also play a music simultaneously.
Hybrid Mode:
It is the combination of both auto and manual mode. Here the vehicle can be commanded to move, to turn left or right. Further, while moving, if any obstacle comes on its path, it will deviate and come to its original path after deviating. However, if so happen that before coming to the original path, the sensor detects another obstacle; it will halt the movement of the vehicle, and play an alarm music as long as the obstacle is detected. The moment second obstacle is removed; the vehicle will continue its earlier execution.




RF Based Remote Controlled Robot

Receiver Circuit :

Transmitter Circuit:

Live Picture:

Robot Rec. Board :
 
Transmitter Board :


Download Source: 

Page Rank

google pagerank

Write For Us

Submit a Guest Post

Find us on Facebook

Categories

555 Timer IC 7 segment Display 8051 Project AC Circuits Adafruit Alarms Amplifier Circuits Analog Circuits android Arduino arm processor Assembly Languange Atmel Atom Size Audio Circuits augmented reality Automotive Circuits avr Battery Circuits Bicycle Gurad bluetooth Cable TV Circuits Cambridge University Camera Technology Circuit Boards Clipping And Clamping Circuits Clocking And Timer Circuits Computing contact lens Contact Us Form Contests Controller Circuit Conversion Circuits Counter Circuits Digital Electronics diy circuits Downloads EFY EFYTimes Electronic Books Electronic Components Electronic Locks And Keys Engineering Fan Circuits Filter Circuits Fire Alarm free Frequency Fun And Game Circuits future Google Hack n Mod Ham Radio Circuits heart rate monitoring High Voltage Circuits Home Circuits IC Guide ieee Industrial Circuits Infrared Instructables Inventions ipad lcd Led Circuits Light Related Lighting Circuits Medical Circuits Meter Clocks Microcontrollers Microprocessors Mini Projects modules Movie maker NatGeo Navigation Notice Optical Fiber PC Circuits PCB Boards Physics pnp transistor Power Supplies Printing Projects Programmer Project Ideas Projectors Protection circuits Proximity Detectors Radar Radio Circuits Radio Transmitters Raspberry Raspberry Pie Remote Circuits Retis Lab RFID Robot Cars Robotics Science Science Alert Security And Safety Sensor Circuits Servo Motors Smallest Smartwatches sms Software solar cell sound application Spectram Switch Technology News Telephone Related Television Related Test And Measurement Circuits Thermal Projects Tone generator circuits Touch Screen Tutorials Wearables Wi-Fi Wireless
Like us on Facebook
Follow us on Twitter
Recommend us on Google Plus
Subscribe me on RSS