This is an old revision of the document!
This is the simple example of setting brightness of LED.
This hands-on lab guide is intended for the Beginners.
The user need to know:
All important information including address of devices are enclosed in description of laboratory. In that scenario, the user should write a program in Arduino platform which turns on and off LEDs for the specified time 15 seconds. LED brightness can be controlled by setting variable “level” from 0 to 4095.
Describe expected result when scenario is finished. As a result user can control in cameras program execution.
In the beginning, both cameras must show that all LEDs are off.
First load an example project, include appropriate libraries and declare variable ledDriver
#include <Wire.h> #include <PCA9685.h> PCA9685 ledDriver;
Please scan I2C bus and check if PWM controller is present.
Write a programm which:
ledDriver.setLEDDimmed(number,level)
Repeat step 3 ten times.
Both cameras must show LED blinking in given periods of time.
This Intellectual Output was implemented under the Erasmus+ KA2: Strategic Partnership in the Field of Education, Training, and Youth - Higher Education.
Project IOT-OPEN.EU – Innovative Open Education on IoT: improving higher education for European digital global competitiveness.
Project number: 2016-1-PL01-KA203-026471.
Erasmus+ Disclaimer
This project has been funded with support from the European Commission.
This publication reflects the views only of the author, and the Commission cannot be held responsible for any use which may be made of the information contained therein.
Copyright Notice
This content was created by the IOT-OPEN.EU consortium, 2016,2019.
The content is Copyrighted and distributed under CC BY-NC Creative Commons Licence, free for Non-Commercial use.
In case of commercial use, please contact IOT-OPEN.EU consortium representative.