Michael just shared a new tutorial: “PiicoDev Ambient Light Sensor VEML6030 - Raspberry Pi Guide”
This guide will help you read distance data from your PiicoDev® Distance Sensor and a Raspberry Pi single-board computer!
Read more
Using Windows 10 and Thonny you can connect via SSH to your Pi if you change the interpretor in Thonny to “Remote Python 3 (SSH)”. Useful if you are using a laptop and your Pi is powered on and connected to network with SSH.
- Enable SSH service on your RPi
- Install Thonny on your PC
- Click on the interpreter button in the lower-right corner of Thonny’s main window
- Select “Configure interpreter”
- In the new window open interpreter dropdown and select “Remote Python 3 (SSH)”
- Fill in the parameters and click OK
This is a great tip! Sounds like a snappier workflow than what I’m used to - enabling file sharing so I can edit the origin file on the Pi, and run scripts through the shell.
Copy and paste error in introduction: “This guide will help you read distance data from your PiicoDev® Distance Sensor and a Raspberry Pi single-board computer”
When I try and install the piicodev package in Thonny, I get the following error:
Warning: micropython.org SSL certificate is not validated
Not sure what I can do about an invalid SSL cert on that site. Any ideas?
Thanks
Is the time accurate on the device you are using? SSL will often fail if the date/time is wrong on the client device.
Thanks, Graham - I’ll check that.
There’s also a typo with the pressure sensor guide for rpi - “This guide will help you read motion data from your PiicoDev® Motion Sensor with a Raspberry Pi single-board computer.” - motion should be pressure.
The on board LED affects the reading.
Cover the sensor results in 1 or 2 lux; cover the board results in something higher, dependant on the reflected light. The LED track was cut.
Readings are now much more relevant IMHO. Covering the board results in less than 1 lux.
Excellent tutorial. Excellent Python Library.
@Eric43534 Works like a ‘charm’, thanks for sharing this, did not know this was possible.
Will make my development much easier and faster.
Cheers
Jim