Monday, October 30, 2017

Arduino : Intermediate - OLED I2C Counter using Pushbutton

Description
Demonstrates the use a 128x64 I2C OLED display to display counter number using pushbutton. The code include debounce function. You can download OLED I2C library at Rinky-Dink Electronic.

List Item
  1. Arduino Uno 
  2. 128x64 I2C OLED  
  3. Pushbutton
  4. Wire Jumper

Wiring Diagram

Video


Arduino : Intermediate - OLED I2C Number Font Function

Description
Demonstrates the use a 128x64 I2C OLED display for medium numbers and big numbers font function.  You can download OLED I2C library at Rinky-Dink Electronic.

List Item
  1. Arduino Uno 
  2. 128x64 I2C OLED  
Wiring Diagram

Video

Wednesday, October 25, 2017

Arduino : Intermediate - OLED I2C Tiny Font Function

Description
Demonstrates the use a 128x64 I2C OLED display for tiny font function.  You can download OLED I2C library at Rinky-Dink Electronic.

List Item
  1. Arduino Uno 
  2. 128x64 I2C OLED  
Wiring Diagram
Video

Tuesday, October 24, 2017

Arduino : Intermediate - OLED I2C Small Font Function

Description
Demonstrates the use a 128x64 I2C OLED display for small font function.  You can download OLED I2C library at Rinky-Dink Electronic.

List Item
  1. Arduino Uno 
  2. 128x64 I2C OLED  
Wiring Diagram

Video

Thursday, October 19, 2017

Arduino : Intermediate - Control LED using Shift Register 74HC595

Description
Control LED using shift register 74HC595 and programming using array function.

List Item
  1. Arduino Uno 
  2. 8 LED RGB
  3. 8 Resistor (150 to 330 ohm)
  4. 1 Shift Register 74HC595
  5. Wire jumper

Wiring Diagram

Shift Register 74HC595 Pin Out

Video

Sunday, October 8, 2017

Arduino : Intermediate - Control LED RGB using Pushbutton

Description
Turns on and off a LED RGB connected to digitalpin, when pressing a pushbutton.

List Item
  1. Arduino Uno 
  2. 1 LED RGB
  3. 3 Resistor (150 to 330 ohm)
  4. 3 Pushbutton
  5. Wire jumper
Wiring Diagram

LED Pin Out

Video


Friday, October 6, 2017

Arduino : Intermediate - Control LED using LM 35 or TMP 36

Description
Reads repeatedly from an analog input (LM 35), and convert the ADC reading to voltage and temperature in Celcius, print the result to the serial monitor.

List Item
  1. Arduino Uno 
  2. 3 LED
  3. 3 Resistor (150 to 330 ohm)
  4. LM 35 or TMP 36
  5. Wire jumper

Wiring Diagram

Video

Tuesday, October 3, 2017

Arduino : Analog - Smoothing

Description
Reads repeatedly from an analog input, calculating a running average and printing it to the computer. Keeps ten readings in an array and continually averages them.

List Item
  1. Arduino Uno 
  2. Potentiometer
  3. Wire jumper

Wiring Diagram

Video

Arduino : Analog - Fading

Description
This example shows how to fade an LED using the analogWrite() function.

List Item
  1. Arduino Uno 
  2. LED
  3. 1 Resistor (150 ohm to 330 ohm) 
  4. Wire jumper

Wiring Diagram

Video

Arduino : Analog - Calibration

Description
Demonstrates one technique for calibrating sensor input. The sensor readings during the first five seconds of the sketch execution define the minimum and maximum of expected values attached to the sensor pin.

The sensor minimum and maximum initial values may seem backwards. Initially, you set the minimum high and listen for anything lower, saving it as the new minimum. Likewise, you set the maximum low and listen for anything higher as the new maximum.

List Item
  1. Arduino Uno 
  2. LED
  3. 1 Resistor (150 ohm to 330 ohm) and 1 Resistor (10k ohm)
  4. Potentiometer
  5. Wire jumper

Wiring Diagram

Video

Arduino : Analog - Analog Input

Description
Demonstrates analog input by reading an analog sensor on analog pin 0 and turning on and off a light emitting diode(LED)  connected to digital pin 13. The amount of time the LED will be on and off depends on the value obtained by analogRead().

List Item
  1. Arduino Uno 
  2. LED
  3. 1 Resistor (150 ohm to 330 ohm) and 1 Resistor (10k ohm)
  4. Potentiometer
  5. Wire jumper

Wiring Diagram

Video

Arduino : Analog - Analog In Out Serial

Description
Reads an analog input pin, maps the result to a range from 0 to 255 and uses the result to set the pulsewidth modulation (PWM) of an output pin. Also prints the results to the serial monitor.

List Item
  1. Arduino Uno 
  2. LED
  3. 1 Resistor (150 ohm to 330 ohm) and 1 Resistor (10k ohm)
  4. Potentiometer
  5. Wire jumper

Wiring Diagram

Video

Sunday, October 1, 2017

Arduino : Digital - State Change Detection

Description
Often, you don't need to know the state of a digital input all the time, but you just need to know when the input changes from one state to another. For example, you want to know when a button goes from OFF to ON.  This is called state change detection, or edge detection.

List Item
  1. Arduino Uno 
  2. LED
  3. Pushbutton
  4. 1 Resistor (150 ohm to 330 ohm) and 1 Resistor (10k ohm)
  5. Wire jumper

Wiring Diagram

Video