Skip to main content
Topic: Producing the PIC programming adapter (Read 6836 times) previous topic - next topic

Producing the PIC programming adapter

I'm prepping the PIC programming adapter for a small test batch. It's still largely untested and unsupported, but it should be available to potential developers as is. I have used it to read the ID from a PIC 18F2550.

Here's the final partlist:
http://dangerousprototypes.com/docs/Bus ... ng_adapter

When I double-checked the boost converter values the Ct came out 2701pf instead of 270pf (55khz?) I've been using. I'm not sure if I got it wrong before, of if something is wrong now. I'll check by hand instead of using the design tool before finalizing the value.
Got a question? Please ask in the forum for the fastest answers.

Re: Producing the PIC programming adapter

Reply #1
If you want, I can double check your calculations as well. Just PM me the numbers that you are using.

I'm dealing with some software and hardware failures on my 24F development board these days. Once I solve them, I'll try BP with the 24F256GB110 on board.

Re: Producing the PIC programming adapter

Reply #2
That would be awesome, thanks!

I used this before:
http://www.nomad.ee/micros/mc34063a/index.shtml

With the values shown in the image capture attached. I used to get expected values for the Ct depending on the frequency, now it seems to be wrong. FOr example 470pf is the traditional cap for 43khz, but this calculator now gives 6302pF. I've been doing prototyping at 100khz with a ~240pf cap to keep the inductor small.

Quote
The circuit which was made this time used the 470-pF capacitor. In this case, it becomes ton=20µS, toff=3µS. Because it is, the frequency is f = 1/(ton+toff) = 43kHz. I used the value which is mentioned to the sample circuit of the data sheet as the value of the capacitor.

I'll do it by hand too, but it would be great to have an independent verification before producing the first 20 adapters.
Got a question? Please ask in the forum for the fastest answers.

Re: Producing the PIC programming adapter

Reply #3
Here is a spreadsheet that I wrote to do some MC34063 calculations.
"Too many projects, so little time"

Re: Producing the PIC programming adapter

Reply #4
I did some quick calculations by hand by using the formulas on the datasheet. Vf is 0 and Vsat is 1V in my calculations.

t_on/t_off is 2, (t_on+t_off) is 18 usec, t_off is 6 usec, t_on is 12 usec which makes Ct around 480 pF if I didn't do any mistakes in my calculations.

If I continue other calculations as well, I get I_pk 120 mA, R_sc is 2.5 ohm, L is 400 uH and C_o is 43 uF. I did minimal rounding while calculating these values.

Re: Producing the PIC programming adapter

Reply #5
I got part way through the research on this, but ran out of time.  One thing I noticed is that the Fairchild data sheet has absolutely no text or any hints about the capacitance.  I guess you really need the Texas Instruments data sheet.

Re: Producing the PIC programming adapter

Reply #6
Yes, the log charts are ok, but not particularly clear. I got hung up on that too.
Got a question? Please ask in the forum for the fastest answers.

Re: Producing the PIC programming adapter

Reply #7
ON Semiconductor datasheet has good explanations, I used it for the calculations.

Re: Producing the PIC programming adapter

Reply #8
Thanks for the help everyone. I ordered 20 of these today for developers.
Got a question? Please ask in the forum for the fastest answers.

Re: Producing the PIC programming adapter

Reply #9
The adapter is now available at seeed for $7. This is intended for developers only, there is NO software support:

http://www.seeedstudio.com/depot/bus-pi ... Path=61_68
Got a question? Please ask in the forum for the fastest answers.

Re: Producing the PIC programming adapter

Reply #10
It turned out very nice! I really like the stacking!

On my prototype I soldered a long .1" header and used a small cable to the BP.

Re: Producing the PIC programming adapter

Reply #11
Is it ok that I order one to test and maybe try to program PIC's I have on hand or do you have determined a group of people to get them?

Re: Producing the PIC programming adapter

Reply #12
They;re free to order, but there is currently no support. You might want to check out the piratePICprog code to make sure you would be able to add your PIC and compile it yourself. It's VERY rough right now. This is primarily to encourage a few programmers to buy them and maybe contribute some code :)
Got a question? Please ask in the forum for the fastest answers.

Re: Producing the PIC programming adapter

Reply #13
Actually I would buy one to test it out and contribute to the project. :) Just have to survive this week, then I'm free for some time. :(

Re: Producing the PIC programming adapter

Reply #14
That would be fantastic, that's why I had them made :)
Got a question? Please ask in the forum for the fastest answers.