Search found 135 matches

by alex
Sat Jan 17, 2015 7:29 pm
Forum: Developer Discussions
Topic: CF2.0 Led ring expansion: how to program?
Replies: 7
Views: 2372

Re: CF2.0 Led ring expansion: how to program?

Yep I have a vast iOS dev experience so I will investigate how I can make the iOS client interact with the leds. I have yet to find a way to do some stable flying first - I had this for a couple weeks only and it's almost impossible with the iphone app. I'm hoping the crazy radio will solve this is...
by alex
Thu Jan 15, 2015 8:02 pm
Forum: Developer Discussions
Topic: [SOLVED] Selecting an ultrasonic sensor and interface
Replies: 73
Views: 23259

Re: [Hover] Selecting an ultrasonic sensor and interface

Isn't that exactly what we would expect since the MPU6050 isn't physically wired to the I2C2 bus? What was your intention? I would expect to see some failed communication showing up on the scope. No, nothing. I was trying to get hold of a mb1242 but they seem to be sold out everywhere. Would have m...
by alex
Mon Jan 12, 2015 7:29 pm
Forum: Developer Discussions
Topic: [SOLVED] Selecting an ultrasonic sensor and interface
Replies: 73
Views: 23259

Re: [Hover] Selecting an ultrasonic sensor and interface

Also make sure the UART isn't activated (ENABLE_UART) as it uses the same pins. Neither did I alter this setting nor do I know where to look for it. :roll: I've found our ultrasonic sensor but it is one of those that you send a pulse and measure the time, so no I2C. The start-stop condition you see...
by alex
Wed Jan 07, 2015 8:05 pm
Forum: Developer Discussions
Topic: [SOLVED] Selecting an ultrasonic sensor and interface
Replies: 73
Views: 23259

Re: [Hover] Selecting an ultrasonic sensor and interface

Have you called i2cdevInit(I2C2) anywhere? Yes, in stabilizerInit : void stabilizerInit(void) { if(isInit) return; motorsInit(); imu6Init(); sensfusion6Init(); controllerInit(); i2cdevInit(I2C2); mb1242Init(I2C2); rollRateDesired = 0; pitchRateDesired = 0; yawRateDesired = 0; xTaskCreate(stabilizer...
by alex
Tue Jan 06, 2015 9:13 pm
Forum: Developer Discussions
Topic: [SOLVED] Selecting an ultrasonic sensor and interface
Replies: 73
Views: 23259

Re: [Hover] Selecting an ultrasonic sensor and interface

As written in the post above it, a HC-SR04 ultrasonic sensor. It is very cheap and first tests have shown that it's quite accurate. The specs really are promising. The sensor's shape is much better than my MB1242 for mounting it under the CF. I should have had an eye on that before I bought it. :? ...
by alex
Sat Jan 03, 2015 11:15 pm
Forum: Developer Discussions
Topic: [SOLVED] Selecting an ultrasonic sensor and interface
Replies: 73
Views: 23259

Re: [Hover] Selecting an ultrasonic sensor and interface

I just ordered a LTC1754ES6-5 . Let's see how that works out :) What are you going to power with that thing? I've just pushed a fix for the I2c2 problems on Crazyflie 1.0. I've tested it with a freeIMU board connected to the i2c2 bus and it all looks good. I'm not sure how well it will work in a co...
by alex
Sun Nov 30, 2014 10:30 am
Forum: Developer Discussions
Topic: [SOLVED] Selecting an ultrasonic sensor and interface
Replies: 73
Views: 23259

Re: [Hover] Selecting an ultrasonic sensor and interface

During Christmas holidays I'm going to connect the MB1242 to the copter's main I2C bus. Therefore I need to find some good soldering points on the PCB. If I rely on the I2C2 interface being fixed this year by the Bitcraze team, I'm gonna be disappointed even more, I think. :( Managed to print the ul...
by alex
Thu Nov 13, 2014 9:54 pm
Forum: Developer Discussions
Topic: [SOLVED] Selecting an ultrasonic sensor and interface
Replies: 73
Views: 23259

Re: [Hover] Selecting an ultrasonic sensor and interface

Hey, got some news for you. I'm successfully running the ultrasonic sensor wired to a RN-Control V1.4 using I2C. The Crazyflie is used as a power supply only in order to achieve as practical conditions as possible. I stepped through every single bit on the I2C bus with a Rigol DS1102CD digital oscil...
by alex
Tue Oct 28, 2014 7:30 pm
Forum: Developer Discussions
Topic: [SOLVED] Selecting an ultrasonic sensor and interface
Replies: 73
Views: 23259

Re: [Hover] Selecting an ultrasonic sensor and interface

Is this problem solved? I have the same problem with Alex when I connect my RGB sensor ISL29125 into I2C2 port. I doubt that there is something wrong with the I2C in the extension header. I was able to log the value if I hard-coded it in the firmware but when I tried to read the sensor data, it sim...
by alex
Mon Oct 20, 2014 6:54 pm
Forum: Developer Discussions
Topic: [SOLVED] Selecting an ultrasonic sensor and interface
Replies: 73
Views: 23259

Re: [Hover] Selecting an ultrasonic sensor and interface

tobias wrote:We have been insanely busy, sorry for not replying.

We have had the I2C2 bus working with other sensors but we have so many clones of the FW that I don't know which one it is. We will do our best to try and solve this today.
/Tobias
Sounds promising, any news so far?