??? 01/17/06 20:58 Read: times |
#107650 - Measuring Water reservoir project Responding to: ???'s previous message |
Hello Daan,
The solution to your problem with the frequency counter is very simple even if you don't understand how to program 80C51 assembly. You want to change the crystal from 12 MHz to 11.059200. OK, that is simple to fix. Just change the 50 millisecond timeout using 12 MHz to 10 Millisecond timeout using 11.059 MHz crystal. I would suggest you do a search on this forum because all of this has been done before. For the water sensing search using 4060 and look at other threads which featured a frequency counter. Regards, Charles Bannister This is my story: Me and my partner started working on this graduation paper about 6 months ago, we used another microcontroller - as far as it is one - called as a Basic Stamp 2. Our goal was to determine the level of a water reservoir. We used a 555-timer to create a frequency wich was measured by our microcontroller and converted to a usable unit. Now, our teacher of microprocessing has gaven us the assignment to remake it all over with a AT89S8252. The problem is we are still learning this microcontroller and our teacher is planning to start programming it next week... I've already done some research on my own but I still now to little to start programming such a frequency counter... The thing is though, I understand a lot of the program that was posted on this site, but I don't know how to adapt it because my knowledge doesn't allow me to do so... |