Announcement

Collapse
No announcement yet.

PICKINI V4 - an easy to build, self adjusting PI detector

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

  • With the top 8 pins, I meant pin 1-4 and on the other side 14-11.

    To program the chip you need to make these connections:

    PICKit3 pin------ PIC16F1824 pin
    1 -------------->4 VPP
    2 -------------->1 VDD -- there is a setting in the PicKit software saying: power target from Pickit or something like that. This is the PIC16F1824 power supply = 5V
    3--------------->14 GND/VSS
    4--------------->13 Program data
    5 -------------->12 Program clock
    6 NC

    Make sure the chip gets 5V power supply from the programmer: measure between pin 1 and 14 of the 16F1824.

    Comment


    • Thanks again F117,,,I should be able to follow that,,,,I'll make a little pcb like you did and give it a try,,,but I think I should get a few hours rest first,,I've been awake now for a day and half,,,can't wait to finish the detector and try her out,,,thanks again for all the help and the great detector project. I'll let you know how I get on. Thanks. Marty

      Comment


      • @F117,,,Could you let me know if this drawing I made is correct or not please?,,thanks in advance. Marty
        Attached Files

        Comment


        • Your drawing looks OK to me.
          If you are considering to actually make this PCB, you might want to add:
          - an LED + 1K resistor between VDD and GND to indicate power supply to the PIC
          - a decouping capacitor of 100 nF Cer between VDD and GND

          Comment


          • Originally posted by MartyJ1963 View Post
            I'll make a little pcb like you did and give it a try.
            You don't need to make a pcb to do this, as it should be possible to set the jumpers on your programmer board to achieve the same result. The instructions are on the back of the PCB. If you cannot make sense of the instructions, then simply buzz through the connections from the ICSP connector and find the appropriate jumpers that way. Use F117's wiring list in post #571 as a guide.

            Also, you don't need to turn on the power from the PIC software GUI, as it automatically applies power during programming.

            Comment


            • The Real PICKit3 I have does NOT power the device to be programmed. I needed to apply power at the correct time during the PICKit3 init process (programmer enable in MPLAB).

              Also READ the PIC's Data sheet for ICSP pins and the PICKit3 docs. Then use your Ohmmeter to check for proper continuity between PIC (socket) and ICSP pins. this check that you have the jumpers correct.

              Any and ALL programmer devices I have used give me a hard time the time time I use them. It is simply the learning curve as once I got it figured out it always works.

              Comment


              • Originally posted by waltr View Post
                The Real PICKit3 I have does NOT power the device to be programmed. I needed to apply power at the correct time during the PICKit3 init process (programmer enable in MPLAB).
                The Real PicKit2 enables the power when used with the MPLAB standalone programmer software. There must be something different with PicKit3 and MPLAB IDE.
                Also, if you're programming the PIC on the detector board, it's possible that the PicKit programmer cannot supply enough current. In that case, you need to apply external power.

                Comment


                • Thanks everyone for all the help,,,I'll certainly try all these different ideas to see if I find a solution. Hopefully I'll see a good result soon. Thanks again everyone,,,,I'll let you know how it goes. Marty

                  Comment


                  • Hi all,,,Could someone please check this pcb drawing I did,,,I added the Led/1k/ 100nf,,,,Did I put them in the right place? Thanks in advance. Marty
                    Attached Files

                    Comment


                    • This looks ok to me, Marty.

                      Comment


                      • Great!,,,Thanks a lot for the reply and help F117,,,,I'll print it off then and get it etched and mount the parts and give it a try,,,,,I'll let you know in a couple of hours if I have any success in programming the chip. Thanks again. Marty

                        Comment


                        • Hi all,,,,Still no joy. I uninstalled all the software I'd used and re-installed them one by one to try with the pickit 3. 1st I tried Pickit 3 v1.0.0,,,it wouldn't recognise the Pickit 3 and after pressing the 'Check communication' button it would freeze or crash. I uninstalled that and tried Pickit 3 0.2.0.3,,,It was the same apart from once where it found the Pickit 3,,when I highlighted the pic16f1824 in the list the led on the little programmer I made earlier lit up,,,the next time I pressed a button it crashed again. I installed MPLABX V3.55,,,It found the pickit 3,,,,when I tried to power the target board in the list it said not enough power to power the board,,,I tried several voltages,,none worked. I am running Windows 7 32 bit. @F117, What OS are you on and which software do you use exactly?,,,Version/Build etc? Apart from 4 hours sleep earlier I've been at this now for nealy 2 days solid and it's getting a bit frustrating now,,,lol,,,Thanks in advance.

                          Comment


                          • when I tried to power the target board in the list it said not enough power to power the board
                            Probably need external power. I never could get the PICKit3 to power the target.
                            Do measure the Voltage on the target to ensure it is powered.

                            I run Windows 8.1 Upgrade 64 bit and MPLAB 8.92.

                            Comment


                            • Thanks Waltr,,,,I cant upgrade to 64 bit because all my favourite software I use only run in 32 bit,,,,I tried mplab 8.92,,,no joy, still the same errors,,,,is there any other software or other way to program Pics? Thanks. Marty

                              Comment


                              • Re-check connections.
                                From MLAB 8.92 there isn't a 'check communication'. I just click 'select programmer/PICKit3.
                                An Output window opens with Status. I get:
                                Code:
                                PICkit 3 detected
                                Connecting to PICkit 3...
                                Running self test...
                                Self test completed
                                Firmware Suite Version...... 01.28.90
                                Firmware type......................Enhanced Midrange
                                PICkit 3 Connected.
                                PK3Err0045: You must connect to a target device to use PICkit
                                 3.
                                The error is due to not having a PIC target connected but it should show the PICKit3 connected.

                                Did you select a PIC in MPLAB "Configure/Select Device"?

                                Does the USB Port provide enough Voltage? I always use a Power USB Hub and check that it output 5+-0.2V
                                Is the USB cable good - guessing you use the ne that came with the PICKit3. Still could be bad so try a different one.

                                Last- Search the PICKit3 (MicroChip) user forums for the problem.

                                Comment

                                Working...
                                X