2. V U Meter
• A VU meter is often included
in audio equipment to display
a signal level in Volume Units;
the device is sometimes also
called volume indicator (VI).
• LCD of the uniboard is used
as the VU meter to display
sound values.
• External ADC is used to get
the input sound values.
• Genesis of the robot project is
based on this VU meter.
3. Project ROBOT
Abstract – in this project, we introduce small, low power
consumption, real-time sound processing robot capable of
tracking various intensity level of sound.
• Our system uses the low-cost Atmel AVR 8-bit microcontroller
ATmega64, which is connected with an electret microphone and
an amplifier circuit to the uniboard.
• It was specifically designed to provide a low-cost,
low power but effective embedded system with simple
hardware that can be easily added to applications like
(robot, security, monitoring, etc).
• With careful attention to the software algorithm,
efficiently sensing sound in an area at the desired speed
accomplished using commodity hardware.
4. Robot Description
• A robot which finds the highest intensity of sound in
an area using an electret microphone
• It follows a virtual grid to traverse the area
• It works in any x grid of a square or a rectangle
of any size
• It uses a Vu meter concept to find and display various
intensity of sound on the lcd of the uniboard
5. Components
• AVR® 8-bit Microcontroller with 64K Bytes In-System
Programmable Flash
• uNiBoard version 1.1
• IC s AD817, LM386, BC547.
• Electret microphone
• Metal Chasis
• Motor with gears
• Wheels
• PCB
• VU meter (onboard LCD)
7. uNiBoard version 1.1
• The uNiBoard version 1.1 is an
ideal development platform for
Embedded and Real Time
systems programming.
• Powered by a RISC
machine(ATmega128) that
provides a throughput of 16
MIPS and up to 128KB of
internal storage (flash)
• The board is suitable for any
sort of embedded application
development.
8. IC AD817
• The AD817 is a low cost, low
power, single/dual supply, high
speed o/p amp which is ideally
suited for a broad spectrum of
signal conditioning and data
acquisition applications.
• This breakthrough product also
features high output current
drive capability and the ability
to drive an unlimited capacitive
load while still maintaining
excellent signal integrity
9. Electret microphone
• An electret microphone
is type of condenser
microphone
• It eliminates the need for
a polarizing power supply
by using a permanently-
charged material.
10. Metal chasis
• Powder coated Metal chasis for
robots.
• Easy to mount the motors on place
by using normal motor mount nut.
• It can either be used in skid steel
configuration (4 motors) or
differential configuration (2 rear
wheels + 1 front castor wheel).
• The body contains perforated holes
for easy mounting of various size
circuit boards and other mechanical
components.
• Length : 190mm
• Width : 105mm
• Height : 40mm
11. Motors with Gears
Gear Motor 120:1 Offset Shaft
• This is a 160 RPM low cost
single shaft DC geared motor.
• It is most suitable for light
weight robot requiring small
power.
12. Wheels
Multipurpose Wheel:
• This is high quality 87mm
diameter multipurpose wheel.
• Used for the all motors having
6mm shaft diameter.
Castor small:
• Caster for general robotic
application. 15mm diameter
caster wheel with 3 mounting
holes.
• Ball diameter 13mm.
13. Working Of ROBOT
• As spe ified, the a ge of the o ot a e a
grid .
• The onboard switches are used for their input where
s it h fo o-o di ate a ge a d s it h fo o-
ordinate range).
• Switch 3 is used to pass the range and start the robot ,on
p essi g s it h the e ill e a te t displa ed Keep the
o ot o g ou d o l d.
• The robot traverses the grid in the algorithm specified
below.
• It e o ds the sou d at ea h ju tio i a t o
di e sio al a a .
14. •After traversing the whole grid , the robot comes back to
the origin.
•The user is then enquired for various intensity level input
here, switch 1 is used for the highest level of intensity
and switch 2 is for the lowest intensity of sound.
•The instantaneous sound values are displayed on the lcd
•On the input of the switch, the robot goes to the desired
destination.
•Animation has been attached to explain it effectively
Working Of ROBOT
15. Animation:
• To explain our working idea & algorithm effectively
• To play the animation FLASH PLAYER is required
• And it should be given the exact path in its properties
18. Algorithm
Steps of find algorithm:
I. Start
II. Initialize integers i=0,j=0,m,n,x,y and 2-D integer array
sndgrd[100][100]
III.Input m and n through switches 1 and 2
IV.Press switch 3 to set the range and start the robot
V. If(m is odd) then x=m, y=0 or if(m is even) then x=m,
y=n thus setting the stopping point (x,y)
VI.Read the mic (storing mic reading at (0,0) in the
sndgrd
VII.If j less tha AND I is e e AND I ot e ual
O‘ j ot e ual goto step VIII else goto stepXII
19. Algorithm
VIII.Increment j and go straight
IX.Store the mic_read in sndgrd
X. If j=n then go to stepXI else go to VII
XI.Increment i and take right ,Store value and decrement j
go to stepVII
XII.If j less tha AND i is odd AND i ot e ual
O‘ j ot e ual ) goto stepXIII else goto stepXVI
XIII.Go straight , store mic_read in sndgrd,decrement j
XIV.If j less tha the goto stepXV else goto stepXII
XV.Take left i e e t i a d j ,sto e i _ ead i s dg d
goto stepXII
20. XVI.If i e ual AND j e ual the go to stepXVII
else go to stepVII
XVII.Store mic_read in sndgrd
XVIII.Stop
Algorithm
21. Steps of come back algorithm:
I. Start
II. Initialialize i,j
III. If(m is odd) then i=m, j=0 else i=m, j=m.
IV. If i e ual AND j e ual goto stepXI, else goto
stepV
V. If j AND i is e e goto stepVI else gotoVII
VI. Take left ,de e e t i , go st aight, de e e t j
goto stepV
Algorithm
22. Algorithm
VII. If j e ual AND i is odd goto stepVIII, else goto
stepIX
VIII.Take ight , de e e t i , go st aight, i e e t j
goto stepVII
IX. If i is e e AND j less tha goto stepX, else
goto stepIV
X. Go st aight, de e e t j , goto stepIX
XI. Stop
23. Algorithm
Steps for destination algorithm:
This algorithm is same as find algorithm but only
the stop points are different i.e here the stop point is
the point at which sound intensity is highest or
lowest.
24. Actual Robot Photo in initial stage
with its Inventors
Nimish PanchalSaurabh Nair
27. Video Of Actual Robot
• It can be viewed also at the following YouTube link :
• http://www.youtube.com/watch?v=yv99Fjk6ZzA
28. • Sound processing bot using Speak JET(spark fun)
• ISD4004 based voice recorder
• MMC card based WAV/MP3 player
• Audio generation with use of inbuilt buzzer and PWM
for various monophonic tone generation
• AVR GPS Locator(using uart)
• Ultrasonic range finder
•Co sensor and sulphur sensor robots can also prepared
on the same lines.
• Line Follower robot using LED Sensor
•And many more...
Proposed Ideas
29. Proposed Ideas
MATLAB (For graphical interface):
• MATLAB (matrix laboratory) is a numerical
computing environment and fourth generation
programming language
• MATLAB allows matrix manipulations, plotting of
functions and data, implementation of
algorithms, creation of user interfaces
• Interfacing with programs written in other
languages, including C, C++, Java, and Fortran.
30. MATLAB (For graphical interface):
• Mat lab , can be used to
show the equalized values
of sound
• We can show the real time
values of the intensity of
sound on the terminal
31. References
• AVR Freaks forum
• Data sheets of ATMega64, L293d, AD817 etc.
• Jack Ganssle - The Art Of Designing Embedded
Systems (Newnes).
• Joe Pardue - C Programming for Microcontrollers.
• Wikipedia, the free encyclopedia.
• And various resources available on google.
32. Presentation Of Project
By :
• Nimish Panchal
course :Embedded Systems
batch :16th june
• Saurabh Nair
course :Embedded Systems
batch :16th june