Hi all,
Thanks in advance for your time.
I have a bought an BMP280, to build a weather station. Want to use a nano with CH340G chipset and I cannot get the BMP280 to work. While it does work with the exact same code on my orginal Arduino Uno. (Of course changed the board options etc.)
I use the Adafruit BMP280 library + Adafruit_Sensor library and the example code that comes with it, just to test it.
Did try the I2C, SPI software and Hardware option. All work with the UNO, not with the Nano. So I think it has to do with the difference in Arduino, other sensors do work with the Nano.
Running a bit clueless at the moment, so if you have ideas that could help me that would be really great!
The 3.3V voltage could be a little different. You should use a level shifter for I2C.
There is no 3.3V voltage regulator on the Nano, but the 3.3V is generated by the CH340G, and that is not a very good 3.3V. If the Nano is powered via USB, that 3.3V is generated, but I'm not sure that 3.3V is also generated when the Nano is powered in a different way.
There has been trouble with the CH340G and the Arduino IDE 1.6.8. The new 1.6.9 should work better.
The 3.3 looks more like a 3.8-4.0 volts indeed, but this sensor should also work with 5 volts...
A friend of me tried it today with another arduino nano (also CH340 chipset) and he had no problems at all...
If I have a solution I will post it, but I have the idea that this arduino is maybe not good...
Thanks for you reply
The combination of Nano + CH340G + Arduino IDE version less than 1.6.9 does ring a bell. I think I read a few topics on this forum with problems.
Your Nano is a clone with just some random components smashed onto the board. You might find the cause by removing every component and testing it.
Could you use the Arduino Micro ?
I mean an official Arduino Micro, with good components.
Alright,
I have use 1.6.9 so, that should be fine!
And I will disassemble the nano thanks for the tip!
I will check on the Micro, They should work anyway