My project is starting


Closed Thread
Results 1 to 40 of 92

Hybrid View

  1. #1
    Join Date
    Aug 2010
    Location
    Maryland, USA
    Posts
    869


    Did you find this post helpful? Yes | No

    Default

    Well even if it weren't a bootloader, it seems like it could have value as an interface. Yet anoyher way to talk to the animals.
    -Bert

    The glass is not half full or half empty, Its twice as big as needed for the job!

    http://foamcasualty.com/ - Warbird R/C scratch building with foam!

  2. #2
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Just a thought.

    Have a PIC receive data from the PC serially and squirt the same data out I2C ???
    That would be too easy.
    Dave
    Always wear safety glasses while programming.

  3. #3
    Join Date
    Aug 2010
    Location
    Maryland, USA
    Posts
    869


    Did you find this post helpful? Yes | No

    Default Small success

    I soldered all the smt parts on my card, uP,3311,12 volt driver, and LED's. and of course the ICSP header. Wrote a quik ASM to just turn the LED's on and off and LED's all work! This is a major milestone for me, this is my first dive into SMT.

    Next up on the list, do the same thing using PBP. Of coursethis means figuring out how to pull everything together, IDE, compiling and of course setup stuff for the chip. WOW what an exciting new road I am traveling on today!!

    Of course I have to post this kind of thing here, cuz you guys are the only folks I know that can appreciate these small feats.
    -Bert

    The glass is not half full or half empty, Its twice as big as needed for the job!

    http://foamcasualty.com/ - Warbird R/C scratch building with foam!

  4. #4
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Of course I have to post this kind of thing here, cuz you guys are the only folks I know that can appreciate these small feats.
    I know what you mean.

    The first time I did a blinky with a PIC it was around the holidays. I called my wife over and excitedly showed her the LED turning on and off. She looks at it for a bit, walks over to the tree, plugs it in, waits for the lights to start blinking, turns to me and says, "SO". She then leaves the room.
    Dave
    Always wear safety glasses while programming.

  5. #5
    Join Date
    Aug 2010
    Location
    Maryland, USA
    Posts
    869


    Did you find this post helpful? Yes | No

    Default

    more progress, but a little confusion.

    Worked through all the issues of getting everything to work together. Compiled and programmed the blink program that pops up in the MCS program. Mind you I am using MPLAB. Well heres my confusion: with the pauses left at 500, it takes about 5 sec to blink. If I change it to 50, seems about 1/2 sec as the program says it should. Now there are no config,define's, or whatnot, Any thoughts on this?
    -Bert

    The glass is not half full or half empty, Its twice as big as needed for the job!

    http://foamcasualty.com/ - Warbird R/C scratch building with foam!

  6. #6
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    What are you using for an oscillator? Type and speed.

    The default configs in the PBP directory *.inc file has the OSC set for HS.
    And PBP defaults to 4MHz.

    If you have an external OSC add
    DEFINE OSC x
    x being speed.
    Dave
    Always wear safety glasses while programming.

  7. #7
    Join Date
    Aug 2010
    Location
    Maryland, USA
    Posts
    869


    Did you find this post helpful? Yes | No

    Default

    I think I just found the problem. I left too much up for granted. Being new to this chip, I never dreamed it would default to a 500K clock!

    BTW, I am running intosc (apperantly at 500K, not 4M like I assumed) So I will set osccon to be 4M and see what happens

    EDIT: How fantastic life is when you tend to the little things. now works as it should. Off to do more fun stuff
    Last edited by cncmachineguy; - 20th November 2010 at 20:35.
    -Bert

    The glass is not half full or half empty, Its twice as big as needed for the job!

    http://foamcasualty.com/ - Warbird R/C scratch building with foam!

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

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