Device automatically detected the Gyro midpoint to be 1.35V, you must hold device still for at least 1s to let it calibrate when you plug it in. The other axis (Y) uses just accelerometer data so Smoothing is set to 5. Here is a screen shot of the configuration utility, please note that I am using the gyro just for one output axis (X), thus I set smoothing to 50 as recommended in release notes above. As mentioned above the new firmware and configuration utility is very flexible regarding the way the gyro and accelerometer are connected (this is one of the features requested, to be able to use device with various MEMS sensors). – you can connect your gyro and accelerometer outputs to any of the AN0-AN4 ports (for PIC18F2550).īelow is a new suggested schematic, using a 2-axis Gyroscope and an a 2-axis Accelerometer. – you can orient gyro or accelerometer as you like (but aligned to 90 degrees increments) – you can use multiple accelerometers or gyroscopes – it is possible to use to use gyro and accelerometer on any axis (RECOMMENDED) in this case set smoothing to 20-100 value – it is possible to gyro alone on any axis (1,2 or 3 axis) in this case set Smoothing to 100-255, please note that the output will snap to middle after a while since gyro only provides rate information – it is possible to use accelerometer alone on any axis (1, 2 or 3-axis) in this case set Smoothing to 0-10 value – configuration is stored in device EEPROM – graphical display of output and buttons – capture output and raw adc data into a comma separated values file (.csv) – configurable analog input ports AN0-AN5 for each axis (please note 18F2550 does not have AN5 input, but 18F4550 does) – you can use separate accelerometer/gyroscopes for different axis – auto-find gyroscope midpoint (0 deg/s voltage) – configurable midpoint (0g voltage) for accelerometer (can be set per axis) – configurable sensibility for accelerometer and gyroscope (can be set per axis) – adjustable smoothing and scale factor for outputs – configuration utility (for Windows only for now) – HID USB interface makes the device compatible virtually with all modern operating systems (Mac,Windows,Linux) – implements algorithm for combining gyroscope and accelerometer data – implements smoothing filtering algorithm – device supports a wide range of accelerometers and gyroscopes There are plenty of new improvements that I hope will address many of your requests. I have received some feedback from my readers regarding my first usb gamepad project, so for the past few weeks I was working on a new imrpoved design.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |