arduino

45 pages across tutorials, modules, pinouts and guides.

beginnerGuide

1. Arduino IDE Installation & Environment Setup

Complete download, installation, and basic setup of Arduino IDE on Windows for programming with the TinkerBlock kit.

Fundamentals· Arduino· 20 min
beginnerGuide

10. Tilt Sensor

Learn the tilt sensor.

Sensors· Arduino· 20 min
beginnerGuide

11. Potentiometers

Learn analog input and variables; use analogRead() to read the potentiometer and achieve outcome: when you turn the knob the serial monitor shows 0–1023, and the LED on D9 changes brightness (optional).

Inputs & Controls· Arduino· 20 min
beginnerGuide

12. NTC Thermistor

Learn to read NTC with analog input and do simple conversion; outcome: serial continuously shows raw value (0–1023) and converted voltage (0–5V); values change when you warm the module.

Sensors· Arduino· 20 min
beginnerGuide

13. Ambient Light Sensor

Learn to read light with analog input; outcome: serial shows light value (0–1023)—cover light and value drops, shine light and value rises.

Sensors· Arduino· 20 min
beginnerGuide

14. Knock Sensor

Learn the knock sensor; outcome: tap the module and the LED turns on; stop and it turns off.

Sensors· Arduino· 20 min
beginnerGuide

15. Multiple Sensors with Serial

Review: combine potentiometer and button; outcome: serial shows potentiometer value and button state (pressed/released) at the same time, and the button still controls the LED.

Inputs & Controls· Arduino· 20 min
beginnerGuide

16. PWM Fading LED

Learn PWM and analogWrite(); use a for loop for outcome: LED fades from dim to bright and back to dim—a breathing light.

Displays· Arduino· 20 min
beginnerGuide

17. Passive Buzzer

Learn tone() and noTone(); outcome: buzzer plays Do, Re, Mi in sequence then stops; can be extended to simple melodies.

Audio· Arduino· 20 min
beginnerGuide

18. Active Buzzer

Learn to control the active buzzer with digitalWrite() and const; outcome: buzzer on 0.5 s, off 0.5 s, repeat.

Audio· Arduino· 20 min
beginnerGuide

19. Vibration Motor

Learn to control the motor with digitalWrite() or analogWrite(); outcome: motor vibrates 0.5 s, stops 0.5 s, repeat; optional PWM for strength.

Motors & Actuators· Arduino· 20 min
beginnerGuide

2. First Program: Blink

Write your first program to make TK01 blink; understand setup/loop and digital output.

Displays· Arduino· 20 min
beginnerGuide

20. RGB Color Mixing

Learn to control RGB with analogWrite() on three channels; outcome: cycle through red, green, blue, white, yellow, purple, cyan, about 1 s each.

Displays· Arduino· 20 min
intermediateGuide

21. TM1637 4-Digit Display

Learn library install and use; control the 4-digit display with TM1637Display library; outcome: display counts up from 0 to 9999, changing every 0.5 s, then repeats.

Displays· Arduino· 30 min
intermediateGuide

22. Matrix LED

Learn to control the 8×8 matrix with LedControl library and arrays; outcome: matrix shows a heart pattern for about 1 s, then clears, repeat.

Displays· Arduino· 30 min
intermediateGuide

23. Custom Functions

Learn custom functions; outcome: wrap “on 200 ms, off 200 ms” in myBlink(), call it from loop, LED blinks at a fixed rhythm.

Displays· Arduino· 30 min
intermediateGuide

24. 1.8 Inch TFT Display

Learn to drive the TFT with Arduino_GFX library; outcome: screen first shows "Hello!", then cycles "TFT Screen" and full-screen red, green, blue.

Displays· Arduino· 30 min
intermediateGuide

25. WS2812 RGB LED Bar

Learn to control the WS2812 bar with FastLED library; outcome: one red LED moves along the bar in sequence—a running light.

Displays· Arduino· 30 min
intermediateGuide

26. IR Communication

Learn infrared communication (one board receives, one sends); outcome: sender sends IR codes on a timer, receiver prints received codes on serial; you can also point a normal remote at the receiver and see the key codes.

Networking & IoT· Arduino· 30 min
intermediateGuide

27. NTC Thermistor Temperature Sensor

Learn to use analog input and the Beta equation to convert NTC thermistor voltage to temperature.

Sensors· Arduino· 30 min
intermediateGuide

28. EEPROM Memory

First use of I2C: read/write EEPROM with Wire library; outcome: write a value (e.g. 123) to EEPROM, power off and on, read from the same address—data is still there, proving it survives power loss.

Storage· Arduino· 30 min
intermediateGuide

29. ADC Concept

Learn ADC (Analog-to-Digital Conversion); outcome: serial prints A0 analog value (0–1023) and D2 digital value (0 or 1) together so you see continuous vs discrete, multi-level vs two-level.

Fundamentals· Arduino· 30 min
beginnerGuide

3. Digital Input: Button

Use the button as digital input; learn to combine digitalRead() with digitalWrite().

Inputs & Controls· Arduino· 20 min
intermediateGuide

30. Rotary Encoder

Use the rotary encoder for rotation direction and button; outcome: turn encoder to adjust LED brightness (CW brighter, CCW dimmer), press encoder button to toggle LED (off/on), and when turning on again the previous brightness is restored.

Inputs & Controls· Arduino· 30 min
intermediateGuide

31. I2C Temperature LM75

Use Wire library for I2C to read LM75 temperature; outcome: serial continuously shows temperature (°C); warming the sensor makes the value rise.

Sensors· Arduino· 30 min
intermediateGuide

32. I2C Matrix Keypad

Use Wire library to scan the matrix keypad over I2C; outcome: when you press a key, serial prints the character (0–9, A–D, , #).

Inputs & Controls· Arduino· 30 min
intermediateGuide

33. Steam Sensor

Use analog input to read the steam sensor; outcome: serial shows steam value (0–1023); breathing on the sensor or spraying water vapor raises the value.

Sensors· Arduino· 30 min
intermediateGuide

34. Joystick

Use analog input to read joystick direction; outcome: serial shows “Up / Left / Down / Right / Press / Center”; when you push a direction the LED is on, when you press or center the LED is off.

Inputs & Controls· Arduino· 30 min
intermediateGuide

35. Voltmeter

Use analog input to measure voltage and convert to real value; outcome: serial shows voltage (V); with the module’s divider you can display about 0–25V.

Power· Arduino· 30 min
intermediateGuide

36. Piezo Sensor

Use analog input to read the piezo sensor; outcome: serial shows pressure/vibration value (0–1023); tapping or pressing increases the value.

Sensors· Arduino· 30 min
intermediateGuide

37. Extreme Bright Dual LEDs

Use PWM to control warm white (3000K) and cool white (6500K) separately; outcome: show warm white, then cool white, then mixed light, each about 2 s, repeat.

Displays· Arduino· 30 min
advancedGuide

38. Project: Temperature Humidity Display

Project: read temperature and humidity and display; outcome: serial shows temperature and humidity continuously, or 4-digit display shows temperature (integer).

Sensors· Arduino· 45 min
advancedGuide

39. Project: Button Buzzer LED

Project: one button controls LED and buzzer; outcome: press = LED on and buzzer on, release = LED off and buzzer off.

Inputs & Controls· Arduino· 45 min
beginnerGuide

4. Traffic Light

Control three LEDs in sequence; learn multi-pin digital output and #define.

Displays· Arduino· 20 min
advancedGuide

40. Project: Potentiometer Control

Project: use potentiometer to control output; outcome: knob controls LED brightness (or buzzer pitch), serial shows potentiometer value and brightness/frequency.

Inputs & Controls· Arduino· 45 min
advancedGuide

41. Project: IR Remote LED

Project: control LED with IR remote; outcome: one button turns the LED on, another turns it off; serial prints each button's command and the action.

Networking & IoT· Arduino· 45 min
advancedGuide

42. Project: Joystick Control

Project: joystick direction and button control LED and buzzer; outcome: up = LED on, down = LED off, left = low tone, right = high tone, press = buzzer off; serial prints current action.

Inputs & Controls· Arduino· 45 min
advancedGuide

43. Project: EEPROM Settings

Project: save LED on/off state in EEPROM; outcome: button toggles LED and writes state to EEPROM; after power off and on, state is read from EEPROM and LED is restored.

Storage· Arduino· 45 min
advancedGuide

44. Project: TFT Sensor Display

Project: show sensor data on TFT; outcome: screen refreshes periodically with current temperature and humidity (Temp: xxC, Humi: xx%).

Displays· Arduino· 45 min
advancedGuide

45. Final Project: Free Integration

Final project: combine what you learned into one project; outcome: choose a theme (e.g. smart lamp, temp/humidity alarm, remote LED), finish wiring, code, and test—wrap up the course.

Fundamentals· Arduino· 45 min
beginnerGuide

5. Serial Monitor Debugging

Learn to use the serial monitor and Serial to print.

Inputs & Controls· Arduino· 20 min
beginnerGuide

6. RGB LED

Control three RGB LED channels; learn multi-channel digital output and #define.

Displays· Arduino· 20 min
beginnerGuide

7. Latching Button

Learn the latching button and state hold.

Inputs & Controls· Arduino· 20 min
beginnerGuide

8. Collision Sensor

Learn the collision sensor.

Sensors· Arduino· 20 min
beginnerGuide

9. Touch Sensor

Learn the touch sensor.

Inputs & Controls· Arduino· 20 min