Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
DelheZi said:A short moment ago, I heard from a friend of mine saying that to initiate the ADC is very difficult, might as well using a standalone IC to perform on the ADC instead of have to write on the ADC portion on the PIC16F72!
This will save loads of works!
Nigel Goodwin said:DelheZi said:A short moment ago, I heard from a friend of mine saying that to initiate the ADC is very difficult, might as well using a standalone IC to perform on the ADC instead of have to write on the ADC portion on the PIC16F72!
This will save loads of works!
No, it would mean a LOT more work, both hardware and software - as I suggested previously, read my analogue tutorial which shows you EXACTLY how to use the ADC in a PIC - it's really very easy, the problem is getting the details off the datasheets, my tutorial does this for you!.
I'm presuming the 16F72 has analogue inpits?, it's not a PIC I'm familiar with!.
DelheZi said:From your tutorials there, do I really need to build all the respective board in order to better understand the ADC workout?
Don't worry about HIGH Level. 8051s used to have problems with "weak" High, but PICs can deliver up to 25mA current with minimal voltage drop.DelheZi said:I still can't write out a program using assembly language.
My lecturer asked me to complete by using PIC basic approach. Anyone have any idea? Basic language... Will my output 5V stable? I heard that it'll reduce to around 3V+...
Any comment?
No, I must dissapoint you, I use only Asembly (due to it's closeness to HW). But I'm prety sure such program is possible. I know that somebody on this forum will help you. 8)DelheZi said:Many thanks to Jay.slovak... U're major in PICbasic right? Can PICbasic write a program to trigger an analogue input or output? My project is to sense the analogue input at different voltage levels across 1.5V-5V. Please advise, or kind enough to show me the steps?
Thanks in advance!![]()
DelheZi said:Jay.slovak,
Really? What is a HW? Who do u think will be able to help me with this? PIC basic language... with analogue I/O... It's quite urgent, though...
DelheZi said:Hi Nigel Goodwin,
Nice to see u again. Yeah, do u familiar with PIC basic? It seems easier to use & understand too. Coz I still can't do a simple program like:-
- Pause for 1 hours
- Get Analogue input
- Compare if >3.5V -if yes, output high at pin x; if no, next step
- Compare if >2.5V -if yes, output high at pin y; if no, next step
- Output high at pin z
- Loop back to top
Does my program make sense? Ok right? Can anyone help me in the way of either PIC basic or Assembly?
DelheZi said:Sorry to say that I'm not quite sure of what u saying here (link?), not familiar at all.
Please explain or show more on it... thanks & really sorry for asking this much... :cry:
Assuming you mean the PICList?, it's at http://www.piclist.com
Anyway, I have the uploader of 16F72, but I do not have 16F72 compiler... The closest model I have is 16C72 & 16F74. Can I pressume them are compatible? :?: