Hmmm… I have connected the
Hmmm… I have connected the srf-05 as in the picture, but the little red led on the srf-05 is blinking constantly as soon as i tell my motors to go any direction. I have tried to put "low 3" before and after the "highs" and "lows" that makes my robot drive forward, but no it makes no difference.
Make one thing work at a
Make one thing work at a time.
Then hook up more things.
555 timer
Has anyone tried triggering the SRF05 with a dedicated astable circuit?
a simple 555 timer iC should do the trick IMO.
I’m not sure what kind of pulse the SRf would need exactly. however with the right combination of resistors and capacitor you should be able to get a 20us pulse which is switched on and off really quickly and I think this should solve the problem of introducing lag in the microprocessor.
Although I haven’t tried
Although I haven’t tried using a 555 with an SRF05, I have used this method with an IR emitter to generate a 40kHz carrier signal. I used a small potentiometer to tune the 555 for maximum IR receiver strength, and the microcontroller used the 555’s reset pin to turn it on and off. That setup greatly reduced the load on the micro, and had the added bonus of much greater frequency stability, even when the supply voltage started to drop (whereas the internal oscillator for my microcontroller slowed down noticeably as the supply voltage sagged).
I’m certain that the same technique could be applied as you’ve suggested for the SRF05.
I have not tried that
I have not tried that specific solution, But I have over time tried to send all sorts of strange things to the SRF05. And while it fries quite easily if it is handled wrong, send in to out etc… it is not very demanding when it comes to the accuracy of the input pulse, I think.
I have often used input ports to do the triggering - while they cannot send pulses, I just switch them on and off, works fine!
Did anybody ever get
Did anybody ever get readings from about 2.5 meters away ? Technically it can go up to 3m but I never got it pas 2m .
3 pin SRF05
The 2011 article on YDM shows a 4 wire (5 hole) SRF05 but the parts list calls for a 3 wire. And that’s what I got when following the ordering instructions. How do I hook it up?
Yeah, it’s a known issue.
Yeah, it’s a known issue. Frits will post a correction on LMR soon.
In the meantime, try this article.
It’s really well explained,
It’s really well explained, good job!
Could you please tell me how to connect ttl( GND,TXD,RXD,VCC, it’s a bluetooth) to a 18m2+?
Thanks!
It’s a bluetooth
It’s a bluetooth what?
Connect the ground the ground.
Connect the VCC to 5V.
Connect the TXD to one digital I/O pin
Connect the RXD to another digital I/O pin.
More, I cannot say without knowing what device you are talking about.
thanks, it was a Bluetooth
thanks, it was a Bluetooth receiver, i already found the solution but you helped me confirming it.
Thanks!
Multiple sensors
How would i go about connecting multiple sensors to the same board, would everything be the same just a different output for each sensor?