Shop OBEX P1 Docs P2 Docs Learn Events
I have to be some kind of idiot.. But I need help.... — Parallax Forums

I have to be some kind of idiot.. But I need help....

ExilictExilict Posts: 31
edited 2004-12-20 15:06 in General Discussion
Ok, got the kit.. Got the code on the chip, it runs, it works, im happy....· It works great on the project board..· Everything is going great...

I go to install it, hard wire it...

I used a battery clip off of a 9v into a +5V Fixed-Voltage Regulator 7805 that I got at radio shack....

Run the ground to the battery clip...

Hook up my switch, output wire, and LED....

NOTHING :-/· I put it back into the bread board.. it works great..

Is there an entire part of hooking these things up i missed???

Probably not as easy as I thought it would be:-(

-X

Comments

  • Jon WilliamsJon Williams Posts: 6,491
    edited 2004-12-17 04:11
    What kind of clock source did you specify in your program?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Jon Williams
    Applications Engineer, Parallax
    Dallas Office
  • ExilictExilict Posts: 31
    edited 2004-12-17 05:03
    Internal 4mhz...

    -X
  • BeanBean Posts: 8,129
    edited 2004-12-17 09:04
    Can you post your complete program ?
    Bean.
  • NateNate Posts: 154
    edited 2004-12-17 11:35
    Did you forget to supply 5V to the reset (MCLR) pin?· It must be tied high for the chip to operate.·

    Nate
  • ExilictExilict Posts: 31
    edited 2004-12-18 00:42
    Ya, I didn't do that.... Is that the only pin I need to run +5 to?

    Also, I have a PIC16F#### And it is regulated at 5V also, should a +5 pin be strong enough to power the SX? When I hook up my multimeter it reads 5v straight, when I hook up the SX it for some reason drops to 2...


    -X
  • Jon WilliamsJon Williams Posts: 6,491
    edited 2004-12-18 00:56
    You need to connect +5 to Vdd and to MCLR ... and if it drops to 2 volts you have a problem; either a weak supply or a [noparse][[/noparse]partial] short somewhere.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Jon Williams
    Applications Engineer, Parallax
    Dallas Office
  • ExilictExilict Posts: 31
    edited 2004-12-18 03:14
    So a PIC should be power enough to power the SX on one of its pins?

    Like Could i run RA.1 to a VDD and MCLR and have the chip turn on? (For Example)

    -X
  • BeanBean Posts: 8,129
    edited 2004-12-18 15:05
    It depends on what you have connected to the SX.
    Bean.
  • ExilictExilict Posts: 31
    edited 2004-12-19 21:07
    If i just hook a

    +5 up to VDD
    Ground up to VSS
    and a +5 up to MCLR

    and my program is

    Main:
    High RA.0
    goto main

    I never get any reading on the RA.0 pin!?

    -X
  • BeanBean Posts: 8,129
    edited 2004-12-20 01:54
    If you want to use the internal 4MHZ oscillator, make sure you have "OSC4MHZ" on the DEVICE line.
    and specify "FREQ 4_000_000"

    You don't have MCLR on a different +5 supply do you ?

    If none of this works, please post the WHOLE program.

    Terry
  • allanlane5allanlane5 Posts: 3,815
    edited 2004-12-20 15:06
    And you've hooked MCLR to +5 through a 2.2 Kohm or higher resistor, right?
Sign In or Register to comment.