I would try something like.
If rpm is less than X then disable the INTCON.
Calculating power from the RPMs. Setup a timer to read the rpm evert so many seconds, after maybe a 100 reads average the RPMs giving aveage power over that time span??? If the wind is not changing much it should be pretty accurate.
Of you have PBP then you have LONGS. Using MCS? Tell it to compile using PBPL. That can be found under one of the options in the tool bar. MPLAB? When you set the language it should b there.
Yup, the EEPROM has some limits. I have been using a SD card for data logging.
Add a RTC if you do not have one in the project and you have plenty of room on a SD to save the time, RPM, power and what ever else. When you want to just pop it into a PC and chart, display or what ever. Easy way to get data from PIC to PC.
Yup, more babbling![]()
Bookmarks