Thread Tools
Jan 22, 2003, 02:16 AM
Thats NOT indestructible
j8m8l's Avatar
Thanks Joe and Mr B

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

Josh
Sign up now
to remove ads between posts
Jan 23, 2003, 03:55 PM
Was that my 15 minutes?
Andy Birkett's Avatar
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
Jan 24, 2003, 05:53 AM
rebmeM roineS
MrBungle's Avatar
Thanks Andy.
I will remove the Hex dump I made available.

Simon
Jan 24, 2003, 12:36 PM
Hating Profile Planes :-)
glockengockel's Avatar

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
Jan 27, 2003, 07:20 PM
Registered User
Koichi Tanaka's Avatar

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.
Last edited by Koichi Tanaka; Nov 04, 2005 at 07:44 PM.
Feb 03, 2003, 07:30 PM
Registered User
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
Feb 03, 2003, 08:14 PM
I don't want to "Switch Now"
pmackenzie's Avatar
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
Feb 04, 2003, 01:55 AM
Was that my 15 minutes?
Andy Birkett's Avatar
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
Feb 04, 2003, 07:42 AM
Registered User
gbarc's Avatar
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
Feb 04, 2003, 08:39 AM
Registered User
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.
Feb 04, 2003, 09:11 AM
Registered User

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.
Feb 04, 2003, 12:33 PM
Registered User

Hitech?


Hi! Has someone codes for Hitech Focus Tx?
Feb 04, 2003, 06:18 PM
I don't want to "Switch Now"
pmackenzie's Avatar
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
Feb 05, 2003, 02:03 AM
Nickel what?
Phreakish's Avatar
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
Feb 05, 2003, 09:09 PM
Registered User
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