PDA

View Full Version : New - Microchip mTouch inductiv sensing



Pedro Santos
- 24th November 2008, 18:19
Hello All

Microchip have the new mTouch sensing inductiv detection on
http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=2694&param=en538309

that can be done with any PIC witch ADC. Unfortunaly the examples code is in C. Exists the possibility that anyone can translate that code to PBP Pro?

Thanks
Best regards

Pedro

bcd
- 25th November 2008, 07:15
I have been looking into it for a project I am working on and it really doesn't look that hard - a bit of direct register reading and a bit of DT instant interrupt and I think it should be easy to do in PBP.

Bill

Pedro Santos
- 25th November 2008, 11:09
Hello BCD

Are you shure that Instant Interrupt is needed? Can you understand the
postet code in C from Microchip and make a PBP Pro sample from that?

Regards
Pedro

Kamikaze47
- 3rd December 2008, 16:24
is it just me or is that page not working?

Pedro Santos
- 4th December 2008, 11:35
Hello Kamikaze47

The link works. Try to copy the url to your web browser and start from that

Regards
Pedro

rmteo
- 7th December 2008, 00:51
Hello All

Microchip have the new mTouch sensing inductiv detection on
http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=2694&param=en538309

that can be done with any PIC witch ADC. Unfortunaly the examples code is in C. Exists the possibility that anyone can translate that code to PBP Pro?

Thanks
Best regards

Pedro
I have implemented mTouch with capacitive (timers instead of ADC) detection to scan the 24 buttons on this project using a PIC18F44K20 at 64MHz - not with PBP but another compiler though.

http://www.picbasic.co.uk/forum/attachment.php?attachmentid=3043&stc=1&d=1228610793

Kamikaze47
- 7th December 2008, 03:14
I have implemented mTouch with capacitive (timers instead of ADC) detection

Is there info on how to achieve that? Everything I can find deals with the inductive method.

rmteo
- 7th December 2008, 03:35
There is a whole bunch of info on capacitive sensing here:
http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=2695

Pedro Santos
- 7th December 2008, 12:23
Hello

Capacitive sensing is another story, for that exists ic's from Quantum that work very well. Inductive sensing is more complex, then you must prepair
the painel mechanical with a few layers.

Regards
Pedro

rmteo
- 7th December 2008, 13:55
What advantages do you see of inductive over capacitive sensing?

tenaja
- 7th December 2008, 15:32
M'chip has a pro/con chart:
http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=2599&param=en535162

Pedro Santos
- 7th December 2008, 15:32
Hello rmteo
Not advantage, but you can't use a capacitve keyboard for blind people, in that case the capacitive sensing is not usable

Regards
Pedro

rmteo
- 7th December 2008, 15:45
OK, thanks Pedro. tenaja, thanks - I saw that.

rmteo
- 7th December 2008, 19:24
Hello

Capacitive sensing is another story, for that exists ic's from Quantum that work very well.

Regards
Pedro
I am using a TS555 (CMOS version of the LM555) as a free-running oscillator at 1.1MHz. The touch buttons are routed through two 74HC4067 16-to-1 multiplexers to the TS555 as its timing capacitor (currently using only 24 inputs with 8 spare). The output of the TS55 is connected to TMR1 of the PIC which selects the inputs of the multiplexers and is also used to interface with 128x64 GLCD.