×

We will be closed on November 25, 2021 and November 26, 2021 in observance of the Thanksgiving holiday. We will resume normal operations on November 29, 2021. Wishing you a safe and happy holiday from all your friends at SparkFun!

×

Receive a free SparkFun USB Thumb Drive with every order this weekend. Details.

DamagedDolphin

Member Since: January 5, 2010

Country: United States

  • The BME280 sensor seems to be reporting the temp about 4ºF too high. I added a calculation in to correct for that. The relative humidity seems to read lower between 8-12% and doesn't seem to be a linear calculation I can correct for being relative humidity I guess.

    The rest look like calculations that I can solve in the code eg: Altitude 12205.52 ft should be 122ft roughly. 101325.00Pa is ok. Distance sensor I will have to check and see what value scale it is using, but it seemed it didn't respond correctly when I cupped my hand over it. It returned a value of 900 something. Ambient light looks to be working ok.

    TVOC and CO2 changed when I breathed on it so that sensor seems to be working.

    Any guides to get the Qwiic VEML6075 going in Python?

  • I did those steps,

    Setting Up MQTT and Cayenne wget https://cayenne.mydevices.com/dl/rpi_******.sh sudo bash rpi_****.sh -v rebooted

    Anyways, I commented out all the mqtt lines and now I get

    sudo python test.py Traceback (most recent call last): File "test.py", line 24, in <module> import qwiic ImportError: No module named qwiic

    or

    sudo python3 test.py Error: Unable to load smbus module. Unable to continue Error connecting to Device: 60, 'NoneType' object has no attribute 'write_byte' Error: Unable to load smbus module. Unable to continue Traceback (most recent call last): File "test.py", line 50, in <module> bme.begin() File "/usr/local/lib/python3.7/dist-packages/qwiic_bme280.py", line 216, in begin chipID = self._i2c.readByte(self.address, self.BME280_CHIP_ID_REG) File "/usr/local/lib/python3.7/dist-packages/qwiic_i2c/linux_i2c.py", line 155, in readByte return self.i2cbus.read_byte_data(address, commandCode) AttributeError: 'NoneType' object has no attribute 'read_byte_data'

    so I ran: sudo apt-get install python3-smbus

    and.....!

    SUCCESS!

    Wed Jul 24 2019 10:33:35PM BME Temperature 92.1 F Humidity 42.0 Pressure 101325.00 Pa Altitude 12205.52 ft Distance 25.00 Ambient Light 74.00 TVOC 0.00 CO2 400.00

    ... or maybe not... those values are wayyyy off

  • Started over from fresh Raspberry Pi image and now I get the following:

    sudo python qwiic_kit_for_pi_demo.py

    Traceback (most recent call last): File "qwiic_kit_for_pi_demo.py", line 23, in <module> import paho.mqtt.client as mqtt ImportError: No module named paho.mqtt.client

  • This step: sudo pip install sparkfun_qwiic

    returns: sudo: pip: command not found

    I had to run it as: sudo pip3 install sparkfun_qwiic

    Confirmed added to end of ~/.bashrc and rebooted prior to running those commands alias python='/usr/bin/python3' alias pip=pip3

    Not sure if this will break something further down the road

  • Hellwaii

    Are you on O`ahu?

  • I got four and all four were the LilyPad.

  • I placed four orders. It arrived today. All four were the LilyPad Arduino USB - ATmega32U4 Board

  • In for four. I hope, hope, hope one is the weather shield. However, another Red Board wouldn't be so bad. That's what got me into Arduino.

  • Thanks for the tip! Waiting for the last one to process and I'll do that.

  • WOOT! Got one. :)

No public wish lists :(