0
\$\begingroup\$

Is there any way to build a device capable of sending an ID signal with IR or RF?

For example, imagine I want my TV to know whose remote is being used (assuming everyone has a different remote).

I thought about assigning a different frequency to each "user", but if we had one million users, that method would me impossible.

My second idea was to send a second signal via WiFi, which based on GPS location would know if I'm close enough to the TV to use the IR signal too.

The TV example is only an idea, not the purpose I'm seeking.

Thank you for your time.

Gabriel.

\$\endgroup\$

2 Answers 2

0
\$\begingroup\$

This seems possible. However you need to write complete protocol by yourself.

Whenever you press a button on IR remote, it sends out a stream of data which is decoded on the TV end. The received data is compared to a table and necessary action is taken. For ex - When 52487 is received, turn the volume up, when 65472 is received, turn off the TV and so on. This is how it appears on a higher level. On a lower level, the data is modulated using a 36 kHz carrier frequency.

You will have to reprogram it to include an ID data packet. For ex - if you assign 4 bytes for ID, you can have a maximum of 2^32 unique IDs (=4294967296). I think that should be enough for your job. If not, you can always assign a longer packet size.

Working:

Suppose one of the ID is A82H. So you need to send 52487A82H to turn the volume up and your TV should know that last four bytes are being used for ID.

This can also be implemented using RF. nRF24L01+ is a cheap RF module and packs a lot of features. I'd say it's the best economical RF module currently available in the market. Libraries for Arduino are available.

\$\endgroup\$
2
\$\begingroup\$

Is there any way to build a device capable of sending an ID signal with IR or RF?

Most (if not all) radio systems communicate using exclusive addresses (identification) in each stream of data. This is commonplace and I'm sure the same is true of IR communication.

It's a must for these types of system so yes, building a device capable of this is not only possible (or desirable) but a necessity.

These methods tend to be done by digital encoding and not so much by allocating frequencies because a lot of these types of system share a common "channel". Time is shared and an example of this is called master-slave. A master allocates time slots for each slave to communicate but, each slave will likely still embed their slave address (or ID) into each transmission.

There are many, many possibilities.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.