Quick Order Tool Pimoroni Customs New From Pimoroni
Register Login
Register Login

Select currency

Choose the currency you are billed in. It also sets your pricing. All prices exclude VAT and other local taxes.

/
Your order is empty
Raspberry PiPicoPimoroniAdafruitBreakoutsBadgewareSmart HomeToolsNew Popular
DisplaysCamerasLED StripsComponentsSensorsEnvironmentalRoboticsAudioRetro/ArcadeYukonFeatherTinyFXMerchandise

Departments

New Popular
Raspberry Pi
Pico
Pimoroni
Adafruit
Breakouts
Badgeware
Smart Home
Tools
Displays
Cameras
LED Strips
Components
Sensors
Environmental
Robotics
Audio
Retro/Arcade
Yukon
Feather
TinyFX
Merchandise
  • 58,715 reviews rated 4.8 out of 5!
  • Volume pricing save on larger orders
  • Credit accounts flexible payment options
  • Expert support by email or phone

Search

Filter

  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  

AdafruitSensors

Adafruit VCNL4020 Proximity and Light Sensor

Adafruit VCNL4020 Proximity and Light Sensor - The VCNL4020 is a handy two-in-one sensor, with a proximity sensor that works from 0 to 200mm (about 7.5 inches) and light sensor with range of 0.26 to 16,000 lux. Adafruit VCNL4020 Proximity and Light Sensor Adafruit VCNL4020 Proximity and Light Sensor Adafruit VCNL4020 Proximity and Light Sensor Adafruit VCNL4020 Proximity and Light Sensor Adafruit VCNL4020 Proximity and Light Sensor

Log in for trade pricing

You’ll need a trade account and be logged in to view pricing or place an order.

Accounts are available to schools and universities, businesses, and resellers of maker products.

Log in Apply for an account

Only need one or two? Buy it from our retail shop

Adafruit VCNL4020 Proximity and Light Sensor

The VCNL4020 is a handy two-in-one sensor, with a proximity sensor that works from 0 to 200mm (about 7.5 inches) and light sensor with range of 0.26 to 16,000 lux.

Select an option:

  • Default Title

Adafruit VCNL4020 Proximity and Light Sensor

The VCNL4020 is a handy two-in-one sensor, with a proximity sensor that works from 0 to 200mm (about 7.5 inches) and light sensor with range of 0.26 to 16,000 lux.

We've all been there. That thing is close but how close? When you need to measure a small distance with reasonable accuracy, such as the rough height of particularly calm bumble bee, the VCNL4020 Proximity Sensor from Vishay can do that for you. If perchance you also needed to measure the amount of light at the same time, perhaps to let the bee to know if it's time for bed, you're in luck! The VCNL4020 can do that too (bumble bee not included, Adafruit tried putting it in the anti-static bag but it started buzzing in a threatening manner)

This sensor is similar to the VCNL4040 but with a wider light sensor range, up to 16000 lux!

As with all of Adafruit's new I2C sensors, we've taken the VCNL4020 and put it onto a breakout PCB along with support circuitry to let you use this little wonder with 3.3V (Feather/Raspberry Pi) or 5V (Arduino/ Metro328) logic levels. Since it speaks I2C you can easily connect it up with two wires (plus power and ground!).  We've even included SparkFun qwiic compatible STEMMA QT connectors for the I2C bus so you don't even need to solder! Just wire up to your favorite micro and you can use our Arduino drivers to easily interface with the VCNL4020 and make approximate approximations of proximity in no time!  QT Cable is not included, but we have a variety in the shop. 

The VCNL4020 comes with a variety of knobs you can tweak, such as how many samples per second (a.k.a the integration time between measurements) - more samples per second means faster results but not as good at measuring low level light. With 16-bit light level reports, and 0.25 lux per bit, you can measure from 0.25 to 16,000 lux! And various averaging filters can do your low-pass filtering for you  so you get less spiky results. However, there is no other sensitivity/integration time controls.

Technical Details

Product Dimensions: 25.3mm x 17.8mm x 4.6mm / 1.0" x 0.7" x 0.2"

Product Weight: 1.7g / 0.1oz

RoHS 2 2011 65 EU Compliant RoHS 2 2015 863 EU Compliant

Learn

  • Primary Guide: Adafruit VCNL4020 Proximity and Light Sensor
    Proximity and lux measurement over I2C
  • See All Guides

Guides & tutorials

Customer reviews

Trade newsletter

Join our trade newsletter and we'll keep you up to date with new product launches.

The Good Ship Pimoroni

We've been designing and making electronics in Sheffield since 2012, with our own manufacturing and fulfilment under one roof.

Our business store makes it easy to buy Pimoroni, Raspberry Pi, micro:bit, Adafruit, SparkFun and more in volume, with competitive pricing and support from people who know the products. Need something specific? Drop us a line.

Useful links (we hope)

How to order Quick order tool Contact our business team Pimoroni customs Our retail shop

Pimoroni Ltd.

Unit 1, Parkway Business Park, Parkway Drive, Sheffield, S9 4WN, United Kingdom
Registered in England and Wales Company №: 07510759 VAT Reg №: GB140870721
Terms & Conditions Privacy Policy