Announcement

Collapse
No announcement yet.

DSPIC30F4012 v230 Source Code

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

  • #91
    Andrew is this what you are looking for ?
    and I think you have to use the pickit2 software to use UART function

    Found it

    If you are only burning the hex files and want to use the inbuilt UART tool ( serial comms ) to talk to the UNIP chip ( saves wiring up an LCD ) get the pickit software here ....

    http://ww1.microchip.com/downloads/e...0Setup%20A.zip
    Attached Files

    Comment


    • #92
      Hi All
      got myself a AUTHENTIC Microchip™ PICkit™ 2 USB Programmer. Part # PG164120

      will see what happens now with these 4012's

      Comment


      • #93
        Thank you for reply,my work is wrong i must begin again,i'll tell you,can you tell me the characteristic of FS18G,best regards.

        Comment


        • #94
          Originally posted by moscadondres View Post
          Thank you for reply,my work is wrong i must begin again,i'll tell you,can you tell me the characteristic of FS18G,best regards.


          I would be guessing the spelling is wrong, but if you change it to SF18G you'll find a result in google.


          http://www.google.com/url?q=http://w...ahDclxCWbhgV3g


          EDIT I'm just using 1N4007 at the moment

          Mick

          Comment


          • #95
            Finally some success in REPROGRAMMING these 4012's

            Comment


            • #96
              Would anybody have a picture of the input signal that goes to pin 5 which is the ADC input ?

              thanks
              6666

              Comment


              • #97
                Originally posted by 6666 View Post
                Would anybody have a picture of the input signal that goes to pin 5 which is the ADC input ?

                thanks
                6666


                Hi 6666, I haven't got that far yet but I do remember some info in another thread. I would be guessing 2.5 volts as 0 because from memory the display shows +/-2.5

                The analogue IN can accept a voltage from 0 to 5 volts and is approximately 17 bit accurate ( yes 17 real bits ..... ) The analogue input expects to see a signal that consists of a relatively stable base voltage that varies as targets are passed over ... so it is a motion detector.
                http://www.geotech1.com/forums/showp...6&postcount=36

                Comment


                • #98
                  Originally posted by mickstv View Post
                  Hi 6666, I haven't got that far yet but I do remember some info in another thread. I would be guessing 2.5 volts as 0 because from memory the display shows +/-2.5


                  http://www.geotech1.com/forums/showp...6&postcount=36


                  Thanks Mick
                  have copied the info on the linked page
                  I have 4 4012's programmed now
                  there is some problem with the ISCP adapter I bought
                  the simple rs232 works 100% when you try to reprogram
                  I have written to the manufacture
                  cheers

                  Comment


                  • #99
                    Originally posted by 6666 View Post
                    Would anybody have a picture of the input signal that goes to pin 5 which is the ADC input ?

                    thanks
                    6666

                    The "No target" voltage to the ADC input can be anywhwere from 0 to 5 volts ... however somewhere between 1 and 4 volts gives you some headroom for the signal to move up or down ( if descrim is required then the voltage might move up for ferrous and down for non ferrous ).

                    The input voltage to the ADC must already have been filtered and ground balanced.

                    moodz

                    Comment


                    • moodz on a pcb

                      hello,

                      here's a few pictures of my project so far...

                      i used a pickit 3 to program the devices. in programing the chips, i found that becuse the
                      code protect bit is set, the Verify function will display an error!!!!

                      example:

                      Address: 00000000 Expected Value: 00040100 Received Value: 00000000
                      Verify failed

                      The fact that the Received Value has changed from the eprom blank state indicated
                      the chip is programed!

                      Also, another important fact!

                      i was able to program the chip on the power supply by the pickit 3,
                      HOWEVER for the cicuirt to operate, IT MUST HAVE A GOOD 5 VOLT SOURCE.


                      Philip
                      Attached Files

                      Comment


                      • Good work Philip

                        Comment


                        • i did have to increase the supply to 5.2 volts to keep the dspic locking up.. this held true on the 4011 also....

                          Comment


                          • Hi
                            I have had a 4012 running for about 1 hour with no LCD connected
                            still was pulsing ok
                            I see on the other thread your uC is drawing 250 ma
                            maybe moodz could think about reducing the clocking a bit, for a xtal that's easy to get
                            (more calculations )
                            or we need a switch to turn off the lcd

                            Comment


                            • 6666

                              I'm thinking he's trying to get everything possible from the dspic's so I'm going to add a resistor to the ground of the 7805 just to get the added .2 volts, easy fix.

                              next item to build is a front end, going to make a board for that too.


                              philip

                              Comment


                              • Thats an easy fix
                                I am just thinking of being out in the field
                                and battery life
                                will be interested in your front end
                                any clue as to which way you will go ?

                                Comment

                                Working...
                                X