ELEKTOR FORUMS

Please log in to post a reply or subscribe / unsubscribe to topics

Topic: Beep

Author Post

gordy555

5 posts

Popping In
Popping In

Read post 16-05-2011 12:16

Hi there,

I seem to be having a problem with the Beep experiment (p.100).
After compiling the short program to toggle port B with a 1 millisecond delay, the small buzzer emits a couple of barely audible clicks (with the volume pot turned up of course).

I've measured a Frequency of 1.47 MHZ on the course board BNC female socket K11 using my own scope and two different DMM's .

How can this be so? What should the resistance of the Buzzer coil be, as I am measuring over 6kohm. This is obviously too high and I suspect the coil to be faulty. Can I obtain a replacement course board as part of my warranty/guarantee ?

Thank you

GeenBert

64 posts

Frequent Visitor
Frequent Visitor

Read post 16-05-2011 14:02

I've measured a Frequency of 1.47 MHZ on the course board BNC female socket K11 using my own scope and two different DMM's .


It would appear that you got the program wrong, for the assignment was a frequency of 500 Hz. A faulty buzzer is unlikely to increase the signal frequency.

What should the resistance of the Buzzer coil be, as I am measuring over 6kohm. This is obviously too high and I suspect the coil to be faulty.


Assuming you didn't desolder it then depending on the position of the variable resistor that is mounted over the buzzer as volume control the resistance measured over the buzzer should be between 0 an 10k, so you're ok there.

Check your program. If you're convinced that the program is ok then pull jumper K10 and measure the frequency on BNC K11. If that is 500 Hz then the buzzer may indeed be faulty. If that is something else then program is wrong, or the settings as shown on page 54 and onward have been entered incorrectly.

Post edited by GeenBert on 16-05-2011 14:02

gordy555

5 posts

Popping In
Popping In

Read post 18-05-2011 14:25

Hi Geenbert,

I checked through my 'Beep' program, and have come to the conclusion that it is working fine, and gives two low frequency clicks of the buzzer. I think the formula on p.103 for calculating the buzzer frequency gives the wrong answer of 500Hz, when it works out at 200Hz.
f=1/0.5*1*0.01 =200Hz.

Is this formula expressing half of the sound wave frequency ?

My buzzer works perfectly as I found after adding the switch to port C . However, there is still 1.47Mhz present on the BNC socket K11 when port B is idle. I don't get it.
Anyway, thanks for your help and spotting my elementary mistake testing my buzzer.

Gordon.

GeenBert

64 posts

Frequent Visitor
Frequent Visitor

Read post 18-05-2011 15:51

Page 103 doesn't show that formula at all! It shows this one:

............... 1
f = 0.5 x 1. 10^-3

Can't get that quite right (hence the frequent edits of this post) but if you look at page 103 you'll understand what I mean, so

f = 0.5 x (1/1.10^-3)

which equals 0.5 x 1000 = 500 Hz. So the formula and the calculated frequency of 500 Hz are correct. Perhaps it is better if you don't jump to conclusions too quickly.

Post edited by GeenBert on 18-05-2011 15:52

Post edited by GeenBert on 18-05-2011 15:52

Post edited by GeenBert on 18-05-2011 15:55

Post edited by GeenBert on 18-05-2011 15:57

Please log in to post a reply or subscribe / unsubscribe to topics

Follow Elektor

      

Act now!

Bestseller

Microprocessor Design using Verilog HDL

This book is a practical guide to processor design in the real world. It presents the Verilog HDL in an easily digestible fashion and serves as a thorough introduction about reducing a computer architecture and instruction set to practice. 

Package Deals

Elektor Bundles

Check our Package Deals and save money! Discounts up to 19% now available!

Price Slashed

Elektor OSPV

This Open Source People Vehicle is perfect for factory halls, warehouses, hospitals, colleges, schools etc.

Elektor PCBs at 25% OFF