|Jan 23, 2003, 04:55 PM|
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.
Dont forget to read the caveats
|Jan 24, 2003, 01:36 PM|
Re: DIY Infra-red ?
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.
|Jan 27, 2003, 08:20 PM|
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.
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.
|Feb 03, 2003, 08:30 PM|
Joined Oct 2000
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
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
|Feb 03, 2003, 09:14 PM|
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)
reset movwf OSCCAL
;------------------------- set up outputs
movlw B'00100000' ;preset outputs
movwf long_mt ;motor off
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,
|Feb 04, 2003, 02:55 AM|
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?
|Feb 04, 2003, 08:42 AM|
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-
|Feb 04, 2003, 09:39 AM|
Joined Oct 2000
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.
please ckeck post by Koichi and see his web site for
drawings and codes also sme great pictures.
|Feb 04, 2003, 10:11 AM|
Zama city, Kanagawa, Japan
Joined Dec 2002
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.
|Feb 04, 2003, 07:18 PM|
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.
|Feb 05, 2003, 03:03 AM|
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: email@example.com or msn @ firstname.lastname@example.org
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
|Feb 05, 2003, 10:09 PM|
Joined Oct 2000
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.
I understand a little more about OSSCALi was just
answering a question wrong whe using ic-prog.
|Category||Thread||Thread Starter||Forum||Replies||Last Post|
|airwars "infra-red combat system for planes"||Tree_Magnet||Power Systems||15||Jan 08, 2008 10:41 PM|
|Discussion||DIY conversion to infra red||Tom Harper||Aerial Photography||46||Jun 25, 2006 06:43 PM|
|Infra-Red Thermometer for Helis||rscamp||Electric Heli Talk||7||Jan 08, 2002 07:11 AM|
|airwars "infra-red combat system for planes"||Tree_Magnet||Foamies (Kits)||4||Aug 02, 2001 01:15 AM|
|Infra red transmitter and receiver for micro size aircraft||Ron MIller||Power Systems||2||May 28, 2001 10:51 AM|