Notes on the Sketchįor these sketches, I did not use the Arduino String object.
To program the BMP280, we will use the Adafruit BMP280 library. Now, connect the BMP280 to the Arduino using the wiring diagram below: How to Connect the BMP280 to the Arduinoįor more information on how the BMP280 works with Arduino, check out our tutorial on Wireless Communication Between Two Arduinos. By doing this, every time you open PuTTY, just select your Saved session and click ‘Load’ and you won’t have to jump through all those hoops again. Go back to the Session window and in ‘Saved Sessions’, enter your name or initials then click ‘Save’. csv (such as ‘logging.csv’) so that Excel can immediately recognize it. It’s a good idea to put the file name extension. Click ‘Browse’ and look for a place and file name where you can save the file you logged. On the left-hand side, select ‘Logging’, then select ‘Printable output’, and maybe select ‘Always’. COM12) in the “Serial line” field, then click the “Serial” button. Now, open PuTTY and click on ‘Session’ at the left-hand side of the window.
No need to worry because the Arduino will continue to send data to the port. COM12).Ĭlose the Serial window as we want to open this same port in PuTTY. Make a note of the port being used from the very top of the window (e.g. This time, concentrate first on getting the Arduino program before running and finding the data being written into your serial monitor window.