Shop OBEX P1 Docs P2 Docs Learn Events
Anyone familiar with ISD25xx family ??? — Parallax Forums

Anyone familiar with ISD25xx family ???

NR1XNR1X Posts: 111
edited 2008-08-14 09:51 in General Discussion
wonder if anyone is familiar with the isd voice recorder chip ?? question is can i record to a specific address or is it always sequencial?? putting together a radio voicemail system for use on vhf radio.. iwould like to have a prerecorded greeting, but want it at the end of memory to avoid accidental overwrite.. i could put it at address 0
but then i would still need to know how to start recording messages at address 1 keeping my greeting intact.. future upgrades might include a rtc chip with time reported in my voice and maybe a ds1620 outside the shack to report current temp.. the rtc and 1620 could share 2 stamp pins using a whopping 4pins between the two.. they could also use the same prerecorded digits!! anywho i ramble off topic.. back to my ?... can i record to a specified address without recording to all the rest on the way?? i would use the isd sound lab from nutsnvolts volume 66 to figure it out so if you have suggestions it would be best to refer to that code..

Comments

  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2008-08-13 14:15
    This thread is being moved from the BASIC Stamp Forum to the Sandbox Forum since it is off topic in the original forum which is for BASIC Stamp discussion only.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
  • DosManDanDosManDan Posts: 179
    edited 2008-08-13 22:22
    I realize this is for a different chip, but parts of the post might help you:

    http://forums.parallax.com/showthread.php?p=659734

    I have the 25XX chips also, and I remember they are waaaaay easier to use than the 40XX series. If I remember correctly, you simply record and it keeps track of how many items you have. Each new sound gets a number, 1..2..3 etc.

    I'd make your permanent recording the FIRST thing on the chip, then record all other sounds after that. If one of your recordings uses up the available memory, you won't overwrite your first message. All you need to do is send it the number or address of where you want it to start recording. Basically, select the first sound, then use the skip command to jump to the end of the sound bite, and start recording. In the specifications sheet, you are looking for the M4 command, consecutive addressing.

    You can always take the same approach I used... and create an index of where the sounds are(on the 2560 chip) and save them to an EEPROM. You can easily save the info to a 24LC16B, then you can skip around an record where ever you want. If you choose this apprach, simply record the starting address where you are going to store the·sound, after it records, store the current address as the ending address. The next sound will be recorded one byte past the end of the last address.

    Next, take a look at this book, it has the plans and code for doing the project you are talking about. It uses a BS2, but translating the code is very easy. I don't have the book in front of me, but I think he is using the 25XX family of chips to record the sounds.

    Stamp 2 Communications:
    http://www.amazon.com/STAMP-2-Communications-Control-Projects/dp/0071411976/ref=sr_1_3?ie=UTF8&s=books&qid=1218666440&sr=8-3

    Take care,
    Dan

    Post Edited (DosManDan) : 8/13/2008 10:28:10 PM GMT
  • NR1XNR1X Posts: 111
    edited 2008-08-13 22:42
    this is exactly the book that im working from.. the trick would be how to address the incoming msgs so that they dont overwrite the greeting.. i guess ill have time to workit out since ill need to get shiftregisters, or the chipcorder will eat up all the stamp2's I/O pins
  • DosManDanDosManDan Posts: 179
    edited 2008-08-14 00:45
    It really isn't that bad. When you record a sound, you check the address when it is finished. The first sound you record will be at zero, so you only need to store the ending address. To find the starting address of the second sound, it will be the ending address of the first sound plus 1 byte. After storing your second sound, save the ending address. Your third sound will start one byte past the end of your second sound.

    Using the M commands for the ISD 25XX chip, you can use the skip command to walk through the recorded sounds. When you skip to a sound, you can then issue a command to read the address. This is useful if you ever need to rebuild your index.

    Check the interface again, I don't believe you need to use all the pins for the address. Only pins A0(M0), A6(M6), A8 and A9 are connected to the chip. The others all connect to ground. Basically the first 7 are used to select playback modes and setttings.

    Dan
  • T&E EngineerT&E Engineer Posts: 1,396
    edited 2008-08-14 01:49
    Take a look at my first BS2 project - A talking video clock.

    http://forums.parallax.com/showthread.php?p=553075



  • NR1XNR1X Posts: 111
    edited 2008-08-14 09:51
    dan: i need the other addr. lines to connect to the stamp so that i can playback from that addr. . it dosent appear that recording to a specific address is really necissary, i can just record a greeting note its address and length and start msg recording at the next addr.
    tim: great project, i cant wait till i get more familiar with bs2, then ill be confident about moving up to either the sx or prop.. for now the bs2 is keeping me very busy.. like ham radio and my bike this "hobby" is quickly becoming a habit..
Sign In or Register to comment.