Latest from the Intern's Lab: TV remote relay switcher

Here you can find latest news on mikroElektronika products.
Post Reply
Author
Message
User avatar
srdjan.misic
mikroElektronika team
Posts: 296
Joined: 11 Feb 2014 15:55

Latest from the Intern's Lab: TV remote relay switcher

#1 Post by srdjan.misic » 28 Oct 2014 18:19

Latest from the Intern's Lab: TV remote relay switcher

Extend the functionality of your TV remote to turn all sorts of things on and off.

Image

The latest project from our intern’s lab is a TV remote relay switcher—the perfect
device to prank your room-mate, sibling or partner.

Consisting of a clicker for STM32 (this was done before we released clicker 2),
a relay click and an IR click, it lets you set up a regular TV remote
(as long as it uses the NEC IR protocol) to activate and deactivate relays. You can
assign any button from the remote to act as a switch, while the remote is still used
for changing channels on the TV.

So when someone picks up the remote in a hurry, barely in time for the all-important game
or sitcom premiere, see that person press a button on the remote that causes the power to
go out in the entire room—lights out, including the tv and all, complete darkness and silence.

You won’t be able to hold your giggles in the dark, so once the prank victim recovers from
the momentary confusion to start chasing you around the room, run. If you get caught, just
blame it on Nemanja, the intern who made it all possible.

Although the truth is you had to take a few steps to make it work. In this order: download
the Libstock example and plug the whole device into USB. Open the HID terminal in your
ARM compiler (under Tools), and select Remote control. Press a button on your remote
and you’ll get a number associated with that button. You then just paste it into the example
code and boot-load everything to the clicker’s STM32 MCU. Test it out to see if the relays
are clicking when you’re pressing the correct buttons on the remote. If everything is OK,
proceed to connect the wiring.

If your prank victim still thinks Nemanja is to blame and wants to know where he is, tell
him he’s still in the lab. Our hardware seniors assigned him his next project, a bigger challenge.

Your next prank should also be more sophisticated perhaps.

Yours sincerely,
MikroElektronika

Megahurts
Posts: 900
Joined: 01 Oct 2009 22:48
Location: Rocky Mountains, USA.

Re: Latest from the Intern's Lab: TV remote relay switcher

#2 Post by Megahurts » 28 Oct 2014 20:03

:lol: Very devious. :twisted:

Question(s): The Intern in question wouldn't happen to also be a HGG victim? (has read at least one of the Hitchhikers trilogy books, or seen the movie)
You're sure you had nothing to do with this concept :?: :?

Cool 8) regardless, Robert.
HW: easyPIC5|PICFlash2|easyBT|smartGSM|easyGSM|PICPLC16|mmWorkStation|FT800 Eve|PIC Clicker/2|
MMBs:PIC18F,PIC33EP,PIC32|CLICKs:DAC,ADC,GPS L10,Thermo,8x8B LED,Stepper,W/B OLED,9DOF,GPS3,tRF,Hall I|

SW: mP for PIC|mB for PIC-dsPIC-PIC32|Visual-TFT|

User avatar
srdjan.misic
mikroElektronika team
Posts: 296
Joined: 11 Feb 2014 15:55

Re: Latest from the Intern's Lab: TV remote relay switcher

#3 Post by srdjan.misic » 30 Oct 2014 10:46

Hehe, I can't speak for him, if he lurks on the forum maybe he'll be able to answer that one.

User avatar
nemanja.nikolic
Posts: 171
Joined: 01 Dec 2014 10:50

Re: Latest from the Intern's Lab: TV remote relay switcher

#4 Post by nemanja.nikolic » 15 Dec 2014 17:40

Hi everyone,

If you have an old remote control and imagination, sky is limit. :)

Nemanja.

Best regards.

Post Reply

Return to “Product Announcements”