PDA

View Full Version : Need help with PIC chips (New person)



AngelInTheNight
- 28th October 2010, 21:44
Well first of all hi guys. I'd like to just say this now I have never done anything with PIC chips however when my computer teacher mentioned them I thought it would be cool for my senior project to be programed with a PIC chip
The project itself is here: http://www.instructables.com/id/turn-signal-biking-jacket/ However I'm going to be building my own board and like I said earlier I'll be using a PIC chip to program the LEDs to flash.

Ahmadabuomar
- 29th October 2010, 02:22
ok, i wish you good luck

do u know how to program a PIC ?

if you dont, you have to learn PIC programming first.( it is easy !!)

i can suggest some books with experements inside them and easy to learn step by step procedures.

just tell me what do u want exactly.

BW

Jumper
- 29th October 2010, 08:41
If you do not yet have a programmer I would suggest you get a PICKit 2 or maybe a 3. They are simple and quite reliable and not that expensive. The PICKit 2 is my favorite.

A good programmer is very important to get started and these are in my oppinion the best.

malc-c
- 29th October 2010, 11:15
Well first of all hi guys. I'd like to just say this now I have never done anything with PIC chips however when my computer teacher mentioned them I thought it would be cool for my senior project to be programed with a PIC chip
The project itself is here: http://www.instructables.com/id/turn-signal-biking-jacket/ However I'm going to be building my own board and like I said earlier I'll be using a PIC chip to program the LEDs to flash.

To be honest something like that doesn't need the investment of a PIC, programmer and all the associated software such as PBP. You could do this with a simple NE555 timer in astable mode and a couple of transistors.

AngelInTheNight
- 1st November 2010, 20:27
^ While that's true this is a big project and we're supposed be challenged. Also my school has everything I'll need so why waste it?

Also no I've never programed a PIC chip before. So if anyone could teach me how that would be really really great.

Ahmadabuomar
- 2nd November 2010, 11:23
i recommend "30 projects in pic basic and pic basic pro" by dogan ibrahim as a starting point.

the good thing about this book is that it is simple, step by step, and include simple projects to do at home. from single led blinking to a/d conversion with serial comm to PC.

i used this book as a starting point. i was able to start programming pic within 2 weeks.

good luck

AngelInTheNight
- 2nd November 2010, 16:47
All right thanks guys for the help.

malc-c
- 5th November 2010, 12:48
Also no I've never programed a PIC chip before. So if anyone could teach me how that would be really really great.

The most basic function is to program a PIC to flash an LED - there are lots of examples on the net and in this forum, using PicBASIC Pro. Start there and then start developing that program to flash more leds in sequences etc - I think this is how most of us started out :)

AngelInTheNight
- 6th January 2011, 17:46
Also if anyone wants to help me even more we need to have mentors who can help out and work in the area we're studying. If anyone is intrested please message me for more details.

malc-c
- 6th January 2011, 19:08
I think the best course of action is to start a thread (or add to this one) as and when you have questions. Start by describing what works and what doesn't, what PIC you are using, what programmer you are using and which version of PicBasic Pro you are using.

You will need to post up your code so we can see what you have written. To do this use copy & paste and then paste the code between the code tags. "["code"]" and "["/code"]" but without the " "

The best way to get started is to write a simple bit of code to flash a LED. so your homework for tonight is to write a small bit of code to flash a LED. If you don't have one I would strongly recommend you get a solderless breadboad so you can simply plug the parts in and wire up the circuit easily. Post up you code when done and we'll go from their. I'm not offering to mentor you, but you'll find that me and other folks here will help you pick up the basics, and possibly help you develop your full project. You'll find you get better response in this approach than simply asking for others to take on your project for your.

Oh and try and write the flashy LED from scratch (use the PBP manual as your reference if you must) rather than downloading an existing example

What PIC do you intend to use by the way ????

mackrackit
- 6th January 2011, 21:29
Everything Malcolm said... And I will add.

Do not waste money on a book, plenty of samples here
http://melabs.com/resources/samples-pbp-general.htm
and folks on this forum that will give you real life answers.

mister_e
- 6th January 2011, 23:20
google is free ;)

AngelInTheNight
- 7th February 2011, 19:41
Unfortunely our mentors must sign papers otherwise i would just post here if something goes wrong or whatever.