would this be possible? Imagine that your plane need only to read a voltage and current.
Would it be possible to run the code on a attiny85 for example?
As there is a version of the oxs code for 8Mhz? it wouldn't need a Xtal. There's at least one problem I can see. The ADC0 is on the reset pin.. That means the reset would have to be disabled after programming the chip, right?
Anyway, maybe just a crazy idea but it would probably make things a little bit lighter and smaller if it was possible
João
Minimalist oXs on a ATTiny
Moderator: rainer
Minimalist oXs on a ATTiny
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
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
- MikeB
- 9x Developer
- Posts: 17993
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: Minimalist oXs on a ATTiny
The internal oscillator is probably not accurate enough to guarantee the serial baudrate will always be good enough.
On the X8R2Analog device, this uses the SPort connection. The code measures the incoming baudrate to calibrate the internal oscillator in order to be accurate enough.
A 3-pin resonator would be accurate enough, and cheaper than a Xtal.
Mike.
On the X8R2Analog device, this uses the SPort connection. The code measures the incoming baudrate to calibrate the internal oscillator in order to be accurate enough.
A 3-pin resonator would be accurate enough, and cheaper than a Xtal.
Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
The difficult we do immediately,
The impossible takes a little longer!
Re: Minimalist oXs on a ATTiny
Than You could also use a xtal
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
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
Re: Minimalist oXs on a ATTiny
would the attiny85 have the right timers for the oXs code? sorry if I'm saying nonsense, but I remember that for other project that needed 16 bit timers, the attiny wasn't an option
João
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
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
Re: Minimalist oXs on a ATTiny
I'm on a little project of making a smaller OXS with vario, 1 temp and 2 voltages on the same board.
As we use it now, there's many things we don't need (reset switch...) or which are redundant (voltage regulator...).
It's aimed at my future DLG usage, so will be 3.3v.
As we use it now, there's many things we don't need (reset switch...) or which are redundant (voltage regulator...).
It's aimed at my future DLG usage, so will be 3.3v.
- MikeB
- 9x Developer
- Posts: 17993
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: Minimalist oXs on a ATTiny
With the '85, if you use a Xtal/resonator, then you would need to disable the reset input to get 2 analog inputs. This then stops you re-programming the chip, unless you get some sort of bootloader in it!
Mike.
Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
The difficult we do immediately,
The impossible takes a little longer!
Re: Minimalist oXs on a ATTiny
The question is Would it all fit?
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
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
- MikeB
- 9x Developer
- Posts: 17993
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: Minimalist oXs on a ATTiny
You might consider the Tiny44 (or Tiny84). This has 14 pins.
I'm not sure you will improve much on the size of a Arduino mini unless you use surface mount components.
Mike.
I'm not sure you will improve much on the size of a Arduino mini unless you use surface mount components.
Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
The difficult we do immediately,
The impossible takes a little longer!
Re: Minimalist oXs on a ATTiny
That was the point of using an attiny with 8 legs
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
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