Topics Topics Edit Profile Profile Help/Instructions Help Member List Member List  
Search Last 1|3|7 Days Search Search Tree View Tree View  

PIC foghorn programme

:: EPE Chat Zone ­:: ­Radio Bygones Message Board :: » EPE Chat Zone » Archive through 09 August, 2017 » PIC foghorn programme « Previous Next »

  Thread Last Poster Posts Pages Last Post
  ClosedClosed: New threads not accepted on this page        

Author Message
Top of pagePrevious messageNext messageBottom of page Link to this message

bob9999
Frequent Contributor
Username: bob9999

Post Number: 183
Registered: 08-2007

Rating: N/A
Votes: 0 (Vote!)

Posted on Wednesday, 26 April, 2017 - 06:36 pm:   Edit Post Delete Post Print Post    Move Post (Moderator/Admin Only)

I wish to construct a model ships foghorn using a PIC. I realise the sound is quite low and complicated. I have bags of room for a good bass speaker (1.9 Meters). If someone could point me in the right direction I would be most grateful. I am familiar with 16F series and PIC assembler. If you have the assembler program that would be perfect.
Regards, RGR
Top of pagePrevious messageNext messageBottom of page Link to this message

uc27
Member
Username: uc27

Post Number: 6
Registered: 09-2016

Rating: N/A
Votes: 0 (Vote!)

Posted on Wednesday, 26 April, 2017 - 07:57 pm:   Edit Post Delete Post Print Post    Move Post (Moderator/Admin Only)

Hi

Does it need to be a PIC / uC? There are plenty of WAV / mp3 of such available to download. Perhaps you could stick it on a cheapo mp3 player available for next to nothing?

Just a thought.

Regards
Top of pagePrevious messageNext messageBottom of page Link to this message

istedman
Frequent Contributor
Username: istedman

Post Number: 428
Registered: 05-2005

Rating: N/A
Votes: 0 (Vote!)

Posted on Wednesday, 26 April, 2017 - 11:21 pm:   Edit Post Delete Post Print Post    Move Post (Moderator/Admin Only)

Hi,

For simple playback of a recorded sound sample, you can look at a PCM audio playback circuit, e.g.
http://www.enide.net/webcms/index.php?page=pcm2pwm-multiplayer
or http://www.romanblack.com/picsound.htm

I've been playing with a PCM audio circuit using an Arduino, it modulates the pitch based on servo position for an R/C car. The biggest problem, has been getting a sound sample of reasonable length. A sample converted to 8KHz, can be acceptable but it needs sufficent storage or the signal is too clipped. The first project I linked to solves that by using an EEPROM.
Top of pagePrevious messageNext messageBottom of page Link to this message

uc27
Member
Username: uc27

Post Number: 7
Registered: 09-2016

Rating: N/A
Votes: 0 (Vote!)

Posted on Thursday, 27 April, 2017 - 09:16 am:   Edit Post Delete Post Print Post    Move Post (Moderator/Admin Only)

Hi

romanblack's site is always worth a visit..:-)

I don't know his application but it is a pretty big model if the foghorn is 1.9m in diameter... Perhaps scale of 1:1..:-)
Top of pagePrevious messageNext messageBottom of page Link to this message

istedman
Frequent Contributor
Username: istedman

Post Number: 429
Registered: 05-2005

Rating: N/A
Votes: 0 (Vote!)

Posted on Thursday, 27 April, 2017 - 08:49 pm:   Edit Post Delete Post Print Post    Move Post (Moderator/Admin Only)

Perhaps the speaker is like the one at the end of this clip?

https://www.youtube.com/watch?v=3isQI0nXQRE



(Message edited by istedman on 27 April, 2017)
Top of pagePrevious messageNext messageBottom of page Link to this message

uc27
Valued Member
Username: uc27

Post Number: 11
Registered: 09-2016

Rating: N/A
Votes: 0 (Vote!)

Posted on Friday, 28 April, 2017 - 07:16 am:   Edit Post Delete Post Print Post    Move Post (Moderator/Admin Only)

Now that was a classic movie.. as were the sequels too, unusually..:-)

The logic infallible "if your going to put a time machine in a car it might as well be a DeLorean"
Top of pagePrevious messageNext messageBottom of page Link to this message

bowden_p
Frequent Contributor
Username: bowden_p

Post Number: 575
Registered: 01-2006

Rating: N/A
Votes: 0 (Vote!)

Posted on Monday, 01 May, 2017 - 09:33 pm:   Edit Post Delete Post Print Post    Move Post (Moderator/Admin Only)

Hi Bob9999,
Mike Hibbett described a prototype stereo DAC he made from a dsPIC in his EPE Dec,2011 Pic'N'Mix article. It played .WAV files stored on an SD card. The construction details are very thin however.
With regards, Paul.
Top of pagePrevious messageNext messageBottom of page Link to this message

g0hjq
Frequent Contributor
Username: g0hjq

Post Number: 110
Registered: 02-2010


Rating: N/A
Votes: 0 (Vote!)

Posted on Thursday, 04 May, 2017 - 09:20 pm:   Edit Post Delete Post Print Post    Move Post (Moderator/Admin Only)

There are some very cheap MP3 player modules on Ebay, such as this one which will play from a micro SD card or a USB memory stick (I think - the English translation isn't quite perfect).

Should be possible to use a PIC to control it, if not there are plenty of similar modules with I2C or SPI controls.


http://www.ebay.co.uk/itm/MP3-Format-U-Disk-TF-Card-decoder-board-module-amplifier-decoding-audio-Player-/272037297057?hash=item3f56afbba1:g:94AAAOSwI-BWOyp0

Administration Administration Log Out Log Out   Previous Page Previous Page Next Page Next Page