SparkFun Forums 

Where electronics enthusiasts find answers.

Discussions on the software and hardware for Atmel's STK standard.
By fulletain02
#117972
Hello everybody !

I'm french student so sorry if my english is not terrific !

I have a projet do to for my studies, i need to make a electronic card. This card need to communicate with a PC.
So Input of the card is a voltage between 0 and 10V, i need to digitize this voltage and display on the LCD.
And i need to send this informations ( voltage between 0 and 10V ) to PC. To all this i use :

- One Xbee-Pro
- One ATtiny167
- One I2C LCD

In fact i need help to understand how connect the Xbee-Pro to the ATtiny167 and to know how I'm going program the ATtiny167 with AVR. If someone can tell me the protocol to follow it helps a lot.

Thank you !!
User avatar
By Chupa
#118107
most all xbee modules have TTL serial connections if im not mistaken. that's your best bet.

As far as programing the attiny you need some sort of AVR programmer... without looking at the data sheet for your AVR i would assume ISP, or HVP.

I would consider using an ATmega for this project if you can. Atinys peripherals can be a pain to work with at times.