OpenXsensor on ATTiny ?

Development & General Chat for the superb openxvario project.

Moderator: rainer

Post Reply
Billy60
Posts: 44
Joined: Sun May 26, 2019 8:09 am
Country: -

OpenXsensor on ATTiny ?

Post by Billy60 »

Good morning,
Would the OpenXsensor skech work on an AtTiny ?
memory capacity and so on ?
Thanks !

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

Re: OpenXsensor on ATTiny ?

Post by MikeB »

Which ATTiny are you considering?
My, relatively simple, build for the OXS uses about 13K of flash and over 1K (+stack space) of RAM ?
Also, be aware that you will need to use a crystal oscillator to guarantee the serial baud rate is sufficiently accurate.

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: OpenXsensor on ATTiny ?

Post by jhsa »

This is an interesting idea, specially for simple sensors :)
Mike,Would a resonator be accurate enough?
What about an ATtiny85? I know serial could be done via software serial, but would it work with the oXs code without modifying it??

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
kalle123
Posts: 905
Joined: Sat Mar 29, 2014 10:59 am
Country: -
Location: Moenchengladbach

Re: OpenXsensor on ATTiny ?

Post by kalle123 »

jhsa wrote: Sat Dec 25, 2021 4:01 pm ... but would it work with the oXs code without modifying it??
João,

you are V E R Y optimistic :lol:

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

Re: OpenXsensor on ATTiny ?

Post by MikeB »

The main limitation is the amount of RAM, followed by the amount of flash. The OxS code will almost certainly need modifying to work.

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: OpenXsensor on ATTiny ?

Post by jhsa »

I guess my question was a bit stupid. I was only focused on the frequency being stable, and completely forgot the flash and RAM sizes :P Sorry about that.. :mrgreen:

But Kalle123, yeah, I have always been optimistic.. :mrgreen:

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 “OpenXVario - an open source vario supported by the open source firmwares!!”