tiny45 temp to mega16

Go To Last Post
3 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hey guys, Im still doing just little things to learn more about hardware and such, latest was 1wire.. pretty neat. but I would like to try somthing differnt then using a 1wire temp, I would like to use a tiny45's ADC temp mux, and I want the tiny45 to transfer the info to a mega16 or tiny2313 will work, I just need to see the temp values on USART!

To do this I would most likely use twi 2wire right? I have never used twi so it should be a good learn!

also I have seen http://www.siwawi.arubi.uni-kl.d...
witch would be awsome, software usart.. I dled it and tryed to convert to tiny45 but I noticed he uses 16 bit timers I think, so I dont know if the tiny45 can do it? anyone know for sure? or have other examples I could learn for softart!

winAVR GCC - tiny45 and tiny2313 or megaX

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

ATtiny45 and ATtiny2313 both have USI's.
SPI or TWI.

RES

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

browsing around the forums in search of softuart Someone said that USI can be used for USART communication, is that true? if so how would I go about using a tiny with usi and rs232?