Author Topic: Strange power issues  (Read 1791 times)

0 Members and 1 Guest are viewing this topic.

Offline DerutyTopic starter

  • Jr. Member
  • **
  • Posts: 7
  • Helpful? 0
Strange power issues
« on: August 13, 2009, 01:06:43 PM »
When I turn a port off instead of going to 0v the pin continues to supply aprox. 1.9v Can anyone help me w/ this. I'm using the $50 robot tutorial btw.

EDIT: I read some other people's problems and figured it out. Thanks anyway.
« Last Edit: August 13, 2009, 01:36:52 PM by Deruty »

Offline sonictj

  • Supreme Robot
  • *****
  • Posts: 416
  • Helpful? 11
    • Tim's Workshop
Re: Strange power issues
« Reply #1 on: August 13, 2009, 02:03:42 PM »
if your DDR register is set your port might act like this.  Is there a problem, or are you asking out of curiosity.

Offline chelmi

  • Supreme Robot
  • *****
  • Posts: 496
  • Helpful? 15
    • Current projects
Re: Strange power issues
« Reply #2 on: August 13, 2009, 02:20:40 PM »
if your DDR register is set your port might act like this.  Is there a problem, or are you asking out of curiosity.

hmmm it should not. Low state is 0V to 0.7V, high state is 2.2V to 5V. 1.9V is in the "gray" zone and is invalid.
Deruty, what was wrong ?

Offline sonictj

  • Supreme Robot
  • *****
  • Posts: 416
  • Helpful? 11
    • Tim's Workshop
Re: Strange power issues
« Reply #3 on: August 13, 2009, 02:56:36 PM »
Quote
hmmm it should not. Low state is 0V to 0.7V, high state is 2.2V to 5V. 1.9V is in the "gray" zone and is invalid.

I thought there were different threshold associated with input versus output on the AVR but I could definitely be wrong about that.

**EDIT: checked and chemli is definitely right 1.9V is in the gray zone.
« Last Edit: August 13, 2009, 03:00:54 PM by sonictj »

 


Get Your Ad Here