​ ​ ​ ​ Picaxe Maxed Variables Confusion
Results 1 to 5 of 5

Thread: Picaxe Maxed Variables Confusion

  1. #1
    New Member
    Join Date
    Apr 2017
    Location
    Australia
    Posts
    6

    Default Picaxe Maxed Variables Confusion

    I am currently experiancing a problem where my 14M2 connected to a Digi XBee via a splitter resistor circuit which is 10k:1k.
    My problem is that even when the XBee is off the Picaxe still experiances max signal input. Why is this? How can I stop this from happening?

    http://www.picaxe.com/Circuit-Creato...dent-Resistor/
    It is like this circuit, just the LDR is 1k R1 is 10k the positive rail is the Digital output via the XBee and the negative rail is the Digital input for the XBee.

    Update, I have discovered theat the disabled status on the XBee pins is still allowing some current to pass through which is keeping the Picaxe pins at a max state.
    I am thinking about switching the resistors so that instead of about 90% of the current going to te Picaxe, 10% will instead.
    Last edited by OneofLast; 07-06-2018 at 01:04.

  2. #2
    Senior Member
    Join Date
    Jan 1970
    Location
    Colorado USA
    Posts
    3,203

    Default

    Problem solved?

  3. #3
    New Member
    Join Date
    Apr 2017
    Location
    Australia
    Posts
    6

    Default

    Quote Originally Posted by premelec View Post
    Problem solved?
    Not exactly, the debug wont even pick up the signal with te resistors reversed, i probably need to do more investigation.

  4. #4
    Senior Member
    Join Date
    Jan 1970
    Location
    Perth, Western Australia
    Posts
    4,453

    Default

    It's not clear to me how you've configured your circuit and code and what the results really are. Could you post a circuit diagram of the way your XBee connects to the PICAXE input (can be a photograph of a hand-drawn circuit). Please post your code that demonstrates the problem. Also, what is the voltage of the XBee's output?

  5. #5
    Senior Member
    Join Date
    Feb 2012
    Location
    London
    Posts
    2,872

    Default

    Hi,

    Quote Originally Posted by OneofLast View Post
    even when the XBee is off the Picaxe still experiances max signal input.
    By "off" do you mean "receiving no signal" or "with no power applied", or something else? This might be a "phantom power" issue or an "open collector output" issue, or simply a misunderstanding about the choice of the potential divider ratio, but we really need more details of the XBee module and a circuit sketch.

    Cheers, Alan.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •