Search found 16824 matches

by MikeB
Tue Jan 24, 2012 11:42 pm
Forum: erskyTx (was ersky9x)
Topic: ERSKYTx (was ersky9x) Questions
Replies: 2347
Views: 1346364

Re: ERSKY9x Questions

OLED displays are nice, but you do have to watch their current consumption, when a lot of pixels are lit, the current can get quite high (100-200mA in some cases). Flight Report with Ersky9x. It works :D , but then I did expect it to work. I had something like 11 flights with 2 different models, no ...
by MikeB
Tue Jan 24, 2012 3:43 pm
Forum: erskyTx (was ersky9x)
Topic: ERSKYTx (was ersky9x) Questions
Replies: 2347
Views: 1346364

Re: ERSKY9x Questions

Sounds good to me. Also looks like the Vbe of the 3704 is only 0.6V so my suggested circuit has more noise margin. I have an indoor flying session tonight - erSKY9x will be on a flight trial. Just been setting the models up, found the odd bug that needing fixing, I had the LH trim wrong(still) and a...
by MikeB
Tue Jan 24, 2012 12:10 am
Forum: erskyTx (was ersky9x)
Topic: ERSKYTx (was ersky9x) Questions
Replies: 2347
Views: 1346364

Re: ERSKY9x Questions

Try this. When the main power switch is turned on, the CPU starts, finds PC17 is high so RF Power is on, enables the pullup on PA8 (50K to 175K), and thus turns the soft power switch ON. Even with 175K pullup, assuming a hFE of the transistor of 100, the transistor collector current should be at lea...
by MikeB
Mon Jan 23, 2012 11:13 pm
Forum: erskyTx (was ersky9x)
Topic: ERSKYTx (was ersky9x) Questions
Replies: 2347
Views: 1346364

Re: ERSKY9x Questions

I'm a little confused as to exactly what you are achieving. It seems to me that to use the tx as the trainee, you still have to turn the power switch on, and then plug the trainer cable in. Doing this means the RF power is on, which is not what is really required. You could turn the power switch on ...
by MikeB
Mon Jan 23, 2012 7:07 pm
Forum: erskyTx (was ersky9x)
Topic: ERSKYTx (was ersky9x) Questions
Replies: 2347
Views: 1346364

Re: ERSKY9x Questions

I'm busy for the next 2-3 hrs, look at it later. I use NiMh (LSD) cells and charge using the charge socket normally, be a shame to lose that.

Mike.
by MikeB
Mon Jan 23, 2012 3:37 pm
Forum: erskyTx (was ersky9x)
Topic: ERSKYTx (was ersky9x) Questions
Replies: 2347
Views: 1346364

Re: ERSKY9x Questions

Didn't need to! I just wrote a program to turn a LED on and off and ran it. Then added reading a switch, then moved on to using the serial i/f. I'm afraid I started programming berfore you could get a real In Circuit Debugging tool, so I'm used to working without. Besides the serial interface is fre...
by MikeB
Mon Jan 23, 2012 12:03 am
Forum: Hardware
Topic: Servos cogging
Replies: 15
Views: 11421

Re: Servos cogging

This makes me think this is definately a 'feature' of these servos. I think the problem is the whole radio system is geared around a PPM frame of around 20mS. So the servo only receives updated position information every 20mS. If it can move to the required position in less than 20mS, it will certai...
by MikeB
Sun Jan 22, 2012 5:16 pm
Forum: Electronic Mods
Topic: hk backlight mod
Replies: 204
Views: 110747

Re: hk backlight mod

The difference in current consumption may be caused be a change in design. I have a graphic display from a different manufacturer that has a LED backlight. This is composed of 78 separate LEDs in an array covering the area to be illuminated. This backlight does consume a high current (100mA). I also...
by MikeB
Sun Jan 22, 2012 11:41 am
Forum: Hardware
Topic: Servos cogging
Replies: 15
Views: 11421

Re: Servos cogging

One test you could do is to set up a channel on er9x that is controlled by a switch, e.g. CH05: +100% FULL Switch(GEA) This should give an output that is either fully one way or fully the other, no stick A2D involved. Now if you plug your servo into channel 5, does it still 'cog' when moving from on...
by MikeB
Sat Jan 21, 2012 11:57 pm
Forum: er9x
Topic: Grey wire in between cases
Replies: 6
Views: 5419

Re: Grey wire in between cases

Very odd, I can only guess that when the manufacturer tested you tx, they found a problem and added that wire to fix it :o It looks to me like it is the trainer switch. The 'correct' place for the wire is actually at the other end of the resistor, in the 'via' hole is easier that soldering directly ...
by MikeB
Sat Jan 21, 2012 11:34 pm
Forum: Hardware
Topic: Servos cogging
Replies: 15
Views: 11421

Re: Servos cogging

I'll have a look into this by putting a logic analyser on the servo pulse output and seeing what it does when the stick is moved. It may be a day or two until I can set this up. Pat Mackenzie has an interesting, parallel port logic analyser he might use if he feels interested. Or I might download a ...
by MikeB
Sat Jan 21, 2012 6:31 pm
Forum: erskyTx (was ersky9x)
Topic: ERSKYTx (was ersky9x) Questions
Replies: 2347
Views: 1346364

Re: ERSKY9x Questions

PDF attached. Getting back to debugging do you have anyway of single stepping, breakpoints etc ? I'm guessing the bootloader isn't that fancy, or is it. Thanks for the pdf. I didn't bother with single stepping or breakpoints. I never really bother with any form of in circuit emulation. I find I can...
by MikeB
Sat Jan 21, 2012 2:32 pm
Forum: FRSky Telemetry Mods
Topic: FrSky Amp/Current Sensor.
Replies: 142
Views: 107008

Re: FrSky Amp/Current Sensor.

I think I have fixed the bug you refer too, I just can't remember which version the fix went into. It may not even have been built into a release hex file yet.

Mike.
by MikeB
Sat Jan 21, 2012 2:30 pm
Forum: Hardware
Topic: Servos cogging
Replies: 15
Views: 11421

Re: Servos cogging

Is it just that the servo moves very quickly. The receiver output is a pulse every 20mS or so. If the servo can move from the last position to the next one in less than 20mS, then it will appear to jump. I believe the servo in question uses a coreless motor, this will probably make it start very qui...
by MikeB
Sat Jan 21, 2012 2:26 pm
Forum: er9x / gruvin9x / th9 based firmwares
Topic: Different curves for each direction?
Replies: 7
Views: 6181

Re: Different curves for each direction?

If you really want different curves in each direction: Custom Switch 1: OR SW3 !SW2 Custom Switch 2: OR SW4 !SW1 Custom Switch 3: V>ofs CH6 99 Custom Switch 4: V<ofs CH6 -99 Curve1 one direction eg: -100 -13 45 81 100 Curve2 other direction eg: -100 -83 -55 -6 100 CH08 +100 FULL Switch(GEA) slow(u3:...
by MikeB
Sat Jan 21, 2012 9:34 am
Forum: er9x / gruvin9x / th9 based firmwares
Topic: Different curves for each direction?
Replies: 7
Views: 6181

Re: Different curves for each direction?

It might be more useful if you could describe exactly how you wish the output to move. As it is retracts, are they controlled by a switch? If so, start with assume the switch is set with the retracts down. You change the switch to move the retracts up - what should happen? Then the retracts are up, ...
by MikeB
Sat Jan 21, 2012 9:28 am
Forum: erskyTx (was ersky9x)
Topic: ERSKYTx (was ersky9x) Questions
Replies: 2347
Views: 1346364

Re: ERSKY9x Questions

Is your circuit available as a pdf? I don't have KiCad. Brent (skynorth) is doing the actual hardware and yes, the board is getting very full. For debug, I relied on the USB bootloader (in ROM) on the processor to get a program into flash, and then this program configured one of the serial interface...
by MikeB
Fri Jan 20, 2012 11:27 am
Forum: FRSky Telemetry Mods
Topic: FRSKy Mod - Using Mikes Guide
Replies: 7
Views: 7799

Re: FRSKy Mod - Using Mikes Guide

Is the black just a thick paint layer or is it some sort of thin extra material?
Mike.
by MikeB
Fri Jan 20, 2012 9:41 am
Forum: er9x
Topic: er9x development
Replies: 3179
Views: 1459733

Re: er9x development

Good idea, unfortunately the vectors are in the flash, and therefore it is not possible to change which address they go to. I've achieved this (sort of) by using different timers and compare registers to provide different interrupts. The problem comes down to there are not enough if them to handle 2...
by MikeB
Thu Jan 19, 2012 11:49 pm
Forum: erskyTx (was ersky9x)
Topic: ERSKYTx (was ersky9x) Questions
Replies: 2347
Views: 1346364

Re: ERSKY9x Questions

Yes, It has one protocol output for the tx module that is capable of PPM and other protocols, and the PPM signal to the jack for use as SIM, or as trainee is a separately generated signal. In addition, when operating as the master trainer, the PPM input has the transistor inverter/buffer to handle l...
by MikeB
Thu Jan 19, 2012 11:16 pm
Forum: erskyTx (was ersky9x)
Topic: ERSKY9X Coding
Replies: 4540
Views: 1971063

Re: ERSKY9X Coding

Just got the diagnostic timer running on the main loop. If I've done it correctly, and the values are representative, I have a time of about 2mS for ersky9x for tmain, compared with about 7mS on er9x. So we might guess that the ARM processor is running about 3.5 times faster that the ATMEGA. This is...
by MikeB
Thu Jan 19, 2012 9:32 pm
Forum: erskyTx (was ersky9x)
Topic: ERSKY9X Coding
Replies: 4540
Views: 1971063

Re: ERSKY9X Coding

I think I'm finding some problems with the compiler. This is due to the mixture of int8_ts, int16_ts and int32_ts. It is possible the compiler is working OK, but it is allowed to make decisions regarding how long a variable actually is. The problem area I have is in menuProcExpoOne. expo() in declar...
by MikeB
Thu Jan 19, 2012 2:46 pm
Forum: other
Topic: Gruvin board vs erSky9x Board - whats the difference
Replies: 3
Views: 5113

Re: Gruvin board vs erSky9x Board - whats the difference

AFAIK the Gruvin board is using an ATMEGA2560 AVR device. This is compatible with the compiler used to compile the standard (alternative) software, and the inbuilt peripherals are very similar, if not the same, as the ATMEGA64 used on the stock board. The ersky9x board uses an Atmel ARM processor. T...
by MikeB
Thu Jan 19, 2012 1:44 pm
Forum: FRSky Telemetry Mods
Topic: FrSky Amp/Current Sensor.
Replies: 142
Views: 107008

Re: FrSky Amp/Current Sensor.

As a general situation, we just do not have enough EEPROM to hold telemetry screen configuration data, and are very tight on flash program space to add configuration menus. This is partly why the ersky9x project is taking place, this has 250 times the EEPROM space, and 4 times the flash space. At pr...
by MikeB
Wed Jan 18, 2012 10:49 pm
Forum: erskyTx (was ersky9x)
Topic: ERSKY9X Coding
Replies: 4540
Views: 1971063

Re: ERSKY9X Coding

Rob, the USB is also on a 4 pin header. You may need to wire a suitable USB connector to that, or possibly, see if there is a vertical mount mini connector available to replace the existing, right-angled one. Snag with that is, it would still be inside the case, so the 4 pin header is your best bet....
by MikeB
Wed Jan 18, 2012 10:46 pm
Forum: FRSky Telemetry Mods
Topic: FrSky Amp/Current Sensor.
Replies: 142
Views: 107008

Re: FrSky Amp/Current Sensor.

I know. I need to design and implement something better. One problem is others are already using the existing scaling value. If I just change it to something else, their scaling will be wrong, and they may not realise it. I'll need a few days, at least, to sort something out. That TO DO list keeps g...
by MikeB
Wed Jan 18, 2012 10:40 pm
Forum: er9x
Topic: er9x development
Replies: 3179
Views: 1459733

Re: er9x development

This could be quite tricky. For DSM and PXX, the interrput routines thet drive the signals have to be kept very small and fast. As a result, they need to be tied to a specific output pin, I don't think they will really be fast enough if we have an option of which output they drive. So PXX and DSM bo...
by MikeB
Wed Jan 18, 2012 5:06 pm
Forum: erskyTx (was ersky9x)
Topic: ERSKY9X Coding
Replies: 4540
Views: 1971063

Re: ERSKY9X Coding

Announcement: It works! Well, I've mounted my prototype ersky9x board in a 9x, with a FrSky DIY tx module, calibrated the sticks, and can actually control a servo on a FrSky V8R4 rx. Most of the menus are now in, standard version er(sky)9x only, no telemetry, no startup alerts, just plain PPM contr...
by MikeB
Wed Jan 18, 2012 9:10 am
Forum: erskyTx (was ersky9x)
Topic: ERSKYTx (was ersky9x) Questions
Replies: 2347
Views: 1346364

Re: ERSKY9x Questions

Not yet, it takes time to get all the low level drivers working, then transferring all the menus etc. over. The ATMEGA is slightly odd when accessing the flash as data, the ARM is different, so some of the code has to change. Getting close to putting a board in a tx though, just a few more of the me...
by MikeB
Wed Jan 18, 2012 9:03 am
Forum: FRSky Telemetry Mods
Topic: FrSky Amp/Current Sensor.
Replies: 142
Views: 107008

Re: FrSky Amp/Current Sensor.

Press and hold the MENU button when in the telemetry screen with A1 and A2 on it together with their min and max values. This calculates the required offset. At present, it is not permanently stored. I'll think if we can re-use somewhere to store it permanently.

Mike.

Go to advanced search