Air Pressure and Temp Sensor (BMP280) with Arduino

  Рет қаралды 16,343

XTronical

XTronical

Күн бұрын

Пікірлер: 37
@rick49
@rick49 4 жыл бұрын
Man, that was incredible! I learned so much from this video. Your website and KZbin channel are tremendous resources! Thanks for posting this info.
@XTronical
@XTronical 4 жыл бұрын
Thank you for your kind comments
@kotobukichannel4367
@kotobukichannel4367 4 жыл бұрын
what if i want to add humidity in the display what will the code will be? please answer
@XTronical
@XTronical 4 жыл бұрын
You need the BME280 sensor, see this video using an esp32, kzbin.info/www/bejne/aKmupYqfibh-baM The examples are for Arduino too.
@kotobukichannel4367
@kotobukichannel4367 4 жыл бұрын
@@XTronical thank you😊 i already subsc to you 😊😊
@kotobukichannel4367
@kotobukichannel4367 4 жыл бұрын
@@XTronical sir what if i want to use an oled together with BME280 to show the results
@XTronical
@XTronical 4 жыл бұрын
No problem, they connect on the same I2C bus but have a different address on that bus so will work fine together. Just include the required libraries for both devices.
@kotobukichannel4367
@kotobukichannel4367 4 жыл бұрын
@@XTronical but what i have is 1.3 inch oled sir i dont have 0.96 inch oled like you have
@RexxSchneider
@RexxSchneider 5 жыл бұрын
The BMP280E has a maximum rated voltage of 3.6 V. The breakout board you are using has no voltage regulator or level shifters. You can get away with using 5 Volts as you're doing, but there's no guarantee that you'll get decent results, and you may even damage the chip. My experiments using 5 V with the same board worked, but the jitter on the returned values was an order of magnitude greater than when using 3.3 V. You only need two 10K resistors and two 2N7000 mosfets to do the level shifting, so for the cost of a few pennies, you can get better results and remove the risk of damage. I suggest that you should check out using 3.3 V with level shifters for the board and re-do your video when you get the chance.
@XTronical
@XTronical 5 жыл бұрын
Thanks for the information, I'll pin your comment.
@泰来-e2t
@泰来-e2t 4 жыл бұрын
i use 5 volt😓 temp is 2 degree higher than aht10....
@omkarbakare2862
@omkarbakare2862 4 жыл бұрын
can i connect 4 Bmp280 sensors to one ardrino nano and one display if yes then what should be the changes in code
@XTronical
@XTronical 4 жыл бұрын
Unfortunately you can't as they will all share the same i2c address. There are ways round this by using special chips that allow you to multiplex i2c devices or you could power them from i/o pins (if they don't need much current). That way you can power them on and off programmatically. These are not simple 1 or 2 lines of changes in the code though.
@omkarbakare2862
@omkarbakare2862 4 жыл бұрын
@@XTronical sir which special chip needed
@adampopernik812
@adampopernik812 6 жыл бұрын
Where you connect the OLED when you have connected the BMP280 to pins A4 and A5 ...
@XTronical
@XTronical 6 жыл бұрын
To A4 and A5 as normal, they are both I2C devices and can share the same wires (BUS). It's a protocol that allows multiple devices to talk on the same bus.
@yjoliiyki706
@yjoliiyki706 5 жыл бұрын
what is the scren
@XTronical
@XTronical 5 жыл бұрын
The link in the description goes to a project page for this , here it is again, See www.xtronical.com/basics/using-bmp280-based-pressure-temperature-sensors/ This screen would be suitable: (Affiliate link) amzn.to/2Ylnq5T Cheaper versions are available from the likes of Aliexpress etc. Hope this helps.
@biswanathbanik
@biswanathbanik 5 жыл бұрын
this sensor is giving temp value 187 *C it is wrong data is there any solution?
@XTronical
@XTronical 5 жыл бұрын
If pressure is good and temp always 187 it sounds like faulty sensor. Odd though. They do work better at 3.3v apparently but I had no problems at 5v.
@biswanathbanik
@biswanathbanik 5 жыл бұрын
can i connect it 5 v and pressure is showing 122hPa and altitude is 33000 which is undesirable
@XTronical
@XTronical 5 жыл бұрын
I'm revisiting this sensor shortly showing how to use it with arduino and 3.3v, just in case that's your issue. Be about 2 - 3 weeks
@biswanathbanik
@biswanathbanik 5 жыл бұрын
@@XTronical ok ok
@biswanathbanik
@biswanathbanik 5 жыл бұрын
@@XTronical is it need any kind of calibratation? means it gives the result instant or i have to keep connect with 1 or 2 hour?
@bryanbaring6124
@bryanbaring6124 6 жыл бұрын
sir can i use it up to 40psi?
@XTronical
@XTronical 6 жыл бұрын
Yes and No! The data sheet for the BMP280 guarantees full accuracy between 4.35 and 15.9psi but has absolute max rating of 290psi. So at your pressure it won't break and will still work but may be a little bit out on it's reading.
@hilalsweidan4238
@hilalsweidan4238 6 жыл бұрын
hi i have a problem after uploading the first code the arduino says that avrdude: ser_open(): can't open device "\\.\COM1": The system cannot find the file specified. Problem uploading to board. See www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
@XTronical
@XTronical 6 жыл бұрын
This usually means that you've not selected the serial port from the menu and/or you've not selected the board from the boards menu.
@WayneTheSeine
@WayneTheSeine 6 жыл бұрын
Thanks..... helped a lot.
@simonzinc-trumpetharris852
@simonzinc-trumpetharris852 4 жыл бұрын
The pressure should be in hPa. Divide by 100.
@ericlepage1854
@ericlepage1854 6 жыл бұрын
Much too much palaver and mistakes. Redo and reduce to 5 minutes.
@wallaceshackleton1889
@wallaceshackleton1889 5 жыл бұрын
I get your point but it is entitled "Misadventures in Electronics."
#16 Exact Measurement of Altitude with BME280 sensor
8:27
Andreas Spiess
Рет қаралды 48 М.
Precision Pressure Meter Project
56:21
Scott Harden (SWHarden)
Рет қаралды 23 М.
Jaidarman TOP / Жоғары лига-2023 / Жекпе-жек 1-ТУР / 1-топ
1:30:54
Какой я клей? | CLEX #shorts
0:59
CLEX
Рет қаралды 1,9 МЛН
BMP280 temperature and pressure sensor on an Arduino
5:41
nenioc187
Рет қаралды 93 М.
Hacking a weird TV censoring device
20:59
Ben Eater
Рет қаралды 3,4 МЛН
Showing Scammers Their Own CCTV Cameras On My Computer!
18:26
TUTORIAL: How to Wire up & Code BMP280 Pressure Sensor - Arduino
10:33
Antony Cartwright (Electronics & Code)
Рет қаралды 19 М.
#20 Tutorial: Multiple Devices on One Arduino I2C Bus
7:42
Andreas Spiess
Рет қаралды 210 М.
Scammers PANIC After I Hack Their Live CCTV Cameras!
23:20
NanoBaiter
Рет қаралды 27 МЛН