MikroElektronika Learn

Embedded Development

Using Non-MikroE boards with MikroC

7 Jul , 2016  

Inexpensive development boards are everywhere. They are a popular birthday gift nowadays and given away as door prizes just about every nerd gathering. What if you have one, but want to use it with your favorite IDE from MikroElektronika? Are you doomed, are you going to have to re-gift that shinny new development board your […]

, ,

Embedded Development

Quantization of Your World, Part 3 – Efficient ADC

28 Jun , 2016  

Great, we have clocking on our ADC that will be compatible with our sampling rate, now all we need to do is turn it on and let the data flow right? Ah, nope. Where are you going to put all this data and how are you going to deal with it all? Good question. When […]

, ,

Embedded Development

Improve Your MikroC Skill – Part 2

15 Jun , 2016  

The first part of the tutorial introduced you to basic and most common operations that can improve basic skills and speed with the mikroC IDE. In this second part of our series, we will go through more specific options and tools that might not be found in other IDEs. These tools which can bring more then speed to your […]

Embedded Development

Quantization of Your World, ADC Conversion Part 2

13 Jun , 2016  

If you took in the Borg representation from part 1, then you now know of the gap that is between the analog world and the digital one. We need to setup our hardware to sample this analog universe and to do this we are going to be using the MicroChip dsPIC33EP512MU810 MCU to do it. […]

, ,

Embedded Development

Improve Your MikroC Skill – Part 1

9 Jun , 2016  

Deep knowledge of a software tool is not a necessity to use it. Tasks can be carried out easily without expertise but deep knowledge means faster and more effective execution of a task. When you are charged with something to do, there are two paths: Easiest – less complexity but slower Complex – faster but more skill required […]

, , , ,

Embedded Development

Quantization of Your World, Part 1

30 May , 2016  

When the Borg from Star Trek assimilated a world it took all of its’ knowledge and technology and incorporated it into its own. In order for them to adapt the new information into the collective they had to quantify the data based on some point of reference. Once the information was quantified, measured and recorded, […]

,

Embedded Development

Lets Talk PID

11 May , 2016  

Ever wonder how your oven keeps the temperature you set perfectly over time?  PID ( Proportional, Integral, Derivative ) controllers can be used to regulate flow, temperature, pressure, level, and many other variables that need to maintain a value over time, with the least amount of error as possible. In this blog we will discuss how […]

, , , , ,

Embedded Development

Multi-Threading Flip n click

26 Apr , 2016  

For those of you who might have not been in attendance at the first Maker’s Faire in Vienna, we are bring the workshop to you. When working with limited resources, the concept of running an operating system is so far from reality that it is never considered. Since we work at the bare metal level, […]

,

Embedded Development

Packed Structures – Make the Memory Feel Safe

13 Apr , 2016  

In our last project I presented the library for BLE P Click board. If you were specially curious, and looked inside the source files, you would see structures with something extra in their declaration: ”  _aci_packed_ “. _aci_packed was actually a macro which was declared as: __attribute__((__packed__)). This command tells the compiler to pack structures. What […]

, , , ,

Embedded Development

Project Development Off to a Good Start

10 Mar , 2016  

Project Development Building Blocks

“Building quality into embedded software doesn’t happen by accident.” Jacob Beningo – March 7th 2016 I like most developers enjoy getting my hands on the keyboard and solving problems. Problem is, whenever I start a new project I end up re-doing some of what I had previously done. Not only is this an incredible waste […]

, ,

Embedded Development

Digital Signal Processing – Quantify the world around you!

8 Mar , 2016  

It’s a high – tech laboratory. The nurse opens the door not with her hands, but her voice, saying “Open door”. The MCU takes a second to register the sound, approves it, and opens the door of the laboratory. The nurse puts her index finger on a measurement board, and on the screen it shows […]

, , , , , , ,

Embedded Development

Benchmarking – How powerful is your MCU?

3 Mar , 2016  

MCU Benchmark

Embedded technology is most commonly used in real-world environments. What this means is that performance in real-time is of much importance. Imagine a pilot steering an airplane, if one of the wings does not respond in exact time, things can go really, really wrong. For an embedded engineer, performance in real-time is maybe the most […]

, , ,

Embedded Development

Library Porting Guide

17 Feb , 2016  

Porting mikroC Code

Sometimes the need arises to re-use existing code in other platforms or other compilers.  To do this you need to “port” existing code to work with the platform you are using.  Most times it becomes what is known as a “cluster-mess” due to the lack of organization when using someone else’s logic.  Often I find […]

, , ,

Embedded Development

Put it on the MCU TODO List

10 Feb , 2016  

MCU Task Scheduler

Embedded systems doesn’t necessarily mean that your small energy-efficient MCU can only perform one task. You do however, need some careful planning to insure that your tasks do not run at the same time. After all, we only have a single cpu to do all the work, so scheduling when those tasks get to the processing […]

, ,

Embedded Development

Coding Standards, it’s the LAW!

3 Feb , 2016  

MikroElektronika FIrmware Coding Standards

The purpose of having coding standards is to provide a guiding format for code development. This facilitates the ease of construction when multiple programmers are developing separate or even shared projects. When mixing styles or standards, maintaining that code and in different coding philosophies becomes difficult. The ultimate goal is to elevate some of the […]

, ,