Search found 103 matches

by aster
Sat Nov 18, 2017 1:12 pm
Forum: General discussion
Topic: Select the SPI bus within a function
Replies: 3
Views: 59

Select the SPI bus within a function

Hello, I try to explain the title of the topic. I have a library which use spi, but to select spi1 or 2 i need to edit the .cpp file I would like to do it with a function, i tried it but i get errors since the declaration of "SPIClass SPI_bus(2);" seems to need to be declared as global Any simple wo...
by aster
Wed Nov 01, 2017 7:20 pm
Forum: Working / ported libraries
Topic: Working: TinyGPS++
Replies: 3
Views: 1754

Re: Working: TinyGPS++

ok it was quite simple, know the ublox neo 8 series will work with the library :D
https://github.com/aster94/TinyGPSPlus-GNSS
by aster
Wed Nov 01, 2017 6:16 pm
Forum: Working / ported libraries
Topic: Working: TinyGPS++
Replies: 3
Views: 1754

Re: Working: TinyGPS++

i just realized that tinygps++ doesn't work with satellites different from GP (see: http://www.trimble.com/oem_receiverhelp/v4.44/en/NMEA-0183messages_GNS.html) since now there are the new galileo (so GN) i bought a module for only 6 euros that support them do you know any library which would work w...
by aster
Mon Oct 09, 2017 8:53 pm
Forum: Projects
Topic: F405 & F411 versions of the BluePill
Replies: 321
Views: 4719

Re:F405 & F411 versions of the BluePill

i don't know if it could be useful to someone but a few months ago i have been designing a schematics for a ibrid development board which could use both a f103rc or a 405rg/415rg the purpose of the board is different: this one contains all someone could need during a project (tft, sdio, rotary encod...
by aster
Mon Oct 09, 2017 5:07 pm
Forum: Libary request
Topic: MPU-6050 (I2C) Library
Replies: 44
Views: 6808

Re: MPU-6050 (I2C) Library

i use spi every time i call "readBytes"
anyway the problem is with the library itself not with the spi communication
by aster
Mon Oct 09, 2017 2:18 pm
Forum: Libary request
Topic: MPU-6050 (I2C) Library
Replies: 44
Views: 6808

Re: MPU-6050 (I2C) Library

i used the example inside the library: https://github.com/sparkfun/SparkFun_MPU-9250_Breakout_Arduino_Library/blob/master/examples/MPU9250BasicAHRS_SPI/MPU9250BasicAHRS_SPI.ino (change who i am from 0x71 to 0x73) and it didn't work so i started to modify it cutting all the not necessary pieces but i...
by aster
Mon Oct 09, 2017 1:51 pm
Forum: Libary request
Topic: MPU-6050 (I2C) Library
Replies: 44
Views: 6808

Re: MPU-6050 (I2C) Library

I meant to use it with only a device, so i could remove all these start/stop! anyway i spent the last 3 hours trying the spi interface but it is still not working the problem is in the comunication with the magnetometer AK8963. the library is good when using the i2c but the spi part is bad written i...
by aster
Mon Oct 09, 2017 12:37 pm
Forum: Libary request
Topic: MPU-6050 (I2C) Library
Replies: 44
Views: 6808

Re: MPU-6050 (I2C) Library

about the SPI: before moving to stm i am testing it with an arduino uno connections: mpu9250 - arduino vcc-5v gnd-gnd scl- 13 ad0-12 sda-11 ncs-10 i am not convincet by this code: uint8_t MPU9250::readBytesSPI(uint8_t registerAddress, uint8_t count, uint8_t * dest) { SPI.beginTransaction(SPISettings...
by aster
Mon Oct 09, 2017 11:33 am
Forum: Libary request
Topic: MPU-6050 (I2C) Library
Replies: 44
Views: 6808

Re: MPU-6050 (I2C) Library

i found this library: https://github.com/sparkfun/SparkFun_MPU-9250_Breakout_Arduino_Library and i am using cheap sensors from aliexpress like this: https://images-na.ssl-images-amazon.com/images/I/61qJZFn68nL._SL1010_.jpg right now i am testing it only with i2c (spi later) and i found an error: the...
by aster
Fri Oct 06, 2017 4:55 pm
Forum: Libary request
Topic: MPU-6050 (I2C) Library
Replies: 44
Views: 6808

Re: MPU-6050 (I2C) Library

I used the RTIMU lib a few years ago with the MPU9150, but it did not include filtering, ( I am not sure if it got updated to include filtering, but I think the library has been abandoned now by its author). From https://github.com/RTIMULib/RTIMULib2: RTIMULib also supports multiple sensor integrat...