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 struggling to get some bit bashing code for the PIC 16F684 up and working as it's been a while since I last wrote any C code.
The code was written initialy in 2003/4 and was used successfully in a number of different projects prior to me being made redundant and having to seek a new line of work...
However recently I have found need of the code so could do with a hand remembering how it works and whats now stopping it from working.
Basically, I'm a third year BSc Forensic Science student who's third year project requires the burial of porcine hind legs and the ambient and buried temperature to be recorded every 10 minutes and stored for a period of 10 weeks prior to being recoved and the data downloaded.
So the initial aim is to basically get the serial code up and running first allowing me a method to then test the hardware and software sections of the code as the project progresses...
However I am on a tight timeframe and have untill the end of July to get everything up and running...
I've attached the complete project including basic schematic of the PCB that I have built for test purposes, the PIC is being programmed in circuit...
But at the moment I am not seeing anything on the scope, the code just does not want to transmit any data and I just cannot see what I am doing wrong. I have gone through all of the projects that use the same method that are currently fully working and I just cannot see what I am doing wrong...
The only difference is that MPLAB and Hi-Tech are not the same version as previously used, everything else is identicle...
*** Just removed the attachment as the code was incorrect ***
I'm struggling to get some bit bashing code for the PIC 16F684 up and working as it's been a while since I last wrote any C code.
The code was written initialy in 2003/4 and was used successfully in a number of different projects prior to me being made redundant and having to seek a new line of work...
However recently I have found need of the code so could do with a hand remembering how it works and whats now stopping it from working.
Basically, I'm a third year BSc Forensic Science student who's third year project requires the burial of porcine hind legs and the ambient and buried temperature to be recorded every 10 minutes and stored for a period of 10 weeks prior to being recoved and the data downloaded.
So the initial aim is to basically get the serial code up and running first allowing me a method to then test the hardware and software sections of the code as the project progresses...
However I am on a tight timeframe and have untill the end of July to get everything up and running...
I've attached the complete project including basic schematic of the PCB that I have built for test purposes, the PIC is being programmed in circuit...
But at the moment I am not seeing anything on the scope, the code just does not want to transmit any data and I just cannot see what I am doing wrong. I have gone through all of the projects that use the same method that are currently fully working and I just cannot see what I am doing wrong...
The only difference is that MPLAB and Hi-Tech are not the same version as previously used, everything else is identicle...
*** Just removed the attachment as the code was incorrect ***