The Godfather talking
Share your stuff or I will make you regret it.
Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 06, 2016, 03:46:55 03:46


Login with username, password and session length


Pages: [1]
Print
Author Topic: PT2272  (Read 4714 times)
0 Members and 1 Guest are viewing this topic.
jackjames
Newbie
*
 Muted
Offline Offline

Posts: 10

Thank You
-Given: 22
-Receive: 3


« on: January 06, 2013, 03:32:57 15:32 »

Hi all.
Someone is in possession of, or have you ever written code to emulate the decoder PT2272 in c language or basic?

Logged
pablo2048
Active Member
***
Offline Offline

Posts: 103

Thank You
-Given: 96
-Receive: 82


« Reply #1 on: January 06, 2013, 04:19:57 16:19 »

STFW: http://read.pudn.com/downloads79/sourcecode/embed/301227/PT2272/Main__.c__.htm
 Wink
Logged
Ichan
Hero Member
*****
Offline Offline

Posts: 840

Thank You
-Given: 312
-Receive: 387



WWW
« Reply #2 on: January 06, 2013, 05:00:57 17:00 »

What is the purpose? It is just too cheap, about $0.2 vs $5.6 of atmega32 emulated one.

-ichan
Logged

There is Gray, not only Black or White.
jackjames
Newbie
*
 Muted
Offline Offline

Posts: 10

Thank You
-Given: 22
-Receive: 3


« Reply #3 on: January 07, 2013, 12:08:58 12:08 »

For Pablo2048:
Thanks for the source you've specified.

For Ichan:
PT2272 actually costs less than a MCU, but using the MCU can recognize the signals that they need not have the same base address and, if the code is flexible enough to recognize the times, it can also recognize different values ​​of RC networks.
In this way I can in the future to add new sensors.
Everything I need to use the sensors already in my possession in a home automation system that I am planning.
Logged
Ichan
Hero Member
*****
Offline Offline

Posts: 840

Thank You
-Given: 312
-Receive: 387



WWW
« Reply #4 on: January 07, 2013, 04:48:52 16:48 »

Got the point, so the micros will also do other things - nice.

-ichan
Logged

There is Gray, not only Black or White.
thunderer
Junior Member
**
Offline Offline

Posts: 54

Thank You
-Given: 18
-Receive: 61


I try to be patient


« Reply #5 on: February 07, 2013, 03:21:17 03:21 »

Everything I need to use the sensors already in my possession in a home automation system that I am planning.
I do (did) the same with the old HT12, because they're so smart for this little jobs. Also for a home automation, an alarm system. It beats any MCU that can do smarter stuff as you pointed at the same time.
Logged

Interested and hopefully helpful in: DC brushed motor control (mainly R/C - PPM/PWM), analog audio, PIC (mikrobasic PRO). Feel free to ask, and if I can, I will help. But only on forum topics, any started private conversation will continue in a public topic.
jackjames
Newbie
*
 Muted
Offline Offline

Posts: 10

Thank You
-Given: 22
-Receive: 3


« Reply #6 on: February 07, 2013, 08:12:34 08:12 »

I took as an example the software indicated by pablo48 and I wrote one in MIKROBASIC pro using a 20 MHz clock and a dynamic time management.
It works pretty well but sometimes change the values ​​of some variables that should be stable.
I need to investigate ...
Logged
thunderer
Junior Member
**
Offline Offline

Posts: 54

Thank You
-Given: 18
-Receive: 61


I try to be patient


« Reply #7 on: February 08, 2013, 10:24:48 22:24 »

Once you finish it and is stable, would you post it?
Logged

Interested and hopefully helpful in: DC brushed motor control (mainly R/C - PPM/PWM), analog audio, PIC (mikrobasic PRO). Feel free to ask, and if I can, I will help. But only on forum topics, any started private conversation will continue in a public topic.
jackjames
Newbie
*
 Muted
Offline Offline

Posts: 10

Thank You
-Given: 22
-Receive: 3


« Reply #8 on: February 09, 2013, 12:03:53 12:03 »

Certainly...
Logged
Virgus
Inactive

Offline Offline

Posts: 5

Thank You
-Given: 2
-Receive: 0


« Reply #9 on: July 30, 2013, 02:05:42 02:05 »

Hello jackjames,
I'm quite interested in your results.
Did you completed your project? Are you able to share some sources?

Thanks, have a nice day,
Virgus
Logged
jackjames
Newbie
*
 Muted
Offline Offline

Posts: 10

Thank You
-Given: 22
-Receive: 3


« Reply #10 on: August 01, 2013, 08:28:20 08:28 »

Unfortunately I have not yet finished because I had (and I still have) some problems in the family and I have not time to work on the project.
I hope to get something done in the month of August, so, if all goes well, as promised, I will publish the working code.
Logged
Virgus
Inactive

Offline Offline

Posts: 5

Thank You
-Given: 2
-Receive: 0


« Reply #11 on: August 03, 2013, 12:37:39 00:37 »

Hello, many thanks for your reply!

Hope you'll solve all problems! These are far more important than a bunch of code!
...but I also hope you'll have the time to share your results with us :-)

Cheers,
Virgus
Logged
Virgus
Inactive

Offline Offline

Posts: 5

Thank You
-Given: 2
-Receive: 0


« Reply #12 on: January 02, 2014, 03:43:38 03:43 »

Hello jackjames,
many months have passed since my last message
and I wonder if you had the time to progress on your PT2272 PIC code.

Would you share with us what you've done so far?
I'm really curious to test something as I've not found PIC examples on the net yet...

Regards and happy new year!
Virgus
Logged
jackjames
Newbie
*
 Muted
Offline Offline

Posts: 10

Thank You
-Given: 22
-Receive: 3


« Reply #13 on: June 24, 2014, 09:01:23 21:01 »

Sorry for my english.
After all this time I returned to work on the project.
The program seemed to work fine but after some time (random) operation crashed and I could not in any way to understand the reason.
Lately I've taken over the program and tried to better analyze the reasons for the failure by running over several nights.
A few days ago I replaced the compiler MikroBasic, I had version 5.6, with the latest 6.4.
Miracle !!!
The receiver now seems to work perfectly.
For safety I keep it in operation a few days, I translate some comments in English, so I'll publish it for whoever is interested.
What I can not understand is the reason for the compilation error.
I have written several programs with that version of the compiler, also heavily using interrupts, and I've never had any problems.

Just as well ...

CIAO

Giacomo
Logged
Parmin
Hero Member
*****
Offline Offline

Posts: 544

Thank You
-Given: 357
-Receive: 126


Very Wise (and grouchy) Old Man


« Reply #14 on: June 25, 2014, 12:35:26 00:35 »

Please publish your codes
Logged

If I have said something that offends you, please let me know, so I can say it again later.
bbarney
Moderator
Hero Member
*****
Offline Offline

Posts: 2403

Thank You
-Given: 405
-Receive: 544


Uhm? where did pickit put my mute button


« Reply #15 on: July 02, 2014, 12:50:58 00:50 »

Parmin asked for you to publish code you agreed to publish and were all still waiting 7 days later ? or do we need to wait another year  Angry
Logged

Ever wonder why Kamikaze pilot's wore helmet's ?
jackjames
Newbie
*
 Muted
Offline Offline

Posts: 10

Thank You
-Given: 22
-Receive: 3


« Reply #16 on: July 02, 2014, 08:22:26 08:22 »

These days I'm not at home but I am committed to work.
The next week, when I return, I will publish the code.
Logged
bbarney
Moderator
Hero Member
*****
Offline Offline

Posts: 2403

Thank You
-Given: 405
-Receive: 544


Uhm? where did pickit put my mute button


« Reply #17 on: July 09, 2014, 09:10:48 21:10 »

These days I'm not at home but I am committed to work.
The next week, when I return, I will publish the code.
Why didn't you contribute when you had the chance ?

 Well next week is here and 1/2 over and it's been 16 days since you were asked to post the code and like all your other posts you leave everyone hanging because you abandon the thread once you start it
So these days I' am at home cleaning out the useless members on the forum and you were on the top of my list
Your on a very long mute until your account is deleted in the next purge
« Last Edit: July 09, 2014, 09:17:19 21:17 by bbarney » Logged

Ever wonder why Kamikaze pilot's wore helmet's ?
lao
Junior Member
**
 Muted
Offline Offline

Posts: 65

Thank You
-Given: 0
-Receive: 1


« Reply #18 on: July 17, 2014, 10:22:52 10:22 »

https://mega.co.nz/#!xk1AWYjb!PfM0-8lpnM1Sn3RM4K0S6CyRxirfb6tHbjP8O5ufZkQ
That circumcision to reduce the space under the Arduino library. Decoding only and only from PT2262. Taken from https://code.google.com/p/rc-switch/
Logged
bbarney
Moderator
Hero Member
*****
Offline Offline

Posts: 2403

Thank You
-Given: 405
-Receive: 544


Uhm? where did pickit put my mute button


« Reply #19 on: July 17, 2014, 05:00:39 17:00 »

https://mega.co.nz/#!xk1AWYjb!PfM0-8lpnM1Sn3RM4K0S6CyRxirfb6tHbjP8O5ufZkQ
That circumcision to reduce the space under the Arduino library. Decoding only and only from PT2262. Taken from https://code.google.com/p/rc-switch/

This is a prime example of long term members here doing nothing - this is the first post by this guy in 7 years , not what I would call being active
The rest of you take note sooner or later your inactivity here will catch up to you and you will be muted and then purged  
« Last Edit: March 16, 2015, 02:21:32 02:21 by bbarney » Logged

Ever wonder why Kamikaze pilot's wore helmet's ?
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