
HC-SR04 and multiwii cirus SE v2.0
HC-SR04 and multiwii cirus SE v2.0

Re: HC-SR04 and multiwii cirus SE v2.0
Take a look at this thread:
viewtopic.php?f=7&t=1033
I don't know your board, I'm trying to integrate it into this one:
http://www.rctimer.com/product_761.html
viewtopic.php?f=7&t=1033
I don't know your board, I'm trying to integrate it into this one:
http://www.rctimer.com/product_761.html
Re: HC-SR04 and multiwii cirus SE v2.0
Actualy, you CAN'T use the generic echo/pulse sonar code with atmega328 or anything below atmega1280/2560, not enough available interrupt and/or it will kill the loop exec time due to time delay of trigger/echo response. The only possibility of using any echo/pulse sonar on atmega328/32u/analog is with a secondary avr doing i2c translation, like the tinygps board/code.
Use atmega1280/2560/32bits based board as is it done on thread linked in previous post or i2c interfaced sonar
Use atmega1280/2560/32bits based board as is it done on thread linked in previous post or i2c interfaced sonar