Need HELP with Infrared project

For questions and comments on programming in general. And for any items that don't fit into the forums below.

Moderators: Benj, Mods

Post Reply
okeyzee
Posts: 12
Joined: Fri Oct 31, 2014 5:33 pm
Has thanked: 2 times
Contact:

Need HELP with Infrared project

Post by okeyzee »

I want to make a short distance (5cm or 50mm) Infrared sensor, whose Infrared transmitter can send a specific information or code to Infrared receiver and after receiving this information or code microcontroller will take some action for example it will make one of its pin HIGH. so this way it wont react to modulated signals from any other remote control like a T.V, A.C, stereo etc.
I am using flowcode v5 free version and I have PIC16F877a mcu, I am a novice and evaluating the product I don't know how to get this task done. Its a humble request Please HELP me...
I hope I will get help and support. :?

User avatar
JohnCrow
Valued Contributor
Valued Contributor
Posts: 1367
Joined: Wed Sep 19, 2007 1:21 pm
Location: Lincolnshire
Has thanked: 364 times
Been thanked: 716 times
Contact:

Re: Need HELP with Infrared project

Post by JohnCrow »

Hi okeyzee

Sorry to tell you the IR component is not support in the free versions of FC.

You will need to buy the professional version in addition to the processor pack i.e. PIC to access that component.
The free versions only has the basic components like LED, LCD ADC etc.

Full info is available here
http://www.matrixtsl.com/flowcode.php

You could try the 30day trial of FC6, that way you get all the advanced components for the 30 days, then it resorts to the free version.
1 in 10 people understand binary, the other one doesn't !

okeyzee
Posts: 12
Joined: Fri Oct 31, 2014 5:33 pm
Has thanked: 2 times
Contact:

Re: Need HELP with Infrared project

Post by okeyzee »

Thanks a lot I have downloaded Flowcode V6 30 days-trial, now and I have now access to other MCUs as well...

Ok now coming back to the topic can anyone help me with my project????

okeyzee
Posts: 12
Joined: Fri Oct 31, 2014 5:33 pm
Has thanked: 2 times
Contact:

Re: Need HELP with Infrared project

Post by okeyzee »

I made this short programme hope I am using the right component.

The data value could be anything I chose a random value 10, what next how to make MCU turn its pin HIGH and glow LED connected to.
Attachments
Flowcode2.fcf
(7 KiB) Downloaded 268 times

User avatar
JohnCrow
Valued Contributor
Valued Contributor
Posts: 1367
Joined: Wed Sep 19, 2007 1:21 pm
Location: Lincolnshire
Has thanked: 364 times
Been thanked: 716 times
Contact:

Re: Need HELP with Infrared project

Post by JohnCrow »

Hi

The IrDA board is for data transmission in a similar was to RS232 but using IR

If I understand what you say, you need the RC5 component for what you are doing.
This E-Block with this is a much simpler one to use.
The circuit is a IR diode and IR Transmitter and a resistors / capacitors etc.
I've attached a simple FC5 example This uses my 4 line LCD to show what button is pressed on the remote handset.
RC5-Handset Test Program V1.fcf
(12 KiB) Downloaded 301 times
1 in 10 people understand binary, the other one doesn't !

okeyzee
Posts: 12
Joined: Fri Oct 31, 2014 5:33 pm
Has thanked: 2 times
Contact:

Re: Need HELP with Infrared project

Post by okeyzee »

Thanks John I highly appreciate your quick response.

Your programme will read button pressed on a remote control and display a corresponding value on LCD.
I need to design a programme that will filter all the signals from a remote control in other words it wont respond to any remote controll at all, BUT will only respond to a custom code sent by Ir TX.

In this way it will be immune to all other modulated Ir sources. I am looking for an easier way to do this and hope it is possible with Flowcode.

Solution needed urgently pls Help...

Post Reply