I have a board labelled HP-488-00-3 and a chip 16F88.
The board as a light dependent resistor, (light sensor) but I cannot find instructions how to use it. I have searched the Matrix Multimedia website, and read all flowcode help pages, and searched this forum.
I have switched my Jumpers to ANA, but this does not hlp.
I cannot find the instructions to read the analogue voltage at pin A0. I cannot find step-by-step instructions on how to use the light sensor. Other people have raised this issue, but I cannot understand the answers. They refer to various documents, but those documents do not contain actual solutions.
Please hep.
HP-488-00-3 Light sensor - How do I use t?
-
- Posts: 1
- Joined: Thu Apr 22, 2010 10:50 am
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: HP-488-00-3 Light sensor - How do I use t?
Hello
What language are you programming in?
To read the light sensor you must switch the mode selection jumper to ANA for pin 0. The other pins can remain in the DIG position.
To sample the analogue voltage you need to control the ADCON registers in your program (see your PIC device datasheet for help with the ADC registers)
What language are you programming in?
To read the light sensor you must switch the mode selection jumper to ANA for pin 0. The other pins can remain in the DIG position.
To sample the analogue voltage you need to control the ADCON registers in your program (see your PIC device datasheet for help with the ADC registers)
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel