Wednesday, September 18, 2013

Interfacing HC-SR04 Ultrasonic Module with Arduino Pro Mini

SR04 is a module that can detect distance between 2cm to 400cm by sending out ultrasonic waves and calculating the time between the sent signal and echo received.


Steps:
  1. Send the trigger signal - a TTL 10us signal
  2. Wait for the echo pin to get high.
  3. Calculate the time for which the echo pin is high using a timer.
  4. Calculate the distance using 
Distance = high level time * velocity (340M/S) / 2

Saturday, May 11, 2013

V-USB



V-USB is a software-only implementation of a low-speed USB device for Atmel’s AVR® microcontrollers, making it possible to build USB hardware with almost any AVR® microcontroller, not requiring any additional chip.

More Info can be found out here

Sunday, November 18, 2012

Sunday, November 11, 2012

BEAM Robotics

BEAM (Biology Electronics Aesthetics and Mechanics) Robotics , it is an approach to robotics using simple analog circuits rather than using micro-processors or micro-controllers. This concept uses a type of circuit configuration which mainly consists of a neural network referred as "Nervous Net" or "Nv Net" whose element are none other than artificial neurons.

Why??
Reduce the cost and complexity of the design. It takes less time to build a Beam-Robot rather than designing traditional machines, also the size of Beam Robots are smaller than traditional robots.

Nv Neuron ???
Artificial neurons are made of a resistor, capacitor and a NOT gate.

Thursday, November 1, 2012

ATmega32's Internal EEPROM


The EEPROM is an area of read/write memory that is non-volatile i.e., the stored data is not lost even if you power off the device.

The ATmega32 has a inbuilt EEPROM in it . Before starting to learn about using the internal EEPROM, let's get to know about the risk's that involve in using a Internal EEPROM.

  1. Internal EEPROM might get corrupted while the power is being switched off.
  2. Supply voltages are likely to rise or fall slowly during power up or down, this causes the device to operate at a voltage lower than the specified minimums voltage for the clock frequency used. This might lead to an unintentional write of the EEPROM.