Skip to main content

Posts

Showing posts with the label Pi projects

Measuring Distance

A List of Shopping Parts In this tutorial we will study how we can measure the distance accurately using a HC-SR04 Ultrasonic range sensor and Raspberry PI.For this work we want following materials: HC-SR04 Ultrasonic range sensor :₹ 150 Resistors: ₹2 Raspberry Pi Jumper Wires Ultrasonic Ranging Module HC-SR04 Ultrasonic module Ultrasonic ranging module HC-SR04 provides 2cm-400cm non-contact measurement function ranging accuracy can reach to 3mm. The module includes ultrasonic transmitters, reciever, crystal and control unit. The basic priciple of work is: Using trigger for at least 10μs high level signal. The module automatically sends eight 40kHz and detect whether there is a pulsesignal back. If the signal back, through high level, time of high output IO duration is the time from sending ultrasonic to  returning. Test distance=(high level time x velocity of sound)/2 From the pre-primary classes we are studied that the distance is time x dist...

Sensing Light

A Shopping List of Parts 1. LDR: cost less than ₹10 2. Resistor: 2.2KΩ , less than ₹1 3. Capacitor: 300nF, costs less than less than ₹5 4. Full size Breadboard: ₹ 80 5. Jumper wires: Female to female, male to female This work is only costs less than ₹100 if you are an electronic hobbyist. Since an electronic hobbyist have atleast the components like LDR, breadboard, jumper wires etc. on his hand. LDR LDR LDR is also known as Light Dependent Resistor or Photo Resistor or Photoconductive Cell or Photo Detector. The resistance of Photoconductive Cell decreases as the intensity of light increases. Photo Detectors are made up of semiconducting materials which possesses energy band equivalent to the order of that of photon. Cadmium Sulfide (CdS) is a potential candidate of photo detector whose Forbidden Energy Gap (FEG) ≅ energy of light. You can clearly see the CdS tracks on the top of LDR. Circuit Circuit Diagram Connect 3.3v Raspberry Pi pin(Pin 1) ...