hawk1943
Member level 3
- Joined
- Jun 14, 2010
- Messages
- 62
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,286
- Location
- United Kingdom
- Activity points
- 1,859
Hi there,
I'm working on a design for a data logger that can record the ambient temperature and buried temperature for a University Project that I am involved with. Due to financial restraints that the University has placed on us I have no option but to design it from scratch.
I have ordered a number of different temperature sensors from the LM35 to K type thermocouples, most are off good old Ebay and should arrive in about 10 days time...
One of the problems that I currently have is getting the basic code up and running as I just cannot remember how to program in C as it's been 5 years since I last wrote any C code, the code that I have already written did used to work with the 16F684 but no longer appears to work...
I already have a basic design laid out, etched and populated for test purposes...
The design does not take into account that the whole system needs to run off a 9V PP3 battery for a period of 10 weeks or longer, and needs to record the two temperatures simultaneously probably every 10 minutes to accuratly determine what is happening below and above ground at any point in time in the 10 week window...
At the moment I am unsure how to work out what type of storage device is suitable for the project, initially I had planned on bit bashing out the data from an EEPROM but I also feel that perhaps using a SD Card could also work...
I'm attaching the source code that I have currently written, even though it does not work and the schematic drawing for the test board that I am using, currently the board is being programmed using ICSP...
I require some assistance getting the design up and running as quickly as possible as I only have untill the end of July as the Third Year project kicks off in August...
*** JUST REMOVED ATTACHMENT AS CODE IS INCORRECT ***
I'm working on a design for a data logger that can record the ambient temperature and buried temperature for a University Project that I am involved with. Due to financial restraints that the University has placed on us I have no option but to design it from scratch.
I have ordered a number of different temperature sensors from the LM35 to K type thermocouples, most are off good old Ebay and should arrive in about 10 days time...
One of the problems that I currently have is getting the basic code up and running as I just cannot remember how to program in C as it's been 5 years since I last wrote any C code, the code that I have already written did used to work with the 16F684 but no longer appears to work...
I already have a basic design laid out, etched and populated for test purposes...
The design does not take into account that the whole system needs to run off a 9V PP3 battery for a period of 10 weeks or longer, and needs to record the two temperatures simultaneously probably every 10 minutes to accuratly determine what is happening below and above ground at any point in time in the 10 week window...
At the moment I am unsure how to work out what type of storage device is suitable for the project, initially I had planned on bit bashing out the data from an EEPROM but I also feel that perhaps using a SD Card could also work...
I'm attaching the source code that I have currently written, even though it does not work and the schematic drawing for the test board that I am using, currently the board is being programmed using ICSP...
I require some assistance getting the design up and running as quickly as possible as I only have untill the end of July as the Third Year project kicks off in August...
*** JUST REMOVED ATTACHMENT AS CODE IS INCORRECT ***