Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > Electronic Projects Design/Ideas/Reviews


Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution.

Reply
 
LinkBack Thread Tools Display Modes
Old 22nd March 2008, 02:52 AM   (permalink)
Question project-iron-off

hi all ,
I'm sorry for little reply reason busyness me

I make project iron-off (ir remote control) ,I find this project in web
http://www.electronics-lab.com/proje...018/index.html
http://www.ivica-novakovic.from.hr/IrOn-Off-eng.htm


but,it don't work !!!!!!!!!!!!!!!

I thing then project correct but why don't work ????????

I use Disassembler for analysis program , I find errors

please help me

if anyone make this project ;please tell me

thanks for ALL
jownstar is offline  
Old 22nd March 2008, 03:14 AM   (permalink)
Default

Electronics-lab website is down right now.
Is the IR circuit the one from Aaron Cake's site?
It is missing an important resistor in its receiver. Also its opamp is obsolete.
Attached Images
File Type: png Infrared receiver.PNG (11.8 KB, 22 views)
__________________
Uncle $crooge
audioguru is online now  
Old 22nd March 2008, 04:54 AM   (permalink)
Default

Quote:
Originally Posted by audioguru
Electronics-lab website is down right now.
Is the IR circuit the one from Aaron Cake's site?
It is missing an important resistor in its receiver. Also its opamp is obsolete.
no....
a project use pic12f629

look in line 154 (CALL LADR_0x03FF) ,I don't understand ,where 0x3ff in program
Attached Images
File Type: jpg IrOn-Off250.jpg (9.6 KB, 10 views)
File Type: gif IrOn-Off.gif (6.6 KB, 21 views)
Attached Files
File Type: asm IrOn-Off.asm (20.6 KB, 11 views)
jownstar is offline  
Old 22nd March 2008, 11:42 AM   (permalink)
Default

Quote:
Originally Posted by jownstar
no....
a project use pic12f629

look in line 154 (CALL LADR_0x03FF) ,I don't understand ,where 0x3ff in program
How come that your asm file shows 16F chip while the original chip is 12F629?
perhaps you tried to disassemble on a programmer driver and forgot to change the chip to 12f629

please try again. this error would go off
__________________
Regards,
Sarma.
mvs sarma is offline  
Old 24th March 2008, 07:22 AM   (permalink)
Default

Quote:
Originally Posted by mvs sarma
How come that your asm file shows 16F chip while the original chip is 12F629?
perhaps you tried to disassemble on a programmer driver and forgot to change the chip to 12f629

please try again. this error would go off


this correct,I'm sorry

will downlowd correct program for site
see line 154 ( CALL LADR_0x03FF)???
where address 0x3ff in memory
I'm no understanding ??????
please help me
no anyone make this project????
Attached Files
File Type: asm IrOn-Off-dis.asm (16.2 KB, 7 views)
jownstar is offline  
Old 24th March 2008, 10:05 AM   (permalink)
Default

Well, address 0x3FF is the last word of the programming memory inside the 12F629.

Microchip has placed a magical value inside that memory location for user to load into the PIC "OSCCAL" register so that the internal RC oscillator will then oscillate at the stated accuracy. All the user need to do to get that value is to simply CALL that memory location and W will contain the value afterwards.

This is documented in section 9.2.5 of the 12F629 datasheet.

Some *good* hardware programmer will go into the trouble of saving this value for you every time while erasing the chip and store it back afterwards. In most cases, the user will never know this value exists.
__________________
L.Chung
eblc1388 is offline  
Old 24th March 2008, 10:42 AM   (permalink)
Default

Quote:
Originally Posted by eblc1388
Well, address 0x3FF is the last word of the programming memory inside the 12F629.

Microchip has placed a magical value inside that memory location for user to load into the PIC "OSCCAL" register so that the internal RC oscillator will then oscillate at the stated accuracy. All the user need to do to get that value is to simply CALL that memory location and W will contain the value afterwards.

This is documented in section 9.2.5 of the 12F629 datasheet.

Some *good* hardware programmer will go into the trouble of saving this value for you every time while erasing the chip and store it back afterwards. In most cases, the user will never know this value exists.
Thanks L.Chung
I missed this info. Thanks and I stand corrected.
P S: I don't know how far I am correct, I modded the line 154as below

CALL 0X03FF

then, tried to assemble thinking that the address oxo3ff is not a predefined location by the software, but a feature of 12f629. it was successful. I am not much into software as still learning. could this approach be correct Please?
__________________
Regards,
Sarma.

Last edited by mvs sarma; 24th March 2008 at 11:37 AM.
mvs sarma is offline  
Old 24th March 2008, 12:28 PM   (permalink)
Default

Quote:
Originally Posted by eblc1388
Some *good* hardware programmer will go into the trouble of saving this value for you every time while erasing the chip and store it back afterwards. In most cases, the user will never know this value exists.
Exactly.A good programmer will do all the hardest part by itself.For sure the OP has a simple jdm type programmer.

I know many people will caught to this trap (internal OSC + MCLR = OFF).Thats why I use external RC type OSC configurations in my designs. So they can program any shit type of programmers.
Attached Images
File Type: jpg IRonoff.JPG (33.7 KB, 11 views)
__________________
Gayan

My Website
http://gsmicro.blogspot.com/
Gayan Soyza is online now  
Old 24th March 2008, 03:00 PM   (permalink)
Default

Quote:
Originally Posted by Gayan Soyza
Exactly.A good programmer will do all the hardest part by itself.For sure the OP has a simple jdm type programmer.

I know many people will caught to this trap (internal OSC + MCLR = OFF).Thats why I use external RC type OSC configurations in my designs. So they can program any shit type of programmers.
dear Gayan Soyza.........
your talking correct 100%
most my problem from this kind .....
I thing that problem this project (IRON_OFF) from this kind too...

please my brother Gayan give me asm program useing in this application
jownstar is offline  
Old 24th March 2008, 03:26 PM   (permalink)
Default

Quote:
Originally Posted by eblc1388
Well, address 0x3FF is the last word of the programming memory inside the 12F629.

Microchip has placed a magical value inside that memory location for user to load into the PIC "OSCCAL" register so that the internal RC oscillator will then oscillate at the stated accuracy. All the user need to do to get that value is to simply CALL that memory location and W will contain the value afterwards.

This is documented in section 9.2.5 of the 12F629 datasheet.

Some *good* hardware programmer will go into the trouble of saving this value for you every time while erasing the chip and store it back afterwards. In most cases, the user will never know this value exists.

THANKS,new informations
(pic12f629)
I know that address 0x2007 is address CONFIGURATION WORD,
but address 0x2100 what is ???????????????
jownstar is offline  
Old 24th March 2008, 03:36 PM   (permalink)
Default

Quote:
Originally Posted by jownstar
THANKS,new informations
(pic12f629)
I know that address 0x2007 is address CONFIGURATION WORD,
but address 0x2100 what is ???????????????
It's the address of the data EEPROM area, but it's not directly addressable from a program.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 24th March 2008, 06:36 PM   (permalink)
Default

Quote:
Originally Posted by Nigel Goodwin
It's the address of the data EEPROM area, but it's not directly addressable from a program.
thanks dear Nigel Goodwin....

now I become know what is address 0x2100

but address 0x2000 what is???
I search in datasheet pic12f629 but I no find thing!!!!!!!!!!

pardon me if my question is much
jownstar is offline  
Old 24th March 2008, 06:41 PM   (permalink)
Default

Try reading the 16F629 programming datasheet, that explains it all - and 0x2000 is just an area (4 bytes) where you can store a serial number during programming.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Reply

Bookmarks

Thread Tools
Display Modes



Similar Threads
Title Starter Forum Replies Latest
Basic Soldering & Desoldering Guide ElectroMaster Electronic Theory 15 13th November 2008 01:23 PM
Magnets and Electromagnets ElectroMaster Electronic Theory 11 27th November 2007 03:31 PM
Uni Project Advice 2-tone Electronic Projects Design/Ideas/Reviews 7 18th October 2007 01:11 AM
My professor screwed my final electronics project! kungfusansu Electronic Projects Design/Ideas/Reviews 21 26th August 2007 10:57 PM
A Microcontroller based Analogue Waveforms Analyzer Project km Electronic Projects Design/Ideas/Reviews 76 30th June 2004 07:40 PM



All times are GMT. The time now is 04:33 AM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.

eXTReMe Tracker