Home brew demo Board
Mike Cook
Posts: 829
I would like to go ahead and start constructing a home made demo board to use with the Propeller while I wait for the Propeller to ship. I am starting with the schematic posted here:
http://forums.parallax.com/attachment.php?attachmentid=41055
and will be adding the composite video out circuit as shown below:
I have a few questions for Parallax or anyone that presently has a demo board:
1. I am planning on using a 5MHz crystal, what type of crystal is needed for the Propeller? Load Capacitance: specified or series?
2. The resistors for the composite circuit, do they need to be 1% or will 5% due.
3. The pin out the composite circuit, is this the default for the TV.SPIN object.
Thanks,
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Mike
http://forums.parallax.com/attachment.php?attachmentid=41055
and will be adding the composite video out circuit as shown below:
For color composite video out you need three pins, three resistors, and an RCA jack: A12 -----[noparse][[/noparse] 1.1k ]----*-----> composite out | A13 -----[noparse][[/noparse] 560 ]-----* | A14 -----[noparse][[/noparse] 270 ]-----+
I have a few questions for Parallax or anyone that presently has a demo board:
1. I am planning on using a 5MHz crystal, what type of crystal is needed for the Propeller? Load Capacitance: specified or series?
2. The resistors for the composite circuit, do they need to be 1% or will 5% due.
3. The pin out the composite circuit, is this the default for the TV.SPIN object.
Thanks,
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Mike
Comments
http://forums.parallax.com/showthread.php?p=572669
So am I correct in assuming that I can use a crystal with a specified capacitance of 20pF as long as I don't exceed 36pF? This is the one I'm thinking about ordering:
http://www.ecsxtal.com/pdf3/HC_49US.pdf
http://www.mouser.com/index.cfm?handler=displayproduct&lstdispproductid=201077&e_categoryid=26&e_pcodeid=52003
Thanks,
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Mike
If you are interested in doing video, the cut of the crystal does matter.
I will try to find out the difference and let you know.
You can compensate for the crystal cut in software by adding an offset of 3000Hz to the actual
crystal frequency you are using and specifying the '_xinfreq=' value in the IDE with that offset.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe
IC Layout Engineer
Parallax, Inc.
http://forums.parallax.com/attachment.php?attachmentid=41055
is correct!··
Here's what's left to do....
1. USB2SER & 24LC256 will be here Tuesday April 4, 2006 + 2 types of 5 MHz xtals, (20pF and series)
2. 3.3 volt PS works and I've electrically checked the board verses the schematic
3. Need to add a +5VDC supply
4. Mount this board to a chunk of LEXAN
5. Add 2 RS 276-174 plastic proto boards
6. Mount the Matrix Orbital LCD2041 serial display
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Mike
Post Edited (Mike Cook) : 4/2/2006 7:07:05 PM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
No I do not have pull up's in the SDA & SCL lines, thought it was strange that they did not have these. I followed the schematic that Ken Gracey posted here:
http://forums.parallax.com/attachment.php?attachmentid=41055
I usually use pull up's on AVRs, but I was just following the schematic that Ken Gracey posted.
What you would you suggest 4.7K's?
Is there a problem with the posted schematic?
The schematic that·Ken Gracey posted seems to be the same·that was posted·on this forum and published in the April edition of Nuts & Volts.
Thanks,
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Mike
Post Edited (Mike Cook) : 4/2/2006 7:39:14 PM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Like this? 10k from USB2SER· to SDA (Propeller pin 38) is under the ZIF socket.
·
Thanks,
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Mike
Post Edited (Mike Cook) : 4/2/2006 8:04:17 PM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
http://forums.parallax.com/attachment.php?attachmentid=41055
SDA & SCL are now pulled up to +3.3 via a 4.7K resistor on each line.
So what I gather form this conversation is that there is an ERROR in the original schematic as posted here:
http://forums.parallax.com/attachment.php?attachmentid=41055
and in the April 2006 Nuts & Volts Atricle. The RES from the USB2SER should only go to PIN 11 of the propeller chip (RESn)·and NOT be connected via a 10K series resistor to pin 38 (Propeller SDA) for stand alone operation. Is there any harm in in including it?. Is it needed for programming the Propeller via the IDE?
Thanks Jon!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Mike
Post Edited (Mike Cook) : 4/2/2006 9:16:40 PM GMT
cheers ... BBR
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
cheers ... brian riley, n1bq, underhill center, vermont
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
So my last changes to the curcuit of deleting the 10k between the USB2SER.RES to the Propeller.PIN38 (SDA) and adding the 4.7K pull ups to SDA and SCL on the 24LC256 to +3.3VDC·seem to be correct.
With the USB2SER disconnected, what state should the Propeller PIN11 (RESn) be? Should it be left floating or tied to +3.3 VDC with a weak pull up such as a 10K·or 100K?
I'll probably add the reset button to the circuit next.
Thanks Jon,
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Mike
Post Edited (Mike Cook) : 4/3/2006 1:56:04 AM GMT
"What is the word on a crystal?"
I still need to find out.... Only reason I bring this up, is that early on I was using a 10MHz out of a junk box, and
the question came up with Chip as to why I was only seeing black and white on my TV monitor. He mentioned
something about the crystal overtone messing with the synthesized color burst. I forget now if the crystal should
be series cut or parallel cut. Perhaps Chip or Jeff can help to answer this question.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe
IC Layout Engineer
Parallax, Inc.
With·BOEn·wired low, the RESn pin will pull high via an internal 5k resistor·as long as·VDD is above ~2.6V. If VDD drops below this threshold, the RESn pin will pull low via the same 5k resistor and hold the Propeller in reset mode. Because the RESn input is a Schmitt trigger, there is no problem using it as a pull-up source for SDA, as long as an additional resistor is used. A 10k works fine.
The USB2SER and the Propeller Clip have only·a low-pulsing NPN transistor connected to their reset·output, and no pull-up, at all. The Propeller is doing the pull-up internally.
What Jon's mainly concerned about is being able to use the existing I2C·connection for other I2C peripherals, not just the 24LC256. For such an application, two separate resistors on SDA and SCL to VDD is the way to go. The one-resistor-to-RESn is a minimal approach when only the EEPROM is connected and you want to keep things simple and lowest-power.
Of course, you could connect I2C devices to ANY of the Propeller's pins. Jon would like to not waste another 2 pins, though, since 28 and 29 are already being used for I2C.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chip Gracey
Parallax, Inc.
Post Edited (Chip Gracey) : 4/3/2006 4:33:11 AM GMT
I'll put the 10K back in the circuit and leave the additional 4.7K pull ups in on the SDA & SCL lines so I can use the I2C bus for other I2C chips.
Mike
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Mike
Chip Gracey
Parallax, Inc.
Good timing! I was heating up the soldering iron! I'll leave the 10K out, I had not had a chance to install it yet.
Thanks to ALL·for the help!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Mike
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
No problem at all! There's always going to be a few "bumps in the road" when working with a new chip. In fact if you look to the right of the 24LC256 chip, in the above post, I'll probably put a 4 pin header there so I easily can extend the I2C bus out to the bread board or elsewhere.
Thanks Again,
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Mike
I'm enjoying watching you progress with your project. I was wondering if you could post pics of both the front and back when your done?
Some of the newbies and people like myself might enjoy seeing it, and how simple it is to make.
KK
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Just tossing my two bits worth into the bit bucket
KK
·
Chip,
Thanks for the great info. Will there be updates to the schematics previously posted [noparse][[/noparse]by Ken]?
Paul
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
cheers ... brian riley, n1bq, underhill center, vermont
How did you place the order? I have been on the Propeller page several times this AM and cannot find any way to place my order. I thought they were just not ready yet..
KK,
I will, probably won't be until this weekend though. Back of the board is not real pretty but it passes all the electrical and continuity tests against the posted schematic. Only thing I need to verify is the pin out the USB2SER. It should be here Tuesday.
This board will be mounted to a chunk of LEXAN along with two plastic bread boards from Radio Shack, plus some other goodies. Will be adding a 5 volt regulator to this board so I can also power +5VDC stuff from the main supply.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Mike
Post Edited (Mike Cook) : 4/3/2006 4:11:56 PM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Mike
Thanks. I'm seriously considering building my own Dev board. From what I'm reading, it's not brain surgery, but close enuff, but your success and documentation is really the deciding issue for me. See, due to my lack of expierence, when I start using the board and got unexpected results, I would be hard pressed to figure out if it's the dev board, the project wiring or the code. THat's the biggest advantage of getting a dev board pre made... no buggies in the hardware. Another good thing with a quality dev board would be issues from poor construction (I'm sure I'de get a lot of things like that). But, all in all, I really considering making the board.
Do you think you'll add the PS2 ports, and Video to yours? I'm doing a lot of thinking here because when you go to a custom dev package, the world opens up... real wide and fast...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Just tossing my two bits worth into the bit bucket
KK
·
www.parallax.com/detail.asp?product_id=p8x32a-d40
Good luck.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
cheers ... brian riley, n1bq, underhill center, vermont
Yes, thanks - I made my purchase a while ago as soon as the link was activated.
Paul
I have not had the time look at all the spec's yet on this chip. I have a question for you?
Do you need to run an current limiting resistor at any of the I/O pins before the chip. I would like to assemble a proto board also.
I am just thinking ahead.
What crystal are you useing?
See this link for crystals: http://forums.parallax.com/forums/default.aspx?f=25&m=118638
Of course, you could always use the internal clock if you don't want full speed.
Ken Gracey
Parallax, Inc.