Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.
Photo

Infrared Receiver on Netduino


  • Please log in to reply
7 replies to this topic

#1 ToniA

ToniA

    Advanced Member

  • Members
  • PipPipPip
  • 40 posts

Posted 31 March 2013 - 04:38 PM

Some while ago 'phil' posted about decoding RC6 infrared messages: http://forums.netdui...-decoder-class/

 

Based on this example, I wrote an example to decode Panasonic air conditioner remote codes: https://github.com/T...ino-ir-receiver

 

The intention of my project is to understand the IR messages to such extent that I can control the air conditioners (or rather heat pumps) of my house through the home automation, ultimately through an application running on a smart phone.

 

The hardware needed for this example:

  • Netduino or Netduino Plus
  • IR receiver module, I stole one from my spare air conditioner indoor unit


#2 sebswed

sebswed

    Advanced Member

  • Members
  • PipPipPip
  • 45 posts
  • LocationSweden

Posted 14 April 2013 - 10:04 AM

That is exactly what I'm planning to do :-)

 

For the arduino there are lots of examples on how to connect and read this.

A good tutorial can be found here: http://learn.adafrui...sensor/overview

 

It should be quite simple to read the signal on your netduino. Don't ask me how (yet) as I'm just a beginner in programming C# (I have more knowledge of hardware).

 

First you have decoded the IR signals you want. My heat pump has a separate signal for each degree Celsius and the different settings like dehumidify (which you could write a separate code for that reads a humidity sensor if you like to have it dehumidify automatically at a certain value). After that it is quite simple to send the signal (same tutorial). The only difference is the code but the basics are the same.

 

Unfortunately I'm not in that stage yet :-)

My first struggle is to get a netduino plus 2 web server working. Once I have that, I can make a page with buttons to send the commands and send you the code and circuit layout.

 

If you already have a working webserver I would love to get a copy of your code :-)


Netduino Plus 2 (v4.2.2.2)


#3 sebswed

sebswed

    Advanced Member

  • Members
  • PipPipPip
  • 45 posts
  • LocationSweden

Posted 14 April 2013 - 01:34 PM

I got a link from another forum member to the code for the netduino with IR receiver and transmitter.

http://highfieldtale...m/tag/infrared/


Netduino Plus 2 (v4.2.2.2)


#4 TareqGamal

TareqGamal

    Member

  • Members
  • PipPip
  • 19 posts

Posted 12 June 2014 - 06:03 AM

IR Sender ,
I saw one guy send IR to TV via Arduino ,

Do you have an easy way to control a TV using Netduino ?



#5 TareqGamal

TareqGamal

    Member

  • Members
  • PipPip
  • 19 posts

Posted 12 June 2014 - 11:20 AM

I need exactly something like this :

http://jerrylparker.com/?p=94

but for Netduino plus 2

library to send IR..

there is a source code for it but it is c++ for arduino , :(



#6 Mario Vernari

Mario Vernari

    Advanced Member

  • Members
  • PipPipPip
  • 1768 posts
  • LocationVenezia, Italia

Posted 12 June 2014 - 12:34 PM

I need exactly something like this :

http://jerrylparker.com/?p=94

but for Netduino plus 2

library to send IR..

there is a source code for it but it is c++ for arduino , :(

 

Okay, but you still did not clarify what kind of TV is. The article shows the protocol and the command for a Samsung TV: is it like yours?


Biggest fault of Netduino? It runs by electricity.

#7 TareqGamal

TareqGamal

    Member

  • Members
  • PipPip
  • 19 posts

Posted 13 June 2014 - 08:36 AM

Sir I have Robot toy Robosapien .., I found a Complete reference and library but all for Arduino only. 

I just want the code to send and what I need to do it, How to connect them together.?



#8 Mario Vernari

Mario Vernari

    Advanced Member

  • Members
  • PipPipPip
  • 1768 posts
  • LocationVenezia, Italia

Posted 14 June 2014 - 01:47 PM

Sir I have Robot toy Robosapien .., I found a Complete reference and library but all for Arduino only. 

I just want the code to send and what I need to do it, How to connect them together.?

 

My apologies for the delay.

Could you give us a link for the Arduino library and maybe anything else could be useful?

I think the task should be doable...


Biggest fault of Netduino? It runs by electricity.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.