HobbyKing.com New Products Flash Sale
Reply
Thread Tools
Old Jan 22, 2003, 02:16 AM
Thats NOT indestructible
j8m8l's Avatar
London UK
Joined Apr 2002
1,448 Posts
Thanks Joe and Mr B

I will get that...after i have made some planes for Z-tron

Josh
j8m8l is offline Find More Posts by j8m8l
Reply With Quote
Sign up now
to remove ads between posts
Old Jan 23, 2003, 03:55 PM
Was that my 15 minutes?
Andy Birkett's Avatar
Leicester. UK
Joined Jan 2002
117 Posts
Hi folks,

I've been watching this thread off and on, although I don't really want to build an IR system (I have a z-tron one which works fine and am gradually moving over to radio) I am pleased that you seem to be making sme use of my decoder code. I am still puzzled as to what level of modifcation (if any) is required to make the code work Could some one clarify this?

In the meantime I've updated my site with hex images for those who just want to blow PICS.

http://www.gaspode.co.uk/planes/radio/radio.htm

Dont forget to read the caveats

Regards,

Andy
Andy Birkett is offline Find More Posts by Andy Birkett
Reply With Quote
Old Jan 24, 2003, 05:53 AM
rebmeM roineS
MrBungle's Avatar
Rockingham, Perth - Western Australia
Joined Apr 2001
615 Posts
Thanks Andy.
I will remove the Hex dump I made available.

Simon
MrBungle is offline Find More Posts by MrBungle
Reply With Quote
Old Jan 24, 2003, 12:36 PM
Hating Profile Planes :-)
glockengockel's Avatar
Germany
Joined Nov 2002
241 Posts
Re: DIY Infra-red ?

Hi,

Toko has published this info about DIY infra red on his web side. The side is written in Japan but the circuits are shown as gif - also many photos.

Look on his page under the technics.

Regards
glockengockel is offline Find More Posts by glockengockel
Reply With Quote
Old Jan 27, 2003, 07:20 PM
Registered User
Koichi Tanaka's Avatar
Japan
Joined Dec 2002
327 Posts
The airplane flew in Andy's code.

The infrared receiver using Andy's program code was completed.
Andy's program code was changed a little so that my transmitter might be suited.
Simultaneously, the position of an output pin was also changed according to my receiver.
It completed by 0.64g including a DC/DC converter and FET.

The test flight was performed on Sunday last week in the gymnasium, and it flew satisfactory at all.

The hex file of the receiver which I made was updated to my homepage.
However, it is the receiver of two channels made since it carried in my airplane.
http://www.cityfujisawa.ne.jp/~toko/pic

I appreciate offer of Andy's wonderful code.

Since the receiver was done lightly, my airplane became light to 10.9g.

This is the infrared receiver which is 0.64g.
Koichi Tanaka is offline Find More Posts by Koichi Tanaka
Last edited by Koichi Tanaka; Nov 04, 2005 at 07:44 PM.
Reply With Quote
Old Feb 03, 2003, 07:30 PM
Registered User
Peotone,Il USA
Joined Oct 2000
100 Posts
Early Results

In my test setup i'm running 9 LED'S AT 100MA.
peak, the system will operate across the long side
of a gym. But only if the tx. annd rx. can see each other.
My rx. uses a Vishay chip that has quite a bit of hystereses once signal is lost it
requires a larger signal for acquisition.
What can be done to reduce blind spots at the rx.
such as best location of sensor on the plane
( lens facing down, side, forward ect.)any advantage in using 2 sensors at 90 deg. or back
to back?
Also I need help with loading 12c509 chips using
IC-PROG. I purchased a UV erasable 12c509 to keep from wasting money on testing code and programer.
This chip needs information on the oscillator calibration value. I have been able to load a one time chip whiched worked even though the verify failed. I understand from reading FAQ'S that the calibration value must be entered, but I don't know wher it's located or how to enter it.
On the positive side the one rx. chip I loaded works fine al-though I may not have the same luck
next time with different code. Can anone help me
with this?

Thanks
joe price is offline Find More Posts by joe price
Reply With Quote
Old Feb 03, 2003, 08:14 PM
I don't want to "Switch Now"
pmackenzie's Avatar
Toronto (Don Mills), Canada
Joined Dec 2002
15,852 Posts
joe,
The OSCCAL value (determined by the factory) is automatically loaded into the W register upon reset, so if the first instruction moves it to the OSSCAL register, the on-chip oscillator is calibrated. Below is a small part of an ESC program as an example. (I can't get the post to format, it strips all the spaces before the opcodes)
ORG 0x000
reset movwf OSCCAL
clrf STATUS
;------------------------- set up outputs
movlw B'11000000'
option
movlw B'00100000' ;preset outputs
movwf GPIO
movwf long_mt ;motor off
movlw B'00110100'
movwf short_mt ;motor on
movlw B'00011011' ;GP5,GP2 as outputs
. tris GPIO

; lots more code after this

I use the PICSTART programmer. It is a bit expensive compared to the home-made programmers, but it has been very reliable.

Hope that clears things up for you,


Pat MacKenzie
pmackenzie is offline Find More Posts by pmackenzie
Reply With Quote
Old Feb 04, 2003, 01:55 AM
Was that my 15 minutes?
Andy Birkett's Avatar
Leicester. UK
Joined Jan 2002
117 Posts
Joe,

I've had the verification fail on me as well although the chip works OK.

In my scenarios the verification was OK at the time of programming and then verifying a a later stage worked.

BTW I was only doing a verify because I dropped a programmed chip in among some blank ones, I now put a dot of paint on before I program

I'll check that I don't turn code protection on in the source code, but I don't think I do, so I suspect this isn't the problem.

Are you using the JDM programmer?


Best Regards,

Andy
Andy Birkett is offline Find More Posts by Andy Birkett
Reply With Quote
Old Feb 04, 2003, 07:42 AM
Registered User
gbarc's Avatar
Jackson, Michigan, United States
Joined Nov 2002
1,388 Posts
I've been trying to folow this post and the progress made....i'm very curious about I/R especially in the realms of light weight control. I'm curious...does anyone have a simplified schematic of a RX and TX? I want to build a simple 2 channel(throttle, rudder) for a living room flyer. Thanks in advance-



Greg
gbarc is offline Find More Posts by gbarc
Reply With Quote
Old Feb 04, 2003, 08:39 AM
Registered User
Peotone,Il USA
Joined Oct 2000
100 Posts
Andy,

The only code i tried so far was Koichi's receiver
i didn't want to risk to many chips till i understand
what i'm doing. Thats why i purchased the UV chip.
I'm using the JDM programmer along with ic-prog.
The above post about the osscal value is over my head
i thought maybe i was just a matter of changing one of
the HEX codes before loading anyway as long as i can
load chips and they work thats all that matters although
with out the verify im not sure that i did it corectly.

Gbarc,
please ckeck post by Koichi and see his web site for
drawings and codes also sme great pictures.
joe price is offline Find More Posts by joe price
Reply With Quote
Old Feb 04, 2003, 09:11 AM
Registered User
Zama city, Kanagawa, Japan
Joined Dec 2002
199 Posts
I will do it.

Hello, I am a new to here. I am a member of the Koichi's " Slow Flyers Club".
I am trying to build the IR TX /RX designed by Koichi.
There are two people who are enjoying Koichi's IR unit including himself in Japan now. I would like to be the 3rd successor.
Koichi's plane is really light and slow. He could walk along the plane!.
I will post the results here after the completion.


Regards,

Yoshi.
moto is offline Find More Posts by moto
Reply With Quote
Old Feb 04, 2003, 12:33 PM
Registered User
Italy
Joined Dec 2002
40 Posts
Hitech?

Hi! Has someone codes for Hitech Focus Tx?
dario calone is offline Find More Posts by dario calone
Reply With Quote
Old Feb 04, 2003, 06:18 PM
I don't want to "Switch Now"
pmackenzie's Avatar
Toronto (Don Mills), Canada
Joined Dec 2002
15,852 Posts
Quote:
Originally posted by joe price
Andy,


The above post about the osscal value is over my head
i thought maybe i was just a matter of changing one of
the HEX codes before loading anyway as long as i can
load chips and they work thats all that matters although
with out the verify im not sure that i did it corectly.

I can try to make it a bit clearer. If the first instruction in your program is MOVWF OSSCAL , the on chip oscillater will be set to the factory calibration. Microchip made it easy to do.
If you are just loading someone elses hex files, it is a safe assumption that they would have incuded this instruction.

Now to try to confuse you again .
You may be having trouble verifying the code if you have set the "code protection" bit when you programmed the part. It is there to prevent others from seeing your program and "borrowing" it.

Pat MacKenzie
pmackenzie is offline Find More Posts by pmackenzie
Reply With Quote
Old Feb 05, 2003, 02:03 AM
Nickel what?
Phreakish's Avatar
Prescott, Arizona, United States
Joined Jan 2003
2,365 Posts
how bad is it that I just read this whole thread in an hour, and its now 1am on a school night! lol.

Anyhow, Im very interested in this kind of setup, have been for a long time, would be GREAT for so many of my projects (airborne and otherwise)

I'd love to know if there is anyone that can offer either a complete build, a kit, or full instructions on exactly what to use, the code to use, the programmer, programming software, and everything the average DIY (that has limited EE knowledge) would need to setup something like this?

I too haev a hitec system, the prism 7x. Would love a trainer-cord connected IR setup to use to build all the little 'bugs' I want to fly around my dorm (planes, helis, cars)

ANY help would be greatly appreciated.

I know a little about electronics, but it stops once it moves into the silicon based stuff... I know some of the basics, but not enough to do it on my own.

e-mail: crankit1-ob3@juno.com or msn @ jobrien2@hotmail.com

I'll keep tabs on this thread and see if I can do something similar, would solve a lot of my problems with my micro habit
Phreakish is offline Find More Posts by Phreakish
Reply With Quote
Old Feb 05, 2003, 09:09 PM
Registered User
Peotone,Il USA
Joined Oct 2000
100 Posts
Andy,
I followed your suggestion and changed
the hardware settings in ic-prog now the
verify works, thanks again.
Koichi' latest rx. code works just fine
although i did have a slight problem with
minimum throttle setting getting speed control
to turn off also i notice the it's reveresed compaired to GWS receivers. I'm now waiting
for the LTC dc-dc converter chips to arrive
to build the rx.

Pat,
I understand a little more about OSSCALi was just
answering a question wrong whe using ic-prog.

thanks
joe price is offline Find More Posts by joe price
Reply With Quote
Reply


Thread Tools

Similar Threads
Category Thread Thread Starter Forum Replies Last Post
airwars "infra-red combat system for planes" Tree_Magnet Power Systems 15 Jan 08, 2008 09:41 PM
Discussion DIY conversion to infra red Tom Harper Aerial Photography 46 Jun 25, 2006 05:43 PM
Infra-Red Thermometer for Helis rscamp Electric Heli Talk 7 Jan 08, 2002 06:11 AM
airwars "infra-red combat system for planes" Tree_Magnet Foamies (Kits) 4 Aug 02, 2001 12:15 AM
Infra red transmitter and receiver for micro size aircraft Ron MIller Power Systems 2 May 28, 2001 09:51 AM