“A” is a new “P”

Amateurism is a new professionalism – in some cases it is better to work like an amateur. In programming, loops take more clock cycles than regular instructions. If possible, try to avoid them when working on critical applications. This goes especially for interrupts. If you have to loop a function only a few times just …

Continue reading

Timers

Coming soon. Subscribe to our mailing list if you would like to be notified 🙂 I promise no spam. 😉

Continue reading

I2C – Inter-Integrated Circuit

I2C is a simple communication for connecting different devices which can have a different power supply. It is based on a master-slave relationship. This means that the master or masters (e.g. Arduino) are giving tasks to slaves (other devices) and demanding reports from them. In contrast to I2C there is a popular CAN protocol where …

Continue reading

PWM read

This is a short continuation of an article about PWM. Here we will upgrade our knowledge and see how microcontrollers read PWM signals. There are some devices such as drone controllers that output a PWM signal which we would like to read. As mentioned in article about PWM, it works based on timers which control …

Continue reading

PWM – Pulse width modulation

This article is actually from and about a robot called small bit 🙂 PWM is widely used in electrotechnics for lights, chargers, motors, generating different signals, etc. which are all present in robots as well. In short, PWM is a way of expressing analog values in the digital world. Fundamentals You have probably wondered how, …

Continue reading