Due to high demand expect some shipping delays at this time, orders may not ship for 1-2 business days.
0

VEML6075 + Arduino Nano 33 BLE does not work
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

VEML6075 + Arduino Nano 33 BLE does not work

by ademmler on Tue Sep 07, 2021 3:17 pm

Hello guys,

I have setup a VEML6075 according to this guide.
https://learn.adafruit.com/adafruit-vem ... duino-test

When I use an "Arduino Mega2560" all works fine.
When I use "Arduino Nano 33 BLE" the sensor is not found.
When I use another Adafruit product like LTR390 or AS7341 with "Arduino Nano 33 BLE" all is working fine.

Where is the issue coming from? Maybe related to Wire.h and Wire.cpp?
I also used "Adafruit BusIO examples" for testing - same results as described above.

thx Alex

ademmler
 
Posts: 12
Joined: Tue Sep 07, 2021 3:10 pm

Re: VEML6075 + Arduino Nano 33 BLE does not work

by adafruit_support_carter on Tue Sep 07, 2021 3:26 pm

When I use an "Arduino Mega2560" all works fine.
When I use "Arduino Nano 33 BLE" the sensor is not found.


This seems odd. Those boards are totally different. Are you able to upload and run a basic blink example to the Nano OK with the board selected as Arduino Nano 33 BLE?

As another check, does the device address show up if you run this I2C scanner sketch?
https://playground.arduino.cc/Main/I2cScanner/

adafruit_support_carter
 
Posts: 21962
Joined: Tue Nov 29, 2016 2:45 pm

Re: VEML6075 + Arduino Nano 33 BLE does not work

by ademmler on Tue Sep 07, 2021 3:40 pm

hi,

thx for your quick response.
Yes - blinky works - and many others. I can definitely upload sketches and run those.

As I mentioned also other Adafruit examples and break outborads.
My second guess sister-in-law the Nano 33 BLE is missing inside "Adafruit_BusIO" lib.

I have tested the VLEM6075 with 3.3V from Ardunio power pin and 5Volt external power supply.

ademmler
 
Posts: 12
Joined: Tue Sep 07, 2021 3:10 pm

Re: VEML6075 + Arduino Nano 33 BLE does not work

by adafruit_support_carter on Tue Sep 07, 2021 3:43 pm

Does the device address show up if you run this I2C scanner sketch?
https://playground.arduino.cc/Main/I2cScanner/

adafruit_support_carter
 
Posts: 21962
Joined: Tue Nov 29, 2016 2:45 pm

Re: VEML6075 + Arduino Nano 33 BLE does not work

by ademmler on Tue Sep 07, 2021 4:02 pm

It does when I use a Arduino Mega. It does not if I use a Nano BLE.
But when I use Nano BLE + Adafruit LTR390 this devices shows up.

Mega + VEML = ok and working
Nano + LTR390 = ok and working
Nano + VEML = not working

If I run the scanner on Mega I get this: "I2C device found at address 0x10 !"
Hence the breakout product has the correct and valid I2c address.

ademmler
 
Posts: 12
Joined: Tue Sep 07, 2021 3:10 pm

Re: VEML6075 + Arduino Nano 33 BLE does not work

by adafruit_support_carter on Tue Sep 07, 2021 4:35 pm

The Nano 33 BLE is an nRF52840 based board:
https://store.arduino.cc/products/arduino-nano-33-ble

The Mega 2560 is an ATmega2560 based board:
https://store-usa.arduino.cc/products/a ... -2560-rev3

So it's really weird that you even able to uploading something to the Nano by selecting the Mega.

Does the blink sketch load and run just well with either selection?

adafruit_support_carter
 
Posts: 21962
Joined: Tue Nov 29, 2016 2:45 pm

Re: VEML6075 + Arduino Nano 33 BLE does not work

by ademmler on Tue Sep 07, 2021 5:14 pm

I quote: "So it's really weird that you even able to uploading something to the Nano by selecting the Mega."
This is a misunderstanding. I used two different Arduinos for my tests.
Hence when I have the Mega attached and selected the whole setup is different!

What I wanna prove is:
1. That the "VEML6075 is ok and working!
2. That i2c with nano 33 BLE is working!

My question is why does the Nano and VEML do not work together?

ademmler
 
Posts: 12
Joined: Tue Sep 07, 2021 3:10 pm

Re: VEML6075 + Arduino Nano 33 BLE does not work

by adafruit_support_carter on Tue Sep 07, 2021 6:26 pm

OK, let's check the hardware for anything obvious. Can you post a photo of your setup showing how the Nano 33 BLE is wired to the VEML6075.

adafruit_support_carter
 
Posts: 21962
Joined: Tue Nov 29, 2016 2:45 pm

Re: VEML6075 + Arduino Nano 33 BLE does not work

by ademmler on Thu Sep 09, 2021 3:48 pm

Here is the foto. I have cross checked the setup with an professional electronic engineer.
Please not that with all mentioned Adafruit products I have test - except the VEML - I get a i2c signal on cli and data.
With the VEML I don't get a signal at all! Also other sensors I tested are working with this NANO 33 BLE board.

We strongly belief this is a "software related" issue. Hence this might be a miss configured "SDA/SCL" pin.
In which files and where do you define this ?
Attachments
foto.jpeg
foto.jpeg (618.76 KiB) Viewed 65 times

ademmler
 
Posts: 12
Joined: Tue Sep 07, 2021 3:10 pm

Re: VEML6075 + Arduino Nano 33 BLE does not work

by ademmler on Mon Sep 13, 2021 8:10 am

No response on my input yet?

I have used another VEML6075 lib from Guthub for another test and all works fine.
Hence this is a proof that something is wrong with ADAFRUITS example or Library code.

ademmler
 
Posts: 12
Joined: Tue Sep 07, 2021 3:10 pm

Re: VEML6075 + Arduino Nano 33 BLE does not work

by adafruit_support_carter on Tue Sep 14, 2021 1:08 pm

The I2C scan does not rely on the VEML6075 library. So it's weird that the VEML6075 is not showing up in the I2C scan when using the Nano 33 BLE. Is that still the case? This is your current situation?

  • The VEML6075 does not show up in an I2C scan
  • The VEML6075 does not work with the Adafruit library
  • The VEML6075 does work with another library

adafruit_support_carter
 
Posts: 21962
Joined: Tue Nov 29, 2016 2:45 pm

Re: VEML6075 + Arduino Nano 33 BLE does not work

by ademmler on Wed Sep 15, 2021 3:42 am

Yes this is the case. Plus

The VEML6075 does work with the Adafruit library, if the Arduino is a MEGA2560.

ademmler
 
Posts: 12
Joined: Tue Sep 07, 2021 3:10 pm

Re: VEML6075 + Arduino Nano 33 BLE does not work

by adafruit_support_carter on Wed Sep 15, 2021 12:33 pm

Can you link to the library that does work.

adafruit_support_carter
 
Posts: 21962
Joined: Tue Nov 29, 2016 2:45 pm

Re: VEML6075 + Arduino Nano 33 BLE does not work

by ademmler on Thu Sep 16, 2021 3:01 am


ademmler
 
Posts: 12
Joined: Tue Sep 07, 2021 3:10 pm

Re: VEML6075 + Arduino Nano 33 BLE does not work

by adafruit_support_carter on Thu Sep 16, 2021 10:37 am

Not seeing anything drastically different with that library. Weird that one works and one doesn't.

When you run the example from the Adafruit library:
https://github.com/adafruit/Adafruit_VE ... letest.ino
what exactly do you get in the Serial Monitor?

adafruit_support_carter
 
Posts: 21962
Joined: Tue Nov 29, 2016 2:45 pm

Please be positive and constructive with your questions and comments.