Articles

Home|Articles|

FreeRTOS: Using Software Timers

In this article, we will take a look at the software timers in FreeRTOS. A software timer allows a function to be executed at a set time in the future.FreeRTOS - RTOS software timer functionality and features description The function that is executed is referred to as a timer's callback function. The interval between starting

2021-01-03T18:53:29+02:00By |Categories: Embedded Systems|Tags: , , |0 Comments

Toolset for Debugging Embedded Programs

Writing programs that just work would make the development of embedded systems a lot easier. In practice, however, a considerable amount of time is devoted to finding and removing bugs from the code. This process is commonly known as debugging and there is no way of avoiding it. In this article, we will give an

2020-11-22T22:35:01+02:00By |Categories: Embedded Systems|Tags: |0 Comments

Install Django and Verify It

Django is a Python framework used to create websites. Installation is easy. The recommended way is to use pip. python -m pip install Django This will install Django and you will see something like this: Django instalation using pip After the installation is complete you can verify it using this code: import django print(django.get_version()) If

2020-11-15T21:15:44+02:00By |Categories: How To|0 Comments

FreeRTOS: LED Blinking And Button Polling

FreeRTOS is one of the most widely used open-source real-time operating systems (RTOS). In this article, we will look at a very simple FreeRTOS program: a push-button will enable/disable the blinking of an LED. The program is developed and tested using the LPCXpresso54102 board with NXP's LPC54102 microcontroller. The program can be easily adapted for

2020-10-20T23:58:11+03:00By |Categories: Embedded Systems|Tags: , |0 Comments

Using Callbacks in Firmware Development

In its classic form, a callback (aka callback function) is a function that is passed as an argument to another function. The function that accepts the callback as an argument is expected to call back on it (execute it) at a certain point in time. The callback mechanism allows a lower-level software layer to call

2020-10-05T09:01:21+03:00By |Categories: Embedded Systems|Tags: , |1 Comment

Bubble Sort Algorithm

Bubble sort is a simple comparison-based sorting algorithm. It is named like that because it sorts elements similar to the water bubble rising to the surface, i.e. after all iterations are completed, either lower or higher values bubble up towards the top index of the given array. By making multiple passes through an array with

2020-08-10T08:26:29+03:00By |Categories: Explained Simply|0 Comments

KiCad – Create Template

KiCad templates are used to create projects with common settings. Templates can contain everything you need for a new project, for example, table and graphic formating, board outlines, schematic elements, etc. You can create a KiCad template with the following easy steps: Create a project with the settings you needAdd a folder named meta in

2020-07-26T19:33:56+03:00By |Categories: How To|0 Comments

Aligned and Unaligned Memory Access

Unaligned memory access is the access of data with a size of N number of bytes from an address that is not evenly divisible by the number of bytes N. If the address is evenly divisible by N, we have aligned memory access. We can express this as Address/N, where Address is the memory address

2020-07-19T16:56:39+03:00By |Categories: Embedded Systems|Tags: , |0 Comments

KiCad Files – Useful Information

In this post, I will try to provide you with useful KiCad files information. In the folder containing a KiCad project, you can find various types of files ranging from libraries, schematics to generated output files. Extension / NameDescription.proThis is the project file and it contains parameters and configurations..sch, .kicad_schSchematic file. (The new format is

2020-07-05T21:27:16+03:00By |Categories: Explained Simply|0 Comments

KiCad – Annotate Schematic Elements

When you create a schematic, you need to annotate it. If you have a few elements, it is easy to do it manually. For larger schematics, it is better to use automatic annotation. KiCad provides this capability using an easy to use interface. Tools menu Select the "Tools" menuClick "Annotate Schematic..."When the window is opened

2020-06-21T16:28:59+03:00By |Categories: How To|0 Comments
Go to Top