Search results

  1. D

    New I2C library for Teensy3

    Hi KurtE, Many thanks for your help! It was indeed a case of reading the bytes in the incorrect order. The fix was just to change... ... value = (data[0] << 8) | data[1]; // Bit shift the first byte and perform a bitwise or operation to combine the MSB & LSB values ...
  2. D

    New I2C library for Teensy3

    Hi KurtE, Thanks for the response. I gave that a whirl and no change unfortunately. Kind regards, Dylan
  3. D

    New I2C library for Teensy3

    Hi All, I am having a problem with a function I am writing using the i2c_t3 library. I want to read consecutive registers from an i2c device. From what I understand, the procedure is to tell the Wire.requestFrom() method that you want two bytes from the initial address. For instance, value_LSB...
  4. D

    New I2C library for Teensy3

    Hi nox771, Sorry for my VERY late response, I have been pulled away from this project for a while but I am back! Thank you very much for patching your library, you are a life saver! If ever we meet, beerware is in order! :D Kind regards, Dylan
  5. D

    New I2C library for Teensy3

    Hi, I am having problems running the i2c_t3 library with the following problem: Arduino: 1.6.7 (Windows 7), TD: 1.27, Board: "Teensy 3.0, Serial, 48 MHz, US English" C:\Users\...\Documents\Arduino\libraries\i2c_t3\i2c_t3.cpp: In static member function 'static uint8_t...
  6. D

    Serial Help: Hardware or Code my Problem?

    Hi SteveCH, Thanks for the response! Okay, some interesting thoughts there. Would you say that an ESP8266 configured in P2P mode could perhaps be a good solution to the problem? Do you think a Teensy coupled to a SparkFun Arduino Shield with either BT or WiFi would be a good step in the right...
  7. D

    Serial Help: Hardware or Code my Problem?

    Hi All, I have built a Stewart platform that runs with on an Arduino and is controlled with an Android phone via bluetooth. It works quite well, but it is a bit jumpy when it comes to controlling it over bluetooth. I would like to establish if my hardware is insufficient of if it is my serial...
  8. D

    Teensyduino 1.25 Beta #1 Available

    Cool, thanks Paul. Didn't think so, just wanted to confirm. Thanks for the great work, keep it up!
  9. D

    Teensyduino 1.25 Beta #1 Available

    Hi Paul, Does 1.24 support 1.6.5-r5? Thanks, Dylan
  10. D

    AltSoftSerial Help

    Hi Paul, Thanks for the quick and easy response! Pity. Kind regards, Dylan
  11. D

    AltSoftSerial Help

    Hi All, Just a quick question, which hopefully has a quick answer. I had a look at other posts, but I didn't seem to find an answer. I would like to use the AltSoftSerial library with an Uno or a Leonardo. The problem is that my project makes use of the predefined pins(Uno 8, 9 & 10 and...
  12. D

    Using Adafruit BNO055 Library with Teensy 3.x

    This was a good thought, but it does not seem to be the problem. I changed the address in line 240 to address B: 240 Adafruit_BNO055 ( int32_t sensorID = -1, uint8_t address = BNO055_ADDRESS_B ); Or I changed lines 39 & 40 to(ie. I swapped address A & B): 39 #define BNO055_ADDRESS_A (0x29) 40...
  13. D

    Using Adafruit BNO055 Library with Teensy 3.x

    As far as I can see the wire address etc is set in the .cpp file from line 40 to 44; 40 Adafruit_BNO055::Adafruit_BNO055(int32_t sensorID, uint8_t address) 41 { 42 _sensorID = sensorID; 43 _address = address; 44 } Which is defined in the .h file on line 39 & 40 and then called on line 240...
  14. D

    Using Adafruit BNO055 Library with Teensy 3.x

    Hi Kris, Ha ha, this question was inevitable and I thought it might be you asking it! :D I just want to explore all options with the BNO055 - a combination of two solutions can sometimes be better than a single one. I am using the pullups that you supply on the breakout board, is this good...
  15. D

    Using Adafruit BNO055 Library with Teensy 3.x

    Hello all, I am trying to use the Adafruit BNO055 library to operate onehorse's BNO055 + MBP280 breakout board from Tindie. I am struggling to get it working because the Adafruit library uses the standard Wire library which defaults the pin definition to pins 4 and 5 where as I am using a...
  16. D

    Serial Comms Troubles

    Hi Paul and WMXZ, I had a go at implementing the delays that were suggested and I must say, it gives me a lot of peace of mind to know that systems are initializing in sequence and that readings are being transmitted reliably! Just for closure's sake attached is my code so that you can see...
  17. D

    Serial Comms Troubles

    WMXZ, it worked! Removing that while(!Serial); line enabled me to get it going! Thanks very much! I notice that none of the initializing garble comes up when I start the board, so I will have a look at both the delays that you and Paul have suggest a bit later. I am just cooking dinner. Will...
  18. D

    Serial Comms Troubles

    Hi WMXZ and Paul, Thanks for the fast responses! I will try comment out the while(!Serial) line and will report back. I am using Windows 7 x64 and I am connecting one of the radios to the hardware line (0 -> TX & 1 -> RX) and then on the computer side I have the same setup with the radio...
  19. D

    Serial Comms Troubles

    Hello all, My name is Dylan and I am from South Africa. I'm new to the forum, thanks for having me! I have a problem with a Teensy 3.0 in combination with a set of air 3DR 915MHz radios. I am trying to serially communicate the roll pitch and yaw from and IMU to the serial port on a computer...
Back
Top