I don't really have any application - it's just to create demos. People seem to love things that move around when they actually move it around them self (Remember the first time smartphone had accelerometers, and all the people went to the store just to let the ball bounce around).
I'm not sure what your examples do either, maybe it's really just a matter of figuring out how to render some 3D object on the screen.
~ Tectu
Libraries MEMS STM32F30x
- RoccoMarco
- Posts: 655
- Joined: Wed Apr 24, 2013 4:11 pm
- Location: Munich (Germany)
- Has thanked: 83 times
- Been thanked: 67 times
- Contact:
Re: Libraries MEMS STM32F30x
I like to think that my stupid work could be a powerful instrument for a bigger work. My examples show just a simple use of new function set. They init the mems, calibrate them and retrieve data cleaned from every kind of disturbance. All with 3 or 4 code lines, so who want to create complex applications doesn't have to solve statistical and mathematical problems:
Code: Select all
spiAcquireBus(&SPID1);
spiStart(&SPID1, &spicfg);
i2cAcquireBus (&I2CD1);
i2cStart(&I2CD1, &i2ccfg);
l3gd20Init(&SPID1, VALUES_CTRL_REGS_G);
l3gd20Calibrate(&SPID1);
lsm303dlhcAccInit(&I2CD1, VALUES_CTRL_REGS_A,
&msg_init);
lsm303dlhcAccCalibrate(&I2CD1, &msg_cal);
while (TRUE){
palTogglePad(GPIOE, GPIOE_LED7_GREEN);
l3gd20RetrieveFilteredData(&SPID1, gyrodata);
lsm303dlhcAccRetrieveFilteredData(&I2CD1, &msg_ret_data_acc,
acceldata);
chThdSleepMilliseconds(250);
}
spiStop(&SPID1);
spiReleaseBus (&SPID1);
i2cStop(&I2CD1);
i2cReleaseBus (&I2CD1);
Re: Libraries MEMS STM32F30x
They init the mems, calibrate them and retrieve data cleaned from every kind of disturbance
That is exactly what I want and nothing more
~ Tectu
- RoccoMarco
- Posts: 655
- Joined: Wed Apr 24, 2013 4:11 pm
- Location: Munich (Germany)
- Has thanked: 83 times
- Been thanked: 67 times
- Contact:
Re: Libraries MEMS STM32F30x
...so you will appreciate full support for magnetometer
Kind regards
Rocco Marco
Kind regards
Rocco Marco
Re: Libraries MEMS STM32F30x
That for sure. But as I said, I have no real world application, it should just become a demo at some point. Maybe you're interested in getting an LCD and fire ChibiOS/GFX up to make a demo of that? You seem to be quite interested in that motion stuff
~ Tectu
~ Tectu
- RoccoMarco
- Posts: 655
- Joined: Wed Apr 24, 2013 4:11 pm
- Location: Munich (Germany)
- Has thanked: 83 times
- Been thanked: 67 times
- Contact:
Re: Libraries MEMS STM32F30x
There would be no problem to start to use ChibiOS/GFX and create some amazing demo. Just pvt me about where to buy a proper lcd. I'll buy. But probably I'll need a little help to start, as always when someone starts a new thing...
- RoccoMarco
- Posts: 655
- Joined: Wed Apr 24, 2013 4:11 pm
- Location: Munich (Germany)
- Has thanked: 83 times
- Been thanked: 67 times
- Contact:
Re: Libraries MEMS STM32F30x
It's been almost two months since I started using ChibiOS under the careful supervision of Giovanni. It's an amazing new world. So, I'm not an expert but I would continue to explore it and hopefully to become smarter.
Re: Libraries MEMS STM32F30x
This one is a very very popular 3.5" 240x320 TFT touchscreen. Both the drivers, for the actual LCD panel and the touchscreen are included in ChibiOS/GFX since a long time.
You will get the help you need
~ Tectu
You will get the help you need
~ Tectu
- RoccoMarco
- Posts: 655
- Joined: Wed Apr 24, 2013 4:11 pm
- Location: Munich (Germany)
- Has thanked: 83 times
- Been thanked: 67 times
- Contact:
Re: Libraries MEMS STM32F30x
Do you suggest to buy it from ebay?
need anything else to connect the LCD to the board?
need anything else to connect the LCD to the board?
Re: Libraries MEMS STM32F30x
It depends on your location. If it takes four weeks for you to receive this e-bay stuff, you might get it from an actual distributor.
You don't need anything but a bunch of wires to connect that LCD module to your discovery board. You might want to get one of those matrix prototyping board and solder the required pin headers on it to make the connections.
~ Tectu
You don't need anything but a bunch of wires to connect that LCD module to your discovery board. You might want to get one of those matrix prototyping board and solder the required pin headers on it to make the connections.
~ Tectu
Who is online
Users browsing this forum: No registered users and 49 guests