Forum Index
HomeZBasic Home   Forum RulesForum Rules   Forum FAQForum FAQ   MemberlistMemberlist   UsergroupsUsergroups   RSS FeedRSS Feed
Site SearchSite Search   LinksLinks   DownloadDownload   Digests and SubscriptionsDigests and Subscriptions
ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in   RegisterRegister
Introducing the ZX24e
Goto page Previous  1, 2, 3
 
Post new topic   Reply to topic    Forum Index -> ZBasic Language
Author Message
zbasicandy



Joined: 26 Jan 2006
Posts: 193

Posted: 30 April 2006, 9:01 AM    Post subject: ZX-24e Reply with quote

There is still a problem ... with the switch in the "TTL position" the Rx input is not pulled up and garbage characters will show up in the COM1 input queue. This caused a lot of problems for me.

From another link ...
Quote:
When the serial cable is disconnected, the serial input lines (RxD and ATN) are not being driven. On the ZX-24, the ATN line has a pull down resistor that keeps the line from floating and inadvertently resetting the processor. The RxD line has no pull down resistor (on board revisions R0 through R2). Consequently, garbage characters may show up in the COM1 input queue.
- Don
Back to top
mikep



Joined: 24 Sep 2005
Posts: 771
Location: Austin, TX

Posted: 30 April 2006, 16:15 PM    Post subject: Re: ZX-24e Reply with quote

zbasicandy wrote:
There is still a problem ... with the switch in the "TTL position" the Rx input is not pulled up and garbage characters will show up in the COM1 input queue. This caused a lot of problems for me.

From another link ...
Quote:
When the serial cable is disconnected, the serial input lines (RxD and ATN) are not being driven. On the ZX-24, the ATN line has a pull down resistor that keeps the line from floating and inadvertently resetting the processor. The RxD line has no pull down resistor (on board revisions R0 through R2). Consequently, garbage characters may show up in the COM1 input queue.
- Don

I read the same topic: Serial Download / Monitor / Debug link to ZX-40 or ZX-xx. The last append by Don clarifies that the Rx pulldown should be on the RS232 side. At that time I verified that the MAX202 I'm using has a 5K pulldown. In any case with the switch in the TTL position, the Rx RS232 input is disconnected from the ATmega32 RxD TTL input.
Back to top
mikep



Joined: 24 Sep 2005
Posts: 771
Location: Austin, TX

Posted: 02 May 2006, 3:31 AM    Post subject: Re: Schematic Reply with quote

Thank you to everyone who gave me input on the ZX24e.
mikep wrote:
The current prototype uses the switch in DPST mode to simply disconnect Tx/Rx from the MAX202.
I have found a way to provide true DPDT switching of Tx/Rx by adding only 12 mil to the width of the board. The latest schematic shows this improvement.

I am not going to be able to add a SMD crystal or more LEDs as other people have suggested because of the lack of space. There is just enough room for a power monitor LED. Anyone have feedback on this idea?
Back to top
JC



Joined: 20 Feb 2006
Posts: 56
Location: Hudson,OH

Posted: 02 May 2006, 4:28 AM    Post subject: Reply with quote

I like the concept and design a lot.

One question...
Would it not be better to have the + end of the Red/Green LEDs tied directly to +5, and a separate current limiting resistor in series with each LEDs minus lead to the cpu's ports?

I suspect that the forward voltage drop across the red and green diodes is different, sometimes significantly so.
If each LED has its own resistor this does not matter, they each can have whatever current through them you desire, which need not be the same, and they can have their individual forward voltage drops.

As currently designed, if the red led has a 0.7 V forward drop, and the green LED has a 1.4 V forward drop, then the red wins, and the green will be dim, if both are on simultaneously. I suspect.

My eye sight is too poor, and my soldering iron tip to large to play with SMDs, but it may be worth bread boarding just the LED(s) to test this. A data sheet for the part will also list both forward voltage drops.
Nit picking, and perhaps not an issue, but I thought I'd mention it before you lock down the design.

I like the overall concept and design, and hope to play with one soon!
JC
Back to top
JC



Joined: 20 Feb 2006
Posts: 56
Location: Hudson,OH

Posted: 02 May 2006, 4:44 AM    Post subject: Reply with quote

Never mind the above LED posting.

The data sheet notes that the Vf for BOTH the Red and the Green LEDs is the same, 2.1 v, (Max 2.8 v). I have some non-SMD green LEDs that are actually two diode junctions stacked, hence the different Vf.
Embarassed
JC
Back to top
JC



Joined: 20 Feb 2006
Posts: 56
Location: Hudson,OH

Posted: 02 May 2006, 5:32 AM    Post subject: Reply with quote

My last LED comment...

As designed, with one current limiting resistor, the current through the resistor is the SAME whether only one, or both LEDs are on. If both are on then the current is split between them, and they each get 1/2 of the current they get if they are on alone.

Hence, each LED is much brighter if it is on alone, and much dimmer if it is on simultaneously with the other LED.

Turning on both LEDs does not double the current drawn.

I = V/R, = (5-2.1) / 220 = 13.2 mA, current through the resistor, with either one or both LEDs on, as the voltage at each end is fixed, regardless of how many LEDs are on.

If each LED has its own current limiting resistor, on its minus lead, then each draws 13.2 mA, and has uniform intensity, regardless of the status of the other LED.

Lastly, who cares. As a simple visual cue to the programmer, either design is fine.

This can be easily verified. Turn on either LED, (recall the negative logic... Setting the port to 0 turns ON the LED). Then FLASH the other LED at 1/2 Hz, (ON Delay (0.5) OFF Delay (0.5)...) The LED that is always on flickers bright/dim/bright/dim...

Sorry for beating this to death.
JC
Back to top
mikep



Joined: 24 Sep 2005
Posts: 771
Location: Austin, TX

Posted: 02 May 2006, 5:52 AM    Post subject: Reply with quote

JC wrote:
Hence, each LED is much brighter if it is on alone, and much dimmer if it is on simultaneously with the other LED.

Your comments are correct and in fact I have experimented with separate resistors and even separate LEDs. However I may stick with the current design as it is the same as ZX-24 and BX-24.
Back to top
JC



Joined: 20 Feb 2006
Posts: 56
Location: Hudson,OH

Posted: 15 May 2006, 16:50 PM    Post subject: Reply with quote

5/15/06 Hi Mike,
I wondered what the current status is on the ZX-24e? I'm looking for a few more I/O pins, and it would be much easier to drop your e version in a protoboard, rather than go order a separate XTal, 10uH coil, specific eeproms, etc. How is the project coming along?
JC
Back to top
mikep



Joined: 24 Sep 2005
Posts: 771
Location: Austin, TX

Posted: 20 May 2006, 17:52 PM    Post subject: Reply with quote

Thanks for asking JC.

I have an improved circuit and PCB layout based on input from this group. I'm in the process of sending that to manufacturing and then I can start ramp up for production. My best guess is 8 weeks before availability given that I also have a 2 week vacation and a day job Smile
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Forum Index -> ZBasic Language Time synchro. with the server - Timezone/DST with your computer
Goto page Previous  1, 2, 3
Page 3 of 3

 


All content Copyright © 2005-2012 Elba Corp. All Rights Reserved.
Opinions expressed in posts are those of the author and not necessarily those of Elba Corp.
Powered by phpBB © 2001, 2005 phpBB Group