iqbal0001 / arduino-tiny

Automatically exported from code.google.com/p/arduino-tiny
Other
0 stars 0 forks source link

ATTiny85 doesn't react on HC-SR04 through TinyNewPing library #93

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Programming the Arduino UNO with the same sketch works allright
2. After programming the ATTiny85 with the ArduinoISP testing the HC-SR04 
directly on the ATTiny85, only a repetative beep (every 0,5 second), even when 
I disconnect the pins of the HC-SR04.
3. Just to be sure: I tested the blinking LED example once again on the ATTiny 
and that worked perfectly (and I could check the delay of 1 second).

What is the expected output? What do you see instead?
Expected different beep intensity depending on the distance sensor (like a 
backing up car). Result: Repeative beep as mentioned.
What version of the product are you using? On what operating system?

ATTiny85, Arduino uno, TinyNewPing (v1.5 - 08/15/2012).

Please provide any additional information below.
Attachments: Sketch and a movie of the result on the ATTiny85.

Original issue reported on code.google.com by mailpete...@gmail.com on 20 Nov 2013 at 12:00

Attachments:

GoogleCodeExporter commented 8 years ago
No link to TinyNewPing.h.  No explanation as to why this is a problem with the 
core.

Original comment by arduino....@gmail.com on 21 Nov 2013 at 1:21

GoogleCodeExporter commented 8 years ago
Hello, I am not stating that the TinyNewPing.h causes this problem. I'm 
puzzeled about the sketch in the ATTiny85. And I thought the version 
information about TinyNewPing (v1.5 - 08/15/2012)was specific enough. I didn't 
change anything on the core.
Hoping on a recheck,

Regards, Peter Mooij

Original comment by mailpete...@gmail.com on 21 Nov 2013 at 8:35