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
Native mode newbie

 
Post new topic   Reply to topic    Forum Index -> ZBasic Native Mode
Author Message
FFMan



Joined: 09 Jan 2010
Posts: 223

Posted: 11 January 2010, 9:54 AM    Post subject: Native mode newbie Reply with quote

I have a project based around a ZX24a which is performing the main tasks, however i need to decode a 38khz IR signal and was wondering about using a native mode chip to decode the signal and simple signal the zx24a when the correct signal is received.

Never having using native mode before I have a couple of questions:-

do i need some interface h/w to download to something like a zx-328n

is the pin out of 328 by and wild chance the same as the parallax sx range of chips (now discontinued) - if so i can use the dev board i have

Is the 328 the right choice for this front end task given i don't have surface mount skills ?

thanks
Back to top
mikep



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

Posted: 11 January 2010, 15:15 PM    Post subject: Reply with quote

Your append has several different points in it. In terms of native mode devices, there is more available than just the 328n. There is also the 24-pin ZX-24n and 40-pin ZX-24nu. The ZX-24n is probably most compatible with a 24-pin Stamp.

In terms of the mega328 there are several different versions including a barebones 28-pin DIP (328n) and a 28-pin module called the ZX-328nu - neither of these devices require any SMD soldering.
Back to top
FFMan



Joined: 09 Jan 2010
Posts: 223

Posted: 11 January 2010, 15:41 PM    Post subject: Reply with quote

I was considering the 328n because of cost mainly I guess. If I go down the zx24n route then I get more speed (over zx24a) but same cost as zx24a or thereabouts.

In terms of pins i only need a couple so no need to consider the bigger devices in this case.

thanks for your input
Back to top
dkinzer
Site Admin


Joined: 03 Sep 2005
Posts: 2499
Location: Portland, OR

Posted: 11 January 2010, 16:32 PM    Post subject: Re: Native mode newbie Reply with quote

FFMan wrote:
is the pin out of 328 by and wild chance the same as the parallax sx range of chips (now discontinued)
Not at all. I suppose that you could hand-wire an adapter board of some sort if you wanted to take advantage of I/O on the dev board. You'd need to put the crystal and serial interface circuitry on the adapter and route only the I/O pins to the dev board.
Back to top
mikep



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

Posted: 11 January 2010, 20:29 PM    Post subject: Reply with quote

FFMan wrote:
I was considering the 328n because of cost mainly I guess.
dkinzer wrote:
...you could hand-wire an adapter board of some sort if you wanted to take advantage of I/O on the dev board. You'd need to put the crystal and serial interface circuitry on the adapter and route only the I/O pins to the dev board.
Cost is a relative term. As Don says you also need the associated circuitry and a serial port interface. If you only have USB then you also need a USB to RS232 adapter - it all adds up.

Or you get get a ZX-328nu which integrates everything and is cheaper than the ZX-24n or ZX-24nu. It may also fit into your Stamp board as the "top" 24 pins are similar with Digital I/O on one side and ADC/Digital on the other. The only difference is that pins 1-3 carry TTL signals rather than RS232 levels but then again you do have USB onboard. The only real compatibility issue is a physical one - is there enough room for a 28 pin 600 mil device in the 24-pin socket? A few female headers may be all you need to raise the height of the ZX-328nu PCB.
Back to top
FFMan



Joined: 09 Jan 2010
Posts: 223

Posted: 12 January 2010, 13:43 PM    Post subject: Reply with quote

Is there a circuit diagram available somewhere of a basic zx24n setup to get me started ?

thanks
Back to top
mikep



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

Posted: 12 January 2010, 15:10 PM    Post subject: Reply with quote

FFMan wrote:
Is there a circuit diagram available somewhere of a basic zx24n setup to get me started ?
I'm not sure why you have posted this twice in 2 different threads. Perhaps you can delete the other post.

The pinout for the ZX-24n is the same as the ZX-24a. If you meant a ZX-328n circuit diagram (instead of ZX-24n) then the need to look at appendix G of the documentation.
Back to top
FFMan



Joined: 09 Jan 2010
Posts: 223

Posted: 12 January 2010, 15:33 PM    Post subject: Reply with quote

posted twice becuase my fingers got in a muddle - other psot now deleted.

yes sorry i meant 328 - busy day here at the factory

thanks for the pointer to appendix g - now if only i didn't have to wait a month for stuff to get to the UK !
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Forum Index -> ZBasic Native Mode Time synchro. with the server - Timezone/DST with your computer
Page 1 of 1

 


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