Search found 16824 matches

by MikeB
Tue Nov 20, 2012 5:43 pm
Forum: er9x
Topic: Audio (voice) - Stock 9X PCB
Replies: 4092
Views: 1626042

Re: Audio (voice) - Stock 9X PCB

Put the word:
Pause
in the batch file after the avrdude line, then the results will stay on the screen.
In should take several seconds to program.

Mike.
by MikeB
Tue Nov 20, 2012 2:29 pm
Forum: er9x
Topic: Audio (voice) - Stock 9X PCB
Replies: 4092
Views: 1626042

Re: Audio (voice) - Stock 9X PCB

Here we go then. For the Mega328, here is a zip file containing a bootloader, with source files, and a new application. There is also a file "Instructions.zip" telling you what to do. Without this new version of the application, you won't be able to get back to the bootloader. The modified...
by MikeB
Tue Nov 20, 2012 12:41 pm
Forum: FRSky Telemetry Mods
Topic: Introducing: TelemetrEZ
Replies: 1292
Views: 585791

Re: Introducing: TelemetrEZ

Revisions of er9x from r767 accept, but ignore, the 2 extra bytes that contain the rotary encoder information.
I should be able to add the support for these fairly easily, just need to know whether to use these, or the wires to the LCD pins for the encoder source.

Mike.
by MikeB
Tue Nov 20, 2012 9:17 am
Forum: er9x
Topic: Audio (voice) - Stock 9X PCB
Replies: 4092
Views: 1626042

Re: Audio (voice) - Stock 9X PCB

As long as there is space in the queue, voice messages are added. If the module is 'not busy' then items are taken from the front of the queue and sent to it. If the transistor is being 'slow' (cold?) the command may not get clocked into the '574.

Mike.
by MikeB
Mon Nov 19, 2012 11:22 pm
Forum: er9x
Topic: Audio (voice) - Stock 9X PCB
Replies: 4092
Views: 1626042

Re: Audio (voice) - Stock 9X PCB

I did a 'special' build for the 'cold' test above with the extra delay for reading the busy signal. Rather than 2 NOPs I actually used: asm(" rjmp 1f") ; asm("1:") ; as a rjmp takes 2 clock cycles, even though it goes nowhere, but only takes 2 bytes of flash while 2 NOPs take 4 b...
by MikeB
Mon Nov 19, 2012 11:04 pm
Forum: er9x
Topic: Audio (voice) - Stock 9X PCB
Replies: 4092
Views: 1626042

Re: Audio (voice) - Stock 9X PCB

After a few false starts I now have my '328 on the new board working complete with bootloader. So I just programmed the bootloader in using my STK500, then programmed the application using the bootloader. I'll put a little package together with all the files and fuse settings and instructions, won't...
by MikeB
Mon Nov 19, 2012 3:40 pm
Forum: DSM2/DSMX Mods
Topic: The end of the DSM mod...
Replies: 145
Views: 114319

Re: The end of the DSM mod...

I'd be interested to know if 8ch on a 20mS frame rate works reliably if all 8 channels are at 2.0mS, on the standard module/receiver. Besides, my Turnigy 9x says it is a 9 channel system!

Mike.
by MikeB
Mon Nov 19, 2012 12:36 am
Forum: er9x
Topic: Audio (voice) - Stock 9X PCB
Replies: 4092
Views: 1626042

Re: Audio (voice) - Stock 9X PCB

I'd suspect the emartee module, or rather the WTV chip. I don't think it has a crystal to give the timing for everything, so I would guess at low temperatures whatever it uses as an oscillator goes slow or stops. The LM386 is rated for 0 to 70 deg C, so should work OK. Maybe another component, or so...
by MikeB
Sun Nov 18, 2012 7:27 pm
Forum: er9x
Topic: Audio (voice) - Stock 9X PCB
Replies: 4092
Views: 1626042

Re: Audio (voice) - Stock 9X PCB

I don't think the effort required to use the sound module as a M64 programmer is worth it, a lot of work, wiring and explanation and if someone has the SP board they likely won't want to bother either. May get eepe to do the programming, but it is only a single command line for AVRDUDE to do it anyw...
by MikeB
Sun Nov 18, 2012 6:56 pm
Forum: er9x
Topic: Audio (voice) - Stock 9X PCB
Replies: 4092
Views: 1626042

Re: Audio (voice) - Stock 9X PCB

I think I'm about there with the bootloader. I've just successfully written the application using it, and I have a modified application that monitors the serial port and recognises AVRDUDE trying to talk. The application then drops out to the bootloader and aVRDUDE does whatever it needs to. Current...
by MikeB
Sun Nov 18, 2012 4:30 pm
Forum: er9x
Topic: Trainer/Student Almost works.... but
Replies: 6
Views: 4179

Re: Trainer/Student Almost works.... but

From the Wiki: "There is an option for each model to enable or disable the trainer input function."

Near the bottom of the main model menu is an option:
TRAINER
This may be set to ON or OFF, defaults to OFF.

Mike.
by MikeB
Sun Nov 18, 2012 11:39 am
Forum: er9x
Topic: Audio (voice) - Stock 9X PCB
Replies: 4092
Views: 1626042

Re: Audio (voice) - Stock 9X PCB

Yes, just done with the radio power on and the three wires connecting to the serial connections to the PC (Ground, Tx and Rx).

Mike.
by MikeB
Sun Nov 18, 2012 11:16 am
Forum: Hardware
Topic: Dead after flashing
Replies: 41
Views: 17721

Re: Dead after flashing

I assume for your board version you are reading the silk screen, bottom right, saying something like: FS-TH9 MAIN -V1.4 I have two boards I can quickly look at, both have this same version number on the silk screen, HOWEVER, one is what we call a V2 board while the other is a V1 board. V1 boards hav...
by MikeB
Sun Nov 18, 2012 11:05 am
Forum: er9x
Topic: Audio (voice) - Stock 9X PCB
Replies: 4092
Views: 1626042

Re: Audio (voice) - Stock 9X PCB

I've been 'playing' with a bootloader called OPTIBOOT, intended for arduinos. I have something running on the voice board, talking to the PC at 38400 baud. Just used AVRDUDE and read the flash contents to a file. This bootloader only uses 512 bytes of flash. Needs a bit more testing, and a few thoug...
by MikeB
Sat Nov 17, 2012 9:31 pm
Forum: erskyTx (was ersky9x)
Topic: Sky9x Rotary Encoder Option
Replies: 442
Views: 272755

Re: Sky9x Rotaty Encoder Option

Remove C78 and C66. The new REV 3 board doesn't have these and the encoder work very well at high speed.

Mike.
by MikeB
Sat Nov 17, 2012 9:30 pm
Forum: Hardware
Topic: Dead after flashing
Replies: 41
Views: 17721

Re: Dead after flashing

Please post the pictures of the board and your wiring. Also, it doesn't look like you have tried slowing the programming clock down with the -B option. To read the fuses or the signature bytes you can have the clock running very slow (-B 1000). There is also the possible problem with the large capac...
by MikeB
Sat Nov 17, 2012 11:57 am
Forum: erskyTx (was ersky9x)
Topic: Sky9x Rotary Encoder Option
Replies: 442
Views: 272755

Re: Sky9x Rotaty Encoder Option

I've got a few tweaks I need to commit, but the encoder 'should' work in most screens. Try LONG LEFT, then the encoder should move between menus. Press the encoder switch, and you should go up and down, press the switch again and you should be able to edit the entry. LONG press the switch should tak...
by MikeB
Sat Nov 17, 2012 10:11 am
Forum: erskyTx (was ersky9x)
Topic: Sky9x Rotary Encoder Option
Replies: 442
Views: 272755

Re: Sky9x Rotaty Encoder Option

What PCB did you use? It should have holes in it to allow those pieces of plastic to move into.

Mike.
by MikeB
Fri Nov 16, 2012 5:48 pm
Forum: er9x
Topic: Audio (voice) - Stock 9X PCB
Replies: 4092
Views: 1626042

Re: Audio (voice) - Stock 9X PCB

The queue was 16 bytes long, and needed a 'shift' byte for files over 255. When I made the queue word (16-bit) width I reduced the length to 10, so 20 bytes of RAM instead of 16. I may be able to make it longer.

Mike.
by MikeB
Thu Nov 15, 2012 11:54 pm
Forum: openTx
Topic: open9x / M128
Replies: 119
Views: 47375

Re: open9x / M128

If you are doing that, why not the '2561?

I have a spare '128, so if I have time that is what I shall use.

Mike.
by MikeB
Thu Nov 15, 2012 5:05 pm
Forum: er9x
Topic: Audio (voice) - Stock 9X PCB
Replies: 4092
Views: 1626042

Re: Audio (voice) - Stock 9X PCB

It's a 'proper' printed circuit board. I don't think we can get a stripboard this size. I also need to check all the components are available in the correct size and pin spacing. I may look into a stripboard version to mount at the top of the radio, but I don't think it can be done, the space is jus...
by MikeB
Thu Nov 15, 2012 4:40 pm
Forum: er9x
Topic: Audio (voice) - Stock 9X PCB
Replies: 4092
Views: 1626042

Re: Audio (voice) - Stock 9X PCB

Plated through board, 84mm by 31mm NO surface nmount components, all routed. I need to do some checking but looks as though it might fit at the top of the radio, screwed to the two unused mounting holes in the gimbals. Voice1.png It includes a 6-pin programming header, and a 7-pin header for the SD ...
by MikeB
Thu Nov 15, 2012 11:26 am
Forum: er9x
Topic: Audio (voice) - Stock 9X PCB
Replies: 4092
Views: 1626042

Re: Audio (voice) - Stock 9X PCB

I'll check again, but I reckoned there is enough height to allow through hole components, with resistors mounted vertically. I'll make a cardboard version and check the fit. I do feel there are quite a few people who are concerned about soldering surface mount components, particularly the processor,...
by MikeB
Wed Nov 14, 2012 10:32 pm
Forum: er9x
Topic: Audio (voice) - Stock 9X PCB
Replies: 4092
Views: 1626042

Re: Audio (voice) - Stock 9X PCB

Never at 46.875 kHz. I have my PWM always on now. It also saves 12.8 mS before each voice file output, and another 12.8 mS after, so 25.6 mS between files. These are the times taken for the anti-pop/click ramp up and ramp down.

Mike.
by MikeB
Wed Nov 14, 2012 10:21 pm
Forum: er9x
Topic: Audio (voice) - Stock 9X PCB
Replies: 4092
Views: 1626042

Re: Audio (voice) - Stock 9X PCB

Lots of good ideas for a 'production' board. Here is another idea. I've been looking inside the radio and I notice there is some space near the top. I reckon there is an area about 31mm but 82 mm between the top of the gimbals and the pillars for the case screws and between the pot on one side and t...
by MikeB
Wed Nov 14, 2012 3:46 pm
Forum: er9x
Topic: Audio (voice) - Stock 9X PCB
Replies: 4092
Views: 1626042

Re: Audio (voice) - Stock 9X PCB

If doing a bulk buy from Rapid, postage is free for an order over £35.

Mike.
by MikeB
Wed Nov 14, 2012 12:41 pm
Forum: er9x
Topic: Audio (voice) - Stock 9X PCB
Replies: 4092
Views: 1626042

Re: Audio (voice) - Stock 9X PCB

Mike, but what is wrong with the ones we have now? 47n and 10n? While they remove the PWM noise, they also remove a lot of the voice signal as well, 2kHz is down to 70%, 4kHz is down to 39% and 8kHz is down to 14%. This means that using a voice sampling frequency above 16 kHz (twice the 8 kHz above...
by MikeB
Wed Nov 14, 2012 12:18 am
Forum: er9x
Topic: Audio (voice) - Stock 9X PCB
Replies: 4092
Views: 1626042

Re: Audio (voice) - Stock 9X PCB

You may get better prices from http://www.rapidonline.com/ , RS can be a bit pricey. Bear with me folks, regarding these capacitor values, I changed the wrong one to 2.2nF, and I also found the LM386 does not like a feedback capacitor alone. I think I shall settle for just the 2nd order filter, but ...
by MikeB
Tue Nov 13, 2012 11:18 pm
Forum: er9x
Topic: Audio (voice) - Stock 9X PCB
Replies: 4092
Views: 1626042

Re: Audio (voice) - Stock 9X PCB

I hope to be able to update over serial. I did manage to use ymodem protocol to the ersky board and write a file to the SD card, so I have some of the code already done. Will still need the FATFS updating to allow file creating and writing, and I will need the ymodem working the 'other' way to allow...
by MikeB
Tue Nov 13, 2012 10:48 pm
Forum: er9x
Topic: Audio (voice) - Stock 9X PCB
Replies: 4092
Views: 1626042

Re: Audio (voice) - Stock 9X PCB

I'm confused, where do the caps go? one seems to be the one connecting to the PWM output and the resistor that goes to pin 3 of the amp.. but the second cap you said on an earlier post that connects to pin 2 of the amp? that's the beeper input Oops, typo, I should have said pin 3, I've edited the o...

Go to advanced search