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.
User avatar
LTMNO
Posts: 1049
Joined: Fri Nov 30, 2012 9:31 pm
Country: Canada
Location: Toronto, Canada

Re: Audio (voice) - Stock 9X PCB

Post by LTMNO »

Hi Oliver, I have finally completed your board (See Attached). I have for some reason forgot to order one piece....

C18 4n7 C1206 resistor (2.065 0.875) R270

Not sure how that happened, but when I look online at Digi-Key it says (See Attached). Is this the right component for this Line Item?

I was wondering if you or anyone else could assist?

Thanks.
Attachments
Schematic.jpg
Digi-Key.jpg
Olivers Board_Copy.jpg
Custom 9x with M64/Telemetry Mod

User avatar
Kilrah
Posts: 11109
Joined: Sat Feb 18, 2012 6:56 pm
Country: Switzerland

Re: Audio (voice) - Stock 9X PCB

Post by Kilrah »

LTMNO wrote:Not sure how that happened, but when I look online at Digi-Key it says (See Attached).
It simply says it's out of stock. You probably ordered it without noticing, and it will arrive to you one day...

You should be able to find another similar component from another manufacturer.
User avatar
pcipri76
Posts: 32
Joined: Tue Dec 11, 2012 6:48 am
Country: -
Location: Romania
Contact:

Re: Audio (voice) - Stock 9X PCB

Post by pcipri76 »

Can you tell me where I find the file to be loaded on board ATMEGA 328 Oliver? And if possible how to do this and with which program? EEPE? or another?
Oliver
Posts: 177
Joined: Mon Jul 23, 2012 1:02 pm
Country: -
Location: SPb, Russia

Re: Audio (voice) - Stock 9X PCB

Post by Oliver »

pcipri76 wrote:Oliver would like to know if I drew well: So MicroSD card connects to the ISP interface? If not correct, you could please put files in eagle and wiring diagram MicroSD card?
pcipri76, your wiring looking right, but text names near pads on micro-sd side are with mistakes: MISO is not MISO but GND and etc.
Oliver
Posts: 177
Joined: Mon Jul 23, 2012 1:02 pm
Country: -
Location: SPb, Russia

Re: Audio (voice) - Stock 9X PCB

Post by Oliver »

About firmware for bootloader and main program:
+ I added some files into repository. Now it contains:
Bootloader
Main firmware
Fuses
Instructions from MikeB
.bat files for using with avrdude

User avatar
HC1969
Posts: 421
Joined: Wed Dec 28, 2011 8:47 am
Country: Hungary
Location: Istvan Magi
Contact:

Re: Audio (voice) - Stock 9X PCB

Post by HC1969 »

If I do not want to use the bootloader, you can directly flash to the main firmware, this will work?
http://rc.emiter.hu/ (MegaSound 9X, GCL-2, FrSky-RSSI-DAC, etc.) Keress fel!
Oliver
Posts: 177
Joined: Mon Jul 23, 2012 1:02 pm
Country: -
Location: SPb, Russia

Re: Audio (voice) - Stock 9X PCB

Post by Oliver »

HC1969 wrote:If I do not want to use the bootloader, you can directly flash to the main firmware, this will work?
Yes, you only lose the ability to update firmware with serial later, only with ISP.
UPD: and, of course, you need to set another BOOTRST fuse.
User avatar
HC1969
Posts: 421
Joined: Wed Dec 28, 2011 8:47 am
Country: Hungary
Location: Istvan Magi
Contact:

Re: Audio (voice) - Stock 9X PCB

Post by HC1969 »

Oliver wrote:
HC1969 wrote:If I do not want to use the bootloader, you can directly flash to the main firmware, this will work?
Yes, you only lose the ability to update firmware with serial later, only with ISP.
UPD: and, of course, you need to set another BOOTRST fuse.
Thanks!
What do you use to burn the ATMega328 (USBASP with command line AVRDUDE)?
If yes, please write command line for main FW burn and command line Fuses burn!
http://rc.emiter.hu/ (MegaSound 9X, GCL-2, FrSky-RSSI-DAC, etc.) Keress fel!
User avatar
LTMNO
Posts: 1049
Joined: Fri Nov 30, 2012 9:31 pm
Country: Canada
Location: Toronto, Canada

Re: Audio (voice) - Stock 9X PCB

Post by LTMNO »

Kilrah wrote:
LTMNO wrote:Not sure how that happened, but when I look online at Digi-Key it says (See Attached).
It simply says it's out of stock. You probably ordered it without noticing, and it will arrive to you one day...

You should be able to find another similar component from another manufacturer.
Hi Kilrah, thx for the reply. I was able to source another through hole component locally. I was confused by the fact that Digi-Key only had Polarized Caps of that value. Thanks again.
Last edited by LTMNO on Fri Dec 14, 2012 8:48 pm, edited 1 time in total.
Custom 9x with M64/Telemetry Mod
User avatar
MikeB
9x Developer
Posts: 17993
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Audio (voice) - Stock 9X PCB

Post by MikeB »

Looks like on my circuit and board I have pins 1 and 5 of the programming header swapped. I didn't notice this I used the '328 I had already programmed in the stripboard so didn't need to use the header!

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
Oliver
Posts: 177
Joined: Mon Jul 23, 2012 1:02 pm
Country: -
Location: SPb, Russia

Re: Audio (voice) - Stock 9X PCB

Post by Oliver »

LTMNO wrote: Update: with further investigation...

is this correct?

4700pF = 4.7nF or 4n7nF = 0.0047uF
Exactly!
User avatar
LTMNO
Posts: 1049
Joined: Fri Nov 30, 2012 9:31 pm
Country: Canada
Location: Toronto, Canada

Re: Audio (voice) - Stock 9X PCB

Post by LTMNO »

Oliver wrote:
LTMNO wrote: Update: with further investigation...

is this correct?

4700pF = 4.7nF or 4n7nF = 0.0047uF
Exactly!

Thanks Oliver, I am starting to get the hang of this stuff. ;) You guys are just genius...
I am trying to figure out the way to program this board.
I have this cable -
Image

and this adapter -
Image

And I have the SmartieParts Board in my radio that has the built in USBasp device. It would be cool to be able to wire that to the Sound Module with a switch that allows you to program the Sound Module or the T9x Board.

Anyway,

I think I remember Mike saying that I can't use the Serial Adapter and that I had to use USBasp. I was trying to find the msg in the thread but couldn't.

What shall I do? So close to hearing my baby speak... ;-)
Custom 9x with M64/Telemetry Mod
User avatar
LTMNO
Posts: 1049
Joined: Fri Nov 30, 2012 9:31 pm
Country: Canada
Location: Toronto, Canada

Re: Audio (voice) - Stock 9X PCB

Post by LTMNO »

no takers?
do i have to get a USBasp?
can i leverage the SmartieParts Board?

Bueller, Bueller... ;-)
Custom 9x with M64/Telemetry Mod
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Audio (voice) - Stock 9X PCB

Post by jhsa »

My opinion is keep it simple.. flash the bootloader with a USBasp or other programmer, and then use the serial cable to flash the fw to the atmega128.. why do you want to wire a switch? you only need the USBasp once for the bootloader...

The serial cable you show in the picture should work if you have an old computer.. new computers don't seem to have that port/connector anymore.. if you have the serial cable you will not need the little level converter (frsky upgrade lite) as the sound module talks RS232..

Just keep it simple..
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: 17993
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Audio (voice) - Stock 9X PCB

Post by MikeB »

I don't have a smartieparts board, but from pictures I have seen it might have places for a 10-pin programming header. So you might be able to remove the SP board from the Tx, add the header, use it to program the bootloader into the sound board, then put everything back.

Then proceed as Jhsa says.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
User avatar
LTMNO
Posts: 1049
Joined: Fri Nov 30, 2012 9:31 pm
Country: Canada
Location: Toronto, Canada

Re: Audio (voice) - Stock 9X PCB

Post by LTMNO »

Gents thanks for posting... I am probably mistaken but I thought Mike said at one point I could not use the RS232 with Olivers Board. Glad to be wrong about that. I have an old computer with Serial Port so that is good to go. I don't have a USBasp other than what is on the SmartieParts Board.

More importantly, what connects to what on the Sound Board to the Serial Cable? Is there a step by step guide I can follow? If I can use the Serial Cable, then that is the route I will go. If I can't becuase I chose to build out Oliver's Board then I will remove the SmartieParts Board and try that route.

If you can help out by pointing me in the right direction on the wiring, that would be a great help. I will be sure to pay it forward to the next newbie. ;-)

Thanks in advance...
Attachments
Screen Shot 2012-12-15 at 12.17.30 PM.png
Custom 9x with M64/Telemetry Mod
hageha
Posts: 213
Joined: Tue Dec 27, 2011 9:25 pm
Country: -
Location: Hildesheim

Re: Audio (voice) - Stock 9X PCB

Post by hageha »

The unused charging socket I have replaced with a 3.5 mm stereo jack.
Attachments
Serial Cable
Serial Cable
tigar
Posts: 162
Joined: Wed Dec 28, 2011 5:31 am
Country: -

Re: Audio (voice) - Stock 9X PCB

Post by tigar »

I have made 3 boards for the Oliver's design.
Waiting for the parts to star building...
I got a little confused about the programming. Usbasp would be enough to flash the board or not?
Thanks
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Audio (voice) - Stock 9X PCB

Post by jhsa »

It looks like the sp board has the connections for 2 ISP headers.. And if I'm not mistaken the little dot indicates pin 1..
Here is a link for the 10 pin ISP connector pinout

http://www.batsocks.co.uk/readme/isp_headers.htm
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: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Audio (voice) - Stock 9X PCB

Post by jhsa »

Oh, guys wait a second.. I think Oliver's board doesn't use RS232 as a serial connection.. It uses TTL.. You must use for example an FTDI programmer and not the RS232 cable..

In that case Pino, you would need your RS232 cable and the frsky upgrade lite level converter.. disregard my other post above. I didn't remember that Oliver's board is not RS232..
This is getting a bit confusing :?
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
LTMNO
Posts: 1049
Joined: Fri Nov 30, 2012 9:31 pm
Country: Canada
Location: Toronto, Canada

Re: Audio (voice) - Stock 9X PCB

Post by LTMNO »

jhsa wrote:Oh, guys wait a second.. I think Oliver's board doesn't use RS232 as a serial connection.. It uses TTL.. You must use for example an FTDI programmer and not the RS232 cable..

In that case Pino, you would need your RS232 cable and the frsky upgrade lite level converter.. disregard my other post above. I didn't remember that Oliver's board is not RS232..
This is getting a bit confusing :?

;-) Hence my hesitation and understanding... I remember Mike describing this to me in a previous post and for the life of me, I cant find it in the 86 pages of posts. ;-)

Thanks for confirming Joao.
Custom 9x with M64/Telemetry Mod
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Audio (voice) - Stock 9X PCB

Post by jhsa »

the little frsky upgrade lite plugs directly to the RS232 cable.. they were designed to work together, so, no adapters for them..
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: 17993
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Audio (voice) - Stock 9X PCB

Post by MikeB »

Yes, very confusing!
I do have an error on my board, pins 1 and 5 of the programming header are swapped! I've highlighted this on my post of the circuit. I have now cut some tracks and added a couple of wires. The board now works using the 10-pin header for programming,m so I think it is all functionally tested, just the mechanics to check.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Audio (voice) - Stock 9X PCB

Post by jhsa »

Hmm, does that mean that we are closer to have models on the SD Card?? :mrgreen:

I'm just joking Mike, thanks for your time..

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
LTMNO
Posts: 1049
Joined: Fri Nov 30, 2012 9:31 pm
Country: Canada
Location: Toronto, Canada

Re: Audio (voice) - Stock 9X PCB

Post by LTMNO »

jhsa wrote:the little frsky upgrade lite plugs directly to the RS232 cable.. they were designed to work together, so, no adapters for them..
Okay, so here is the pin out on the FrySky Lite Adapter.
Where do I connect the VCC to on the Sound Module? RxD,TxD & GND are clearly marked.

Thanks.
Attachments
Screen Shot 2012-12-15 at 1.53.35 PM.png
Custom 9x with M64/Telemetry Mod
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Audio (voice) - Stock 9X PCB

Post by jhsa »

actually, I don't trust the pinouts on this photo.. will check..
The big pins connect directly to the serial cable as stated on the picture..

EDIT: As I suspected on that picture the TX and RX are swapped.. well done frsky :(

From left to right it should be:
VCC, TX, RX, GND
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: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Audio (voice) - Stock 9X PCB

Post by jhsa »

So: If I'm not mistaken (please someone confirm this)
based on the photo above:
Pin1 Connect to VCC 5V
Pin2 Connect to JP13 on the board (Board's RXD)
Pin3 Connect to JP16 on the board (Board's TXD)
Pin4 Connects to GND
IMPORTANT: These are the small pins of the level converter.. The VCC must be connected to 5V to power the converter

I hope this helps.. Oliver can you please have a look too?
Thanks
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
tigar
Posts: 162
Joined: Wed Dec 28, 2011 5:31 am
Country: -

Re: Audio (voice) - Stock 9X PCB

Post by tigar »

Just to make clear. For what we need the serial for? To load the program on the atmel? Can't this be done with USB asp? Or the serial is for easier upgrades or something else ?
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Audio (voice) - Stock 9X PCB

Post by jhsa »

well, it is like this, the serial connection is necessary if you want to be able to access the SD Card from your computer. (Coming soon ;) ) and it can be used to upgrade the atmega as well..
If you don't want this you can just program the mega with a normal usbasp programmer but you will have to set the correct fuses.
Using the serial makes it easier (speaking for myself) as the sd card is now inside the radio and I don't want to open it to access the card. Don't even have to think about cutting slots in the tx case for the card..

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
tigar
Posts: 162
Joined: Wed Dec 28, 2011 5:31 am
Country: -

Re: Audio (voice) - Stock 9X PCB

Post by tigar »

Thanks. That made it perfectly clear. I am probably going for the serial then.

Post Reply

Return to “er9x”