Author Topic: Controlling devices via RS-232 like Samsung TV  (Read 1689 times)


  • Newbie
  • *
  • Posts: 1
    • View Profile
Controlling devices via RS-232 like Samsung TV
« on: January 29, 2014, 03:28:33 PM »

I want to control a few simple functions on my Samsung TV, like power on/off and volume up/Down, and I found that i can do that with rs232.

My question are as follows:

can i use the SBC28DC-IR2 to send simple RS232 commands (UART 9600 baud)?

can i use the IO8S frontend board with +24DC input signals or will i have to convert the signals to e.g. a lover voltage etc.?

which PIC chip will you recommend for these simple tasks?

have i understood correctly that all i need to program the PIC is PICkit2 and PGM2KIT, given that i have a PC with a USB port and the SBC board?


  • Administrator
  • Hero Member
  • *****
  • Posts: 564
    • View Profile
Re: Controlling devices via RS-232 like Samsung TV
« Reply #1 on: January 29, 2014, 03:40:16 PM »
Yes, you can use the SBC28DC or SBC28PC-IR2 to send simple commands.

I would recommend using it with the new MPLAB X compiler, and the free XC8 C compiler. I can help you get a simple project running if you want? There are heaps of examples.

You can use the IO8S, but should add an external resistor to measure +24V. I would recommend adding 100k resistors in series with each 24V input. This way, the clamping diodes on the PIC input will convert the 24V to 5V at a current that the clamping diodes are capable of. I can include some free 100k resistors if you place an order, just add a comment with order.

I would recommend one of the new, cheap PIC chips like the PIC18F23K22, PIC18F24K22, PIC18F25K22, PIC18F26K22:

Or, one of the new PIC16F pic chips.

Yes, all you need is a PICKit2 and PGM2KIT, as described here: