01-23-2013 10:21 PM
Hi Jack,
Have you acquired the data that comes out from the PMW? Just to be sure that the your are getting the signal out from the PWM, then the sound problem might be just an amplification problem.
Regards,
01-24-2013 10:25 AM
Hey Steve,
The amplifications is ok. I can run the vi with ONLY the PWM1 node and the speaker produces a sound.
Any other ideas?
Thanks,
Jack
01-30-2013 07:40 AM
Steve or Zach,
I was wondering if you had any addition suggestions on how to make the PWM1 change frequences from within the VI? I previously attached the last change we made that Zach suggested but it did not produce any sound.
Thanks,
Jack
01-30-2013 01:06 PM
Hey Jack,
I got the board set up here and tested the code. It appears the buzzer on the board isn't capable of playing sound at 2000Hz. I can get it up to 1980, but it fails to make audible noise above there.
It seems like this is simply a hardware limitation. (Although I can't find any documentation on the buzzer)
Do you need to be able to play sound at 2000Hz? Or are you just looking to change the frequency?
On a side note, you won't need the final while loop to keep the buzzer making noise. I just used two more frames, one with a 500ms wait and the other with a 0 written to the PWM1 (so that it didn't play continuously)
Cheers,
Zach
02-14-2013 01:43 PM
Zach,
Sorry for the delay in posting, I was dealing with an installation issue.
I tried what you suggested and it WORKED!!! I can live with the 2k Hz without any problem.
Thanks you so much for hanging in there with me and helping solve the issue.
Again, thanks.
Jack
04-30-2013 12:53 AM - edited 04-30-2013 12:56 AM
Hi, I worked with the generation of pulse width to control a servo, you must configure the pre divider 1/16, works well attached a code example, luck
04-30-2013 01:06 AM
further below, and a project that works fine controlling a servomotor
the result you can see in the video below
http://www.youtube.com/watch?v=RiLZCEEOKG4
07-25-2013 05:40 PM
Hi. Well done. It is very good job. I have a problem. I use LV2011 version. If it is possible, can you save as LV2011 version. I will apply this project. I ordered this board. I will develop that kind of application. I need it . Thank you for your interest. Best wishes. e-mail: gazielektronik2001@gmail.com
07-31-2013 08:06 AM
estimated, no problem and keep it in the version 2011 excuse the delay, hopefully useful
07-31-2013 10:21 AM
Hi. Thank you for you help. This example is very helpful for me. After I build it(after generate hex file), Can it work without PC connection?
Best wishes