Answer the question
In order to leave comments, you need to log in
Why is the HC-SR04 ultrasonic distance sensor not friendly with ATTiny13?
I made a device in which it is necessary to process data from a distance sensor HC-SR04. I did it on ATmega16, but in the process of work it became clear that a separate microcontroller was needed for the sensor so that the main program in the atmega would not be interrupted for the duration of the request.
The essence of working with the sensor is to give a signal to one leg, wait for a high level on the other, and calculate its duration. I tried both interrupts and programmatically, it works well on atmegas, but not on Attiny13.
Maybe I'm missing something due to lack of experience. Maybe try on Attiny2313?
Answer the question
In order to leave comments, you need to log in
It seems to me that you are just slipping the meg firmware not recompiled for teens.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question