Lesson 16 GY-521 Module

We used one Elegoo Uno R3, one GY-521 module and 4 F-M wires, then we finished the following connection:

For this connect the pin labelled as SDA on the GY-521 to the Drduino’s pin 4 (SDA). And the pin labelled as SCL on the GY-521 to the Arduino’s analog pin 5(SCL). And that’s it.
result from the original code.
Original delay was 333, and we changed it to 1000.

Lesson 15 – Max7219 Led Dot Matrix Module

The materials used: 1 elegoo UNO R3, max7219 matrix module and 5 f-m dupont wires.

The uno is connected to the max7219 matrix module with the help of 5 f-m wires.
VCC and ground are connecte to arduino. pin 12 is connected to DIN, PIn 11 is connected to CS and pin 10 is connected to CLK.

the original code which displayed the word “arduino”.



We change the code, and displayed the word “Moi”.
the original delays between blinks.
and we change the delays as well between the blinks.
The combined picture of “Moi”.
we figured out the letter with the help of paint.

Lesson 11- Membrane switch module

The materials we used: 1 elegoo Uno R3, 1 membrane switch module and 8 m-m wires.

here, the uno is connected to the membrane switch module with the help of 8 m-m wires. when connecting to the uno board, we connect them to the digital output pins, D9-D2. we connect the first pin of the keypad to D9, the second pin to D8, the third pin to D7, the fourth pin to D6, the fifth pin to D5, The sixth pin to D4, the seventh pin to D3, and the eighth pin to D2.


these are the original codes.
we changed all the keys and wrote a little message to you.

Lesson 10- Ultrasonic sensor module

The materials we used: 1 uno R3, ultrasonic sensor module and 4 f-m wires.

Here, the uno R3 is connected to the ultrasonic sensor module with the help of 4 f-m DuPont wires. The GND port of sensor module is connected to the GND port of the uno, the echo is connected to the D11 pwm, the trig is connected to the D12 MISO, and the vcc is connected to the 5V port.
the original codes the distance in every one second.
with the change of the time with delay in 2 seconds, it calculates the distance in every 2 seconds.

Lesson 9- Servo

The materials we used: 1 Uno R3, servo motor and 3 m – m wires.

we connected the servo motor to the uno with the m-m wires. the brown wire is connected to the GND port, the orange wire is connected to the 5V port and the yellow wire of servo motor is connected to the 9 port.
the initial degree was 1 degree so we change to 5 degree at a time and the motor was moving faster.
The change is now 3 degree in 30 milliseconds, and the motor movement was slower.

Lesson 7 – Passive buzzer.

We used: elego uno R3, female to male dupont wires and one passive buzzer. The original codes the eight different sounds, each sound lasting 0.5 seconds: from Alto Do (523Hz), Re (587Hz), Mi (659Hz), Fa(698Hz), So(784HZ), La(880Hz), Si(988Hz) to Treble Do (1047Hz).

The f-m dupont wires are connected with the passive buzzer and elego uno R3.

As a test, we change the frequency and duration of the notes.

new notes are: 37 Hz, 41Hz, 44Hz, 49Hz, 55Hz, 62Hz, 73Hz, 82Hz. and the duration was 1 second.

Lesson 5 – Digital Inputs

On this lab we used : Elegoo UNO Controller, 830 Tie-points Breadboard, 5mm red LED, 220 ohm resistor, 2 push switches and 7 M-M wires.

For the lab we got the Arduino-made code ready and only had to connect the components correctly to the controller and breadboard. By doing so we were able to switch the LED light on and off by using the two switches.

The connections on the breadboard and controller

After the initial work, we changed the code a bit, so that the led would light and turn off by pressing only one switch button.

Lab 4 – RGB LED

On this lab we connected the RGB LED to the breadboard with three 220 ohm resistors, we also used four MxM jumper wires to connect them all to Elegoo Uno controller board.

The connections

We changed the delay of the fading time of the colours of the LED from the original 10 milliseconds first to 15 milliseconds and last to 5 milliseconds and noticed the change after those.

We changed the brightness of the colours from:

To:

And thus noticed the change in the brightness of the colours in the LED.