dicknordstrom
New member
Hi,
I have made a small loop inside (about 5 meters long), in series I got a 22ohm resistor and powering it with 5V.
I used an Arduino UNO and a L298N stand alone shield. I have connected IN1, IN2 and enable to the corresponding pins mentioned in the code. Everything seems to be working.
On the reciever, I get pretty small values. Lines looking like the one below:
cnt 2 min 15 max 127 avg 104 mag -553 smag 596 qty 1.70 in 1 on 1 adc 1
cnt 2 min 15 max 127 avg 104 mag -553 smag 596 qty 1.70 in 1 on 1 adc 0
cnt 2 min 15 max 127 avg 104 mag -643 smag 596 qty 1.78 in 1 on 1 adc 1
cnt 2 min 15 max 127 avg 105 mag -643 smag 596 qty 1.78 in 1 on 1 adc 0
cnt 2 min 15 max 127 avg 105 mag -570 smag 596 qty 1.94 in 1 on 1 adc 1
cnt 2 min 15 max 127 avg 104 mag -570 smag 596 qty 1.94 in 1 on 1 adc 0
The sound sensor is turned up to max.
It seems to be fluctuating pretty much, on the above lines, the mower stood still, no motors running, and its around 25cm from the perimeter.
Is something wrong, or does it seem ok? It does sense correct for inside and outside.
I have made a small loop inside (about 5 meters long), in series I got a 22ohm resistor and powering it with 5V.
I used an Arduino UNO and a L298N stand alone shield. I have connected IN1, IN2 and enable to the corresponding pins mentioned in the code. Everything seems to be working.
On the reciever, I get pretty small values. Lines looking like the one below:
cnt 2 min 15 max 127 avg 104 mag -553 smag 596 qty 1.70 in 1 on 1 adc 1
cnt 2 min 15 max 127 avg 104 mag -553 smag 596 qty 1.70 in 1 on 1 adc 0
cnt 2 min 15 max 127 avg 104 mag -643 smag 596 qty 1.78 in 1 on 1 adc 1
cnt 2 min 15 max 127 avg 105 mag -643 smag 596 qty 1.78 in 1 on 1 adc 0
cnt 2 min 15 max 127 avg 105 mag -570 smag 596 qty 1.94 in 1 on 1 adc 1
cnt 2 min 15 max 127 avg 104 mag -570 smag 596 qty 1.94 in 1 on 1 adc 0
The sound sensor is turned up to max.
It seems to be fluctuating pretty much, on the above lines, the mower stood still, no motors running, and its around 25cm from the perimeter.
Is something wrong, or does it seem ok? It does sense correct for inside and outside.