View Single Post
Posts: 339 | Thanked: 1,623 times | Joined on Oct 2013 @ France
#15
Originally Posted by kimmoli View Post
Project is already using the SC16IS850L
My bad... as I didn't remembered you talking of IRDA out before on this topic, I assumed the chip you selected didn't have IRDA and didn't check the previous page...

Originally Posted by kimmoli View Post
The idea here was to use the IRDA transmitter to mimic the e.g. TV remote control by making the ~40kHz (or 38kHz) carrier signal with bit pattern.
https://learn.sparkfun.com/tutorials...munication/all
and something here
http://youtu.be/BUvFGTxZBG8
Thanks for the link. I think I understand now.

Wouldn't the proper way to do this be that the chip is configured with the expected 1200 bauds and modulate it after (with an ne555 like or an I2C PWM expander if its period needs to be software controlled).
This would reduce the I2C load (probably not a problem anyway), and remove the need for some bit conversions to send data, so something like "cat /dev/xxx" would allow to see directly the received value (and not a list of 0x0 or 0xF for each individual bit) ?

Your solution work, but I always tend to choose hardware when possible to avoid doing tricky stuff in software.

Edit : After second though, there may be problems with the start/stop bits with this proposal. Don't know if they are the same on IR than with say a RS232 line, so that the UART would understand them correctly ?

Last edited by Zeta; 2014-01-22 at 20:39.