Programing the ATTiny.. for early release board users!

erskyTx runs on many radios and upgrade boards
ersky9x was a port of er9x for use on the sky9x board.
Post Reply
User avatar
Rob Thomson
Site Admin
Posts: 4543
Joined: Tue Dec 27, 2011 11:34 am
Country: United Kingdom
Location: Albury, Guildford
Contact:

Programing the ATTiny.. for early release board users!

Post by Rob Thomson »

So... I have now established that the ATTiny processor on the beta boards needs to be programmed in some way to enable use of the rotary encoder.

So.... the question is. How?

Mike, Brent? Do you have a step by step guide we can follow to do this?

Rob
Slope Soaring, FPV, and pretty much anything 'high tech'
...........if you think it should be in the wiki.. ask me for wiki access, then go add it!

SkyNorth
Posts: 958
Joined: Tue Dec 27, 2011 11:40 am
Country: -
Location: Mansfield , Ontario

Re: Programing the ATTiny.. for early release board users!

Post by SkyNorth »

There is no code written for the ATTiny ..the encoder support for it has not been done yet.

The Rotary encoder I sent hooks into the ARM not the ATtiny.

you will need a 14 pin adapter cable to to program the Attiny through a AVRISP programmer.
I will get a procedure ready

-Brent
SkyNorth
Posts: 958
Joined: Tue Dec 27, 2011 11:40 am
Country: -
Location: Mansfield , Ontario

Re: Programing the ATTiny.. for early release board users!

Post by SkyNorth »

Co-Processor Info:
ERSKY9X-TINY167_WIRE.PDF
(87.67 KiB) Downloaded 330 times
Mike has programmed the ATtiny with a 5V programmer , by providing 5V power to the Battery connection.
(No other power or connections to the board)

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

Re: Programing the ATTiny.. for early release board users!

Post by MikeB »

Yes, Connect the +5V to pin 2 of J28, and the other 5 signals and 0V as on Brent's diagram. The 5V is blocked by diodes from getting to the 3.3V supply line.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
User avatar
Rob Thomson
Site Admin
Posts: 4543
Joined: Tue Dec 27, 2011 11:34 am
Country: United Kingdom
Location: Albury, Guildford
Contact:

Re: Programing the ATTiny.. for early release board users!

Post by Rob Thomson »

Ok... so I am still a bit confused here..

On the beta boards.. do we need to do anything to enable the rotary encoder?

Rob
Slope Soaring, FPV, and pretty much anything 'high tech'
...........if you think it should be in the wiki.. ask me for wiki access, then go add it!

User avatar
Rob Thomson
Site Admin
Posts: 4543
Joined: Tue Dec 27, 2011 11:34 am
Country: United Kingdom
Location: Albury, Guildford
Contact:

Re: Programing the ATTiny.. for early release board users!

Post by Rob Thomson »

Anyone fancy helping me get through my confusion?
Slope Soaring, FPV, and pretty much anything 'high tech'
...........if you think it should be in the wiki.. ask me for wiki access, then go add it!
SkyNorth
Posts: 958
Joined: Tue Dec 27, 2011 11:40 am
Country: -
Location: Mansfield , Ontario

Re: Programing the ATTiny.. for early release board users!

Post by SkyNorth »

The Aux connector supports the encoder. This connects to the ARM micro.

The co-processor COULD have more encoders hooked up to its ports ..(of course you need to write the code)

Load ERSKY , press UP menu button .... the encoder values are in the upper right corner of the display..

-Brent

Post Reply

Return to “erskyTx (was ersky9x)”