Skip to content

The projects range from simple LED and pointer practice to full mini-games like Square, Simon Says, and Lunar Lander. Each project demonstrates different aspects of microcontroller programming, including timing, interrupts, memory management, hardware interaction, and game logic.

Notifications You must be signed in to change notification settings

my-university-projects-kdg/arduino-embedded-c-projects

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Embedded C

This repository contains a collection of Arduino projects and exercises developed in Embedded C as part of coursework at Karel de Grote University. The projects range from simple LED and pointer practice to full mini-games like Square, Simon Says, and Lunar Lander. Each project demonstrates different aspects of microcontroller programming, including timing, interrupts, memory management, hardware interaction, and game logic.

Individual Project - Square

square is a dodge an jump game. The user uses the left most button (button 1) to jump  then the right most button (button 3) to lie on the ground when an arrow has been shot. 

The arrows are fired one by one with an interval that becomes shorter as the game lasts. Where an arrow starts segment (A, G, D) is determined at random.  

During the game the user can press button 2 to use a shield in other to aviod been hit. There are 4 lives and 4 shield. Each live lost is indicated by the led and a sound is heard. Likewise every shield used is indicated by the dot on the 7 segment display.

Before the start of the game the player can rotate the potentiometer and its value would be used as a seed for the random.

When all lives are lost (game over) is sound is heard all data recorded during the game are display in the serial monitor 

Week 1 Execrises I have made

  • Libraries
  • LED Chaos
  • Basic Exercises C

Week 1 Projects I have made

  • Morse Trainer
  • Second version of morse trainer added
  • final version of morse is the folder PW1_Morse Trainer_v2

Week 2 Execrises I have made

  • Libraries
  • Pointers Practice
    • pointerPract_1
    • stringPract_2
  • Timing and Chronology of the ISRs

Week 2 Projects I have made

  • Simon Says
  • New version of simon says added

Week 3 Projects I have made

  • 3.3.1 Example Code Using the Display Library
  • 3.3.3 Practice Exercises to test the code
  • 3.4.1 Example Code C Memory Management
  • 3.5.1 Scrolling Numbers
  • 3.5.2 Alphabet on Display
  • 3.5.3 Potentiometer on Display
  • 3.5.4 Writing lines
  • Nim
  • Nim_v2 new version of nim added

Week 4 Projects I have made

  • 4.2.1 Example Code Buzzer
  • 4.3.1 Example Code C Structures
  • 4.4.1 Example Code Dynamic Structures
  • 4.5.1 Example Code Timers
  • 4.6.1 My Synthesizer
  • 4.6.2 Wolfgang Arduino Mozart
  • Lunar Lander
  • struct_inclass_demo

About

The projects range from simple LED and pointer practice to full mini-games like Square, Simon Says, and Lunar Lander. Each project demonstrates different aspects of microcontroller programming, including timing, interrupts, memory management, hardware interaction, and game logic.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages