Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 06, 2016, 11:03:36 11:03


Login with username, password and session length


Pages: [1]
Print
Author Topic: Universal IR Sender  (Read 2229 times)
0 Members and 1 Guest are viewing this topic.
kalpakchiev
Active Member
***
Offline Offline

Posts: 137

Thank You
-Given: 34
-Receive: 67



« on: April 16, 2010, 01:29:39 13:29 »

Current version of PBP file is for SONY codes, but can be modified to match other brands, PWM is set to 38KHz.

Tested

Best regrds
Logged

A known mistake is better than an unknown truth.
metal
Global Moderator
Hero Member
*****
Offline Offline

Posts: 2018

Thank You
-Given: 514
-Receive: 477


Top Topic Starter


« Reply #1 on: April 16, 2010, 07:05:48 19:05 »

Are you implementing this as you showed us here? If so then this is problematic.
Logged

nothing to say..
kalpakchiev
Active Member
***
Offline Offline

Posts: 137

Thank You
-Given: 34
-Receive: 67



« Reply #2 on: April 16, 2010, 08:01:20 20:01 »

Are you implementing this as you showed us here? If so then this is problematic.

It is part of another project where I use it. PIC receives RS232 commands and sends corresponding IR codes. Which part is problematic hardware, software or both?
« Last Edit: April 16, 2010, 08:09:03 20:09 by kalpakchiev » Logged

A known mistake is better than an unknown truth.
metal
Global Moderator
Hero Member
*****
Offline Offline

Posts: 2018

Thank You
-Given: 514
-Receive: 477


Top Topic Starter


« Reply #3 on: April 17, 2010, 01:24:31 01:24 »

I should have asked you if you supply the transmitter by batteries? If yes, then your hardware and software should be changed, otherwise, ur good to go without any changes. I think you have to put the PIC into sleep and wake it up when a button is changed, this would save power, because you are running the PWM all the time, and in general PIC is running normal all the time, this will kill the batteries soon.
« Last Edit: April 17, 2010, 01:31:33 01:31 by metal » Logged

nothing to say..
kalpakchiev
Active Member
***
Offline Offline

Posts: 137

Thank You
-Given: 34
-Receive: 67



« Reply #4 on: April 17, 2010, 07:47:44 07:47 »

No it is not battery powered because the purpose of the device was not to substitute a remote control, but to send automatically previously defined IR commands or combination (sequence) of IR commands when something happen.   You are right - if the power comes from a battery then definitely must be taken cares about minimizing of power consumption.
At least for example in main program PWM must be turned off and at beginning of SEND subroutine to turn it on and when sending is finished to turn it off again.
« Last Edit: April 17, 2010, 09:35:31 09:35 by kalpakchiev » Logged

A known mistake is better than an unknown truth.
metal
Global Moderator
Hero Member
*****
Offline Offline

Posts: 2018

Thank You
-Given: 514
-Receive: 477


Top Topic Starter


« Reply #5 on: April 17, 2010, 01:40:02 13:40 »

Some diodes and an interrupt will do the job Smiley
Logged

nothing to say..
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC