In the initial software, I use a procedure to check the pressed button; if 10 presses have the same ADC as a result, then I validate the button press. I tried to complete the code proposed above with...
Type: Posts; User: fratello; Keyword(s):
In the initial software, I use a procedure to check the pressed button; if 10 presses have the same ADC as a result, then I validate the button press. I tried to complete the code proposed above with...
Mea culpa ... I identified and corrected the errors.9654
Thank you very much !!! I can't wait to test it at the weekend !
LE : I use PBP 2.5, so TimerReload CON 61637 = WARNING Line 10: 111001 Numeric overflow, value truncated.
It works ! Finally, the first program that shows me the duration. BUT .... the correct identification of the pressed button does not work ! I pressed ONLY button 0 : short or long ...It doesn't...
Thanks !
But nothing on serial ...(in Proteus 8)
Gemini code !
Thanks for reply !
T1CON = %00000110 ; this command does not start timer1?
Or do I have to use the command: T1CON.0 = 1 'start Timer1 ?
How to see if button is released ? IF DataW.... it's...
Howdy ! I'm back on the forum after some absence (I had some personal problems).
I am trying to develop a project. I use a PIC12F675 with which I read the value of a group of 6 resistors, of...
Thank you very much ! I think this is what I need ! I will tested and post the results. Regards !
Thank you for the answers. The 2 resistors and the button simulate a photodiode, whose resistance increases when it is no longer illuminated by the IR emitting diode (communication is interrupted by...
Hi ! Both of my dispensers stopped working. So I thought of making a module with PIC. However, I encounter problems when implementing the function @Sleep in the program. I need your advice .......
Thanks for remember !!! I forgot the topic... Mea culpa, I became too old
Hi ! After a long time I re-started to use my solder station ...and I tried to build a simple switch.
I need to read the ADC on 12F675 and doing two actions, one if the time is less than 2 sec, the...
See this post : http://www.picbasic.co.uk/forum/showthread.php?t=1426&p=7072#post7072
Maybe is useful !
Yes, I use only 8 value.
Thank you, all !
Thank you verry much ! Works fine !
I really appreciate it !
...and how to continue to second line of LCD ? There is no room for ten values on the first line ...
Something like this ?
LCDOUT...
Hi !
I tried to read 10 samples of ADC values and sending to LCD display.
DataW var word[10]
i var byte
main:
for i=0 to 9
ADCON0.1 = 1 ' Start conversion
Nope :) ! No change !
Thanks ....but I have already FULL decoupling...8538
@tumbleweed : I don't understand what you mean ...
@Mark's : It's impossible another approach ! The steering wheel commands don't allow ...
Despite all the modification, the "adapter" still work foolish ... No change to the initial code.
...
"You say it worked fine until you put it into the vehicle. That should be a clue. "
I think so...
Thanks for suport !
@Tumbleweed : I used code from this post : http://www.picbasic.co.uk/forum/showthread.php?t=18495&p=123207#post123207
@Jerson : Tried already ...no improvement !
@ __config...
Thanks again !
I have 100 nF capacitors near to power pins of PIC and MCP ... I use a Sony player for tests ; I don't have a serial display.
As I said, my previous attempts (using PIC ADC) worked...
Thanks for reply !
I attached iin my first post the Proteus simulation and the pbp file ... I used 16F676 for "driving" six resistors (for Sony players); MCP3201 must read the valiues of the...
Hi ! I tried to make an adapter for steering wheel audio controls, based on MCP3201 (since my previous tries based on PIC ADC failed, being inaccurate) . In Proteus it works fine, but in "real world"...