Want to create a weather station with only GY-BME280-3.3 chip and w5100 Ethernet shield mounted over Arduino mega 2560 r3 but I have no previous experience with Arduino. And The Arduino will be hooked up to a router using the Ethernet shield and powered using desktop USB connection or may be with the barrel jack and I want to control it using a GNU/Linux machine. So far I am trying to follow these https://educ8s.tv/arduino-bme280-weather-station,
but none of these is an exact match for my setup, so a little confusing as a noob. But my questions is,
How to hook up the GY-BME280-3.3 sensor to the Arduino on which the Ethernet shield is already mounted?
EDIT: So far I have connected the first 4 pins to the pins on the Ethernet on 1->3.3v, 2->gnd, 3->A5, 4->A4 or 1->3.3v, 2->gnd, 3->13, 4->11, 5->10, 6->12 but to no avail. Only 1+6->3.3v, 2->gnd, 3->21, 4->20 finds the sensor but reading is 0,0,0mb in that case and shows reading if SparkFun BME280 library is loaded.
Still the question is, if there any other pin combinations where I don't have to join 1+6 to a 3.3v, just one pin to 3.3v will be enough?