Welcome back, in this post I will cover connecting, testing and integrating the [VEML 6070 sensor](https://www.adafruit.com/product/2899) with the raspberry Pi3 and Ros2. The VEML 6070 is a UV light sensor.  # Connecting and Testing Used the following [guide](https://learn.adafruit.com/adafruit-veml6070-uv-light-sensor-breakout/python-circuitpython) from adafruit to wire, start up example code and test that the device was working. To start I had to remove the [BME 280 sensor](https://www.adafruit.com/product/2652) and connect just the UV sensor to the raspberry Pi. I added a small bread board instead of directly connecting the UV sensor during this step so I could more easily add back in the BME 280 sensor. # Adding Ros2 Added another ros node to the project called [VEML6070_sensor.py](https://gitlab.com/Robotjini/mimir/-/blob/master/mimir/VEML6070_sensor.py). The node publishes the raw UV value reported by the sensor and its danger level as interpreted by the sensors code. These are published on topics /veml6070_uv and /veml6070_uv_risk. Check out the third blog for information on downloading and using the code, please like and subscribe. 1. [Building a Custom Weather Station in ROS2 Parts and Plans (DIY BLOG)](https://beta.steemit.com/ros2/@robotjini/1-building-a-custom-weather-station-in-ros2-parts-and-plans-diy-blog) 2. [Custom Weather Station: Installing Ros2 (DIY BLOG)](https://beta.steemit.com/diy/@robotjini/2-custom-weather-station-installing-ros2-diy-blog) 3. [Custom Weather Station: Temperature, Pressure, Humidity Sensor Install](https://steemit.com/diy/@robotjini/5tdps3-3-custom-weather-station-temperature-pressure-humidity-sensor-install)
author | robotjini |
---|---|
permlink | 4-custom-weather-station-uv-sensor-install |
category | diy |
json_metadata | {"tags":["robotics","grandsolarminimum","weather","raspberrypi","maine","ros2"],"links":["https://www.adafruit.com/product/2899","https://learn.adafruit.com/adafruit-veml6070-uv-light-sensor-breakout/python-circuitpython","https://www.adafruit.com/product/2652","https://gitlab.com/Robotjini/mimir/-/blob/master/mimir/VEML6070_sensor.py","https://beta.steemit.com/ros2/@robotjini/1-building-a-custom-weather-station-in-ros2-parts-and-plans-diy-blog","https://beta.steemit.com/diy/@robotjini/2-custom-weather-station-installing-ros2-diy-blog","https://steemit.com/diy/@robotjini/5tdps3-3-custom-weather-station-temperature-pressure-humidity-sensor-install"],"app":"steemit/0.2","format":"markdown","image":["https://cdn.steemitimages.com/DQmY5PjVvF5CWieSXYM215y8BK7Qaw4QjSKyjJeAw1f1dYf/serveimage.gif"]} |
created | 2020-03-16 22:40:21 |
last_update | 2020-03-16 22:45:42 |
depth | 0 |
children | 0 |
last_payout | 2020-03-23 22:40:21 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.026 HBD |
curator_payout_value | 0.025 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 1,804 |
author_reputation | 56,114,087,414 |
root_title | "4. Custom Weather Station: UV Sensor install" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 96,418,620 |
net_rshares | 278,005,513,402 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
robotjini | 0 | 8,517,503,841 | 100% | ||
mytechtrail | 0 | 40,275,935,805 | 20% | ||
knfitaly | 0 | 229,212,073,756 | 45% |