Search found 9 matches
- Wed Jun 26, 2013 9:34 am
- Forum: Ideas
- Topic: Attemp to integrate sonar (ultrasonic sensor)
- Replies: 265
- Views: 223885
Re: Attemp to integrate sonar (ultrasonic sensor)
Hi QSXE, so that sounds weird, does the behaviour change when you arm/disarm the copter? I think there was something depending on this in the code but I don't know it exactly. Could you test the alt-hold till now with a copter? So for my case I got it to work as you know but I was not happy with thi...
- Thu Jun 20, 2013 4:44 pm
- Forum: Ideas
- Topic: Attemp to integrate sonar (ultrasonic sensor)
- Replies: 265
- Views: 223885
Re: Attemp to integrate sonar (ultrasonic sensor)
Hi Felix,
that's really awesome! You had got so unbelievable bad luck with your sonars that I hope you gonna have much fun now (except of that your quad is broken ).
I very happy you got it to work now
kind regards,
Sven
that's really awesome! You had got so unbelievable bad luck with your sonars that I hope you gonna have much fun now (except of that your quad is broken ).
I very happy you got it to work now
kind regards,
Sven
- Fri Jun 07, 2013 8:26 am
- Forum: Ideas
- Topic: Attemp to integrate sonar (ultrasonic sensor)
- Replies: 265
- Views: 223885
Re: Attemp to integrate sonar (ultrasonic sensor)
Hi Felix,
that's totally weird (If you think of the probabillity that all of your 3 sonars are dead.... ).
Maby you will have more luck with a new one (or more ), please let me know about it
kind regards
Sven
that's totally weird (If you think of the probabillity that all of your 3 sonars are dead.... ).
Maby you will have more luck with a new one (or more ), please let me know about it
kind regards
Sven
- Tue Jun 04, 2013 9:24 pm
- Forum: Ideas
- Topic: Attemp to integrate sonar (ultrasonic sensor)
- Replies: 265
- Views: 223885
Re: Attemp to integrate sonar (ultrasonic sensor)
Hi Felix, that sounds very strange, I just can't imagine that all of your sonar sensors are broken... That would be very dissapointing. What do you think of this idea: You could download an exemplary sketch which just enables the sonar functionality for arduino testing reason. (example: click ) Then...
- Sun Jun 02, 2013 1:54 pm
- Forum: Ideas
- Topic: Attemp to integrate sonar (ultrasonic sensor)
- Replies: 265
- Views: 223885
Re: Attemp to integrate sonar (ultrasonic sensor)
Hey Felix, I tested it now on the Copter and it worked (jippi ^^). But I had some strange errors, so first to your question: No except of what I gave to you, I didnt change anything. But the strange thing what lead me to the solution was: Normally I connected the Quad by a Serial to Bluetooth device...
- Sat Jun 01, 2013 4:49 pm
- Forum: Ideas
- Topic: Attemp to integrate sonar (ultrasonic sensor)
- Replies: 265
- Views: 223885
Re: Attemp to integrate sonar (ultrasonic sensor)
Hi QSXE, so maby I think I got it to work (without looking to MegaPirateNG). In my code there are some Arduino keywords for setting the pins high and low (digitalWrite), I think they aren't used correctly for doing this. So I changed my definition by hand like it was in the original posting. Now the...
- Sat Jun 01, 2013 10:02 am
- Forum: Ideas
- Topic: Attemp to integrate sonar (ultrasonic sensor)
- Replies: 265
- Views: 223885
Re: Attemp to integrate sonar (ultrasonic sensor)
Hi QSXE, so I already tried another pin. I tried the D10 and D9 pin but it was the same result. I tried these pins because I loaded ArdupirateNG for testing reason to the MultiWii pro board. With this sketch the sonar was working perfectly, but this software is to fat in my opinion. While testing th...
- Wed May 29, 2013 1:38 pm
- Forum: Ideas
- Topic: Attemp to integrate sonar (ultrasonic sensor)
- Replies: 265
- Views: 223885
Re: Attemp to integrate sonar (ultrasonic sensor)
Hi QSXE, I'm glad to hear that. Unfortunalety I can't help you on your current problem, but maby you can help me a little bit with my HC-SR04. My pins are working (as you got yours to work) but I never went further so I never tried the alt-hold. Now after your question I wanted to test it and I'm fa...
- Thu May 23, 2013 11:04 pm
- Forum: Ideas
- Topic: Attemp to integrate sonar (ultrasonic sensor)
- Replies: 265
- Views: 223885
Re: Attemp to integrate sonar (ultrasonic sensor)
Hi QSXE, in case that you have got the HK multiWii pro board I can show you, how I got this to work. I used a ISP pin for the echo and a motor pin for the trigger of the sonar since I dont need them (I have a X-Quad). Within the def header file I set the pins as shown next: #if defined(SONAR_GENERIC...