Direct Port IO
#1
Posted 06 May 2012 - 05:28 PM
#2
Posted 06 May 2012 - 08:43 PM
#3
Posted 06 May 2012 - 09:29 PM
#4
Posted 07 May 2012 - 05:19 AM
Instead, if you need a modulation for infrared data (IR), Paul has got it: the SPI is the right choice.
I have successfully created a library for IR protocols. At the moment of writing there are three protocols fully working: Philips RC-5, Lego, Sony.
Have a look here: http://highfieldtale...r-for-netduino/
and here: http://blogs.msdn.co...red-part-1.aspx
Cheers
#5
Posted 08 May 2012 - 11:33 AM
#6
Posted 08 May 2012 - 12:59 PM
#7
Posted 08 May 2012 - 01:20 PM
The maxim MAX3100 can be used as an IRDA modulator, quite easy to get going using SPI and is available is a DIP package so dead easy to bread board a test circuit although this assumes you want to use serial comms. I suspect Mario's article may be more applicable for your needs.
The MAX3100 is a good UART that can be driven via SPI. It's useful whereas you need more UARTs than the MCU can offers to you.
BTW, Lazarus seems asking for generating IR signals for remote commanding home appliances, such as TVs, Hi-Fi sets, etc. In this case the protocols are very different from the UARTs.
My solution is much like an hack to play with Netduino. A much better solution would be using any low-price MCU (e.g. AVR, STL, etc), programmed so that you can use everywhere. I guess that could be a nice project for the Go! as well.
Cheers
#8
Posted 08 May 2012 - 03:32 PM
The MAX3100 is a good UART that can be driven via SPI. It's useful whereas you need more UARTs than the MCU can offers to you.
BTW, Lazarus seems asking for generating IR signals for remote commanding home appliances, such as TVs, Hi-Fi sets, etc. In this case the protocols are very different from the UARTs.
My solution is much like an hack to play with Netduino. A much better solution would be using any low-price MCU (e.g. AVR, STL, etc), programmed so that you can use everywhere. I guess that could be a nice project for the Go! as well.
Cheers
Yeah the MAX3100 would be no use for a IR interface for AV gear etc.
Think that would indeed make a very nice GO! project, maybe see if implementing a learning mode would be practical, if nothing else with a net connection could make for a very good prank device, i.e. remotly turn off TV etc. , and im sure there must be thousands of home automation projects that could benefit from IR transceivers...
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users