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  [ 4 posts ] 
Author Message
 Post subject: Nano chips continue to run from usb port
PostPosted: Thu Feb 03, 2011 4:19 pm 
Offline
Guru

Joined: Fri Nov 13, 2009 10:28 am
Posts: 82
Location: Reno, Nevada
This may seem to be a none issue, but my application relies on initialization for proper operation and safety. The issue is that when I power down the pcb and the usb2ser adapter is connected (for monitoring purposes) the nano program starts running again on a very low voltage (1.4vdc). This voltage can be read with all power connectors disconnected except the usb2ser. I would have thought that the nano chip would not run with such a low voltage. The program depends on an initialization sequence that is run on every power up. Since the program continues to run with usb2ser adapter connected I don't get the initialization sequence which can cause some problems with the servo sequencing on startup. It may be a problem I can live with, but it would be nice to have the chip shut down when outside power is disconnected. I know the usb port is powered from the computer and it must be feeding thru the gnd pin and either the res pin or the ser pin. Any ideas on how to drop this voltage from the port?

_________________
Harley


Top
 Profile  
 
 Post subject: Re: Nano chips continue to run from usb port
PostPosted: Fri Feb 04, 2011 10:39 am 
Offline
Site Admin
User avatar

Joined: Thu Mar 01, 2001 11:00 am
Posts: 903
Location: Temecula, CA
Double check how you are reading the voltage. The Nano chips have a brownout that activates at 2.1v. The USB2SER can provide 5v(from the USB port) so it looks like something else is dragging this down.

Also you can setup your PC side app to hold the nano in reset by setting the RTS pin of the serial port when you want it to be powered down. There really isn't any other option. The nano chips are PICmicro based and PICmicros can run off power from other pins besides vcc. In this case I suspect its getting it from the reset pin (USB2SER is holding it high).

_________________
Tech Support
Basic Micro - Robotic Technology Evolved


Top
 Profile  
 
 Post subject: Re: Nano chips continue to run from usb port
PostPosted: Sat Feb 05, 2011 11:42 am 
Offline
Guru

Joined: Fri Nov 13, 2009 10:28 am
Posts: 82
Location: Reno, Nevada
I have tried setting the RTS pin on the serial port and that works perfectly for my app. The program no longer runs when I power down the nano and enable the RTS pin in the VB program. It is a work around that will do the job. Thanks!

_________________
Harley


Top
 Profile  
 
 Post subject: Re: Nano chips continue to run from usb port
PostPosted: Mon Feb 07, 2011 11:24 am 
Offline
Site Admin
User avatar

Joined: Thu Mar 01, 2001 11:00 am
Posts: 903
Location: Temecula, CA
No problem. The only other option would be to hold the TX pin from the PC in a break state. This should make the TX pin to the Nano from the USB2SER board be low. I suspect the TX pin is being held high and the nano, which requires very little power to run, is getting enough from the USB2SER TX pin to do so.

_________________
Tech Support
Basic Micro - Robotic Technology Evolved


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 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