Hi Robojax, today was my birthday, and I was stuck up on this sensor for the past three days, but you helped me by setting the variable to x076, thank you! you made my day!
@robojax2 жыл бұрын
Happy birthday!
@rand0mc1tyz3n84 жыл бұрын
Thanks I was going crazy because my sensor didn't work... The wiring and address were wrong. After your video I managed to fix it. Thanks a lot
@robojax4 жыл бұрын
you are welcome. I am glad you were able to resolve the issue. Thank you for not skipping the ads and keep watching them. This will help me a lot.
@Phughy5 жыл бұрын
Kelvin conversion should be +273.15, other than that very nice tutorial! Will try to incorporate this in my current master thesis project! Thank you very much!
@robojax5 жыл бұрын
Thank you. I just checked the code and it has not been mentioned. Did I mention it in video?
@Phughy5 жыл бұрын
@@robojax yes, near the end where you talk about Farenheit and Kelvin conversion :)
@Brian41202 жыл бұрын
Thanks for posting this! I found in the current version of the Adafruit BMP280 library they have added a commented out line status = bmp.begin(BMP280_ADDRESS_ALT, BMP280_CHIPID); BMP280_ADDRESS_ALT is referenced right below where you made the change in the .h file. I tried commenting out the original bmp.begin() and uncommenting the above line, sure enough it worked perfectly without editing the .h file. I also tried replacing BMP280_ADDRESS_ALT with 0x76 as that was the ID that worked for me as well. Sure enough works just as well as the variable. Hopefully this helps someone else with the newer library.
@wallaceshackleton18894 жыл бұрын
Interesting and informative. I noticed mention on the PCB of BME280 and BMP280, may be there's a solder jumper there, anyway I thought I'd find of the difference between the two and..."BMP280 and BME280 measure temperature in centi °C and pressure in Pa. BME280 can also measure relative humidity in %." Now I can sleep better at nights :)
@robojax4 жыл бұрын
Thanks.Sweet dreams.
@rodrigobarbosapinto11634 жыл бұрын
You made an excellent tutorial. However, the correct K constant to conversion is 273.15
@robojax4 жыл бұрын
Thank you for pointing the mistake.
@rodrigobarbosapinto11634 жыл бұрын
No problem. Thanks so much!
@Sinilkollam4 жыл бұрын
Thank you very much sir 💕 for better information
@robojax4 жыл бұрын
Always welcome
@whitefields55953 жыл бұрын
Thanks for pointing out the need to change the default I2C address. Why don't they writers of libraries just leave it blank and ask the user to enter the value in SetUp? This would save a lot of fault-finding and make the libraries easier to understand ....... OR why can't SetUp just overwrite what was in the .h file?
@robojax3 жыл бұрын
Interesting wish. But there are so many ways people would want them.
@H2ON_MEA2 жыл бұрын
Asalamo Aleecom Mr. Ahmed I have the honor to be one of your followers who they are benefit greatly from all informations you share . God bless you Bro.. Please I want to know : (Can I use the ports {SDA/SCL} for 2 modules . Example (( BMP280 + DS3231 )). Thanks...
@robojax2 жыл бұрын
walaikums alaam, shukran. yes you can. you can use up to 128 devices. make sure to set or select the right I2C address. I have videos showing two I2C module . just search my channel.
@navid17594 жыл бұрын
thanks for your useful tut
@robojax4 жыл бұрын
You are welcome. Thank you for not skipping the ads and keep watching them. This will help me a lot.
@quaggas213 жыл бұрын
I have a question, does soldering those pins tips is important? Mine are not, and IDE cant detect the sensor. Can this be the problem? Thanks in advance
@robojax3 жыл бұрын
Hello, I am not sure which soldering you are referring to but any pin inserted to PCB must be soldered otherwise it will not have firm connection and will be disconnected at they moment. My full course with wiring diagram and 100 of lefties starts here kzbin.info/aero/PLHvJ4bw0xno4Z3FC2W07I4D2UP14bOaT2
@TikOLoRd3 жыл бұрын
I'm very new to electronics, do I need to solder the pins to make this work?
@robojax3 жыл бұрын
then how do you expect this to work? by holding the wires into the hole? either solder the wires directly to the hold or solder the pins. yes.
@TikOLoRd3 жыл бұрын
@@robojax Thank you for the quick reply!
@adampolansky34053 жыл бұрын
If you can't get a n adress just reconect from 3,3V to 5V :)
@manishpingale65583 жыл бұрын
Thanks sir!
@robojax3 жыл бұрын
You are welcome. Please subscribe. I appreciate it and helps my channel grow. Thank you
@sergiourquijo40004 жыл бұрын
Okay so the sensor is a 3.3v one so you connect it`s vcc to the arduino`s 3.3v pin. But the other pins are still 5v logic right??? Am i missing something here?
@robojax4 жыл бұрын
anything above 2V is HIGH and below 0.8V is LOW in both 5V and 3.3V logic and it will work . Here is reference page learn.sparkfun.com/tutorials/logic-levels/all
@iamkrishnendudas3 жыл бұрын
@@robojax So there is no need to use voltage devider to convert 5v data and clock signal to 3.3v for any kind of sensor. Right??
@yuvalvernik94835 жыл бұрын
is there a way to add humidity?
@robojax5 жыл бұрын
Not this one module.
@juancarlosrelloso13023 жыл бұрын
Hola me podrías decir si puedo ver el video con los subtitulos en español. Muchas gracias
@TfL73494 жыл бұрын
I watched this video and thought i can do this! My board compiled the I2C monitor and gave me the 0x76 address and I modified the library. However I could not compile the code for BMP280 test. I got an exit status 1 error, which some people have suggested is due to not having installed the correct library. I checked this and everything is there. Can anyone help?
@robojax4 жыл бұрын
compiling issue is usually something wrong in the code. I would suggest, not changing anything. Just upload it as is. once it worked, then customize it. if you uploaded the un-touched code and still get error, you should provide full error. Arduino don't just exit with status 1. scroll up or down to see more details.
@muhammadshahzaib38135 жыл бұрын
hi.i am unable to get ic2 address it stays at scanning address.
@robojax5 жыл бұрын
Check wiring. If wiring is good, then your module is bad.
@muhammadshahzaib38135 жыл бұрын
@@robojax i checked wiring its okay.maybe a bad module
@pratikgauns50915 жыл бұрын
Program get stuck at Wire.endTransmission() command. Can anyone please provide for a solution.
@robojax5 жыл бұрын
it should not happened. Perhaps you have modified the code. If the line you are mentioning the last line is shown with red background color, it means your code has error in syntax. just the line above it or somewhere above it. So first do not modify the code. Let it work first then, customize it. in regards to sound volume, I might have missed checking it. I will see if I can remove it and upload it again.
@JORDAN-pl3nr2 жыл бұрын
Hello I'm doing a project with the high school and I have a problem, I think I have copied and I have done it all correct but when I'm going to see the results appeare 'nan' like not a number but i dont know, if you can help me...
@robojax2 жыл бұрын
Hello, it seems the wiring problem. True to copy and run “I2C scanner” to see if you get I2C address.
@mathyspelletier41684 жыл бұрын
I did everything you done in the vidéo, but it is still marking : BMP280 test Could not find a valid BMP280 sensor, check wiring! Can you help me?
@robojax4 жыл бұрын
you should provide error. no one can help you like this.
@mathyspelletier41684 жыл бұрын
I don’t have any errors it is marking BMP280 test Could not find a valid BMP280 sensor, check wiring! In the serial monitor. Like if my BMP Adresse was not good.
@robojax4 жыл бұрын
Use I2C scanner to find out if wiring is correct robojax.com/learn/arduino/?vid=robojax-I2C-scanner
@mathyspelletier41684 жыл бұрын
Finally it was my connection that were not good. Thanks for your help.
@alejandropooli3 жыл бұрын
Nice Video, Thanks. I´ve tried to get humidity by Serial.print(bmp.readHumidity()); but it didn´t work: 'class Adafruit_BMP280' has no member named 'readHumidity'. Do you know how to obtain humidity in this library? Thank you very much
@robojax3 жыл бұрын
BMP280 is not humidity sensor. You are welcome. Here is $200 Arduino course for free Arduino Step by Step Course (over 100 lectures) Starts here robojax.com/L/?id=338
@mrhelpless4 жыл бұрын
I can't get the address. It only shows: Scanning... No I2C devices found Screenshot: prnt.sc/ujmoji If tested it with two different Uno models and one Pro Micro. Thanks for any help
@robojax4 жыл бұрын
So very Wasim ole. Either bad wiring or module is dead. I assume power is connected
@adampolansky34053 жыл бұрын
@@robojax I had the same problem. The conection was right and it didn't work so I changed to 5V instead of 3,3V and its working
@littleinventors10894 жыл бұрын
hi thx for sharing this video ...how to get I2c address code...sorry i am not finding it in links
@robojax4 жыл бұрын
You are welcome. I just added the link to I2C scanner on the page where saw the code. The best thank you for me is to not skip ads and Subscribe 🔔 to my channel, like 👍 the video and do not skip the ads.. It is greatly appreciated. 🔔 😊. I will reply to all Subscriber's 🔔 questions. So make sure to Subscribe.😊 .
@callumjones52883 жыл бұрын
i get this error: fatal error: Adafruit_Sensor.h: No such file or directory #include "Adafruit_Sensor.h" ^~~~~~~~~~~~~~~~~~~ compilation terminated. exit status 1 Error compiling for board Arduino Uno.
@robojax3 жыл бұрын
it is very clear "No such file or directory" it means you skipped the video and did not install the library.
@callumjones52883 жыл бұрын
@@robojax I did exactly everything in the video. maybe I saved it in the wrong location for the IDE to recognise the library? My apologies, I am very new to Arduino.
@gokaykaya1702 жыл бұрын
@@callumjones5288 Same error, I don't think you did anything wrong.
@jeffjefferson26764 жыл бұрын
The code that is up for download today gives me error messages. "Arduino: 1.8.12 (Windows Store 1.8.33.0) (Windows 10), Board: "Arduino Uno" In file included from C:\Users\home\Documents\Arduino\libraries\Adafruit_BMP280_Library-master\examples\bmp280test\bmp280test.ino:20:0: C:\Users\home\Documents\Arduino\libraries\Adafruit_BMP280_Library-master/Adafruit_BMP280.h:24:10: fatal error: Adafruit_Sensor.h: No such file or directory #include "Adafruit_Sensor.h" ^~~~~~~~~~~~~~~~~~~ compilation terminated. exit status 1 Error compiling for board Arduino Uno." So i dont know what is up. But there is a directory reference missing. Or at least there is a mismatch in the code and the file name. So someone changed the code. :S The I2C check did work; 0x76, as expected.
@robojax4 жыл бұрын
It means you have not watch the video or skipped. Please watch and it will be resolved. I am sure you don't want me to type everything I said in the video here.
@jeffjefferson26764 жыл бұрын
@@robojax In the end, it was trouble getting the zip file right. Ive red about other people having the same trouble. I got it working once or twice with strange symbols. So i installed another zipfile of someone else. Had the same strange symbols again. In the end i found out about the baut rating. Once i had the right baut rating selected, it worked fine. So probably it will work with your code as well once the baut rate is selected right. Greetings, Jeff
@robojax4 жыл бұрын
I am glad you found the solution. Thanks for sharing your experience.
@hunterwilliams28334 жыл бұрын
You need another library that adafruit BMP280 is dependent on.
@jeffjefferson26764 жыл бұрын
@@hunterwilliams2833 I got it fixed. Check the bout rate and check the port of the arduino, also check what kind of chip is on your arduino, while then you need to change a name in the code. I dont remember if this was the one that ran, or another piece of code. But eventually, it ran. Greetings, Jeff
@biswanathbanik5 жыл бұрын
temp is showing 187.05*C
@robojax5 жыл бұрын
is this statement or question?
@biswanathbanik5 жыл бұрын
@@robojax question
@khanhnguyenuc5963 жыл бұрын
so what ab humidity?
@robojax3 жыл бұрын
here kzbin.info/www/bejne/ZqCYm36IbNprqtU
@khanhnguyenuc5963 жыл бұрын
@@robojax thanks a lot
@shwethamuchudi41335 жыл бұрын
I didn't get result in serial monitor?? What can I do?? Sir
@robojax5 жыл бұрын
Do you get anything at all? if not see this. snipboard.io/y3pKwG.jpg
@luisgonzales79314 жыл бұрын
Can one arduino uno process 5 BMO sensor inputs simultaneously
@luisgonzales79314 жыл бұрын
Sorry BMP
@robojax4 жыл бұрын
Yes you can. You may get the idea from this video if you don't skip kzbin.info/www/bejne/aGium4Ccha1kms0
@luisgonzales79314 жыл бұрын
Ok, will check it out. Thanks
@luisgonzales79314 жыл бұрын
So I understand multiple sensors on one adurino, but I would like to measure and record 5 pressures at once every 30 seconds. What do you recommend
@robojax4 жыл бұрын
read 1, 2, 3, 4 and 5th at once line by line and don't leave any delay. The only delay will be the sensor delay which need to read. so if you don't leave any delay in your code, that is the fastest way.