Recent Posts

February, 2021

  • 20 February

    Analog to Digital Conversion Calculator

    Analog to Digital Conversion Overview Microcontrollers are essentially computers. And like computers, they only understand two numbers: a 1 and a 0. So when a microcontoller needs to read a quantity with varying numbers in a period of time (a.k.a. analog), an analog-to-digital conversion is necessary. An ADC (analog-to-digital) converter …

    Read More »
  • 18 February

    Voltage Divider Calculator

    voltage divider circuit

    Introduction to Voltage Dividers Resistors are in series when the same current flows through them. Consequently, by Ohm’s Law, the total voltage in a circuit of series resistors is the sum of the individual drops on the resistors. Another way of saying this is that each resistor contributes to the …

    Read More »

December, 2020

  • 31 December

    Using Ternary Operator in Arduino

    Nested ternary example circuit

    If your Arduino code involves decision making, then it’s very likely you’re using conditional statements. Using if … else… is common;  switch statements can be used as well. But there is a third way, using ternary operator, that will really make your code shorter. Example Scenario Say we are reading …

    Read More »

June, 2020

May, 2020

January, 2020

December, 2019

  • 31 December

    How to Save and Retrieve a String to Arduino EEPROM

    Arduino EEPROM

    An Arduino’s EEPROM, depending on the type of board, can store up to 4 KB of data. The Arduino UNO, in particular, stores 1024 bytes or 1024 ASCII characters. With that space, how can we store a sentence? Or a paragraph? This is what this article is all about.

    Read More »