Store › Forums › Audio Hacker › Discussion and Project Ideas › Larger SRAM?
- This topic has 9 replies, 4 voices, and was last updated 9 years, 9 months ago by Michael.
-
AuthorPosts
-
July 17, 2013 at 4:06 am #637JFiddleMember
If I could find 8 pin DIP SRAM chips with high capacity, could I substitute them? Any code alterations needed?
July 17, 2013 at 5:36 am #1736JFiddleMemberActually, would I have to make major changes to the code to add more SRAM chips? I can get the ones you use pretty cheaply. I’m thinking instead of 256k memory, maybe expand it on a new shield to double or more memory.
July 18, 2013 at 12:56 am #1738MichaelKeymasterYou would need to use an additional Arduino pin as the chip select pin for each new chip you add. For example, if you add 2 more chips, you could use digital pins 3 and 4 for the chip select pins.
Do you have experience with SPI? You would have to make changes to the Audio Hacker library to support more chips. Have you studied the library code?
July 18, 2013 at 1:25 am #1739JFiddleMemberI’ve studied the schem and code. No experience at all. I’m jumping in the deep end here.
From memory (my own lol) I can see how to connect them, and in code I can see (not fully understand yet) how they are addressed.
Could it be a matter of copy/paste the code addressing the two SRAM chips with minor alterations to the code?
I’m using an Eleven (Freetronics Australia 100% Ard. compatible) and it has this nice prototyping space on the board.Ps. Hacker arrived today. Quick delivery and well packaged. Can’t wait to break out the iron 🙂
July 18, 2013 at 1:11 pm #1737MichaelKeymasterIt’s not as easy as copy/paste — you do need to understand it. If you understand how to use the chip select pins, and which address ranges go to which chips, then you can do it. If you have no micorcontroller programming experience, then this is definitely diving into the deep end of the pool.
July 18, 2013 at 9:32 pm #1741JFiddleMemberYeeeeeh, I thought that might’ve been the case. I have a habit of doing that and then being like ???
Think I’ll stick to the basics first lol.
Built the Hacker last night, uploaded 8bit sketch….happy land 🙂
Easy build (I like how after soldering the sockets you can still see the silk screen for each chip, nice touch). The only thing I’d say was difficult was the black on the board made it hard for me to tell if I got a good connection. Then again I get a bit OCD when soldering a PCB. I even double check the resistors with a multimeter.I bow before your greatness. Even just the ADC and DAC has solved a lot of issues so I can start tinkering with other audio sketches I have.
One happy customer over ‘ere.July 18, 2013 at 9:46 pm #1742MichaelKeymasterThanks much for the feedback. Glad you had a successful build!
January 20, 2014 at 10:59 am #1865sofiazoeMemberYou would need to use an additional Arduino pin as the chip select pin for each new chip you add. For example, if you add 2 more chips, you could use digital pins 3 and 4 for the chip select pins……………………… 🙁 😮
.February 23, 2015 at 9:03 pm #2190mehakjMemberWould it be possible to use only an SD Card and be able to save longer/ higher quality samples?
February 24, 2015 at 3:02 am #2191MichaelKeymasterPLEASE read the FAQ: http://nootropicdesign.com/audiohacker/faq.html
-
AuthorPosts
- You must be logged in to reply to this topic.