Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: ben10teensy

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    22
    Views
    5,967

    Thanks I will look at it now

    Thanks I will look at it now
  2. Replies
    22
    Views
    5,967

    So even if Y was sent through the from the Master...

    So even if Y was sent through the from the Master
    I will read the value from Y after the first send .. In theory?
  3. Replies
    22
    Views
    5,967

    Thats a very good explanation , my apologies for...

    Thats a very good explanation , my apologies for the lack of information, I do understand you are all trying to help with my limited knowledge and lack of code.
    I have a non-disclosure-agreement so...
  4. Replies
    22
    Views
    5,967

    "value = transfer(0x00);

    "value = transfer(0x00); <- the 0x00 is ok in most cases, but not all. that depends on your device."

    So this would be the value read?

    and if i had to change addresses lets say its
    01
    02
    03...
  5. Replies
    22
    Views
    5,967

    OK what i'm kinda dealing with is a datasheet...

    OK what i'm kinda dealing with is a datasheet that cannot be released.
    So i'm trying to figure this out.
    With analog devices ofcourse you see its value on the pin
    How would you explain the stream...
  6. Replies
    22
    Views
    5,967

    SPI basic transactions

    To better understand the logic of SPI devices I have some questions that may also be helpful to others with the same confusion.
    Also my device does not have a written library.

    This link is to the...
  7. Replies
    17
    Views
    5,096

    Its not a device that has a written library So...

    Its not a device that has a written library
    So im trying to get the basic transaction
    To send it settings and also know how to recieve
    Data
  8. Replies
    17
    Views
    5,096

    Hey guys So ive just bought a new teensy 3.2 I...

    Hey guys
    So ive just bought a new teensy 3.2
    I was looking over the spi.transfer
    And I need to read from a register
    As i look over the documentation on spi
    It says it writes and also reads at...
  9. Merry Christmas and thanks for creating teensy

    I just want to thank Paul Stoffregen for creating these teensy products I really enjoy using them, it's been fun working on hobby projects and having my questions answered by the team.
    Thanks and...
  10. Replies
    17
    Views
    5,096

    Alright so after a lot of work i was able to get...

    Alright so after a lot of work i was able to get the device to give me a 0-255 reading through serial print. Where do you suggest going from there?
  11. Replies
    17
    Views
    5,096

    Yes, i was trying use someother example to kinda...

    Yes, i was trying use someother example to kinda find my way to the data on the chip but i couldn't. Is there a way to call up all the registers like a "*.*" ?
    I did email them at pixart to see if...
  12. Replies
    17
    Views
    5,096

    How to read data from an SPI device

    Hello all
    I have an infrared camera that detects up to 16 blobs and gives the x and y coordinates.
    But how do i retrieve this data from the device registries?
    Below is the link to the products...
  13. Replies
    13
    Views
    2,919

    Thanks guys I got the basic idea going. I used...

    Thanks guys I got the basic idea going. I used what Ben said. I created an if statement with the condition being that the IR receiver get 1000 hits. Then it would know which side is getting hits. I...
  14. Replies
    13
    Views
    2,919

    So just to be sure do I also have to use Serial1...

    So just to be sure do I also have to use Serial1 , Serial2, Serial3, to receive transmissions from all the infrared receivers?
  15. Replies
    59
    Views
    18,353

    OK sorry I may have sounded all mixed up. This...

    OK sorry I may have sounded all mixed up.

    This is how it works
    IMU connected to Arduino r3 for fusion
    Arduino r3 sends "!85.5,90.66,125.66" out through Serial
    Teensy3.1 receives on hardware...
  16. Replies
    59
    Views
    18,353

    Question, so I tried it with the arduino pro mini...

    Question, so I tried it with the arduino pro mini 3.3v 8mhz
    then with the arduino uno r3 16mhz and it is smoother
    IT goes from the uno or mini to the teensy which converts it to midi.

    Is mhz the...
  17. Replies
    59
    Views
    18,353

    Ok here is the first video of the project...

    Ok here is the first video of the project
    http://youtu.be/qOw_kAp1AFg?list=UUcfThwZjrJuHToJKjeWq9XA
  18. Replies
    59
    Views
    18,353

    I see I can post photos but can I upload videos

    I see I can post photos but can I upload videos
  19. Replies
    59
    Views
    18,353

    Ok I finally have a working model. It uses...

    Ok I finally have a working model.
    It uses different codes including parts of
    potatotrons help which was vital.
    so thanks to all who have assited on this project
    I will continue to tweak it and...
  20. Replies
    59
    Views
    18,353

    Hey Potatotron do you know why the buffer sticks...

    Hey Potatotron do you know why the buffer sticks to the first value it sees
    And doesn't update?
  21. Replies
    59
    Views
    18,353

    I added these lines and it updates so I guess...

    I added these lines and it updates
    so I guess the buffer receives one message and doesn't refresh

    Xrot = HWSERIAL.readStringUntil(',');
    Serial.print(Xrot);
    Serial.println("\"");
  22. Replies
    59
    Views
    18,353

    Yes it outputs but the same number repeats even...

    Yes it outputs
    but the same number repeats even if i move the sensor
  23. Replies
    59
    Views
    18,353

    OK so I got the sscanf working I needed to add...

    OK so I got the sscanf working
    I needed to add the #include <string.h>

    But not as I print the data it is not updating
    here is the code im using on the teensy 3.1

    #define BUFFER_SIZE 64...
  24. Replies
    59
    Views
    18,353

    I was just trying the code and I get an error. ...

    I was just trying the code and I get an error.

    c:/program files...
  25. Replies
    59
    Views
    18,353

    ok so i cleaned up the code a little since im not...

    ok so i cleaned up the code a little since im not using the button functions
    how does it look. remember I am just replacing what was a analog potentiometer with the values coming in from the
    tx rx...
  26. Replies
    59
    Views
    18,353

    OK thanks I will try it Are there any variables...

    OK thanks
    I will try it
    Are there any variables I need to switch out?
    Also can i add print(val1);
    to see its value?
  27. Replies
    59
    Views
    18,353

    how would I setup the buffer? Ive seen examples...

    how would I setup the buffer?
    Ive seen examples of Serial.readBytesUntil(character, buffer, length)
    but not sure how to mix what you have with this
  28. Replies
    59
    Views
    18,353

    Yes sir It's coming in fast. But it maintains...

    Yes sir
    It's coming in fast. But it maintains it's format of float,float,float
    Then it has a return or a new line
    So it comes in
    90.8,89.8,120.5
    91.6,88.6,116.8
    And so on...
    ...
    ..
    ..
  29. Replies
    59
    Views
    18,353

    Hey all an update on the project I have the...

    Hey all an update on the project
    I have the teensy receiving data on HWSERIAL lines
    And I'm able to print what's coming in and my data is coming in correctly
    90.1,55.6,125.9
    This is an example...
  30. Replies
    59
    Views
    18,353

    I actually havent bought one yet but I have seen...

    I actually havent bought one yet but I have seen it
    and have seen it working.
    Whether it works and works well would have to come by testing.
    But even if I have to go with acouple wireless...
  31. Replies
    59
    Views
    18,353

    Well Ive been able to find bluetooth for as low...

    Well Ive been able to find bluetooth for as low as $5
    All in all it is going to be in investment because being able to do motion capture really
    pushes the ability to produce more animation.
    even...
  32. Replies
    59
    Views
    18,353

    Thanks headroom for the reply. I dont want to...

    Thanks headroom for the reply.
    I dont want to make it sound like I wouldnt want to rewrite the project, im just putting out the questions
    to see what yourself and other more advanced technicians...
  33. Replies
    59
    Views
    18,353

    Thanks Paul, as Headroom said this above my skill...

    Thanks Paul, as Headroom said this above my skill level. but thats ok i'll keep pushing ahead.
    The plan is to have each imu device( this includes a 9dof sensor with its microcontroller to do fusion)...
  34. Replies
    59
    Views
    18,353

    Thanks for your reply. This was my design...

    Thanks for your reply.
    This was my design before your explanation on
    rs485. Being that I don't know much about protocols
    would this work?2923
  35. Replies
    59
    Views
    18,353

    Hey guys so ive read over your great ideas on how...

    Hey guys so ive read over your great ideas on how to do this but Im not sure about some things.
    1. If I have all 10 devices sending x, y, z rotations through rs485, are the sensors just spitting out...
  36. Replies
    59
    Views
    18,353

    Hey thanks, i really appreciate your help. I'm...

    Hey thanks, i really appreciate your help. I'm just getting into this type of science and teensy has been a great product.
  37. Replies
    59
    Views
    18,353

    Well now thinking about it and the distance from...

    Well now thinking about it and the distance from i2c device to another it wouldn't be possible. Being that arm to hand cabling would be about 2feet

    Here is the beginnings of the motion capture...
  38. Replies
    59
    Views
    18,353

    Hey Paul do you think i could do the math for...

    Hey Paul
    do you think i could do the math for fusion of more than one imu on the teensy 3.1 ? That way i wouldn't have to have a board per imu
  39. Replies
    59
    Views
    18,353

    Thanks, do you think 3 of these chips would be...

    Thanks, do you think 3 of these chips would be the way to go?
    https://www.sparkfun.com/products/10124
  40. Replies
    59
    Views
    18,353

    Ok so to understand it correctly i would have to...

    Ok so to understand it correctly i would have to Daisy chain or could i use a device or even just the teensy to be the hub recieving all the inputs.
    Because of where the devices will be i wouldn't...
  41. Replies
    59
    Views
    18,353

    So 3 feet of cable is to have a little extra in...

    So 3 feet of cable is to have a little extra in between. I would like to eventually go wireless at every imu but wire is in my current budget
  42. Replies
    59
    Views
    18,353

    Ok Thanks for the replies. To my understanding...

    Ok Thanks for the replies.
    To my understanding each imu has to have its own mcu because of the math done to fuse the 9dof. Plus it's easier for me to use the fusion code already out there.
    The...
  43. Replies
    59
    Views
    18,353

    how many serial tx rx inputs

    I have a 9dof IMU sensors working on i2c to microcontrollers(MC), each IMU will have its own MC. They export the data to serial rx tx. My question is if i have 10 or 15 IMUs with about 3 feet of...
  44. Can anybody help?

    Can anybody help?
  45. The teensy will be used to collect all the data...

    The teensy will be used to collect all the data through i2c and organize it then send it to the pc, hopefully it will be able to do all that with a wireless connection (blutooth or xbee)
  46. Thanks for the reply. From the research I've...

    Thanks for the reply. From the research I've seen the blobs read are the 4 brightest.
    Also if needed using its 45deg field of view, using the cameras own fov to cut off other sectors and if needed...
  47. Okay so in my designing of the project i made a...

    Okay so in my designing of the project i made a 3d animation for anyone who wants to visualize it better


    https://drive.google.com/file/d/0B-fqtYHx6AykUlBzeHJaS0hmVm8/edit?usp=sharing
  48. teensy 3 wiimote or wii remote blob data to serial stream

    Okay so I saw online johnny chung lee do some pretty amazing things with the wiimote.
    My bases for this next project is to use the wiimote through the teensy to get blob position data into the...
  49. teensy 3 motion capture animation 3ds max

    3D animation motion capture using the Teensy 3.0 board. The following Project was possible using the teensy board and some sensors to capture the motions.

    All of you have seen big blockbuster...
  50. Here is my potentiometer version. At this point I...

    Here is my potentiometer version. At this point I have both arms working in 3ds max.


    Watch "Mocap puppet" on YouTube
    https://www.youtube.com/watch?v=llyMYImXD74&feature=youtube_gdata_player
Results 1 to 50 of 63
Page 1 of 2 1 2