Search results

  1. R

    Fast CANBus Logger

    very interesting, do you have also a program that replay the logs to can?
  2. R

    9- and 10-DoF LSM9DS0 shield for Teensy 3.1

    This is the function that paul calls in his repo to ouptut euler angles static void fNEDAnglesDegFromRotationMatrix(float R[][3], float *pfPhiDeg, float *pfTheDeg, float *pfPsiDeg, float *pfRhoDeg, float *pfChiDeg) { // calculate the pitch angle -90.0 <= Theta <= 90.0 deg *pfTheDeg =...
  3. R

    9- and 10-DoF LSM9DS0 shield for Teensy 3.1

    Here is what i got with your snippet, huge correlation between roll and yaw, small between pitch and yaw, almost null between pitch nd roll. I would be very curious if you could do the same graph and see the difference. Paul's prop shield just uses a very different notation and is quite...
  4. R

    9- and 10-DoF LSM9DS0 shield for Teensy 3.1

    It's quite strange, the magnetometer calibration doesn't not seem too bad as per the picture of the last post, with Paul's visualizer there is no crosscorrelation between yaw and roll, the nxp code used the rotation matrix instead of the quaternions so the porting doesn't look to easy. i'm...
  5. R

    9- and 10-DoF LSM9DS0 shield for Teensy 3.1

    A little update. I knife and forked the code i was playing to ouput raw data rescaled to 14bit (NXP dof works at 14, the LSM9 at 16) and i gather the data with paul's motion sensor calibration tool. Of course the calibration part doesn't work becouse is not implemented, but what is strange is...
  6. R

    9- and 10-DoF LSM9DS0 shield for Teensy 3.1

    mmm looks like a big job for me to port the calibration routine to LSM9DS0. How did you solved the calibration for your minishield woth LSM9DS0 onehorse ? As you can see i've tryed your sketch but it doesn't seem to solve the problem....
  7. R

    9- and 10-DoF LSM9DS0 shield for Teensy 3.1

    well actually your sketch that i've used does calibrate the magnetometer but the problem is still there as you see from my last post...i'm just haveing troubles in storing the calibration in the magnetometer offset register to avoid calibrate it anytime i switch the board on, but this is not the...
  8. R

    9- and 10-DoF LSM9DS0 shield for Teensy 3.1

    Little update, i've used your github code (just changed the address and incorporated the madgwick function into the sketch) and i have the same result, that makes me beliving a sligtly little bit more in my terrible coding skills but frankly i was hoping for a stupid mistake from my side ! With...
  9. R

    9- and 10-DoF LSM9DS0 shield for Teensy 3.1

    yes is do pass the scaled sensor data and the calib is done in the setup of the main sketch calling sensor_9dof_configure(); and in that function i do call dof.calLSM9DS0(gbias, abias); that should fill the values of the gbias and a bias arrays, but as you noticed the magnetometer is not...
  10. R

    9- and 10-DoF LSM9DS0 shield for Teensy 3.1

    In the main GPS sketch i call this 2 lines: ...................... Metro read_dof= Metro(10); Metro update_quat=Metro(2); ...................... if (read_dof.check()) { sensor_9dof_read(); bmp280_pressure = bme.readPressure()/100.0; read_dof.reset()...
  11. R

    9- and 10-DoF LSM9DS0 shield for Teensy 3.1

    I'm updating the madgwick algorithm at 500hz and feeding it with data at 100hz, i will post the code.
  12. R

    9- and 10-DoF LSM9DS0 shield for Teensy 3.1

    I Ressurect this discussion about the 9dof sensor. I'm playing with a LSM9DS0 on the GPS board from smoking resistor, and i'm a bit puzzled about the behaviour of the behaviour of the tain bain angles. The sketch is forked from onehorse, and all the math is the same. I get stable quaternions...
  13. R

    datatypes bit depth

    Thanks !!! Very helpfoul I thinik this should be put someware in the teensy 3.x product details.
  14. R

    datatypes bit depth

    It really sounds like a silly question and it probably is but i think it will be helpfoul for coding newbies (like me) to create a small table to summarize the various datatypes bit depth for the teensy 3.0, i'm porting a sketch from arduino to teensy and i'm full of doubts about the bit depths...
  15. R

    Quick schematic check

    Thanks for the tips, yes diode is just to protect from reverse polarity, about the caps from the datasheet of the regulator if i put the larger cap after the reg i need a diode from the 5v to the vin to avoid on disconnect a reverse current. About the leds i bought those ones...
  16. R

    Quick schematic check

    On my previous project i had some troubles with fast redraws of 7 segment led at high brightness (the micro was an AT90CAN) and i've never properly undestood the reason for the freeze of the system but i've always had the suspect that was a problem in the 5v line, therfore i used the approach...
  17. R

    Quick schematic check

    I've changed the sd reader and re checked the pins of the sd, i hope to have it right now. Many thanks.
  18. R

    Quick schematic check

    I would really apreciate if somebody could have a quick look to this schematics just o be sure i haven't done anything wrong expecially on the SD. Many thanks !
  19. R

    Scratching my head over data formats

    Hi all, i'm working on a canbus connected GPS + IMU. i'm tring to send the data over the canbus but i'm having some issues with the data formats. I'm using 3 kind of unions, one with 32 bit for latitude and longitude union conv { int32_t f; uint8_t b[4]; }; And two16 bit one for...
  20. R

    How does one control the brightness of an OLED display (SSD1309) ?

    I got into the same OLED i would love to use it, therfore i would like to know if you did some progess on this matter. Thanks.
  21. R

    Bearing Calculation and Ring Buffer

    Sorry i've been very googlelazy ! https://github.com/rambo/SimpleFIFO
  22. R

    Bearing Calculation and Ring Buffer

    Hi All, i come to you with a coding newbie questions... i'm implementing a 50Hz Canbus GPS using teensy 3.1, and all seems to be working ok, now i'm in the stage now were i have to calculate the Bearing based on a set 2 GPS coordinates using the formula θ = atan2( sin Δλ ⋅ cos φ2 , cos φ1 ⋅ sin...
  23. R

    Teensy 3.2

    I got mine from the last order from Oshpark and it's alredy on my Racecar tyre temperature sensor prototype ! I wonder Paul if after teensy LC you may consider doing an HC or pro version, i had a look on the K20 sub family and i've seen that a dual can channel version of K20 is avilable...
  24. R

    My First PCB Design - Questions

    What is you suggestion for very small runs for which ospark is perfect pricewise, it's just slow in oversea shipment (to keep a affordable price). Thanks.
  25. R

    Teensy 3.2

    Many thanks for your precious work Paul ! may i put on the teensy 3.3 wish list a 12v capable regulator a canbus transcriver and i2c pullups ? cheers !
  26. R

    Teensy 3.1 and CAN Bus

    i figured out why my filtering was not working, i forgot to set the mask, for who will need here is a working can filtering sketch. // ------------------------------------------------------------- // CANtest for Teensy 3.1 // by teachop // // This test is talking to a single other echo-node...
  27. R

    Teensy 3.1 and CAN Bus

    Twisted pairs i not that importan unless you work beside a nuclear fusion reactor :) or if you lines are gettin very long. Just check wires ad termination resistors (1 on 20cm short wires at 500kbit/s is enough), by spec you need 2, by mistake i got a car canbus working fine with 3 resistors...
  28. R

    Teensy 3.1 and CAN Bus

    it may sound silly but when i can't initialize the bus normally the bus itself is not ok, missing terminators or pairs not twisted or ground levels too different, the other issue could be that the teensy can't initialize an empty bus therfore i would suggest to connect before another CAN...
  29. R

    Teensy 3.1 and CAN Bus

    Hi i'm tryin to make the filtering working on my canbus example sketch, i connected the tensy to the PCAN and the bus is ok i send and receive correctly. I've tryed to setup the 8 filters on the frame 0x002 but i'm still getting all the frames i send to the bus, any idea on what is wrong on the...
  30. R

    Little audio project

    I'm briging back this thread, i've managed to change the amps and the power supply and now i can record 2 streams without any noise coming in, my educated guess is that with 2 recordings the power supply with the audio board is on the limit. Before i was powering the teensy trough the VIN now...
  31. R

    converting double from 8 bytes from a gps sensor

    did you tyred this libray ? http://playground.arduino.cc/Main/IEEE754tools
  32. R

    Teensy 3.1 with 5" TFT (RA8875), uGFX, dynamic widgets, force-directed graph

    Very nice ! did you build it in ChibiOS or in the arduino ide ?
  33. R

    Teensy to MLX90621ESF Design Review request

    Many thanks for you help, i've updated the gerbers and i'll wait oshpark to deliver ! Thanks.
  34. R

    Teensy to MLX90621ESF Design Review request

    i have it for the MLX90620 that is 60° instead of 120° and 4times slower and noiser, you can find full code for teensy here https://github.com/robinvanemden/MLX90621_Arduino_Processing
  35. R

    Teensy to MLX90621ESF Design Review request

    Hi all, i've did my first electronic design (plase bear in mind i'm a mechanincal engineer), the teensy shield I designed contains one canbus trascriver one volteage regulator for power supply and one IR sensor MLX90621ESF. The purpose of this cirquit is to measure the tyre temperature accoss...
  36. R

    Library for 128 by 64 OLED I2C Display

    mmm i havn't the pull ups, that maybe the cause, internal pull ups arn't avilable for i2c pins?
  37. R

    Library for 128 by 64 OLED I2C Display

    i've compiled with the teensy at 24mhz but no changes unfortunately. with arduino uno the display works fine with both U8GLIB_SH1106_128X64 u8g(U8G_I2C_OPT_NONE); // I2C / TWI U8GLIB_SH1106_128X64 u8g(U8G_I2C_OPT_DEV_0|U8G_I2C_OPT_FAST); // Dev 0, Fast I2C / TWI
  38. R

    Library for 128 by 64 OLED I2C Display

    I messed up the files, now it compiles but i have no output on the disp, i've hooked display SCL to teensy pin 19 and SDA to pin 18 (powered at 3.3 from the teensy). The same display works fine on arduino, i'm using a teensy with audio shield soldered (but not used right now).
  39. R

    Library for 128 by 64 OLED I2C Display

    i have one of those cheap SH1106 I2c, and it works flawless with arduino but as you mention seems not to be working with Teensy. i've give a quick test to your hack but i got a compile error: I've put the 2 files in the same folder of ug8lib but it seems that is not the right location. i'm sure...
  40. R

    Project Cyborg Ears - wearable 'DSP hearing experience' platform

    So if i am not mistaken you can manipulate your data streams only trought the SGTL and the teensy act only as control of the audio board ? With you hack to the SGTL codec are you able to mix to 2 imputs subtracting them and acting as a noise cancelling monoaural device ? Your project if really...
  41. R

    Teensy 3.1 and CAN Bus

    i've used this one for the teensy and it works fine, you should be able to find even lower than 5bucks. http://www.aliexpress.com/store/product/Free-shipping-WaveShare-SN65HVD230-CAN-module-CAN-module-CAN-communication-module-of-CAN-bus/345545_1357782272.html
  42. R

    More from the Modular Teensy Project

    I had a look to your sketch and the main difference is that it's a sketch and not a library for a newbie like me can be a bit confusing looking in that big code (but i have to admit that sometimes is usefoul to read code behind the functions you call), while the sparkfun (with its limits of...
  43. R

    More from the Modular Teensy Project

    I've used a 5 sample runaverage to increase the resolution even if is not the right way to do it, i should have used oversampling but it would have lowered to mouch the dynamic response of the sensor. Did you tryed the sparkufn library for the sensor on the teensy ? I've tryed to implement the...
  44. R

    More from the Modular Teensy Project

    I agree i played a bit with the VL6180X and it's great the only drwaback i find is the resolution, i would have apreciated a 0,1mm resolution even with a 1mm accuracy to be able to play a bith with math with the data. I've succefoully used it to measure the rideheight of a race car and it worked...
  45. R

    OSH Park currently selling Teensy 3.1 at an amazing price

    Mate i'm italian and i can say that italy can hardly be considered a developed country nowdays ! :D
  46. R

    Teensy 3.1 and CAN Bus

    I agree would be really cool to have it !
  47. R

    Little audio project

    I think i copyed from your git hub just the mixer4 file you say you have modifyed not all the lib. Well the timing i got from the serial are ok to write 2 files as i posted some days ago but it still maybe that it's not ok to record 2 streams, the recording is just for debug purposes, the final...
  48. R

    Little audio project

    ok i shielded all the audio part and while not recording i have no noise, but as soon as i start recording i start haveing a very bad noise, in the link audio outpur recorded from teensy to pc testing the 2 microphones and then triggering the recording...
  49. R

    Little audio project

    I whant to put a cable with a connector in the middle beween the audio board and the mic amps, right now i have just patch cords with no shield at all, the schematic represents the cable i whant to do but i'm not sure if that will prevent some noise. Well i think i run into several noise...
  50. R

    EQ + Compressor

    i will try to the compressor too, thanks for sharing your experience and your future findings!
Back
Top