Jump to content

A full-blown newb on the way to a POKEY synth


nILS
 Share

Recommended Posts

Oscillators have 4 pins.

Crystals have 2 pins.

The clock divider (which I'm assuming is what the flip-flop is for) needs an oscillator input.

You can get a crystal to run as an oscillator, but you'll also need two ceramic caps, a resistor and an inverter.

Check these links.

http://en.wikipedia.org/wiki/Pierce_oscillator

http://www.midibox.org/dokuwiki/crystals_and_oscillators

Link to comment
Share on other sites

  • Replies 149
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Thanks tilted for answering that question ;D

also, the last post you did with code in it, i believe on page 3 of this thread, is that the final app or at least one that will work?

That's far from being the final version :-) It's more of a sketch really - this project is still pretty early in the development state, and I'm waiting for a friend to etch the boards for me (hence the slow progress). If anyone built a pokey board, lemme know and I'll make sure you'll get a test-app that at lees spits out some tones.

edit: Latest schem is attached so you actually know what to build :-)

mbPokey_0,4.pdf

mbPokey_0,4.pdf

Link to comment
Share on other sites

Oscillators have 4 pins.

Crystals have 2 pins.

The clock divider (which I'm assuming is what the flip-flop is for) needs an oscillator input.

You can get a crystal to run as an oscillator, but you'll also need two ceramic caps, a resistor and an inverter.

Check these links.

http://en.wikipedia.org/wiki/Pierce_oscillator

http://www.midibox.org/dokuwiki/crystals_and_oscillators

ah.  i see.  i guess i'm going to be a newb for longer than i thought!!!  thanks for the links!  i am curious though, i usually get my components from mouser, what abbreviation is the 4 pin oscillator?  i know that i have to stay away from SMD like the plague.  i learned my lesson on that one!  thanks again.

[edit] is there a formula for figuring out what values the resistor and capacitors need to be in a Pierce Oscillator?

Link to comment
Share on other sites

is this the oscillator i want?  http://www.mouser.com/Search/ProductDetail.aspx?qs=2FvjVE%2fO2XABym18KDCGoA%3d%3d  i read that the pierce oscillator was a little unreliable so i thought i'd try to find the one i needed at mouser. 

[edit] also, i can't remember what IC you are using on the core.  is it the 18F4685?

Link to comment
Share on other sites

that looks like the one you want.

I'm not sure where the "pierce oscillator is unreliable" bit comes from, I'm interested to find this out.

In fact, the 4-pin oscillator is AFAIK a crystal and pierce oscillator in a sheilded case. This explains why it is a little bigger than just the crystal. About enough to house a resistor, a couple of caps and a couple of transistors...

Link to comment
Share on other sites

i more or less meant that there was more room for error on my part...  ::)  in fact, you are correct about the 4 pin oscillator being a pierce oscillator.  i just couldn't figure out what resistors and caps i would need...  ;D

Link to comment
Share on other sites

Any PIC supported by MIOS should work. I'm using the 18F452 at the moment, so that might be a good choice ;-) Make sure to order a DIN and a DOUT kit as well - you might need some controls after all.

Link to comment
Share on other sites

Any PIC supported by MIOS should work. I'm using the 18F452 at the moment, so that might be a good choice ;-) Make sure to order a DIN and a DOUT kit as well - you might need some controls after all.

If you're on a 452, then the 452 or 4620 should work, but the 4685 may have issues.

Link to comment
Share on other sites

hey nILS.  i finally got all the parts i need to build the POKEY module BUT i still have a newb question to ask.  i consider myself a fairly descent reader of schematics but what does this section of the schematic mean (see attached)?  i understand that there are 6 100nf capacitors, that's obvious, but what are the other connections?

question section_thumb.png

2596_question_section_png05bc416509dc028

Link to comment
Share on other sites

power pins for the ics

aaahh.  just a condensed version?  i just haven't come across something like this yet...  thanks bugfight!  say, do you think you might be able to give me a slap?  foona's been hogging them lately... ;D

[edit] these newb questions are gonna keep comin' i guess...  new question:  do the capacitors correspond to the VCC and GND of each IC and the Oscillator?  i.e. 6 caps corresponding to 5 IC's and an oscillator.  i'm a little confused by the schematics in this area.  sorry once it's cleared up, i should be ok...  i understand that they are all in parallel but it seems like that wouldn't really work out correctly if i were to actually build it exactly that way.  to me, it makes more sense to have each VCC and GND of each IC connected to a corresponding cap.  correct me if i'm wrong.

Link to comment
Share on other sites

whee! Bugfight is sacrificing his last tweaker posts to answer "my" questions. Sweet. He must really like me.

[me=nILS Podewski]hugs bugfight[/me]

edit: Thanks for ze pointing out zed I had a germlishing in ze post, bugfight!

Link to comment
Share on other sites

Well... here's Veroboarded POKEY module number 1!  i guess this would be considered the newb way but i don't have access to a PCB etcher nor do i know how to use Eagle or something like it.  i actually have been having a lot of fun veroboarding my projects lately! ;D  now i'm building POKEY module number 2 and scrounging up funds for a Core module + parts and another LCD, DIN and DOUT.  let me know what you think thus far!  thanks to nILS for doing the hard part of the work for me!! ;D

[edit]  i know it's ugly but there is some semblance to the layout of nILS' etched prototype...

POKEYback_thumb.jpg

POKEYfront_thumb.jpg

2613_POKEYback_jpgd575da48f1573710b03dde

2615_POKEYfront_jpgabed0e112656d4e61aae5

Link to comment
Share on other sites

i guess this would be considered the newb way but i don't have access to a PCB etcher nor do i know how to use Eagle or something like it. 

Then I'm a newb too :) Good work man! I think vero is a perfectly respectable way to do it...

Link to comment
Share on other sites

Looking good :-) Got any sounds yet?

not yet.  i need a core and a POKEY taylored app.  how far along on the programming are you?  i'd like to help as much as i can but i fear that the most i can help is testing whatever you do... ::)

Then I'm a newb too :) Good work man! I think vero is a perfectly respectable way to do it...

thanks stryd!  you always make me feel a little less "newb." :D

Link to comment
Share on other sites

I've got a software version that basically let's you play notes and push values into the registers manually - I'll post that here as soon as I gert back home next weekend.

awesome!!  maybe once i get a hold of that, you can point me in the right direction and i can help with the programming and get it running smoothly with a MIDI controller etc...  whatever i can do!! ;D  i'm totally open and excited to learn so i'll figure it out if you get me started!

[edit] what app/firmware is it based on??  SIDv1.7?  i can try messing with it now if you have some sort of shell you are working from...

Link to comment
Share on other sites

At the moment it's based on the C skeleton which is most likely not gonna be the way to go, but it works really well for some basic testing.

okay.  i'm just going to get very familiar with the POKEY.  i'll read the datasheets, etc a few more times over so i can get a grasp on this chip.  then maybe i'll be of more help. :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share


×
×
  • Create New...