Jump to content

Search the Community

Showing results for tags 'accelerometer'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • News
    • Announcements
    • Suggestions
    • New users say Hi!
  • Spotlight!
    • Sponsor Spotlight
    • Sponsor Giveaways
  • Energia
    • Energia - MSP
    • Energia - TivaC/CC3XXX
    • Energia - C2000
    • Energia Libraries
  • MSP Technical Forums
    • General
    • Compilers and IDEs
    • Development Kits
    • Programmers and Debuggers
    • Code vault
    • Projects
    • Booster Packs
    • Energia
  • Tiva-C, Hercules, CCXXXX ARM Technical Forums
    • General
    • SensorTag
    • Tiva-C, Hercules, CC3XXX Launchpad Booster Packs
    • Code Vault
    • Projects
    • Compilers and IDEs
    • Development Kits and Custom Boards
  • Beagle ARM Cortex A8 Technical Forums
    • General
    • Code Snippets and Scripts
    • Cases, Capes and Plugin Boards
    • Projects
  • General Electronics Forum
    • General Electronics
    • Other Microcontrollers
  • Connect
    • Embedded Systems/Test Equipment Deals
    • Buy, Trade and Sell
    • The 43oh Store
    • Community Projects
    • Fireside Chat
  • C2000 Technical Forums
    • General
    • Development Kits
    • Code Vault
    • Projects
    • BoosterPacks


There are no results to display.

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start



Website URL





Found 11 results

  1. How to calibrate digital output accelerometers like ADXL345 or ADXL345 to obtain the outputs as 'g' values? I have interfaced it with TM4C1294XL and the communication is through I2C protocol. Platform used is Energia.
  2. Still new to embedded programming and I am trying to use the MMA8452 accelerometer (datasheet) on SparkFun's breakout board (link). I programmed SparkFun's example program (link) into the MSP430G2553 via Energia with no issues and plotted the serial data in Excel. However this data, for lack of a better word, was "noisy." There would be huge spikes in the data even though the device was sitting still. Sometimes the WHO_AM_I value would be reported incorrectly as well. I found out the board shipped with 10k pull ups so I dropped them to the recommended 4.7k? resistors and the problem persisted. When I tried to investigate the SCL and SDA lines with my oscilloscope, the problem would disappear and the data would be a pristine flat line (as expected). That told me the scope probe capacitance was actually helping the circuit and rather than decrease resistance I should increase resistance. That seemed very counter intuitive to me, but I followed the data and changed pull ups to 15k. The problem disappeared and the data was clean. I was using short leads with and without a breadboard. The jumper to the Green LED was also removed from the SCL line. Being required to have 15k pull ups on the I2C bus seems wrong to me especially since the datasheet recommends 4.7k. Am I missing something? I am not well versed in I2C and Freescale's tech support has been less than helpful. I did order a MMA8451 sample and swapped it on SparkFun's breakout board and had the same problem. So I know the problem was not specific to that MMA8452. Other I2C devices (like the BQ32000) work fine.
  3. Hi! I am developing a simple accelerometer with the MSP-EXP430FR5739. This board is populated with a 3-axis accelerometer: ADXL330. No additional HW is needed. The MCU program does: ADC:Samples data from CH_0 to CH_14 in Repeat-Sequence-of-Channels Mode Sample Rate: ~ 20 Hz/Channel DMA UART:HW UART (TX only) with 9600 baud. This 9600 baud is limited by the emulator circuit. UART TX data1 = ADC_CH_12 = ACC_X; sample "622-X" UART TX data2 = ADC_CH_13 = ACC_Y; sample "509-Y" UART TX data3 = ADC_CH_14 = ACC_Z; sample "511-Z" LEDs: LED_TX and LED_ADC The PC application does: Calculate the 3 acceleration components (g_x, g_y, g_z) from the ADC data and the CALIBRATION data Calculate the magnitude of G; |G| = sqrt(g_x^2 + g_y^2 + g_z^2); Displays data CALIBRATION data must be enter by the user once at the beginning. The user has to rotate slowly the board in every 3 direction (and opposite) to find the maximum (+1g) and the minimum (-1g) ADC values of the 3 axis. Enter this 3*2=6 ADC data to the 6 white textboxes. If the CALIBRATION data are correct then |G| must be 1.00 (static acceleration of gravity). . The TX data can be viewed with putty too: Requirements: MSP-EXP430FR5739 board Code Composer Studio 5.4 to compile the MCU source file:ACC Demo v03_main.c Windows OS with .Net framework 4 to run the PC app: ACC Demo v03_Release.zip (extract and run "ACC Demo v03.exe"). The CPU usage may be high when PC application receives data. I will try to reduce this in the next version.
  4. Hello, i need help with running GY521 gyro on my Stellaris Launchpad with Energia. I found something about wiring GND -> GND 3,3V -> VCC Analog4 -> SDA Analog5 -> SCL and also read this topic at arduino http://playground.arduino.cc/Main/MPU-6050 there is a sketch but i dont know how to port it at Energia for stellaris launchpad. So i want to ask if there is anybody, who was playing with gyro and can help me understand the way it works. Thanks
  5. It all started with an aim of improving communication between speech & hearing impaired and normal people. But it has now almost become an alternative input device for any computing device! So what is it all about? It's a cyber glove that recognizes sign language gestures and convert them into ASCII. Voila! We can throw away our keyboards and start using this glove. Right? After all, our keyboard does the same thing. Don't try too hard to visualize this peculiar device! This is how it will be!! And Technically it will be something like this And more technically the flow of data will be like this Got a overall picture? Okay. Let's see how this is implemented. The sensor boards which are mounted on the finger tips is a custom PCB (see attachements schema_acc_board.png & pcb_footprint_acc_board.pdf) which houses the accelerometer (in our case MMA7361L). Those accelerometers will be connected MSP430 Launchpad and Launchpad will then be connected to Bluetooth Module as shown below. (BT boosterpack from iTeadStudio is used here) Wondering why not all axes of accelerometers are utilized? Well we have to do some trade-off between resolution and no. of ADC channels available :-( That's all. Find the code as attachment (code.zip) Here are few pics of the setup & output... Attempts have been made to miniaturize the whole setup into one glove. The FET Debugger is not able to recognize the custom board. But I'm not sure whether the problem is with Schema or PCB footprint. I've attached the unverified schema and footprint also with this post. Interested are welcome to give a try! If you come up with a better design you are welcome to share it with me at any time ;-) pcb_footprint_acc_board.pdf code.zip pcb_1_NOT_VERIFIED.pdf pcb_2_NOT_VERIFIED.pdf pcb_3_NOT_VERIFIED.pdf schema_NOT_VERIFIED.pdf
  6. Hi everyone. First of all, i am new with msp430 microcontrollers and i have a project that i think it is hard for beginners but i must do it I will take the data from accelerometer and write it to the eeprom. I will use msp430g2230. eeprom and accelerometer both are communicating with SPI. I must sample the data at least 1Hz. I just learned about registers and SPI and worked on msp430ware codes about SPI communication a little bit. Where can i start this project? What are your suggestions and do you know any source related to my project?
  7. Hi I am Anbu. New to MSP430. I have to a build a bot which is to be controlled using wrist movement. I'm using Accelerometer ADXL335 for that. I have to transmit the ADXL335 output from one msp430 to another msp430 which is on the bot. I'm having Anaren RF booster pack CC110L. How to transmit the data via the booster pack. please help me thanks
  8. Hi I am Anbu. New to MSP430. I have to a build a bot which is to be controlled using wrist movement. I'm using Accelerometer ADXL335 for that. I have to transmit the ADXL335 output from one msp430 to another msp430 which is on the bot. I'm having Anaren RF booster pack CC110L. How to transmit the data via the booster pack. please help me thanks
  9. I'm working on integrating an accelerometer(ADXL335) into my project. So I'm doing three single channel conversions, on the three axes. The first conversion I do gives me a normal reading for horizontal, ~450. The other ones give me ~880 and ~1020. I have switched the axes and the first one always gives me the correct value the others don't. The following code shows my ADC function. int Acc(char channel) { int res, ch; ch = channel * 0x1000; ADC10CTL0 &= ~ENC; ADC10CTL0 |= ADC10ON; ADC10CTL1 = ch + ADC10SSEL_3; ADC10CTL0 |= ENC + ADC10SC; while(ADC10CTL1&ADC10BUSY); res = ADC10MEM; ADC10CTL0 &= ~(ADC10ON + ENC); return res; } And my main code, #include "msp430g2553.h" #include "central.h" void main(void) { WDTCTL = WDTPW + WDTHOLD; //Watchdog Timer Disabled P1DIR =0xf8; //Initialise Pins and Special Functions P1SEL=0x00; P1IE=0x00; DCOCTL= CALDCO_1MHZ; BCSCTL1=CALBC1_1MHZ; int x, y, z, temp; P1OUT=0x00; while(1) { x=Acc(0); y=Acc(1); z=Acc(2); temp = Temp(); if (x>=400) P1OUT = BIT6; else if(y>=400) P1OUT = BIT5; else if(z>=400) P1OUT = BIT4; else {}; if(temp>=300) P1OUT= BIT3; else{}; __delay_cycles(1000); } } I'm not doing anything with the outputs so ignore them. Has anyone any ideas why one axis gives a sensible result but the other two don't? PS when the accelerometer is powered and the axis pins are not connected, the voltages read with a multimeter are correct.
  10. MAKE magazine article with photos of the board enclosed in the Sensor Tag: http://blog.makezine.com/2013/04/18/teardown-of-the-ti-sensortag/
  11. Hi all, Just to show off a little something I did It's an LCD display of a "ball" rolling around on a spotted surface, and bouncing from the boundries. The direction and speed of rolling is determined by the tilt of the entire setup. The hardware is a Nokia 5110 LCD breakout and a cheap 3-axis accelerometer breakout, both hooked directly to the MSP430 Launchpad. Code was written in Energia. Here's the video: I don't consider the code clean enough to publish, however I'll be happy to answer any questions about it. Happy coding!
  • Create New...