Search found 11 matches

by iDaniel
Mon Apr 04, 2016 3:06 pm
Forum: Software development
Topic: Multiwii + SRF08 Sonar PID Controller Question
Replies: 3
Views: 2673

Re: Multiwii + SRF08 Sonar PID Controller Question

Ok for now i fixed the problem a little bit the code now looks like below: unsigned long lastTime; int16_t lastSonarAlt; int16_t lastSonarError; float kp=0.25; //x*100 wegen Kommazahl float ki=0.001; //x*1000 wegen Kommazahl float kd=1.3; //x*100 wegen Kommazahl int16_t SampleTime=100; void SonarPID...
by iDaniel
Fri Apr 01, 2016 4:29 pm
Forum: Software development
Topic: Multiwii + SRF08 Sonar PID Controller Question
Replies: 3
Views: 2673

Re: Multiwii + SRF08 Sonar PID Controller Question

Thanks for the advice, but i want to use the SRF08... they where free for me and they are a little bit better. The last time i read the thread with HC SR04 they used an Baro/sonar fusion which doesn´t work. With the Sonar you have the hight from the ground and with the Baro you have the absolut high...
by iDaniel
Fri Apr 01, 2016 9:39 am
Forum: Software development
Topic: Multiwii + SRF08 Sonar PID Controller Question
Replies: 3
Views: 2673

Multiwii + SRF08 Sonar PID Controller Question

Hi, i have some questions about programing an PID Controller in Multiwii. So far so good, I have an Multiwii 2.4 on Arduino pro mini connected to an SRF08 Sensor. It works, measures pretty well, but my PID Controller for Altitude Controll is the Problem. for now ist generates from the Sonar Error P,...
by iDaniel
Fri Dec 18, 2015 3:44 pm
Forum: Software development
Topic: Sonar HC-SR04 Support now implemented in MW2.4
Replies: 102
Views: 73687

Re: Sonar HC-SR04 Support now implemented in MW2.4

Ok i have tested now the same code, same frsky receiver, same sensor but another arduino(pro mini) and GY-88 Sensorboard. I works without i2c errors ... so i don´t know why, because of the other arduino or the sensorboard... but i did not want to use the uno anyway on my copter. So i won´t figure ou...
by iDaniel
Fri Dec 18, 2015 3:44 pm
Forum: Ideas
Topic: Integration of SRF08 I2C sonar sensor (done)
Replies: 89
Views: 76861

Re: Integration of SRF08 I2C sonar sensor (done)

Ok i have tested now the same code, same frsky receiver, same sensor but another arduino(pro mini) and GY-88 Sensorboard. I works without i2c errors ... so i don´t know why, because of the other arduino or the sensorboard... but i did not want to use the uno anyway on my copter. So i won´t figure ou...
by iDaniel
Thu Dec 17, 2015 12:41 pm
Forum: Software development
Topic: Sonar HC-SR04 Support now implemented in MW2.4
Replies: 102
Views: 73687

Re: Sonar HC-SR04 Support now implemented in MW2.4

Hi, i would like to test some of your code with the SRf08 Sensor. I have used the existing code for the srf08 and your code for activating and deactivating the sonar. It works in the gui, but when i turn on my radio the sensor don´t meassure and an i2c error is shown, but the i2c GY-521 Gyro works.....
by iDaniel
Wed Dec 16, 2015 4:01 pm
Forum: Ideas
Topic: Integration of SRF08 I2C sonar sensor (done)
Replies: 89
Views: 76861

Re: Integration of SRF08 I2C sonar sensor (done)

Hi i´ve connected an SRF08 Module to my arduino uno. Also i´ve got an GY-521 i2c ACC connected. In the Gui is can see the sonar value aon debug3 and it works quite well, until i dont turn on my transmitter, wich connected normal (no PPM SUM). Then it shows an i2c error and the sonar doesn´t work...b...
by iDaniel
Thu Jul 09, 2015 5:12 pm
Forum: Connecting elements
Topic: Data Output via serial
Replies: 5
Views: 2834

Re: Data Output via serial

Thank you, i will chek it out ;)
I have some FC´s i coult youse, arduino nano, nanowii, naze32 and quanton, but i thougt multiwii would be the easyest way to start?!
by iDaniel
Thu Jul 09, 2015 3:31 pm
Forum: Connecting elements
Topic: Data Output via serial
Replies: 5
Views: 2834

Re: Data Output via serial

I want to show the data in the arduino serial monitor, for example. My goal is to generate a Model from the copter out of the Data from the sonar and the Throttlevalues. For this i need to measure them anyway
by iDaniel
Tue Jul 07, 2015 3:03 pm
Forum: Connecting elements
Topic: Data Output via serial
Replies: 5
Views: 2834

Data Output via serial

Hi, i want to measure via Ultrasonic Sensor the distance from ground and than send them via serial monitor too my pc. Later to an sd card, but i havent the sd board now. My problem is that the multiwii code have it´s own serial output code and the normal serial.print(cm); for example doesn´t work. D...
by iDaniel
Mon Dec 15, 2014 9:56 pm
Forum: Software
Topic: Cleanflight aka Multiwii port to STM32 F10x and F30x
Replies: 761
Views: 1575099

Re: Cleanflight aka Multiwii port to STM32 F10x and F30x

Hello,

i have just one little question, which board would be the most recommended one for cleanflight?
could I use an MW32 v2? http://flyduino.net/Multikopter-FC_2

Thanks!