Hello all,
I've been looking at the schematic (and the boards). A question about the external oscillator. I've noted that crystals are specified in the schematic, and board layout, but don't appear in the picture. Was this board intended to run with the 4MHz internal oscillator? When investigating the UBW (Universal Bit Whacker), I noted that they make use of resonators (vs crystals). From my understanding these are simpler to use (a single 3 pin package vs crystal + two matching caps). Any thoughts on using these instead?
Oh... and nice design (in case it wasn't obvious that I think you've done a great job)
LabRat wrote:Hello all,I've been looking at the schematic (and the boards). A question about the external oscillator. I've noted that crystals are specified in the schematic, and board layout, but don't appear in the picture. Was this board intended to run with the 4MHz internal oscillator? When investigating the UBW (Universal Bit Whacker), I noted that they make use of resonators (vs crystals). From my understanding these are simpler to use (a single 3 pin package vs crystal + two matching caps). Any thoughts on using these instead?
Oh... and nice design (in case it wasn't obvious that I think you've done a great job)
He put the xtal in the design in case someone wanted one. He is using the internal oscillator at present.
Chris
Labrat,
g2ktcf is exactly right. the external crystal is for "future use" . I think phil is unsure about data loss over the comms running from the internal 16mhz clock so we have included it on the board. at this time i have been able to run 56K with 200ish channel specified inside vixen and not seen any sign of data loss. so it doesnt seem to be needed. but you can change the code and add the crystal if you like.
As for why not a resonator well i dont think they are as acurate as a crystal. and the price of a crystal and 2 caps isnt huge any more (probably like $1.20) so i dont think its a big issue. if you can find a part in eagle for a resonator i think it could be put in place of the crystal and then either could be installed as i think a standard crystal will fit in a resonator footprint and only use the outside 2 holes.
also please ignore the 18F series pic in the schematic. the current firmware only runs on a 16f722 chip. the idea was to get it working on the 18f series chips as well but there is currently a bug stopping them from working (i think its the timers but its only a guess).
Good to see some people interested in this. i personally like this code as i think it has alot of potentail.
From what i have seen it is cheaper to run 1 16f722 instead of 2 16f688 chips. infact in a coop the 16f722 is cheaper than the 16f688 chip.
16Mhz internal?? (wow).. I thought it was only 4MHz. (shows what I know)
Haven't looked at the code yet, I'm still making little blinky's with a 12F series.
I do have my own version of the bit Whacker, so I might be able to look at the 18F issues in a couple of days (no promises though.. I'm still very much a newbie overall).
yeah these chips can run at 16mhz internal.
some of the better pics can run much faster than that off the internal osc. some of them are 80Mhz and possibly more.
added a BOM to the preivious post.
total cost is under $15 + shipping. not bad for 16 channels 🙂
Note: i included a 20Mhz crystal and capacitors to the bom but atm they are not used.
We should be able to extend this to a 1 pic (40 pin part) REN24 as well.
(I've got a couple of samples of the 18F4550 kicking around here somewhere) 😎
This thread certainly has me on the verge of trying to etch/build my own board (vs waiting for the next convenient coop purchase).
Thanks for that.
i think the issue atm is getting the work done between interupts. so pushing it to a 24 channel board might be an issue. but its worth a try
alsot he 16f7XX comes in a 40pin version so porting shouldnt be to hard
I was working under the assumption that if you've managed to get the 16 channels using the internal oscillator, by adding the crystal and increasing the speed, it would give the necessary MIPS. All nice whiteboard/hand-wavy kind of talk, I just need to get myself off the PC and into the garage to try this out.
yeah. its not that simple though. but all the problems are nothing that cant be overcome im sure.
phil assures me its not as simple as turning up the clock and presto. but i am no expert.
