Arduino – example of 28BYj-48 stepper motor controller

This article presents a simple example of how to control with Arduino a very cheap 28BYJ-48 stepper motor. The code is on GitHub, here. Parts Required Arduino board (i.e. UNO) ULN2003 driver stepper motor 28BYj-48 Software This code is written in C++ and can be compiled using an Arduino IDE. All information about how to compile this project is here. /** * Copyright (c) 2019, Łukasz Marcin … Read more

Arduino – blinky with Timer1 COMPA

Next Arduino blinky project. This version of “blinky” example is using Timer1 Compare Match A interrupt to make an onboard LED blink for roughly one second. The code is on Github, click here. Parts Required Arduino board (i.e. UNO) Software This code is written in C++ and can be compiled using an Arduino IDE. All information about how to compile this … Read more

Arduino – blinky with Timer1 OVF

Yet another Arduino blinky project. This version of “blinky” example is using Timer1 Overflow interrupt to make an onboard LED blink for roughly one second. The code is on Github, click here. Parts Required Arduino board (i.e. UNO) Software This code is written in C++ and can be compiled using an Arduino IDE. All information about how to compile this project is here. /** * … Read more

Arduino – blinky with delay function

This is another blinky project. A “Hello World” program for the electronics. This version of “blinky” example is using delay function to make an onboard LED blink for roughly one second. The code is on Github, click here. Parts Required Arduino board (i.e. UNO) Software This code is written in C++ and can be compiled using an Arduino IDE. All information … Read more

Arduino – how to start?

Arduino is an open-source electronics platform based on easy-to-use hardware (Arduino boards), software (Arduino IDE), which allows to write programs and upload them to board (usually via USB connection) and an amazing community. In my opinion it’s a great tool to learn about microcontroller programming and for fast device prototyping. Arduino is not only for beginners. … Read more

What is an AVR Microcontroller ?

The AVR is a modified Harvard architecture 8-bit RISC single-chip microcontroller. The AVR was developed by Atmel in 1996 and was one of the first microcontroller families to use on-chip flash memory for program storage. The AVR microcontoller is like a small computer – includes a CPU, some flash program memory, some SRAM and some … Read more