|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: New Accelerometer and LabView
Thank you!
I'll move the functions to my palette. Do you know if the I2C port supports multiple-byte reads? If so, does this mean it could do continuous measurement, without having to re-address to the accelerometer? |
|
#2
|
|||
|
|||
|
Re: New Accelerometer and LabView
It does... but only up to 7 bytes per transaction (i.e. without readdressing).
|
|
#3
|
||||
|
||||
|
Re: New Accelerometer and LabView
Well, as a follow-up:
I finally got around to wiring the accelerometer up. For some reason, I'm not getting any accelerations back from it. I haven't bothered yet to see if I'm actually connecting to it in the first place. However, I did test the wiring before turing the robot on. Did you know: Only one of the two sets of PWM-style I2C headers are connected? (The lego-style female RJ-14 is connected as well) |
|
#4
|
|||
|
|||
|
Re: New Accelerometer and LabView
That's cause the 4 pins farthest from the RJ connector are slow digital outputs, not I2C. You'll notice that the silk screen on the Sidecar says "OUT" next to them. We never bothered to add support for them to WPILib, but the FPGA layer supports them.
|
|
#5
|
||||
|
||||
|
Re: New Accelerometer and LabView
Quote:
![]() Last edited by kamocat : 05-02-2010 at 00:44. |
|
#6
|
|||
|
|||
|
Re: New Accelerometer and LabView
Quote:
It's usually cause by a wiring issue. Do you happen to have a logic analyzer that you can use to look at the bus? |
|
#7
|
||||
|
||||
|
Re: New Accelerometer and LabView
No, I just have an O-scope. (I don't think it'd show me much in this case, or I would use it)
The battery was low, so I put the bench-test on an external 13v supply. No change in response. Should I try running a Driver Station, to see if that makes a difference? I guess this brings up the other question: How easy is this board to fry from heat or static electricity? Last edited by kamocat : 05-02-2010 at 01:52. |
|
#8
|
|||
|
|||
|
Re: New Accelerometer and LabView
Quote:
Quote:
No idea... I've never seen one die. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| KoP Gyro and Accelerometer Placement | DavidB | Electrical | 6 | 05-02-2010 09:18 |
| New TipJar Training Video - Autonomous Mode and LabVIEW Training Giveaway | LVMastery | NI LabVIEW | 3 | 28-01-2009 07:06 |
| New LabVIEW TipJar Tutorial Video: Scalability, Modularity and Style. | LVMastery | NI LabVIEW | 0 | 18-01-2009 14:56 |
| LabVIEW Training and new control system demonstration 10/17-10/19 in Frazier Park, CA | Joe Ross | NI LabVIEW | 0 | 25-09-2008 13:25 |
| gyro and accelerometer problems | paulcd2000 | Programming | 6 | 16-02-2008 15:17 |