Go Down

Topic: ATTINY85 and HC 06 bluetooth module (Read 608 times) previous topic - next topic

rat97

Hello guys,


I would like to connect my ATTINY85 to hc 06 bletooth module. But I am a newbie and I am not quite sure, which pin I should connect to RX and which one to TX pin?


Thank you,
Kevin

DrAzzy

Any serial on the tiny 85 will be software serial of some sort. That means you can't receive while transmitting and vice versa. When you create the software serial instance, you tell it what pins to use.

If using my core (for parts that don't have hardware serial) there is a software serial named Serial, built-in. It uses Ain0 and Ain1 (the analog comparator pins), and uses the analog comparator interrupt, so it doesn't fight with other uses of the pcint interrupt. I don't think most cores  do that  though
ATtiny core for 841+1634+828 and x313/x4/x5/x61/x7/x8 series Board Manager:
http://drazzy.com/package_drazzy.com_index.json
ATtiny breakouts (some assembled), mosfets and awesome prototyping board in my store http://tindie.com/stores/DrAzzy

Go Up