Search results

  1. C

    Teensy 3.0 as flight controller

    Well of course, one of the many highlights since my last post: I got a crossplatform configurator utility Flight software now supports accelerometer "Trimming" via transmitter Fully dynamic channel assigning and fully dynamic aux functions assigning Support for 16 channel receivers Support for...
  2. C

    Timer Input Capture

    you should read about NVIC (Nested Vectored Interrupt Controller) in the k20 datasheet.
  3. C

    Timer Input Capture

    http://bit.ly/ZDj6tA
  4. C

    Serial.write(0x00) problem on teensy 3.0

    thx Paul, i will be looking for the 1.13 relase =)
  5. C

    Serial.write(0x00) problem on teensy 3.0

    Hi, i don't know if this is "expected" but writing 0x00 directly to Serial.write results in compiler error "error: call of overloaded 'write(int)' is ambiguous I should note that this works on arduino without a problem. Of course this can be fixed by simply casting a type Serial.write((uint8_t)...
  6. C

    Teensy 3.0 i2c endTransmission() bug

    Thx Paul, i will add 1k external pullups and see how that goes. Also (just a side note) but i am pretty sure you already tried it, did you try writing the pin configuration "manually" ? a while back when i was working on ppm sampling code, i noticed that PORT_PCR_MUX() wasn't doing what it was...
  7. C

    Teensy 3.0 i2c endTransmission() bug

    ou, so i have to attach some external ones, daaamn :(, well ill do so and get back to you ( i really hoped to avoid external pullups) but when there is no other way .. what you gonna do...
  8. C

    Teensy 3.0 i2c endTransmission() bug

    I am still using the internal pullups, previously i had mpu6050 and hmc5883l on the main bus (everything was working fine) if i remove the magnetometer i see no devices on the bus :/
  9. C

    Teensy 3.0 i2c endTransmission() bug

    having a single mpu6050 connected (no other i2c devices) on the bus with the last library you posted will make the sensor unresponsive (doesn't even show up on the scanner i posted at the top)
  10. C

    Teensy 3.0 i2c endTransmission() bug

    Paul i think something is not right in that library that you posted, when i have 2+ i2c devices on the bus it works (for me), but if i have just a single i2c sensor connected, it doesn't seem to work at all :/
  11. C

    Teensy 3.0 as flight controller

    pretty cool, there is no support for tricopter (at the moment) but it can be added pretty easily
  12. C

    Teensy 3.0 as flight controller

    Sure, this shouldn't be a problem, would this be a tricopter with or without the yaw servo on the back ?
  13. C

    Teensy 3.0 i2c endTransmission() bug

    yes Paul, that works properly (at least in my case)
  14. C

    Teensy 3.0 i2c endTransmission() bug

    Yup, ploveday s different pin 18,19 configuration seems to solve all the device issues that i was having, also accessing 3rd i2c device via auxiliary bus works properly now.
  15. C

    Teensy 3.0 i2c endTransmission() bug

    Hi Paul, i tried the http://www.pjrc.com/teensy/beta/Wire_slave_mode_15jan13.zip wire version, yes that fixes the "bug" with return codes, however i am still experiencing the same problem (i2c scanner is returning only 1 device, instead of 2) I also tried the different pin setup from ploveday...
  16. C

    Teensy 3.0 i2c endTransmission() bug

    i have mpu6050 gyro/accel sensor and ms5611 barometer on the "main" bus, mpu address is 0x68 which is correct on both arduino and teensy, ms5611 address is 0x77 (on arduino) which is correct, but it doesn't show up on teensy, also on teensy the i2c scanner detects "something" on 0x00, but there...
  17. C

    Teensy 3.0 i2c endTransmission() bug

    hmm, thank you (that helped quite a bit) but i am still getting quite "incorrect" reading on the i2c scanner script :/
  18. C

    Teensy 3.0 i2c endTransmission() bug

    You might be aware of this, but the endTransmission() returns always 0 (as its hardcoded on line 164), where it should return transmission status (where 0 = success), having 0 hardcoded will make sketches like this completely useless. #include <Wire.h> uint8_t address; int8_t status; void...
  19. C

    Teensy 3.0 Beta11 Software

    I know that the wire library is still in development, but i was wondering if you considered implementing a timeout to fix the error prone while loops ? Something like static volatile uint32_t i2c_timeoutc; uint8_t i2c_timeout(uint8_t init) { if (init) i2c_timeoutc = 0; else...
  20. C

    Teensy 3.0 as flight controller

    sorry, i fixed the url
  21. C

    Anyone using Eclipse for development?

    Hi Nassa, i was wondering, if you would be willing to write a similar tutorial for compiling outside the arduino IDE, but in Notepad++ I find Eclipse rather confusing, "overkill" for my needs, but i would really like to compile / upload directly from Notepad++
  22. C

    Teensy 3.0 as flight controller

    Hi guys, i just wanted to share and show what i am doing with my teensy. I wrote a flight controller from scratch, which is now fully "hooked" into teensy internal hw timers, i also wrote a rather simple complementary based kinematics that i am using for stabilization. Video demonstration...
  23. C

    Timer Input Capture

    good, glad i could help :)
  24. C

    Timer Input Capture

    @slomobile this could probably help you (if you still have problems with timers) https://github.com/cTn-dev/FlightController-MK20DX128/blob/master/controller/receiver.h
  25. C

    Teensy 3.0 Beta9 Software

    Hi Paul, i received 2 of the Teensy 3.0 boards today (thank you very much), and i was wondering about the status of ISR (interrupt service routine) support as i was planning to do some hardware pin sampling and PWM generation (not with the servo library, but with my own code), unfortunately the...
Back
Top