BasicMicro - Forums

www.basicmicro.com
It is currently Mon May 21, 2012 12:24 am

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Nano 40 in Mark III PCB?
PostPosted: Tue Nov 02, 2010 3:17 pm 
Offline
Master

Joined: Tue Jun 22, 2010 1:15 pm
Posts: 203
Can I drop a Nano 40 into the PCB of the Mark III controller PCB?

http://www.junun.org/MarkIII/Info.jsp?item=3

It takes an '877, so should be pin compatible.

http://www.junun.org/MarkIII/datasheets/Controller_SCH.pdf

Reason is, we've planning a robot class for our robot club. I'd like to use the Nano 40 in the Mark III robot.

the PCB as a DS-232 level converter chip on it which could be disconnected. Has an XTAL, which could be left off.

The programming pin of the Nano, pin 6, is not connected in a PIC type build.

I assume I need the $15 Nano programmer?

Or one alternative would be to use the Nano Development board on the Mark III (or a similar) chassis. What are the dimensions and the hole pattern dimensions?

Thoughts?

Thanks!

Alan

_________________
Visit:
http://groups.yahoo.com/group/SherlineCNC/
http://tech.groups.yahoo.com/group/HexapodRobotIK/


Top
 Profile  
 
 Post subject: Re: Nano 40 in Mark III PCB?
PostPosted: Tue Nov 02, 2010 10:58 pm 
Offline
Master

Joined: Sun Aug 17, 2008 5:26 pm
Posts: 798
Location: CA bay Area
Hello, Allan.
Sure, why not? If you use the Nano40, disconnect the crystal circuit. This gives you two more I/O pins where the clocks used to be, P32 and P33. Select Nano/Nano40 from the selection menu.
If you use the new Nano40X you could keep the 20MHz crystal circuit in and run 2.5x faster than the Nano40. This means everything, including the serial ports, runs faster.This is probably the old Atom chip, so select Atom/ BasicAtom40 RevD from the selection menu.
As for programming, you can just keep the present MAX232 chip and use a standard serial port or a USB-serial adapter IF the adapter supports RTS to supply the RESET. Get the Nano40 data sheet and check out pages 5 and 6 of the PDF. This shows how to merge the TxD and RxD from the MAX232 through a diode, and using a 10k pullup, to arrive at the single-pin programming/serial pin at the processor's pin 6. This pin is refered to as S_IN or S_OUT for serial comms.
Hope that helped.

_________________
kenjj
http://blog.basicmicro.com/
http://kjennejohn.wordpress.com/


Top
 Profile  
 
 Post subject: Re: Nano 40 in Mark III PCB?
PostPosted: Wed Nov 03, 2010 10:37 am 
Offline
Master

Joined: Tue Jun 22, 2010 1:15 pm
Posts: 203
Hi Ken, Kurt,

Thanks for the quick response! This "hot rod" of the Mark III sounds like it could certainly work!

I did notice that it was the RTS/CTS lines that had the convenient jumpers, not the TX/RX which would have to be cut (and the extra parts added), but we can do that. The Mark III has a 1K RES line pull-up which might have to be changed also (as the Nano programming interface specifies 10K).

Do you know if there be a Nano 40X choice in the IDE (or a way to specify the different clock rate)? I can just fudge the baud rate, but the delays and other (PS2?) timing will probably be affected.

Kurt,

Do I remember that you have the Nano development board? Could you measure the board overall size, and the center-to-center distances of the mounting holes?

Thanks!

Alan KM6VV

kenjj wrote:
Hello, Allan.
Sure, why not? If you use the Nano40, disconnect the crystal circuit. This gives you two more I/O pins where the clocks used to be, P32 and P33. Select Nano/Nano40 from the selection menu.
If you use the new Nano40X you could keep the 20MHz crystal circuit in and run 2.5x faster than the Nano40. This means everything, including the serial ports, runs faster.This is probably the old Atom chip, so select Atom/ BasicAtom40 RevD from the selection menu.
As for programming, you can just keep the present MAX232 chip and use a standard serial port or a USB-serial adapter IF the adapter supports RTS to supply the RESET. Get the Nano40 data sheet and check out pages 5 and 6 of the PDF. This shows how to merge the TxD and RxD from the MAX232 through a diode, and using a 10k pullup, to arrive at the single-pin programming/serial pin at the processor's pin 6. This pin is refered to as S_IN or S_OUT for serial comms.
Hope that helped.

_________________
Visit:
http://groups.yahoo.com/group/SherlineCNC/
http://tech.groups.yahoo.com/group/HexapodRobotIK/


Top
 Profile  
 
 Post subject: Re: Nano 40 in Mark III PCB?
PostPosted: Thu Nov 04, 2010 10:59 am 
Offline
Site Admin
User avatar

Joined: Thu Mar 01, 2001 11:00 am
Posts: 903
Location: Temecula, CA
In Studio set to Auto or Atom40 for now. Until this gets updated the Nano40X is the Atom40 chip.

_________________
Tech Support
Basic Micro - Robotic Technology Evolved


Top
 Profile  
 
 Post subject: Re: Nano 40 in Mark III PCB?
PostPosted: Thu Nov 04, 2010 12:08 pm 
Offline
Master

Joined: Tue Jun 22, 2010 1:15 pm
Posts: 203
Thanks Nathan!

Alan KM6VV

_________________
Visit:
http://groups.yahoo.com/group/SherlineCNC/
http://tech.groups.yahoo.com/group/HexapodRobotIK/


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group

phpBB SEO