Jump to content

NLCbanner2024.jpg.2478be509670e60c2d6efd04834b8b47.jpg

Gina

Beyond the Event Horizon
  • Posts

    45,326
  • Joined

  • Last visited

  • Days Won

    120

Posts posted by Gina

  1. Found an alternative BME280 breakout board on Amazon with selectable address.  I've underlined this in the description

    Quote
    • BME280 is a Breakout Board featuring a Bosch Sensortec ME280 Temperature, Humidity & Pressure Sensor.
    • The board has selectable I2C address jumper (solder link GS2), I2C pull-up resistors, 7 pin header 2.54mm, and two mounting holes 3.5mm.
    • Default setting of the board; single power rail Vdd=Vdd_IO (solder link GS1), pull-ups resistors (R2, R3) 10k, protocol selector resistor 0ohm (R1), decoupling capacitors 0.1uF on both power supply pins Vdd & Vdd_IO.
    • If you connect board to both power rails VDD_IO 1.8V and VDD 3.3V be sure to remove the power rail jumper GS1!
    • Supply voltage VDD main supply voltage range: 1.71 V to 3.6 V

    HALJIA GY-BME280-3.3 High Precision I2C SPI Breakout Barometric Pressure Temperature Humidity Digital Sensor Module Board Compatible with Arduino Raspberry Pi ARM DIY Etc.

    Edit :- Looked at the datasheet and it s=doesn't need solder links changed there's a pin that does it.

    Quote

    Using the I2C Interface

    Because the I2C interface does not require level shifting when used with a 5V MCU, it is typically the preferred interface to use.

    The CSB (Chip Select Bus) pin determines which bus to use.  A logic HIGH selects the I2C bus.  A 10K pull-up resistor on the module pulls this pin HIGH and so the I2C bus is selected by default unless this pin is grounded.

    The module supports two different I2C addresses, either 0x76 or 0x77 which allows up to 2 sensors to be used on the same bus.  The SDO pin determines which address to used.  A weak pull-down resistor on the module pulls SDO low so 0x76 is the default address if the SDO pin is not connected.  Connect the SDO to Vcc to select 0x77.

    The SCL and SDA pins connect to the SCL and SDA pins on the MCU.

    If more than 2 sensors are needed, then the SPI bus can be used.

     

  2. Now working on the other nodes/clients.  Firstly the one that was in the observatory and used an outside (in Stevenson screen) and inside the obsy.  BME280 outside and DHT22 inside.  For testing I have it indoors.  The BME280 is working fine but not the DHT22.  When I touched the DHT22 I nearly burnt my finger so I unplugged it!!  Maybe what they say about DHT22s being unreliable is right though I've used them successfully in the past on an Arduino.  Maybe I should use a second BME280 as they're considered better.

  3. 41 minutes ago, wimvb said:

    If two devices show the same error at the same time, I would expect the error to be somewhere else, ie it’s not the devices that are at fault. I use uPython, but I also regularly flash new firmware to the devices I use for testing. And while experimenting, I regularly swap from uPython to the Arduino IDE and back. Usually erasing flash with the esptool solves any connection problems. And don’t ignore possible faulty usb cables.

    I don't know how to erase flash with the esptool.  If I did do that would the Arduino IDE still work?

  4. 6 minutes ago, stash_old said:

    Have you a std Windows OS IDE set up - if so just test the same happens when the device is plugged into that - again use  blink to start with.

    If case you haven't :-

    1. Have you upgraded the IDE since the last working upload ?

    2. Have you updated the Mint Linux system

    3. Try another cable but POWER off the Linux box first

    4. If you have one try an older device not ESP32 that it doesn't matter if you corrupt it - does that work.

    5. Try stopping the MQTT broker before doing an IDE upload

    All long shots 😞

    I don't have Windows at all other than in a Virtual Box on the Mint machine and I've never got USB to work from that.

    1. No

    2. No

    3. See post above.

    4. I do have an ESP8266 that I can try - worth risking a few quid.

    5. Never stopped the MQTT broker when doing uploads before.

  5. JZK ESP-32S ESP32 Development Board 2.4GHz WiFi + Bluetooth Dual Mode Antenna Module with Ultra Low Power

    I have 3 of them.  One is currently working fine and talking to MQTT and Node-RED Dashboard.  The two I'm trying to upload to have been working fine and I have uploaded to them dozens of times as I've been experimenting.  Something has happened to stop that working but I don't know what.  I don't really want to try the one that's working in case that fails too and I lose the working system (Living Room in Dashboard display).  

    505968053_Screenshotfrom2020-08-1812-02-55.png.9a388b328c580860cb274e6dcee69c58.png

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. By using this site, you agree to our Terms of Use.