Using level converters is one alternative but I like to know what I have done wrong. However I'm not getting intended results when I'm using 3.3V power to ATTiny85. Therefore I have to run ATTiny at 3.3V (which is possible according to datasheet). However I'm planning to transfer my project to ESP32, which is not 5V tolerant. It works fine when I power up ATTiny using 5V. since many users are only doing TX (often for debug) with it), including allowing the interrupt (and hence the analog comparator in general) to be usesd for some other purpose.īeta Was this translation helpful? Give feedback.I am transmitting data from ATTiny85 to ESP8266(NodeMCU v3). The choice of AIN0 (PA1 on '84) for TX is arbitrary, but it's always adjacent to AIN1, which must be RX, and it's something that I can write in the documentation "the builtin software serial port is on AIN0 (tx) and AIN1 (rx)", and then even if they aren't looking at my versions of the pinout charts, it doesn't matter, because it 's shown on the datasheet pinout charts too.Ģ.0.0 will introduce a menu option to turn off RX functionality from a tools menu option, which will have the benefit of allowing TX to be used, without any flash overhead with an unused RX mechanism. (obviously, it makes me wonder why you want to move them off of two of the least useful pins on the chip!). The AC is almost never used on classic AVRs, and so it is very unlikely to interfere with user code, and it's usually on a pin that isn t very useful for other things (for example, on the tiny84, the only special functionality of the pins used for the software serial port are two analog inputs (there are 6 others), and the two analog comparator pins, which cannot be used for anything else anyway when the builtin softwareserial implementation is in use.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |