top of page

ARDUINO OUTPUT

f2755d40186a2cb605533c2842f4435.png

01 RUN ! GOPHER

TIME : October 15, 2021

Introduction

We want to use two buttons as input devices and light dots on the LED matrix as gophers to restore the classic game of whack-a-mole. First of all, the gopher will appear randomly on the screen, press the switch in the corresponding position to hit, a successful hit will appear X, as time passes, the gopher appears more frequently, when the player misses more than a certain number of times, the game is over.

Materials
  • 1 x Arduino UNO

  • 1 x 8 X 8 LED matrix

  • 1 x Bread board

  • 2 x Button

  • n x DuPont line

LED dot matrix screen is composed of LED light-emitting diodes, which can be used to display text, pictures, animations, videos, etc. by controlling the brightness of LEDs, and is widely used in public places for information display, such as advertising screens, bulletin boards, etc. LED dot matrix screen can be divided into single color, double color, tri-color light, etc. according to the LED light-emitting color, which can display red, yellow, green or even true color. According to the number of LEDs are divided into 4x4, 8x8, 16x16 and other different types. This experiment uses 8x8 dot matrix. 8x8 dot matrix screen consists of 8 rows and 8 columns of 64 LEDs, and its internal structure is shown in the figure.

Equipment introduction
0f17e6bd36a2bd4c1e72a1824d2a152.png

8 X 8 LED Matrix

  • Widely used in instrumentation, electronic scales DVD, DVB, reversing radar HUD head-up display, induction cooker, electric pressure cooker, microwave oven, amplifier audio, air conditioner, fan, water heater, humidifier, disinfection cabinet and other electrical appliances supporting, and can be designed and developed according to customer requirements.

88matrixled2.png
f2f7a12f68a15e96d56b729c72bc94e.jpg
Code
512827f1a4ed0d00d4c52f797614dda.png

02 STEP RECORD

TIME : October 15, 2021

Introduction

We want to use two switches to control the left and right direction of rotation of the stepper servo and the rotation angle respectively, and the LCD displays the servo rotation angle.

LCD screen brightness by controlling the resistance value of the sliding resistor.

Materials
  • 1 x Arduino UNO

  • 1 x LCD

  • 1 x Bread board

  • 2 x Button

  • 1 x 220 Ω Resistor

  • 1 x Sliding resistor

  • 1 x Micro servo

  • n x DuPont line

Code
58f1a5fb5c0f9cc4e9a0f3de7ecae71.png
e62c6e32a7b88ffcc76ba70b5a7e001.jpg
Solution

Description

Replace the resistor with a smaller resistance value

When we connect the line, test the experiment, found that the LCD screen brightness is very dark, and then found that the LCD screen under the supply of illuminated LED bulbs are not lit, and then investigate the problem found and LCD series resistance R is too large, the resistance is well over 220 ohms, resulting in the power supply can not give sufficient voltage to light the LED.

Problem

LCD screen brightness is too dark

IOT
bottom of page