Posts

I2C - Real Time Clock (RTC) DS1307 - Write/Read

Image
The following article walks you through a hands on exercise with a microcontroller and a real time clock IC to better understand and appreciate how the I2C Serial Communication Protocol is implemented. 

I2C Serial Protocol

Image
The following article will provide an overview of the I2C serial protocol. Please, take a look to the article “I2C - Real Time Clock (RTC) DS1307 - Write/Read” on my blog to see a practical approach using the Texas Instrument ARM base LaunchPad Evaluation Kit TM4C123G with a Real Time Clock (RTC) (DS1307) to interact with & better understand the I2C interface.  

TI ARM Tiva TM4C123G - 1.3 Interrupts & the Vector Table.

Image
The aim of the following exercises is to:  Explain the concept of Interrupts . Explain the concept of a Vector Table . Provide an example to demonstrate how to t oggles the red LED ON & OFF by triggering an t imeout events interrupt and/or switches SW0 and SW1 from the TM4C123GH6PM.

TI ARM Tiva TM4C123G - 1.2 General Purpose Timer Module (GPTM)

Image
The following exercises will explain timers and how to configure them in the Texas Instrument Tiva TM4C123G LaunchPad for One-Shot or Periodic Mode. They will used to blink an LED at an specific delay time. 

TI ARM Tiva TM4C123G - 1.1 Pull-up resistor for SW

Image
In the following exercises the aim is to demonstrate how to configure the pull-up resistor in the Tiva TM4C123G microcontroller to make use of the SW1 or SW2. The pull-up resistor will enable a change in state every time you press the switch. And with that change you induce the expected behavior. In our cases, turn ON the red LED with a switch (SW1 or SW2).

TI ARM Tiva TM4C123G - 1.0 Register Addresses, Function, Macros & Header Files

Image
The aim of the following exercises is to provide the beginning steps to familiarize with Embedded System programming concepts.  In this particular exercise you will learn how to program the TM4C123G to toggles the red LED ON & OFF by using register addresses . Same code will be modify to include function, macros and/or header files to simply things.

Setting Up your IAR Development Environment Tool

Image
The following documentation is divided in two parts. First part, walk through the process to install IAR Embedded Workbench on your computer. The second part provides the steps to have ready your workbench development environment and start programming with a microcontroller. The ARM based TI Tiva TM4C123GH6PM is the one to be used as an example for this exercise. 

UART programing in the TI ARM Tiva TM4C123G

Image
The following exercise show you how to make use of an UART port from the ARM Cortex-M4-based microcontroller Tiva TM4C123G LaunchPad. The ASIC character “ Yes ” will be send to a terminal emulator program on your PC as an example.

UART Serial Communication

Image
It’s a physical circuit integrated in a microcontroller, or a stand-alone IC, hardware interface that acts as a bridge between a CPU, memory, or microcontroller & a serial communication port. It performs parallel – to – serial data conversion at the transmitter side and serial – to – parallel data conversion at the receiver side.

System Timer (SysTick)

Image
  The System Timer (SysTick) is an integrated 24-bit counter available in all ARM Cortex-M microcontrollers that counts down to zero, useful for time delay and system interrupt application.

AC/DC current measurement using ACS712 sensor and NodeMCU ESP-12E micro-controller.

Image
Getting Started A glimpse of what you will read through this document to get you started on how to measure AC current by using an Allegro ACS712 Current Sensor and the NodeMCU ESP8266 ESP-12F module . Also, how this data could be uploaded to ThingSpeak analytic IoT platform. The Current Sensor This section highlights relevant features that need to be known for this tutorial related to the Allegro ACS712 Hall Effect-Based Linear Current Sensor . Allegro ACS712 Hall Effect-Based Linear Current Sensor Board This section will describe, and highlight the main features of a common Development Board used for IoT projects and compatible with the Arduino IDE platform.  NodeMCU ESP8266 ESP-12F module  All together A step-by-step process to set up your work environment using the ACS712A and NodeMCU ESP-12E module . Programs This part will walk you through a sequence of programs (sketch), starting from a baseline and eventually modifying until reaching a complete code, to