Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
LinkBack Thread Tools Display Modes
Old 17th August 2008, 09:51 PM   (permalink)
Default SIRC Question

Hi All,

I have written some code which generates an SIRC signal which tells my TV to mute (much to my wife's annoyance).

Thing is; for it to work I send the signal, wait 45ms (Thanks to Nigel's tutorials), and then send the signal again for it to work.

Is this usual for Sony devices?

Mark
UTMonkey is offline  
Old 18th August 2008, 06:42 AM   (permalink)
Default

I'm not sure what you need.But you have done that.

SIRC for Sony devices.Just change the Device ID so you can use with Sony VCR/DVD etc.....
__________________
Gayan

My Website
http://gsmicro.blogspot.com/

Last edited by Gayan Soyza; 18th August 2008 at 06:43 AM.
Gayan Soyza is offline  
Old 18th August 2008, 07:24 AM   (permalink)
Default

It could be the automatic level control that takes time to adjust. What happens if you send a different command followed by the mute command?

Mike.
Pommie is offline  
Old 18th August 2008, 09:24 AM   (permalink)
Default

Quote:
Originally Posted by UTMonkey View Post
Hi All,

I have written some code which generates an SIRC signal which tells my TV to mute (much to my wife's annoyance).

Thing is; for it to work I send the signal, wait 45ms (Thanks to Nigel's tutorials), and then send the signal again for it to work.

Is this usual for Sony devices?
Quite possibly so, as SIRC's sends continually while the button is held done it's rather difficult to know - my SIRC transmitter does the same - why only send it once when the original doesn't?.

As Pommie suggests, it may be the time taken for the AGC to settle down, bear in mind there is no preamble sent - so the first set of pulses may be used as preamble?.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 18th August 2008, 11:12 AM   (permalink)
Default

Quote:
Thing is; for it to work I send the signal, wait 45ms (Thanks to Nigel's tutorials), and then send the signal again for it to work.

Is this usual for Sony devices?
I was recently playing around with Sony SIRC myself and what I found is that all my Sony remotes send the IR command a minimum of 3 times regardless of how quickly I press the button on the remote. If you hold a button down it repeats for as long as it's held down, but always a minimum of 3 times.

http://picprojects.org.uk/projects/sirc/
__________________
Pete
picprojects.org.uk

Last edited by geko; 18th August 2008 at 11:16 AM.
geko is offline  
Old 18th August 2008, 11:18 AM   (permalink)
Default

But I have an ancient sony TV remote RM 626 model its bit different format supported.not 12,15,20 bits.............
__________________
Gayan

My Website
http://gsmicro.blogspot.com/
Gayan Soyza is offline  
Old 21st August 2008, 08:52 PM   (permalink)
Default

Sorry for not getting in touch sooner, I don't get much chance to do electronics.

Quote:
It could be the automatic level control that takes time to adjust. What happens if you send a different command followed by the mute command?
That's a good question, let me try (some time passes......)

Ok, here are the results, if I send the mute once and then channel+ nothing happens.

If I send the Channel+ twice my TV responds.

So I think that answers my question, Sony kit likes to see a code more than once within a particular time frame (probably 45ms but I won't bother checking).

Thanks to all for your help.

Mark
UTMonkey is offline  
Old 21st August 2008, 10:03 PM   (permalink)
Default

Geko suggested that it's always sent a minimum of three times, so if you're not doing it from a button like a remote control, then perhaps you should send it three times?.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 22nd August 2008, 01:01 AM   (permalink)
Default

Most remote controls send the command packet 3 times. I've always heard that it's to increase reliability. The receiver compares the packets and if they aren't the same it throws them away. I don't know if they do 2 out of 3 or what.
philba is offline  
Reply

Bookmarks

Thread Tools
Display Modes



Similar Threads
Title Starter Forum Replies Latest
Nigels SIRC Coding Some Doubts Suraj143 Micro Controllers 11 31st March 2008 04:51 AM
JuneBug SIRC RX - Complete UTMonkey Micro Controllers 71 4th March 2008 01:09 PM
Which IR protocal is easier to decode, Sony SIRC or Philips RC5 blueroomelectronics Micro Controllers 5 14th January 2008 01:17 AM



All times are GMT. The time now is 03:48 AM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.

eXTReMe Tracker