Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

PIC 18 Data Logger project info request

Status
Not open for further replies.

theKbStockpiler

Newbie level 3
Joined
Jun 25, 2010
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Upstate NY
Activity points
1,310
I would like sort of a (template) for a data logger project before I start one.

I have not studied micro controllers for a few years and only really understood the basics.

I would like to use something simple that would be a good learning tool.


I will be using a PIC48fxxx , IIC for the transfer of data to a Eeprom chip and assembly language. To keep the project simple I would like to retrieve the information off the chip from maybe a programmer if possible, then maybe expand the project to read it off of a serial line later, simple.

The biggest question I have is how to time/schedual events with the CCP. An overview of this or maybe a hotlink would be great. Also If some clarification between a (address pointer) and a (address counter) would be greatly appreciated.

Thanks for looking at this thread!:D
 

Hi,

All the points you covered are readily achieved, though would suggest you test out each function separately while you are still learning.

Here are some good assembler links.

http://ww1.microchip.com/downloads/en/DeviceDoc/ccpwm.pdf
http://ww1.microchip.com/downloads/en/DeviceDoc/41214a.pdf
http://ww1.microchip.com/downloads/en/devicedoc/i2c.pdf
http://ww1.microchip.com/downloads/en/DeviceDoc/usart.pdf

**broken link removed**

http://www.winpicprog.co.uk

If you are looking for a programmer then consider the Microchip Pickit2 which also has a Usart tool to save connecting to the pc and will program many eeproms available as i2c or spi - again see the Microchip site for full details / user guides

On the Pics its the Program Counter (PC) and its associate registers /stacks that take care of all the adressing - as detailed in the memory section of the datasheet.

http://pcbheaven.com/picpages/The_Program_Memory_Organization/
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top