Man, that was incredible! I learned so much from this video. Your website and KZbin channel are tremendous resources! Thanks for posting this info.
@XTronical4 жыл бұрын
Thank you for your kind comments
@kotobukichannel43674 жыл бұрын
what if i want to add humidity in the display what will the code will be? please answer
@XTronical4 жыл бұрын
You need the BME280 sensor, see this video using an esp32, kzbin.info/www/bejne/aKmupYqfibh-baM The examples are for Arduino too.
@kotobukichannel43674 жыл бұрын
@@XTronical thank you😊 i already subsc to you 😊😊
@kotobukichannel43674 жыл бұрын
@@XTronical sir what if i want to use an oled together with BME280 to show the results
@XTronical4 жыл бұрын
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.
@kotobukichannel43674 жыл бұрын
@@XTronical but what i have is 1.3 inch oled sir i dont have 0.96 inch oled like you have
@RexxSchneider5 жыл бұрын
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.
@XTronical5 жыл бұрын
Thanks for the information, I'll pin your comment.
@泰来-e2t4 жыл бұрын
i use 5 volt😓 temp is 2 degree higher than aht10....
@omkarbakare28624 жыл бұрын
can i connect 4 Bmp280 sensors to one ardrino nano and one display if yes then what should be the changes in code
@XTronical4 жыл бұрын
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.
@omkarbakare28624 жыл бұрын
@@XTronical sir which special chip needed
@adampopernik8126 жыл бұрын
Where you connect the OLED when you have connected the BMP280 to pins A4 and A5 ...
@XTronical6 жыл бұрын
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.
@yjoliiyki7065 жыл бұрын
what is the scren
@XTronical5 жыл бұрын
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.
@biswanathbanik5 жыл бұрын
this sensor is giving temp value 187 *C it is wrong data is there any solution?
@XTronical5 жыл бұрын
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.
@biswanathbanik5 жыл бұрын
can i connect it 5 v and pressure is showing 122hPa and altitude is 33000 which is undesirable
@XTronical5 жыл бұрын
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
@biswanathbanik5 жыл бұрын
@@XTronical ok ok
@biswanathbanik5 жыл бұрын
@@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?
@bryanbaring61246 жыл бұрын
sir can i use it up to 40psi?
@XTronical6 жыл бұрын
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.
@hilalsweidan42386 жыл бұрын
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.
@XTronical6 жыл бұрын
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.
@WayneTheSeine6 жыл бұрын
Thanks..... helped a lot.
@simonzinc-trumpetharris8524 жыл бұрын
The pressure should be in hPa. Divide by 100.
@ericlepage18546 жыл бұрын
Much too much palaver and mistakes. Redo and reduce to 5 minutes.
@wallaceshackleton18895 жыл бұрын
I get your point but it is entitled "Misadventures in Electronics."