Search found 16269 matches

by MikeB
Sat Jan 07, 2012 9:53 pm
Forum: er9x
Topic: Bug in FRSKY
Replies: 8
Views: 3508

Re: Bug in FRSKY

Thanks for that, I had the fix ready, but too many others in my sources to easily commit that one alone. I now do svn updates as a matter of course.

Mike.
by MikeB
Sat Jan 07, 2012 7:32 pm
Forum: PROGRAMMERS
Topic: usbasp problems
Replies: 19
Views: 21363

Re: usbasp problems

labs, what is the command line to avrdude? The processor on the 9x is an ATMEGA64, not an ATMEGA128, hence the signature warning.
The sck error may also be a problem on the command line asking for too fast a speed.

Mike.
by MikeB
Sat Jan 07, 2012 2:05 pm
Forum: DSM2/DSMX Mods
Topic: DSM2 work
Replies: 427
Views: 138248

Re: DSM2 work

I haven't tried it, but I reckon the main interrupt routine can be reduced to: ISR(TIMER1_CAPT_vect) //2MHz pulse generation { static uint8_t pulsePol; uint8_t x ; PORTB ^= (1<<OUT_B_PPM); x = *Dsm2_pulsePtr++; // Byte size ICR1 = x ; if ( x > 200 ) { PORTB |= (1<<OUT_B_PPM); // Make sure pulses are...
by MikeB
Sat Jan 07, 2012 10:40 am
Forum: DSM2/DSMX Mods
Topic: DSM2 work
Replies: 427
Views: 138248

Re: DSM2 work

Pat, my er9x source files have the DSM2 changes I put in, plus some other fixes. I'd like to commit these other fixes. Are we at a point where the DSM2 stuff is good enough to commit? We can commit other improvements later. If we are, could you let me have the source files you have changed please. M...
by MikeB
Sat Jan 07, 2012 10:34 am
Forum: er9x
Topic: Making your own splash screen
Replies: 8
Views: 7256

Re: Making your own splash screen

Have you installed ruby? It is a scripting program that does this conversion.

Mike.
by MikeB
Sat Jan 07, 2012 10:32 am
Forum: er9x
Topic: Bug in FRSKY
Replies: 8
Views: 3508

Re: Bug in FRSKY

I know, I have a fix for it, but I have incomplete DSM2 changes in my sources as well. I'll try to update a specific fix later today.

Mike.
by MikeB
Sat Jan 07, 2012 12:16 am
Forum: erskyTx (was ersky9x)
Topic: ERSKYTx (was ersky9x) Questions
Replies: 2095
Views: 563422

Re: ERSKY9x Questions

No problem with turning the PPM to the RF module off if in trainer mode, and we have separated PPM to the RF and PPM in and PPM out to the jack so we have lots of options. General to all, the developing software is now on googlecode, lots still to do, but its looking good so far. Just getting the me...
by MikeB
Fri Jan 06, 2012 11:05 pm
Forum: erskyTx (was ersky9x)
Topic: ERSKYTx (was ersky9x) Questions
Replies: 2095
Views: 563422

Re: ERSKY9x Questions

Should be possible. Pots often have a full rotation of 300 degrees, the sticks only 60 degrees, so we only have a fifth of the voltage. But, on the ersky9x board, we can scale this by 4 to get four fifths of the voltage, and we have 4 times the resolution (12 bit not 10 bit) to measure this with. Th...
by MikeB
Fri Jan 06, 2012 10:43 pm
Forum: erskyTx (was ersky9x)
Topic: ERSKYTx (was ersky9x) Questions
Replies: 2095
Views: 563422

Re: ERSKY9x Questions

Here's something interesting the new board could do. The analog to digital inputs have optional scaling and offset. Now the 9x has special pots that give the full voltage swing over the stick movement, but other pots and sticks give a lesser voltage range. No problem, just move the A2D offset to the...
by MikeB
Fri Jan 06, 2012 10:37 pm
Forum: erskyTx (was ersky9x)
Topic: ERSKYTx (was ersky9x) Questions
Replies: 2095
Views: 563422

Re: ERSKY9x Questions

Can we switch the RF on and off? If in trainer mode, does the backlight light up? If not, we probably know the current drain so can allow for it.

Mike.
by MikeB
Fri Jan 06, 2012 5:42 pm
Forum: er9x
Topic: Throttle not idle warning
Replies: 35
Views: 23565

Re: Throttle not idle warning

Interesting! I'm trying to pin this down, does the warning go away when you move the throttle stick to full? if not, as a test when you have the throttle warning displayed please move the ELEVATOR stick to full UP and DOWN. I'm wondering if the startup thinks the throttle is on that stick. I haven't...
by MikeB
Fri Jan 06, 2012 3:19 pm
Forum: erskyTx (was ersky9x)
Topic: ERSKYTx (was ersky9x) Questions
Replies: 2095
Views: 563422

Re: ERSKY9x Questions

Looks OK, the protection resistor could be a much larger value. I suggested a zener to protect the CPU from the sense voltage going to high due to a failure in the ZXCT1009. Rather than 100 ohms, R59 could be 10K. This will provide a significant current limit if the CPU pin protection diode is forwa...
by MikeB
Fri Jan 06, 2012 2:35 pm
Forum: er9x
Topic: Throttle not idle warning
Replies: 35
Views: 23565

Re: Throttle not idle warning

-100 when stick is down to +100 when stick is up, same as ELE stick. If you select throttle reversed does it correct the throttle to normal? And if not, does it become correct if you then select throttle not reversed. You may have tried this already. There may be a curious problem in the EEPROM, whe...
by MikeB
Fri Jan 06, 2012 2:23 pm
Forum: erskyTx (was ersky9x)
Topic: ERSKYTx (was ersky9x) Questions
Replies: 2095
Views: 563422

Re: ERSKY9x Questions

I would hope we don't get to 1A :mrgreen: Even at 1A, power is IxIxR = 1x1x0.1 = 0.1 watt, not 1 watt, so a 0.1 watt shunt should be OK. We can handle high input impedances in the A2D, it has a programmable tracking time for this purpose. I actually need to do the calculations on this for best perfo...
by MikeB
Fri Jan 06, 2012 2:11 pm
Forum: er9x
Topic: idea: Tx Running timer / power meter
Replies: 4
Views: 2949

Re: idea: Tx Running timer / power meter

There is a timer on the STAT screen at the top called TOT. This shows the total time since the tx was turned on. Currently it cannot be reset. THe problem with tracking the total on time is it needs to be stored in EEPROM for when the tx is off. We can't store this as the Tx is switched off, so it w...
by MikeB
Fri Jan 06, 2012 1:54 pm
Forum: er9x
Topic: Throttle not idle warning
Replies: 35
Views: 23565

Re: Throttle not idle warning

Very confusing, I just built and loaded the standard version er9x on my tx, all works fine. I'm mode 2, throttle on left stick, where is your throttle?

Mike.
by MikeB
Fri Jan 06, 2012 12:45 pm
Forum: erskyTx (was ersky9x)
Topic: ERSKYTx (was ersky9x) Questions
Replies: 2095
Views: 563422

Re: ERSKY9x Questions

I would think so. How about setting it up to give an A2D voltage from 0 to 2.5V, but putting a 3.3V zener in parallel with the resistor in the current output of the ZXCT1009. We have enough resolution that 2.5V will give an accurate enough reading, and the zener should not leak too much current at 2...
by MikeB
Fri Jan 06, 2012 11:48 am
Forum: er9x
Topic: Throttle not idle warning
Replies: 35
Views: 23565

Re: Throttle not idle warning

Since r635, I think only telemetry related changes have been done. If this is a problem only in the recent standard versions, then stick to r635. I'll try to look into this, but my tx is modified for the FrSky versionn so it may be difficult.

Mike.
by MikeB
Fri Jan 06, 2012 11:41 am
Forum: erskyTx (was ersky9x)
Topic: ERSKYTx (was ersky9x) Questions
Replies: 2095
Views: 563422

Re: ERSKY9x Questions

Either looks good to me, the ZXCT1009 may be the better choice. We can provide a calibration option in the software to get the best accuracy.

Mike.
by MikeB
Thu Jan 05, 2012 10:44 pm
Forum: erskyTx (was ersky9x)
Topic: ERSKYTx (was ersky9x) Questions
Replies: 2095
Views: 563422

Re: ERSKY9x Questions

If you have put the 32kHz xtal on the CPU, I don't think the RTC chip is needed.
We do want to measure the whole current draw if possible.

Mike.
by MikeB
Thu Jan 05, 2012 5:31 pm
Forum: erskyTx (was ersky9x)
Topic: ERSKYTx (was ersky9x) Questions
Replies: 2095
Views: 563422

Re: ERSKY9x Questions

Agreed we don't need high speed, just thought it would be nice if we just had to read a counter to get the encoder position. It's probably not worth the effort to frre the pins, the software can do it. Re the op-amp, have you looked at Microchip, MCP601/MCP602. They are cheap, CMOS, rail-to-rail dev...
by MikeB
Thu Jan 05, 2012 4:44 pm
Forum: erskyTx (was ersky9x)
Topic: ERSKY9X Coding
Replies: 4529
Views: 811908

Re: ERSKY9X Coding

OK, I've managed to get the source files uploaded in trunk\src. Revision 3, as revision 2 only created the src directory. I'm still learning svn! Erazz, anything specific you want to work on? Build, load and run. Disconnect the USB and power from another source. The LCD should come up with BAD eepro...
by MikeB
Thu Jan 05, 2012 4:05 pm
Forum: erskyTx (was ersky9x)
Topic: ERSKY9X Coding
Replies: 4529
Views: 811908

Re: ERSKY9X Coding

No just the command line svn, but the method may work anyway.

Mike.
by MikeB
Thu Jan 05, 2012 4:01 pm
Forum: erskyTx (was ersky9x)
Topic: ERSKY9X Coding
Replies: 4529
Views: 811908

Re: ERSKY9X Coding

I'll upload as soon as I can. Is there something special I need to do to tell svn which files to upload? I may need to read the svn help, I've only updated files so far!

Mike.
by MikeB
Thu Jan 05, 2012 2:48 pm
Forum: erskyTx (was ersky9x)
Topic: ERSKYTx (was ersky9x) Questions
Replies: 2095
Views: 563422

Re: ERSKY9x Questions

Doesn't look like we can get the pins free for the quadrature encoder hardware, we need PC23 and PC24, but the PPM-in would then need to be on PC29, or PA0, PA15, PA26. These are the available capture inputs on the chip.

Mike.
by MikeB
Thu Jan 05, 2012 1:41 pm
Forum: erskyTx (was ersky9x)
Topic: ERSKYTx (was ersky9x) Questions
Replies: 2095
Views: 563422

Re: ERSKY9x Questions

Sounds good. Which pins will the rotary encoder option be on? I ask because I believe a timer/counter can be set up to decode this automatically.

How will the ground sense resistor work?

Mike.
by MikeB
Thu Jan 05, 2012 12:47 pm
Forum: erskyTx (was ersky9x)
Topic: ERSKY9x Potential Logos
Replies: 64
Views: 18283

Re: ERSKY9x Potential Logos

The pilots name is in the bottom left corner, 8 pixels high, and up to 60 pixels wide (10 chars - 6 pixels each). On er9x, the word PILOT is above, it is part of the splash image so I'm not sure exactly where it is. There is a gap below it and the actual name, and it is in a bit from the left. It is...
by MikeB
Thu Jan 05, 2012 11:56 am
Forum: erskyTx (was ersky9x)
Topic: ERSKYTx (was ersky9x) Questions
Replies: 2095
Views: 563422

Re: ERSKY9x Questions

I have some ideas for trying to keep track of how long the tx has been switched on, and storing this in the EEPROM. For current measurement, the EXT2 pin is also AD8, currently unused for analog input. This could allow an addon for current measurement to be plugged in, unless Skynorth thinks he can ...
by MikeB
Thu Jan 05, 2012 11:51 am
Forum: eePe
Topic: Max Size of .eepe Files
Replies: 5
Views: 2458

Re: Max Size of .eepe Files

Looks like the main modle list screen in eepe could do with the memory used for each model and the amount free listed as on the 9x itself.

Mike.
by MikeB
Thu Jan 05, 2012 11:05 am
Forum: erskyTx (was ersky9x)
Topic: ERSKY9x Potential Logos
Replies: 64
Views: 18283

Re: ERSKY9x Potential Logos

These all look interesting, but are to a higher resolution then the actual screen (128x64). We need to see them on the correct resolution or they may not look so good.

Mike.

Go to advanced search