How to Interface Button with 8051

Introduction Hi guys in this article we will see how to interface switch with 8051 microcontroller. Whenever the switch is pressed LED glows. Let’s see how to do it. Components Required 8051 Microcontroller – 1 8051 Program Dumper- 1 LED – 1 Push Button – 1 Breadboard – 1 Jumper wires Switch Input/output devices are…

Read More

How to do Arduino Coding for beginners

In Arduino, we can do coding in C and C++ languages. We will discuss how can code in C++ language and some basic predefined functions in Arduino Code structure will be as follow: The above program is an example of led blinking of 1 second. Predefined Functions: Some of the predefined functions are:pinMode(pin,mode);digitalRead(pin);digitalWrite(pin,value);analogRead(pin);analogWrite(pin,value);pulseIn(pin,value);delay(ms); pinMode(pin,mode): Configures…

Read More

How to Interface SPI Communication Using TMS320

Overview communication between the MCU controller and external peripherals or another controller. Typical applications include external I/O or peripheral expansion with devices such as shift registers, display controllers, and analog-to-digital converters (ADCs). Communication between multiple devices is supported in SPI master or slave mode. The port supports 16-level receive and transmits FIFOs to reduce CPU…

Read More

How to Blink an Led Using PIC Microcontroller

In this tutorial we will learn How to Blink an LED with PIC Microcontroller using MPAB XC16 Compiler. Recently Microchip released a series of development tools including MPLAB X IDE and MPAB XC Compilers. MPLAB X IDE is a software that runs on a computer intended to develop applications for Microchip’s Microcontrollers and Digital Signal Controllers. It can be used…

Read More

8051/8052

MICROCONTROLLER     Microprocessors and microcontrollers are widely used in embedded systems products. Microcontroller is a programmable device. A microcontroller has a CPU in addition to a fixed amount of RAM, ROM, I/O ports and a timer embedded all on a single chip. The fixed amount of on-chip ROM, RAM and number of I/O ports in…

Read More

How to use ADC in STM32F103C8T6/STM32F303

A/D Converters (ADC) In this tutorial, I will show you how to use ADC in STM32F303CBT6/STM32F103C8T6 to measure the Input Analog Voltages. Analog to Digital Converters (ADC) translate analog electrical signals for data processing purposes. With products matching performance, power, cost, and size needs, Analog Devices offers the industry’s largest A/D converter portfolio. As the…

Read More

ADC Multiplexer Interface To Arduino

Overview Today, in this tutorial, we are going to interface 74HC4051 Multiplexer/Demultiplexer with Arduino. I will cover the multiplexing part first. Components Required Arduino NANO or Uno (any version) CD74HC4051 Potentiometer Joystick Breadboard Jumper Wires Bill of Materials S.N. COMPONENTS NAME DESCRIPTION QUANTITY 1 Arduino  Uno Arduino  Uno 1 https://www.evelta.com/launchxl-f28379d-c2000-delfino-mcus-f28379d-launchpad-development-kit/   CD74HC4051 Robot Smart Car…

Read More

CAN Communication Between Two TMS320

Overview In this tutorial, I am going to show you how to interface the CAN Bus Controller with a TMS320 and how to communicate between two LAUNCHXL-F28379D via CAN BUS. Components required table S.N. COMPONENTS DESCRIPTION QUANTITY link 1 LAUNCHXL-F28379DSM LAUNCHXL-F28379D 2 LAUNCHXL-F28379D 2 Logic Analyser Logic Analyser 1 Logic Analyser 3 connection wires Jumper…

Read More