Audio (voice) - Stock 9X PCB

er9x is the best known firmware. It has a superb range of features and is well supported by the community. Well worth trying out.
dusan
Posts: 10
Joined: Wed Oct 23, 2013 5:37 pm
Country: -

Re: Audio (voice) - Stock 9X PCB

Post by dusan » Sat Jun 20, 2015 4:48 am

Now to my original question: how complicated would be to have the usbasp connected to the main chip using ISP, and Rx and Tx (from the original Thomas Fischer design) to the audio chip? Could the Atmega 8 act as the usbasp in one case and USB/serial converter in the second? More precise can a firmware be made so it combines both functionalities (I know it can work using separate firmwares) without the need to reflash the Atmega 8? It would be great if the device could present itself to the computer as 2 separate devices(obviously they cannot be used at the same time) and without the need to disconnect and reconnect the usb

dusan
Posts: 10
Joined: Wed Oct 23, 2013 5:37 pm
Country: -

Re: Audio (voice) - Stock 9X PCB

Post by dusan » Sat Jun 20, 2015 1:08 pm

It seems pretty complicated; it is a lot of work and the windows drivers needs to be modified. Definitely faster would be to add a hub and an ftdi chip plus some switches to isolate the circuits when the usb is not powered and not connected..

s_mack
Posts: 879
Joined: Thu Dec 29, 2011 6:11 am
Country: -

Re: Audio (voice) - Stock 9X PCB

Post by s_mack » Sat Jun 20, 2015 2:17 pm

I'm unclear on what you're really after. Specifically the "why". Can you walk me through what you're attempting to do? Give me a real world scenario.

User avatar
MikeB
9x Developer
Posts: 15562
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Audio (voice) - Stock 9X PCB

Post by MikeB » Sat Jun 20, 2015 7:16 pm

If you have a '128 or '2561 processor there might be a possibility.
If the Megasound is wired for serial use, then it is connected to the second serial port of the processor. The bootloader in the main processor could be changed to have a "pass through" mode of operation where it simply relays the serial data from the computer to the Megasound board.
As always, this will take time to implement, time I don't have spare at present.

Mike.
ersky9x/er9x developer
The difficult we do immediately,
The impossible takes a little longer!

User avatar
jhsa
Posts: 17722
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Audio (voice) - Stock 9X PCB

Post by jhsa » Sat Jun 20, 2015 9:20 pm

Mike, that would be great. Thank you..

João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW


dusan
Posts: 10
Joined: Wed Oct 23, 2013 5:37 pm
Country: -

Re: Audio (voice) - Stock 9X PCB

Post by dusan » Sat Jun 20, 2015 10:01 pm

The "why" would be to have only one usb connection to the transmitter, used to update the firmware on both chips, main and audio, and used to read/write the data to the sd card.

Dusan

User avatar
jhsa
Posts: 17722
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Audio (voice) - Stock 9X PCB

Post by jhsa » Sun Jun 21, 2015 12:30 am

The best would be to use the FTDI for both.. with the bootloader we can program the fw with the FTDI adapter.

João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW

andrewju
Posts: 713
Joined: Tue Aug 21, 2012 7:29 am
Country: Russian Federation
Location: Moscow

Re: Audio (voice) - Stock 9X PCB

Post by andrewju » Sun Jun 21, 2015 2:38 pm

Mike,

So is there a way to get MegaSound-Serial configured as the sound device in er9x.hex (non-FrSky version) at present?

I tried to load er9x-frsky.hex, configure Megasound there and then put er9x.hex back, hoping that the sound setting will be picked up by the firmware. But it still seem to expect the "regular" Megasound, not the Serial version...

User avatar
MikeB
9x Developer
Posts: 15562
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Audio (voice) - Stock 9X PCB

Post by MikeB » Sun Jun 21, 2015 3:30 pm

I've just posted a test version of eepe. This includes the "MegaSound Serial" option in the general settings. So just read the EEPROM, change the setting, then write the EEPROM back.

I'll try to get er9x updated and posted, but I have a lot on at present. Also, I'm going to have to get everything moved over to GitHub now as August is the GoogleCode deadline when it stops working.

Mike.
ersky9x/er9x developer
The difficult we do immediately,
The impossible takes a little longer!

User avatar
jhsa
Posts: 17722
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Audio (voice) - Stock 9X PCB

Post by jhsa » Sun Jun 21, 2015 3:44 pm

I'm sure you could use someone's help for the change over to github?

Is there anyone that know what to do that could help if needed? ;) I would but I have no idea what to do :(

João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW

User avatar
MikeB
9x Developer
Posts: 15562
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Audio (voice) - Stock 9X PCB

Post by MikeB » Sun Jun 21, 2015 4:38 pm

I have things set up as a start, the main thing will be sorting releases, and getting eepe/eepskye to get files from the correct place.

Mike.
ersky9x/er9x developer
The difficult we do immediately,
The impossible takes a little longer!

andrewju
Posts: 713
Joined: Tue Aug 21, 2012 7:29 am
Country: Russian Federation
Location: Moscow

Re: Audio (voice) - Stock 9X PCB

Post by andrewju » Sun Jun 21, 2015 6:35 pm

MikeB wrote:I've just posted a test version of eepe. This includes the "MegaSound Serial" option in the general settings.
Works great! :)

Thanks a lot!!!

andrewju
Posts: 713
Joined: Tue Aug 21, 2012 7:29 am
Country: Russian Federation
Location: Moscow

Re: Audio (voice) - Stock 9X PCB

Post by andrewju » Thu Jun 25, 2015 3:35 pm

Just to let everybody know: I may have a few spare "PowerSound 9x" audio modules available in the near future. Basically it's a board that installs instead of the stock power switch board and enables Audio (the new serial interface), Backlight control, Haptic feedback driver circuit, FrSky XJT telemetry level converter, extra inputs for additional buttons/switches upgrade, etc. It was initially based on Oliver's design described in the Wiki, but got many additions & extras implemented. Discussions of some of these were a page or two back in this topic.

The board requires some soldering skills in order to connect a few wires to the 9x mainboard (2 wires minimum for the serial connection itself, another 1 wire for haptic feedback motor and from 1 up to 4 more wires for telemetry, if needed).

If anyone is interested, I may be able to offer these boards at about their cost to me - $35 shipped internationally (this does NOT include speaker, backlight, haptic motor or microSD card). PM me for details.

User avatar
Moska
Posts: 55
Joined: Wed Nov 28, 2012 3:05 pm
Country: -

Re: Audio (voice) - Stock 9X PCB

Post by Moska » Fri Jun 26, 2015 3:15 pm

Hello all,

I am thinking to upgrade my tx changing the processor from 64 to another. In this way, I would like to know which will be correct model 2560 or 2561?
Unfortunately, I have only one tx, thus I have a lot of worries to update without burn all.


Enviado do meu iPhone usando o Tapatalk

User avatar
MikeB
9x Developer
Posts: 15562
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Audio (voice) - Stock 9X PCB

Post by MikeB » Fri Jun 26, 2015 4:17 pm

The 2561 is correct, the 2560 has 100 pins, not 64!

Depending on how soon you want to upgrade, you might consider this: http://www.smartieparts.com/shop/index. ... page&id=29 (the 9Xtreme) board.
We are working on it at present, so it will be some weeks before it is available.
It includes an ARM processor, voice, telemetry etc.

Mike.
ersky9x/er9x developer
The difficult we do immediately,
The impossible takes a little longer!

User avatar
LTMNO
Posts: 1044
Joined: Fri Nov 30, 2012 9:31 pm
Country: Canada
Location: Toronto, Canada

Re: Audio (voice) - Stock 9X PCB

Post by LTMNO » Sat Jun 27, 2015 10:35 pm

Man a lot going in again. Trying to catch up. Steven's new mainboards sounds interesting.


Sent from my iPhone using Tapatalk
9x-m128 / TeZ / SP Rev 2.4 / Rotary Encoder / Haptic / MegaSound9x(Serial) / er9x
9x-m128 / 9XTreme / ersky9x(Mavlink)

User avatar
Moska
Posts: 55
Joined: Wed Nov 28, 2012 3:05 pm
Country: -

Re: Audio (voice) - Stock 9X PCB

Post by Moska » Sun Jun 28, 2015 5:30 am

Many thanks Mike! Good to see this new development! I will wait for news about this!

Best regards


Enviado do meu iPhone usando o Tapatalk

andrewju
Posts: 713
Joined: Tue Aug 21, 2012 7:29 am
Country: Russian Federation
Location: Moscow

Re: Audio (voice) - Stock 9X PCB

Post by andrewju » Fri Jul 24, 2015 7:16 am

Mike,

Do you think it's feasible to control a haptic feedback motor with one of the spare pins of Megasound Serial? So that people will not have to solder a wire to Atmega pin directly...

Ideally, a user should be able to choose where the motor is connected to. But that may involve quite a bit of coding, including the need to add another line to the "Hardware" settings menu.
Perhaps, an easier way is to hard-code it so that the motor could be connected to either the stock Atmega pin or a free port on the MegaSound?

User avatar
MikeB
9x Developer
Posts: 15562
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Audio (voice) - Stock 9X PCB

Post by MikeB » Fri Jul 24, 2015 8:58 am

That might be possible, I've added it to my "ToDo" list so I don't forget to look into it.

Mike.
ersky9x/er9x developer
The difficult we do immediately,
The impossible takes a little longer!

User avatar
jhsa
Posts: 17722
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Audio (voice) - Stock 9X PCB

Post by jhsa » Fri Jul 24, 2015 9:41 am

I did suggest that some time ago when working on the ArduVoice project if I remember well ;) :)

Could Pin 43 on the radio CPU then be used for another switch?

I don't know why but it seems that my 9x radios are getting better as far as hardware addons are concerned than my other radios with skyboard. If the 9x could also support bluetooth I wouldn't probably look back.
I am really enjoying the 9x radio with the serial ArduVoice and the hall sensor gimbals.
Also the 2 push buttons on the back of the radio are fantastic.. not sure i can do the same on the pro and skyboard radios. Gotta look at that :)
João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW

User avatar
MikeB
9x Developer
Posts: 15562
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Audio (voice) - Stock 9X PCB

Post by MikeB » Fri Jul 24, 2015 10:45 am

I thought it already is available. It is PG2, which appears in the list of switch inputs that may be selected for switch upgrades.

PB1 and PB2 are available on ersky9x.

Mike.
ersky9x/er9x developer
The difficult we do immediately,
The impossible takes a little longer!

User avatar
jhsa
Posts: 17722
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Audio (voice) - Stock 9X PCB

Post by jhsa » Fri Jul 24, 2015 11:26 am

MikeB wrote:
PB1 and PB2 are available on ersky9x.

Mike.
Thanks Mike..
Didn't know. But where can I connect the switches on the board? I thought there weren't any extra pins on skyboard :o
Gotta have a look at the diagram

João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW

User avatar
MikeB
9x Developer
Posts: 15562
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Audio (voice) - Stock 9X PCB

Post by MikeB » Fri Jul 24, 2015 1:23 pm

ersky9x/er9x developer
The difficult we do immediately,
The impossible takes a little longer!

User avatar
jhsa
Posts: 17722
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Audio (voice) - Stock 9X PCB

Post by jhsa » Fri Jul 24, 2015 1:35 pm

Thanks a lot Mike. I had forgotten about those.. That information should be also copied to the thread with the diagrams really.. I will install at least 2 momentary buttons on the back of both skyboard based radios. They are fantastic and so easy to operate while flying. They're a must have for thumb flyers, really :)
We just need to find the best spot for them by holding the radio and using our finger to find the best place for the button.

João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW

andrewju
Posts: 713
Joined: Tue Aug 21, 2012 7:29 am
Country: Russian Federation
Location: Moscow

Re: Audio (voice) - Stock 9X PCB

Post by andrewju » Fri Jul 24, 2015 10:49 pm

MikeB wrote:That might be possible, I've added it to my "ToDo" list so I don't forget to look into it.
Thanks in advance, Mike!

This would be great!!!

andrewju
Posts: 713
Joined: Tue Aug 21, 2012 7:29 am
Country: Russian Federation
Location: Moscow

Re: Audio (voice) - Stock 9X PCB

Post by andrewju » Sun Aug 02, 2015 4:01 pm

Since the sound module got Serial interface, we are discussing potential extra switches and push buttons. But I can't figure out "what goes where" again... In the Hardware menu of er9x.hex we have the following settings:

ELE switch {EXT1 | EXT2 | PC0 | PG2 | PB7 | PG5 | L-WR}
AIL switch {EXT1 | EXT2 | PC0 | PG2 | PB7 | PG5 | L-WR}
PB1 switch {EXT1 | EXT2 | PC0 | PG2 | PB7 | PG5 | L-WR}
PB2 switch {EXT1 | EXT2 | PC0 | PG2 | PB7 | PG5 | L-WR}
PG2 Input {ON | OFF}
PB7 Input {ON | OFF}
L-WR Input {ON | OFF}

On the sound board's Atmega 328 we have PB0, PD7, PD2, PC0, and 'X1/X2/X3' (which are PC1, PC2 and PC3).

The only match between er9x hardware settings page and Atmega328 pins that I see is 'PC0'. But I'm still not sure this is the same thing. Anyway, where do the other options go?! I guess some of the options in that Hardware Setup page are related to stock Atmega64, and have nothing to do with the sound module... But that still doesn't make it clear for me...

Can someone please point me to a description of these? I'm sure it was discussed, but I probably missed it...

User avatar
MikeB
9x Developer
Posts: 15562
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Audio (voice) - Stock 9X PCB

Post by MikeB » Sun Aug 02, 2015 4:29 pm

PC0, PG2, PB7, PG5, and L-WR are all on the Atmega64 on the mainboard.
EXT1 and EXT2 are on the sound board. Partly because the HC1969 board didn't have connection for X1, X2 and X3, I implemented this using the 4 "LCD" connections. Two (LCD0 and LCD1, on PD4 and PD3) are used to replace the trim switches to allow for the serial connection to the voice board. The other 2 (LCD2 and CLD3, on PD7 and PB0) are the EXT1 and EXT2 signals.

No doubt, if X1, X2 and X3 are connectable, these could be made available as well.

Mike.
ersky9x/er9x developer
The difficult we do immediately,
The impossible takes a little longer!

andrewju
Posts: 713
Joined: Tue Aug 21, 2012 7:29 am
Country: Russian Federation
Location: Moscow

Re: Audio (voice) - Stock 9X PCB

Post by andrewju » Sun Aug 02, 2015 7:33 pm

Oh, THAT many spare pins on the stock m64? Nice! :)

So for the Serial sound board, EXT1 = PD7 and EXT2 = PB0 ?

In the PowerSound, there are also connectors for X1/2/3, PC0 and PD2 . So it would probably be nice to have an option to use all of these (not sure they all are needed at once, but who knows?). It's not urgent though. So maybe it can become an entry in the 'future development' part of your to-do list ? :)

Thanks!

User avatar
jhsa
Posts: 17722
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Audio (voice) - Stock 9X PCB

Post by jhsa » Sun Aug 02, 2015 8:20 pm

:D :D
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW

User avatar
jhsa
Posts: 17722
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Audio (voice) - Stock 9X PCB

Post by jhsa » Fri Oct 16, 2015 4:54 pm

Voice packs for Er9x will be posted on the thread linked below from now on.

viewtopic.php?f=5&t=7717

João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW

Post Reply

Return to “er9x”