Announcement

Collapse
No announcement yet.

DSPIC30F4012 v230 Source Code

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 6666
    replied
    One small step closer
    my encoder switches have arrived

    Leave a comment:


  • mickstv
    replied
    Originally posted by 6666 View Post
    Thanks Moodz

    Mick PM sent
    thanks

    PM send back 6666.


    Mick

    Leave a comment:


  • 6666
    replied
    Thanks Moodz

    Mick PM sent
    thanks

    Leave a comment:


  • moodz
    replied
    Originally posted by mickstv View Post
    If moodz is too busy I'll be able to check and reprogram them for you ok.



    Mick
    I am happy for Mick to do it ... thanks Mick ...I am still fiddling with the amplifier ... there is plenty of signal ... but plenty of drift as well ... if I get rid of the drift ... the signal goes with it .

    moodz

    Leave a comment:


  • mickstv
    replied
    Originally posted by 6666 View Post
    Hi Mick
    thats great thanks


    No worries. If you want me to do it, PM me to say so and I'll PM back the address.



    Mick

    Leave a comment:


  • 6666
    replied
    Hi Mick
    thats great thanks

    Leave a comment:


  • mickstv
    replied
    Originally posted by 6666 View Post
    I think I have come to the conclusion that my pickit3 clone setup
    is not programming my chips properly. I have 4 chips.



    today i decided to try and re program a couple of them
    first i tried to erase them, which seemed to work.

    but when i tried the blank check or reprogram them or verify
    i started getting errors, maybe the chips are duds.


    trying to erase them, and program them now just gives errors.


    I dont like to ask for help, but before i give up, Mr Moodz would you mind if I posted a couple of chips to you
    to see if your system can erase the chips and reprogram them please ?

    I know that this is not your intention to support folks that have problems like this
    but if your pickit2 system works with my chips then it will prove a fault in my system,
    then I may buy a real pickit2 and try again.

    If you dont want to do this, thats ok, I may have another try at this project later.
    6666


    If moodz is too busy I'll be able to check and reprogram them for you ok.



    Mick

    Leave a comment:


  • 6666
    replied
    I think I have come to the conclusion that my pickit3 clone setup
    is not programming my chips properly. I have 4 chips.



    today i decided to try and re program a couple of them
    first i tried to erase them, which seemed to work.

    but when i tried the blank check or reprogram them or verify
    i started getting errors, maybe the chips are duds.


    trying to erase them, and program them now just gives errors.


    I dont like to ask for help, but before i give up, Mr Moodz would you mind if I posted a couple of chips to you
    to see if your system can erase the chips and reprogram them please ?

    I know that this is not your intention to support folks that have problems like this
    but if your pickit2 system works with my chips then it will prove a fault in my system,
    then I may buy a real pickit2 and try again.

    If you dont want to do this, thats ok, I may have another try at this project later.
    6666

    Leave a comment:


  • 6666
    replied
    Hi Mick

    Have you got the 22pf ceramic caps installed on the crystal pin9 to gnd and pin10 to gnd.
    yes just like the drawing a few posts back


    Hi Moodz
    If you are relying on the Pickit to supply the +5 it probably will not work
    I am using a simple external supply, should have enough current
    moodz how much current does your chip draw ?


    I have tested the xtal its purring at 10mhz
    I have started a vero board pcb , it should be running already
    but will see what happens,

    btw for testing the lcd it needs a 5k - 10k pot for the contrast control
    turned almost to full earth for the display to work
    or the characters are invisible
    you will see here a row of blocks
    Attached Files

    Leave a comment:


  • moodz
    replied
    Originally posted by 6666 View Post
    I connected pins +4.8v 13,20,28 and Gnd 8,19,27 and R9 pin1 and R1 pin11, r2 pin 12 ,
    R4 and 5 to pins 6,7, and the xtal to pins 9,10

    it should work,

    does it need the full 5v to work ?

    i'll knock up a cct to test the xtal
    If you are relying on the Pickit to supply the +5 it probably will not work ... the supply from the programmer is not clean enough ... thats what I found anyway.

    moodz

    Leave a comment:


  • mickstv
    replied
    Originally posted by 6666 View Post
    I connected pins +4.8v 13,20,28 and Gnd 8,19,27 and R9 pin1 and R1 pin11, r2 pin 12 ,
    R4 and 5 to pins 6,7, and the xtal to pins 9,10

    it should work,

    does it need the full 5v to work ?

    i'll knock up a cct to test the xtal



    Have you got the 22pf ceramic caps installed on the crystal pin9 to gnd and pin10 to gnd.



    Mick

    Leave a comment:


  • 6666
    replied
    I connected pins +4.8v 13,20,28 and Gnd 8,19,27 and R9 pin1 and R1 pin11, r2 pin 12 ,
    R4 and 5 to pins 6,7, and the xtal to pins 9,10

    it should work,

    does it need the full 5v to work ?

    i'll knock up a cct to test the xtal

    Leave a comment:


  • moodz
    replied
    Originally posted by 6666 View Post
    Hi Moodz
    the breadboard is just the plugin type
    so only one side

    I will knock up a vero board
    that should be all soldered connections
    and see what happens
    this is such a simple project
    it should be working by now

    found some info on how to test the LCD
    so will do that to , to check if its ok

    edit good news the lcd tests ok

    I should test the xtal to

    Those CPUs have more than one ground and +5 volt supply pin ... make sure all are connected or it wont work.

    tie the pushbutton input pins high to +5 also if just testing.

    moodz.

    Leave a comment:


  • 6666
    replied
    Hi Moodz
    the breadboard is just the plugin type
    so only one side

    I will knock up a vero board
    that should be all soldered connections
    and see what happens
    this is such a simple project
    it should be working by now

    found some info on how to test the LCD
    so will do that to , to check if its ok

    edit good news the lcd tests ok

    I should test the xtal to

    Moodz can I just check something with you
    what should be on pin 12, (the old zero button)
    should it have a 10k R on it or not
    seeing the software is not looking for an earth to start it ?

    Leave a comment:


  • moodz
    replied
    Originally posted by 6666 View Post
    I have programed my chip with H20111018.zip
    I got the message program verify
    so I assume the chip is ok
    knocked up the cct on breadboard (with and without lcd), but at 4.8 volts
    it only draws around 8 ma, and no pulses with or without lcd

    the breadboard connections all seem firm and ok
    not sure what to try next, maybe make a real pcb
    Please post hi res photo of top and bottom of board and I will see what I can do for you.

    moodz

    Leave a comment:

Working...
X