Microchip PICs - Getting Started

How can I create an email not with hotmail or gmail?

Thanks for this info! I started creating robot with BS2 and eventually run out of I/O pins. I now have my picaxe and would try to create my next robot with that. I hope I could avail a sample of PIC because I bought “123 pic microcontroller for evil genius” and wanted to start right away til I found this thread. My concerns are…

> I would like to avail a sample of PICS but I really don’t understand what you mean by these: “Your ISP account may work. Failing that order through your work email. If that doesn’t work, lease a custom domain name and set up aliasing. If you’re really stuck, someone here might order them for you.” Do you think university e-add will work?

>>I’m new to electronics and microcontroller and I have a newbie question… What is JDM?

Stuff and things

Not sure I understand your confuzzlement at my statement, so:

  • ISPs are the people who furnish you with the wire into your house which the ones and zeroes whizz up and down in order to make words like “google” and “robot” appear on your computer screen. Here in the UK, ISPs give you a handful of email addresses when you sign up.
  • Work is the place where you go every day and perform labourious tasks to make your boss rich. They give you tokens at the end of the month and these tokens can be taken to hobby shops and exchanged for robot parts.
  • www.letsmakerobots.com is an example of a domain. You can buy and rent these and set up your own email addresses. If you don’t have your own host, your ISP (or whoever you lease the domain from) may be able to forward your mail to your gmail (or whatever) account. This is called aliasing.
  • Someone might order for you. Ask. We’re all terribly nice people.

Excuse my flippant, comedical manner. I’m actually an OKay sort.

For JDM info, look at the links in my original post. There are circuit diagrams, explainations and examples. This may no longer be my programmer of choice. I bought a PICkit2 recently and I LOVE IT.

Thanks!!! Really appreciate the help.
Thanks for the help. I’ll try if that would work. BTW Is this site on UK too? Is everyone from UK? I’m from asia and now on canada. This site would really fuel my craving for robots even though I’m studiying on a medical field. Thanks again for this info.

Excellent

I’m thinking “Medical robots.” We don’t have any of those yet.

Imagine the YDM fitted with a number 10 blade!!!

Just ordered my three free

Just ordered my three free 16F690s, looking forward to getting started. The Microchip website said that free samples generally ship in 2-3 weeks – that might be a good reason to pay the $1.50 for them. But I figure that this time, I’ll use the time to read through that 300-page datasheet and build the programmer.

I see that the schematic for the JDM programmer calls for BC547B NPN transistors, which Radio Shack doesn’t seem to carry. However, according to the datasheet for the BC547B, they appear to be pretty similar to standard 2N3904/2N2222 transistors, which I’ve got a ton of. Any idea if they’re interchangeable?

Dan

Mine shipped a day later and
Mine shipped a day later and were Fedexed from Thailand. I had them like 3-4 days after ordering.

Don’t see why not.

So long as the basics are similar (NPN, frequency, Vbe, Vce, Ice) I don’t see why not. I think I used BC337s in mine.

Don’t read in detail. Skim. But skim from cover to cover. I find that more important than “knowing” the content, is to “know” which section to turn to for a particular problem!

All the infomation you need is there and don’t forget, if you can use a 16F690, you can use pretty well all of the mid range micros, so having read the manual, you’ll never have to read another one!

ICSP speed vs. Bootloader speed

Hey BOA,

I was just reading through another tutorial on PIC programming (yes, I’m cheating on you!) and the author of that one mentioned that ICSP programming could take a rather long time (up to 5 minutes for a full program memory for a 16F874 chip!) which is why it was a good idea to have a bootloader on the PIC which could then receive programs over RS-232 and then store the program. Mind you that other tutorial was kind of old… from 2002. Can you comment on this?

Twaddle

Well, stone me. That’s a long time. Nah. Sounds like a crock. 16F874 has 4K program memory. That’s a rate of only about 110 bits per second. I’d like to think you could ICSP at at least 1Kbps.

Sych vs. Asynch: The Theory:

With ICSP, the bits are clocked into and out of the PIC synchronously, so you can go as fast as … well, you can go as fast as you can go. In fact LUDIPIPO (eg JDM) programmers give you control over the rate (in PICprog and WinPIC anyway) and you set it as high as you can safely get away with.

With bootloader programming (presumably by a software RS-232 implementation?) this would be asynchronous and would therefore (theoretically) have a lower rate. Also, the 1’s and 0’s have to go through software, bottlenecking them even further (theoretically).

The Practice:

You don’t always program the whole memory: only the bit of it that you need to. In truth, I don’t think I’ve ever written a program whose binary was bigger than about 2K bytes and I’ve never seen a program taking longer than about 30 seconds to flash (INCLUDING a verification read cycle).

Beat this:

I’m mucho impressed with my new PICkit2 programmer. I know that in effect, it contains a bootloader, which then programs the target by ICSP (strange as it may sound). However, it’s lightning fast. The binary gets transferred to the PIC in the programmer by USB and in parallel, the bootloader PIC transfers to the target PIC by ICSP. The motor controller for Big Chaser is about 2442 bytes and it proms in under 5 seconds. (It took about 25 seconds by LUDIPIPO.)

More Twaddle

Here we go. Microchip claim 4K in 10 seconds as a theoretical minimum, although they reckon it typically would take 70 seconds.

That’s complete cobblers, though. I’ve NEVER seen it go THAT slow, even with my home-made JDM. If it’s true then my PICkit must be harnessing a fold in the space-time continuum.

PIC programming by singularity. That’s a good one.

Thanks for clearing that up!
Thanks for clearing that up! Maybe I should try that PIC stuff someday, though I think I would prefer to program them using C.

MPLAB C
Download MPLAB. It comes with a C compiler as well as a RISC assembler.

Im sort of stuck…

im sort of stuck…

I mean, I DONT HAVE A COMPANY!!!

so what should i do? should i just type my real addres?

PS: as you probably noticed im noobish, and i just started, and i want to build LITTLE 8.

PSS: witch one would i need for little 8?

Hmmm

Not everyone has their own company, but Microchip are really only supposed to supply to companies. They know us freeloaders are out there!! Try your regular email. It might work. failing that, set up a new one or get someone you know to order them to their work address.

Frits says he used a picaxe 8. As detailled in many places around SMR, a PIC is only the core component of a picaxe.

If you want to do it from scratch,this bot only has a couple of outputs, so I say any PIC will do, but if you don’t usepicaxe, you’ll have to write your own software.

I use my home address and
I use my home address and just repeat my name in the "company name" line. It has worked fine so far.

Thank you

Thank you!

but dont they need some place to deliver it to?

so should i just type my addres in switzerland?

Isnt that when the stalker comes and kills me in 7 days or some thing?

 

 

 

"and just when you think your at the bottom of your hole, god hands you a shovel"

Stalker?
Well, there is the Microchip Boogeyman…!

Me too
Aye, me too. I think he might be talking about the email address, though. There are some providers with whom they won’t work.

Ok…

Ill take that as a:

"just do it and stop asking silly questions!"

Microchip Boogeyman… :stuck_out_tongue: im adding that to my sig

 

 

I was trying to get some
I was trying to get some free samples but it seems like there is now a $7.50 processing fee. Am I doing this right?