Käynnissä

Simple program written for ATTINY20 microcontroller

Goal: Transmit 12bit ADC data from 2 ADC channels on the ATTiny20-XU to a DS2408. Acheive 12 bit from 10bit adc using oversampling technique. Use the DS2408's 8 io's to receive the 10bit data. Purposed solution : 2 of the IO's on the ds2408 will indicate what ADC channel to read and if lower or upper 6 bits. The remaining 6 IO's will receive 6 bits of the oversampled 12bit adc reading.

IO Channel 0 : High = Read ADC 1, Low = Read ADC 2

IO Channel 1 : High = read/output the 6 high bits Low = read/output 6 low bits

IO Channel 2-7 : Data Output

Transaction: DS2408 sets IO 0 to desired channel, DS2408 sets IO 1 to low, DS2408 captures 6 bits from IO 2-7, DS2408 set IO 1 high, DS2408 captures upper 6 bits from IO 2-7

I think this is a pretty easy program to write and I'm hoping to get this done under $40

Correction to the above, it should read "Use the DS2408's 8 io's to receive the 12bit data" not 10bit.

Taidot: C-ohjelmointi, Sulautetut ohjelmistot, tietojärjestelmäarkkitehtuuri

Näytä lisää: attiny20, program attiny20, set bits, programming technique, programming attiny, programming a microcontroller, low bits, channel 7 programming, channel 13 programming, bit bits, attiny programming, simple program, program written, Attiny, adc, adc microcontroller programming, transaction software, simple channels, microcontroller software, bit adc, read program written, adc programming, adc microcontroller, microcontroller program, simple program software

About the Employer:
( 77 reviews ) United States

Projektin tunnus: #4242121

Myönnetty käyttäjälle:

onuf19

Hi, I can help you.

40 $ USD 1 päivässä
(5 arvostelua)
3.3

3 freelanceria on tarjonnut keskimäärin 38 $ tähän työhön

eried

Hi, I am not sure about this tiny but will you accept to use the wiring library as extra? (works pretty well on my tiny45/85) Your uC model is exactly the attiny20?

40 $ USD 10 päivässä
(70 arvostelua)
5.5
varticartur

I'll do it!

35 $ USD 1 päivässä
(0 arvostelua)
0.0