The document discusses using Arduino to control LED lights and sensors. It provides instructions on the materials needed, example code snippets to make lights blink and change colors, and how to use a light sensor and serial communication with Processing. Examples include blinking an LED, alternating two LEDs, fading an RGB LED, and controlling an LED based on light sensor input read over serial. Links are provided for downloading Arduino software and references.
2. Kaj bomo danes počele?
Spoznale:
● Arduino Nano
● Testno ploščico (Breadboard)
● LED lučke, upornike, žičke, foto senzorje
● Osnove programiranja v C++ (spremenljivke, funkcija, for zanka)
● Koda: https://github.com/22nds/lfu-arduino-basics
● Arduino IDE: https://www.arduino.cc/en/Main/Software
3. Kaj potrebujemo?
● 2 x LED
● 1 x RGB LED
● 3 x 220 Ohm upornik
● 1 x 1k Ohm upornik
● 2 x žičke
● 1 x gumb
● 1 x senzor svetlobe
● Testna ploščica (Breadboard)
● USB kabel
● Računalnik
● Programska oprema (Arduino, Processing)
4. Arduino Nano Arduino Uno ->
● Uradna stran: https://store.arduino.cc/arduino-nano
5. Programska oprema za Arduino
● Arduino IDE https://www.arduino.cc/en/Main/Software ali
● Arduino Editor (online) https://create.arduino.cc/editor/ ali
● ArduinoDroid (Android): https://play.google.com/store/apps/details?id=name.antonsmirnov.android.arduinodroid2
7. Namestitev gonilnikov za Windows
● /driver/CH34x_Install_Windows_v3_4.zip ali
● http://sparks.gogo.co.nz/ch340.html ali
● http://www.arduined.eu/ch340-windows-8-driver-download/