??? 07/30/08 18:17 Read: times |
#157145 - Let's start at the beginning Responding to: ???'s previous message |
Jay Davis said:
Ok. C then < *(we thought it might turbo c++ which shows you why we nee help). The inputs should be from sensors which will be a voltage. There shouldn't be spikes but it wouldn't hurt to buffer it perhaps with AND gates? (we don't know these things that you guys do so we are thinking out loud in a way). We would think that since sensors are providing the input that the input voltage would be fairly steady and gradually change over time. So yes a a/d and d/a might be needed in on front and back to achieve the output of 0 or 5 volts output. No hardware as yet (or what are you asking?). Not a school project but a personal project. Budget is slim which is why we are asking for help. j. There is still more information needed. It might be helpful to post an over view of what the project actually is if you are hoping for some free help. Writing some A/D and D/A code for an AT89C52 probably doesn't sound nearly as interesting as the project as a whole does. Also, why the restriction to the AT89C52? It seems that you don't have much experince with microcontrollers or the embedded world, so perhaps posting something more general would be more productive. That way you can get some suggestions of what might best suit the functionality you want to achieve and it would open up your possible helpers to those that would rather use another microcontroller. |