Harry
Harry

Reputation: 13329

PIC Prgramming - The basic flow of things

Can someone please explain to me the basic flow of how this is done.

So currently I a USB pic programmer and also a multi pic adapter. I understand that I can use this to write my program to the PIC. But Im not sure what happens before that, like how do I actually test it with LED or some input sensor etc that gives out analog data?

This is what I have now: http://www.piccircuit.com/shop/pic-programmer/26-ica01-usb-pic-programmer-set.html

So I need to connect this to to a breadboard? And if so how? Im completely lost!! This is the first time that I attempt to do this. What I have done is use my Synapse RF Engine EK2100 to build what I want.

Now what...?

Upvotes: 1

Views: 231

Answers (2)

Graham Mitchell
Graham Mitchell

Reputation: 33

Write a basic 'flash LED' program and then wire-up the PIC to see if it works.

Hot tip - use the internal oscillator to minimise the external component count (makes things simpler). Browse around a PIC savvy site like http://digital-diy.com/ to get lots of interesting ideas and code samples.

The community there mostly use PIC Basic type languages (such as Swordfish) that will land you code that looks something like this (header/setup removed for ease of explanation):

While True
    High(LED)
    DelaymS(500)
    Low(LED)
    DelaymS(500)
Wend

Upvotes: 0

K-Sid
K-Sid

Reputation: 376

I'm not entirely sure what you're trying to accomplish but what you purchased is a programmer for PIC microcontrollers. After you have written some code whether in assembly or C and compiled it to a hex file, this device will put that code onto a PIC microcontroller that you buy separately. Have you purchased a PIC device to program or do you just have the programmer and the EK2100 kit? If you provide some more detail we can point you in the right direction.

Upvotes: 2

Related Questions