I followed the Seeed Studio standard form factor, as you can notice by the layout.
I ordered the PCB on Seeed Fusion service and judge for yourselves.
Great results for me, and more importantly, it works.
if you want to get PCBs like these you can visit the Seeed Fusion website https://www.seeedstudio.com/pcb-assembly.html
WiringOnly Grove Module
The Grove standard is used for the order of the i2c pins on the module, then connect to the i2c pins on the arduino.
Grove Module and i2c LCD
VCC Max 5V.Power Supply
This module has the advantage of being able to be powered with voltages of 3V3 and 5V. Mainly, the IC VEML7700 only admits voltages of 3V3, but this module already has an integrated Level Shifter which allows bidirectional communication and the power to use voltages of 5V and 3V3 at the same time.
On the back we can see the pin combinations for the different supply voltages.
How to use it?- Download and install the arduino-VEML7700 in the Arduino IDE.
- Open the example code attached to this project.
- Once the code is open, Change the name or use the one you already have as an example in the instance:
VEML7700 als; // Create an instance
- In my case I will change the name of the instance to Groove_Lux_Sensor as shown below.
VEML7700 Groove_Lux_Sensor; // Create an instance
You can also copy and paste the code below after installing the library.
- After uploading the code we open the terminal.
- Download and install the New-LiquidCrystal in the Arduino IDE.
- Connect the SCL and SDA pins of the screen to the SCL and SDA pins of the arduino.
This is a very good sensor to measure the lux of the environment, we can also calibrate the gain as shown in the other examples of the library and other things, this type of sensor is used for many applications such as controlling the brightness of the screen of our phones In a future project I will use this sensor to apply the same thing and be able to automatically control the brightness of my computer screen just like my smartphone does.
This sensor creation was part of my entry to the Seeed Grove sensor co-invent campaign, it's a great opportunity for you to make your dreamed sensor a reality.
Comments