Infrared remote control for PIC 18F circuits

Discussion about project that uses other controller, or non controller based project such as using logic gates, FPGA, ARM, Mechanical ....etc. Welcome to post it here

Infrared remote control for PIC 18F circuits

Postby takao21203 » Sat Jul 21, 2012 6:36 am

I am currently working at software to use infrared remote controls for PIC circuits.
Recently I had this idea because it seems to be cheaper and easier than to add keys to circuits, or a keypad.
I also bought a much smaller remote control a few days ago.

The PICs I use here are 18f24j10.
Circuit one: 1.8" TFT LCD
Circuit two: 2x character LCDs

P7200264.jpg


These are the codes I am getting right after inserting the battery. The remote control
also can output infrared data for many different protocols.

Here the data seems to be 6bit only, and it is repeating.

P7190252.jpg


This is the 2x character LCD circuit, also showing the remote control.

I want to use the same source file for both projects!
Right now the infrared code only exists on the 1.8" TFT circuit.
And only the time between pulses is measured.
I still need to convert it to single bits.

It is not so easy because all protocols are different, remote controls as such are different,
and problems such as command repeat need to be solved as well.

I was thinking, I could require the command to be repeated a few times,
so the circuits won't respond from a single command.

But also for a LCD game I need very fast response.
User avatar
takao21203
Discoverer
 
Posts: 111
Joined: Mon Mar 19, 2012 7:52 pm
Location: Ireland, Europe

Re: Infrared remote control for PIC 18F circuits

Postby ober » Sat Jul 21, 2012 8:02 am

P7190252.jpg


Like the idea a lot, nice work! Interested to know the round black PIC board you are using, customized?
Ober Choo
Cytron Technologies Sdn Bhd
www.cytron.com.my
User avatar
ober
Moderator
 
Posts: 1365
Joined: Wed Apr 15, 2009 1:03 pm

Re: Infrared remote control for PIC 18F circuits

Postby takao21203 » Sun Jul 22, 2012 7:43 am

It is a TQFP44 adapter + 5 MHz resonator + 32 KHz crystal + 1uF cap + LED.
User avatar
takao21203
Discoverer
 
Posts: 111
Joined: Mon Mar 19, 2012 7:52 pm
Location: Ireland, Europe

Re: Infrared remote control for PIC 18F circuits

Postby robosang » Sat Jul 28, 2012 7:37 am

Nice project! I am interested to know the board highlighted by ober too. Where to get it? Or you build it yourself? It does not look like TQFP44 to me :lol: Shouldn't it be 28-SOIC?
robosang
Expert
 
Posts: 1239
Joined: Wed Jun 10, 2009 5:37 pm

Re: Infrared remote control for PIC 18F circuits

Postby takao21203 » Sat Jul 28, 2012 9:46 pm

yes of course SOIC28. But I bought a bag with SOIC28 + TQFP44 together from the same seller.
They have both the same size and shape.

From ebay!

http://www.ebay.com/itm/10x-TQFP-44-LQF ... 0965542543
http://www.ebay.com/itm/10x-Sol28-SO28- ... 0858395966

Also ordered this (20 pcs. TQFP44) http://www.ebay.com/itm/110907542911

And this: http://www.ebay.com/itm/150498646707 (SSOP20 adapter).
User avatar
takao21203
Discoverer
 
Posts: 111
Joined: Mon Mar 19, 2012 7:52 pm
Location: Ireland, Europe


Return to Misc Project

Who is online

Users browsing this forum: No registered users and 8 guests

cron