Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
April 20, 2024, 05:28:46 17:28


Login with username, password and session length


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

Posts: 137

Thank You
-Given: 34
-Receive: 68



« on: April 16, 2010, 12:29:39 12: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: 2420

Thank You
-Given: 862
-Receive: 678


Top Topic Starter


« Reply #1 on: April 16, 2010, 06:05:48 18:05 »

Are you implementing this as you showed us here? If so then this is problematic.
Logged
kalpakchiev
Active Member
***
Offline Offline

Posts: 137

Thank You
-Given: 34
-Receive: 68



« Reply #2 on: April 16, 2010, 07:01:20 19: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, 07:09:03 19:09 by kalpakchiev » Logged

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

Posts: 2420

Thank You
-Given: 862
-Receive: 678


Top Topic Starter


« Reply #3 on: April 17, 2010, 12:24:31 00: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, 12:31:33 00:31 by metal » Logged
kalpakchiev
Active Member
***
Offline Offline

Posts: 137

Thank You
-Given: 34
-Receive: 68



« Reply #4 on: April 17, 2010, 06:47:44 06: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, 08:35:31 08:35 by kalpakchiev » Logged

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

Posts: 2420

Thank You
-Given: 862
-Receive: 678


Top Topic Starter


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

Some diodes and an interrupt will do the job Smiley
Logged
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