I can do the temperature sensing part and do the code for voltage monitoring and temperature monitoring? You have to do the voltage interface circuit whose output will be in the range of 0 to 5V dc. When PIC16F877A does not support USB how do say you hope to use USB communication? Can you use PIC18F2550/4550 which has USB support? You have to write the C# or VB.Net program to receive data from PIC and log it to a file.
Since you want to make a solar data logger its better to collect data every 30 mins or 60mins as your memory that you will be interfacing to the device would be restricted in terms of size so its better to reduce redundancy the data will not change significantly unless the time is like 30 mins or 60mins, if you want you can increase the samples do it at hours like in the evening and during early morning.
You can add USB interface to the microcontroller simply using FT232 chip, it is a USB to RS232(UART) bridge and you don't need to write any drivers for that, they are available at the manufacturers website.
Here is my datalogger complete. It used USB HID and SD datalogger.
See the video in sim2.rar. It is clear. https://www.edaboard.com/threads/271037/#post1161079
Jayanth D
Are you using mikroC Pro? If you use ADC and UART and other things for a datalogger, the code you write will not fit on PIC16F877A. The ROM and RAM is less in PIC16F877A.
And I think mikroC SD card functions only work with PIC18. I am not sure, please ask about it at mikroe forum.
Can't you use PIC18F4550?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?