CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

PIC Training

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
DonFL



Joined: 02 Aug 2006
Posts: 3

View user's profile Send private message Send e-mail

PIC Training
PostPosted: Sun Aug 06, 2006 3:07 pm     Reply with quote

I'm looking for recommendations for books. media, etc. that will provide some structured training in PICs, both programming and hardware. Not looking to become a PhD in PICs, but defintely want to be come competent..

I have all the pieces..experimenter board, CCS compiler, etc..just need something a little better than my haphazard experiments...

I've looked at PicTutor, but it seems like you have to buy the whole package.

MatrixMultimedia has something that may work...

Open to suggestions..I have a solid knowledge in C, among other languages, plus good general hardware skills...throwing something together on a proto-board, and making it work is no problem...

Anyone?
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Sun Aug 06, 2006 4:40 pm     Reply with quote

http://www.ccsinfo.com/forum/viewtopic.php?t=22598&start=5
http://www.ccsinfo.com/content.php?page=books
DonFL



Joined: 02 Aug 2006
Posts: 3

View user's profile Send private message Send e-mail

PostPosted: Sun Aug 06, 2006 7:44 pm     Reply with quote

Thanks...have several of the listed books, including the Barnett book, which is one of the best I've seen. Was hoping to find somewhat of a "lab book" or "workbook" that would take the book theory to reality...

I have a slightly differing opinion re the suggestion in one of the threads that knowing C and the architecture is all you need. I am somewhat there now (could use some more time on the architecture, but the C skills are there..)...there still needs to be that glue that pulls it all together..in an organized manner....may not be something that really exists...but figured if it did, someone on this forum would know of it.

Thanks again for the suggestion.
newguy



Joined: 24 Jun 2004
Posts: 1911

View user's profile Send private message

PostPosted: Mon Aug 07, 2006 9:58 am     Reply with quote

If you want to familiarize yourself with h/w, then try this.

Get some chips from digikey or mouser or jameco or whereever. Things to get would be an I2C EEPROM, an SPI EEPROM, external A/D (I2C or SPI interface), LCD module with standard 14 pin connector or serial interface, an IO expander, a RTC (with crystal), and a temperature sensor. The worst (hardest to talk to from a coding standpoint) would be the Dallas 18B20 or one of its variants - uses a bidirectional 1-wire interface. Also pick up some FETs or BJTs and some diodes (if you don't have any already), a relay, some LEDs, and a MAX232 chip or one of its variants so that you can "talk" rs232 to your PC or anything else.

Once you have that stuff (and it won't be very expensive), start by trying to read the temperature from the temperature sensor. Then try writing and reading data to one of the EEPROMs. Then try driving a relay. Then try turning the relay on/off based on temperatures read from the sensor. Then expand on that and try logging turn on/off times to the EEPROM. Then add download capability so that you can send serial commands from the PC and it will trigger a dump of these logged times. It's up to you. But I can assure you that once you familiarize yourself with all the h/w you bought, that there isn't anything that you can't do.

Hope this helps.
epideath



Joined: 07 Jun 2006
Posts: 47

View user's profile Send private message

PostPosted: Mon Aug 07, 2006 11:24 am     Reply with quote

I used this one extensively for learning. But I had no idea what a PIC was when I bought the book. Very Happy I already had a good background in programming, but it covers taht too. It has theroy, and has basic hardware examples to explain the subject at hand. My version doesn't cover the newest of PIC's but it covers small to large scale ones. No J series or DSP stuff. I also don't recall any coverage of hardware controller stuff, ie. CAN, SPI, USB, etc.

It is by Myke Predko, Programming and Customizing PICmicro Controllers

http://www.amazon.com/gp/product/0071361723/sr=8-3/qid=1154971117/ref=pd_bbs_3/102-9167701-9764156?ie=UTF8
DonFL



Joined: 02 Aug 2006
Posts: 3

View user's profile Send private message Send e-mail

PostPosted: Mon Aug 07, 2006 11:32 am     Reply with quote

Thanks for the book recommendation...I've got a few of Predko's books, but not this one. Found it used for about 20 bucks.

I have the hardware "stuff", hopefully this will provide a little guided learning to tie it all together.
Mark Weir



Joined: 11 Sep 2003
Posts: 51
Location: New Zealand

View user's profile Send private message

NEWGUY is Right
PostPosted: Mon Aug 07, 2006 8:55 pm     Reply with quote

Get some hardware and go to it!

I have learned so much form applying and modifying the code in the Barnett book and also using the CCS example code.

Some purists don't like the Burn and Learn approach but it works for some of us. If you can understand the structure of C and the interface requirements for the PIC you are away laughing.

Cheers

Mark
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group