Serial communication interrupt flag in PIC18f4520 and mikroC Pro for PIC – I wrote a code to send and receive data serially in an application that will update a 16-segment display. If a string of characters is received, an interrupt will occur for every character received in the string. I thought of taking a variable and increment it […]
8-bit
Top microcontroller threads on EDAboard.com – September
Question about coding 7-segment, 5-digit driver – I am planning to use 25Hz-50Hz clock signal to feed the CD4017 decade counter which is used for selecting the digits. In the timer interrupt vector, should I update the data on the each digit? Or, how I can do this? When a button is pressed and an interrupt is created, […]
Top 10 microcontroller threads on EDAboard.com – August
WTA 16f628a button trigger code – I am using a PIC 16f628a and testing with a button trigger function. I wrote this code in C but it didn’t work as expected. My code is error-free and I checked the input voltage of button. It has a 5V supply. Desired function is, when button is pressed, only one LED […]
Top 10 microcontroller threads on EDAboard.com – July
STM32, Free RTOS and LwIP – ping issues – I have been trying hard to get my FreeRTOS v7.3.0 system working together with lwIP v1.4.1 and I have sucessfully managed to get connection and DHCP. But when I try to use sockets it only works sometimes. I have been trying almost everything from changing the Heap Size, […]
MCU families with core-independent peripherals
The expanded family of PIC MCUs from Microchip offers Core-Independent Peripherals (CIPs) for use in broad range of applications, due to the growing number of these intelligent, interconnected CIPs that combine to perform functions autonomously, without the core. Because these functions are deterministically and reliability performed in hardware instead of software, CIPs increase system performance over typical 8-bit […]
Engineers start at API level with IoT development platform
Embedded systems development for the Internet of Things (IoT) holds the promise for differentiated and innovative products. Giving the embedded systems designer a head start by providing a ready-made platform from which to begin their work will be key to accelerating new product development. Renesas Electronics now offers their Synergy Platform to do just that. Designed to […]
timer 0 and PIC16F628A
by Jon Wilder The on-chip timer on PICs is confusing to some. But, not to worry…it’s probably one of the simplest on-chip peripherals to use on a PIC. In this article, we’ll use the PIC16F628A as our example of why that’s true. Timer 0 (TMR0) is one of three timers available on the 16F628A that is running […]
Serial EEPROM – A Great Form of Non-Volatile Storage
by Jon Wilder Most PIC microcontrollers have some form of non-volatile EEPROM on chip. However, the largest I’ve seen is 1KB available on the 18F series. There are many applications in which we may need a great deal more than this. The Storage You Don’t Have For instance, what if we have a MIDI device […]
Intel’s MCS-51 Microcontroller Family – It’s Here to Stay
By Jon Wilder As I browse through many embedded electronics forums, I continue to see people making statements referencing Intel’s 8051 line of microcontrollers and how they are “obsolete”. However, nothing could be further from the truth. While Intel ceased production of the MCS-51 family in 2007, there are an abundance of manufacturers still making 8051-compliant microcontrollers […]
IoT from the ground up: MCUs and connectivity building blocks
In the emerging world of the Internet of Things (IoT), the tiny MCU is becoming the mighty MCU. But why and how does a device that has been around for decades figure into the ultra-low-power, connected, and still-unrealized world of the Internet of Things? And why is IoT connectivity any different from the connectivity we […]