Search found 17 matches

by jxid
Mon Apr 20, 2020 3:51 pm
Forum: General discussion
Topic: STM32F103 and BME280 Sensor
Replies: 10
Views: 13316

Re: STM32F103 and BME280 Sensor

After some test i made it work!
So my results:
The sensor can be found with ID 0x76 ony when is connected to pins PB7---SDA and PB6---SCL
I hsd to "set" the adddes to bme.begin() like bme.begin(0x76)
Then the sensor work fine.
This is my working code:
#include <Wire.h>
#include <SPI.h>
#include ...
by jxid
Mon Apr 20, 2020 3:20 pm
Forum: General discussion
Topic: STM32F103 and BME280 Sensor
Replies: 10
Views: 13316

Re: STM32F103 and BME280 Sensor

I have this pin out diagram and i connect the sensor acording to this.
That's why i use PB6-PB9 pins , because as shown in the diagram is for SDA and SCL.
But no luck till now.
Anyway thanks for the help and usefull info.
by jxid
Mon Apr 20, 2020 2:54 pm
Forum: General discussion
Topic: STM32F103 and BME280 Sensor
Replies: 10
Views: 13316

Re: STM32F103 and BME280 Sensor

Thanks Ray.
I have used this with a M7N gps module and an TFT display with no problem.
But i have problem with BME280 sensor.
Is there any other library for BME280 to use or to do any modifications?
Also i see that in your barometer project you use 15,16 pin in STM32 for SDA and SCL.That means that ...
by jxid
Mon Apr 20, 2020 2:14 pm
Forum: General discussion
Topic: STM32F103 and BME280 Sensor
Replies: 10
Views: 13316

Re: STM32F103 and BME280 Sensor


You didn't answer the question:

which core do you use?

https://github.com/stm32duino/Arduino_Core_STM32

or

https://github.com/rogerclarkmelbourne/Arduino_STM32

or other...

If you don't provide enough information you will not be able to get help from the community.


Sorry for this.
I use ...
by jxid
Mon Apr 20, 2020 11:30 am
Forum: General discussion
Topic: STM32F103 and BME280 Sensor
Replies: 10
Views: 13316

Re: STM32F103 and BME280 Sensor

I tried the scanner code from the above link.
It does not detect my BME280 sensor.
But when i connect an RTC module it finds it.
What am i doing wrong?
Any ideas?
My STM32 board is STM32F103C8T6
by jxid
Mon Apr 20, 2020 10:16 am
Forum: General discussion
Topic: STM32F103 and BME280 Sensor
Replies: 10
Views: 13316

STM32F103 and BME280 Sensor

Hi to all
I have an STM32F103 (blue pill) and i want to connect with a BME280 sensor in order to develop a project.
I want to read temperature , humidity and pressure from the sensor.
I use I2C protocol for my sensor.
After some search i found that the sensor could connect to B8,B9 of the STM module ...
by jxid
Sun Apr 05, 2020 6:37 pm
Forum: Projects
Topic: STM32F103C8 and NEO-M6N gps module
Replies: 19
Views: 19882

Re: STM32F103C8 and NEO-M6N gps module

Tried my sketch with M6N M7N and M8N.
Everything works fine.
I display the data in a 240X240 display.
by jxid
Sun Apr 05, 2020 5:59 pm
Forum: Projects
Topic: STM32F103C8 and NEO-M6N gps module
Replies: 19
Views: 19882

Re: STM32F103C8 and NEO-M6N gps module

Pito wrote: Sun Apr 05, 2020 5:49 pm Great, even I recommended to you to better remove both delays() in the loop() :P
Thanks for everything friend.
by jxid
Sun Apr 05, 2020 5:35 pm
Forum: Projects
Topic: STM32F103C8 and NEO-M6N gps module
Replies: 19
Views: 19882

Re: STM32F103C8 and NEO-M6N gps module

Friend Pito thanks for your help.
Suddenly the project works as it should.
I didn't change anything exept from removing the delay at "no gps data" (the first delay in my code)
by jxid
Sun Apr 05, 2020 5:20 pm
Forum: Projects
Topic: STM32F103C8 and NEO-M6N gps module
Replies: 19
Views: 19882

Re: STM32F103C8 and NEO-M6N gps module

Can you please sent the code for M7N?
I would like to test it.

Go to advanced search