UNIT 4 & 5 - I nterfacing_Lecture7.pptxnaveen088888
The document discusses analog sensor interfacing and analog to digital conversion. It explains that physical quantities in the real world are analog while computers use digital values, so an analog to digital converter (ADC) is used to convert analog sensor signals to digital values. It then describes the characteristics of ADCs like resolution, conversion time, reference voltage, and output data format. It provides examples of calculating the step size and digital output for different resolutions and reference voltages. Finally, it discusses different types of sensors, interfacing techniques for sensors, displays, and relays with microcontrollers.
A multiplexer is a digital circuit with multiple inputs and a single output. It selects one of the inputs using select lines and only allows one output at a time. A multiplexer can have 2, 4, 8, or more inputs depending on the number of select lines used. It is commonly used to route data within a computer from multiple sources to a single destination. Decoders are digital circuits that convert binary codes to activate a single output line. Common decoders include 2-to-4, 3-to-8, and 4-to-16 line decoders. Decoders are used whenever a specific combination of input levels needs to activate a single output. CMOS logic uses both n-type and p-type MOS
This document discusses input/output interfaces in microprocessor systems. It begins by introducing I/O interfaces and their purpose of enabling communication between microprocessors and peripheral devices like keyboards, displays and printers. It then describes two common approaches to I/O - isolated I/O which uses separate I/O instructions, and memory-mapped I/O which treats I/O devices as memory locations. The document proceeds to discuss I/O instructions, providing examples for 8088 and 80x86 processors. It also discusses implementing I/O in high-level languages like Pascal, Delphi, C/C++ using inline assembly instructions. Finally, it provides examples of simple I/O circuits and software to interface switches and LED
Summer training project report on embedded system at BSNL ALTTC Ghaziabad. Submitted by RAM AVTAR (ECE Department of IMSEC) of 2016 Batch. Submitted in IMS Engineering College, Gaziabad
Searching for Embedded Systems,VLSI,Matlab, PLC scada Training Institute in Hyderabad-Get the Best Embedded Systems,VLSI,Matlab, PLC scada Training with Real time Projects from Nanocdac. Register now for new batches Call Us-040 -23754144,+91- 9640648777
This document discusses various applications of embedded systems including temperature measurement using thermistors and linear temperature sensors like the LM35. It describes how to interface the LM35 temperature sensor with an 8-bit ADC0809 and microcontroller port for temperature readings. It also discusses controlling a stepper motor and interfacing it to port pins of a microcontroller. Finally, it explains interfacing a 2x16 LCD display and keyboard matrix to a microcontroller for input/output applications.
This document discusses analog to digital conversion and pulse width modulation.
It explains that analog signals from peripherals must be converted to digital signals the microcontroller can understand using an analog to digital converter (ADC). It also describes how pulse width modulation varies the duty cycle of a signal to control motor speed or other analog systems. Common applications like temperature measurement and motor control are provided as examples.
The document discusses number systems and coding schemes. It describes how to convert between decimal, binary, octal, hexadecimal and other number systems. It also discusses various coding schemes like binary coded decimal, excess-3 code, gray code, alphanumeric codes and complements. The key points are:
1) A number system with base 'r' contains 'r' different digits from 0 to r-1. Decimal to other bases conversions involve dividing the integer part by the base and multiplying the fractional part by the base.
2) Coding schemes discussed include binary coded decimal (BCD), excess-3 code, gray code, alphanumeric codes like EBCDIC.
3) Complements like 1's complement
UNIT 4 & 5 - I nterfacing_Lecture7.pptxnaveen088888
The document discusses analog sensor interfacing and analog to digital conversion. It explains that physical quantities in the real world are analog while computers use digital values, so an analog to digital converter (ADC) is used to convert analog sensor signals to digital values. It then describes the characteristics of ADCs like resolution, conversion time, reference voltage, and output data format. It provides examples of calculating the step size and digital output for different resolutions and reference voltages. Finally, it discusses different types of sensors, interfacing techniques for sensors, displays, and relays with microcontrollers.
A multiplexer is a digital circuit with multiple inputs and a single output. It selects one of the inputs using select lines and only allows one output at a time. A multiplexer can have 2, 4, 8, or more inputs depending on the number of select lines used. It is commonly used to route data within a computer from multiple sources to a single destination. Decoders are digital circuits that convert binary codes to activate a single output line. Common decoders include 2-to-4, 3-to-8, and 4-to-16 line decoders. Decoders are used whenever a specific combination of input levels needs to activate a single output. CMOS logic uses both n-type and p-type MOS
This document discusses input/output interfaces in microprocessor systems. It begins by introducing I/O interfaces and their purpose of enabling communication between microprocessors and peripheral devices like keyboards, displays and printers. It then describes two common approaches to I/O - isolated I/O which uses separate I/O instructions, and memory-mapped I/O which treats I/O devices as memory locations. The document proceeds to discuss I/O instructions, providing examples for 8088 and 80x86 processors. It also discusses implementing I/O in high-level languages like Pascal, Delphi, C/C++ using inline assembly instructions. Finally, it provides examples of simple I/O circuits and software to interface switches and LED
Summer training project report on embedded system at BSNL ALTTC Ghaziabad. Submitted by RAM AVTAR (ECE Department of IMSEC) of 2016 Batch. Submitted in IMS Engineering College, Gaziabad
Searching for Embedded Systems,VLSI,Matlab, PLC scada Training Institute in Hyderabad-Get the Best Embedded Systems,VLSI,Matlab, PLC scada Training with Real time Projects from Nanocdac. Register now for new batches Call Us-040 -23754144,+91- 9640648777
This document discusses various applications of embedded systems including temperature measurement using thermistors and linear temperature sensors like the LM35. It describes how to interface the LM35 temperature sensor with an 8-bit ADC0809 and microcontroller port for temperature readings. It also discusses controlling a stepper motor and interfacing it to port pins of a microcontroller. Finally, it explains interfacing a 2x16 LCD display and keyboard matrix to a microcontroller for input/output applications.
This document discusses analog to digital conversion and pulse width modulation.
It explains that analog signals from peripherals must be converted to digital signals the microcontroller can understand using an analog to digital converter (ADC). It also describes how pulse width modulation varies the duty cycle of a signal to control motor speed or other analog systems. Common applications like temperature measurement and motor control are provided as examples.
The document discusses number systems and coding schemes. It describes how to convert between decimal, binary, octal, hexadecimal and other number systems. It also discusses various coding schemes like binary coded decimal, excess-3 code, gray code, alphanumeric codes and complements. The key points are:
1) A number system with base 'r' contains 'r' different digits from 0 to r-1. Decimal to other bases conversions involve dividing the integer part by the base and multiplying the fractional part by the base.
2) Coding schemes discussed include binary coded decimal (BCD), excess-3 code, gray code, alphanumeric codes like EBCDIC.
3) Complements like 1's complement
This document describes the design and implementation of a basic calculator using an LCD display module with an FPGA. It includes objectives to write Verilog code for the calculator logic and driving the LCD display. The design is a simple four-function calculator that takes two single-digit inputs and an operation and displays the result. The document outlines the state machine design and functions for converting values to ASCII format for the LCD. It provides details on interfacing with and controlling the LCD module through its control lines and registers. The implementation in Verilog is described including the top module ports and behavioral simulation steps to test the design functionality.
The 8085 microprocessor is an 8-bit processor with 40 pins. It has multiplexed address and data lines and works on a 5V power supply. It provides 74 instructions with 5 addressing modes and can access 64KB of memory space. Some important pins include the address lines, data lines, read, write, interrupt, and I/O pins. It has arithmetic logic and register groups to perform operations on data stored in registers or memory. Common instructions include MOV, MVI, ADD, SUB, and others to transfer and manipulate data.
The document describes the ADC0808 analog to digital converter chip. It has an 8-channel multiplexer that selects which analog input signal to convert to digital. The conversion process takes 64 clock cycles to complete. The chip outputs the digital conversion result on 8 pins and has control signal pins for start, clock, output enable and end of conversion notification. It converts analog voltages to 8-bit digital numbers for use by digital devices like microprocessors.
This document contains a presentation on microprocessors and assembly language programming. It includes sections on what a microcomputer is, the microprocessor architecture including the ALU and control unit, programming models and registers, examples of data in registers, the flags register and how instructions affect flags. It also includes two assembly language programs, one to check if an input is a digit, capital letter or small letter, and another to check if a number is even or odd.
Training Report on embedded Systems and RoboticsNIT Raipur
Deepak Kumar completed a training report on embedded systems and robotics at I3indya Technologies in Delhi for his vocational project in the 2012-2013 academic year. He studied topics including an overview of embedded systems, microcontrollers like the Atmega16, analog to digital conversion, timers, interfacing various components like 7-segment displays, LCDs, DC motors, sensors, and more. The 3-page report was submitted to his college, the National Institute of Technology Raipur, to fulfill requirements for his Bachelor of Technology degree.
This document provides information about a wireless serial communication RF modem module that operates at 2.4 GHz with a range of 30 meters. It can transmit and receive data at multiple baud rates and supports half-duplex communication. The module has features such as multiple channel selection, operation in the unlicensed 2.4 GHz band, and a standard UART interface. Example applications and specifications are also provided, along with code samples for interfacing the module with an 8051 microcontroller and a PC.
This document provides information about a wireless serial communication RF modem module that operates at 2.4 GHz with a range of 30 meters. It can transmit and receive data at multiple baud rates and supports half-duplex communication. The module has features such as multiple channel selection, compatibility with the unlicensed 2.4 GHz ISM band, and plug-and-play operation. Specifications, pinouts, operating instructions, and code examples for interfacing the module with an 8051 microcontroller and PC are also included.
The document provides information about the 8085 microprocessor. Some key points:
- The 8085 is an 8-bit microprocessor with 40 pins, 5V power supply, and clock frequency of 3MHz maximum.
- It has 8 data lines, 16 address lines allowing access to 64KB memory, and 8 I/O lines for accessing 256 ports.
- It features an accumulator, flag register, 6 general purpose registers, 2 special purpose registers (SP, PC), and supports 5 interrupts.
- The pins include data, address, control signal, and interrupt pins for interfacing with memory and I/O devices.
This document describes the design of a digital voltmeter using an 8051 microcontroller and ADC0804 analog-to-digital converter. It includes the circuit diagram and explanations of the main components. The 8051 microcontroller reads the analog input voltage, converts it to a digital value using the successive approximation ADC0804, and displays the reading on an LCD screen. The document provides details on interfacing the ADC0804 and LCD, as well as the pin descriptions and timing diagrams for programming and operation. It aims to explain how to build a digital voltmeter circuit using low-cost microcontroller and ADC components.
The document discusses analog to digital conversion. It explains that analog signals are continuous while digital signals are discrete in both time and amplitude. It describes how analog signals are converted to digital using sample and hold circuits, quantization, and encoding. The conversion process filters the analog signal, takes samples at regular time intervals, rounds samples to the nearest digital value, and encodes samples into binary format. The document also provides examples of analog to digital converters and discusses considerations like resolution, dynamic range, and signal conditioning.
DIGITAL VOLTMETER USING 8051 MICROCONTROLLERChirag Lakhani
This document describes the design of a digital voltmeter using an 8051 microcontroller. It includes the following key points:
- An analog to digital converter (ADC0804) is used to convert an analog input voltage to a digital signal that can be read by the microcontroller.
- The 8051 microcontroller then processes the digital signal from the ADC and displays the voltage reading on a liquid crystal display (LCD).
- The circuit diagram shows how the ADC, microcontroller, and LCD are interconnected. Key components include ports for input/output, a crystal oscillator, and voltage regulators.
- The document provides details on the pin configurations and functions of the 8051 microcontroller and ADC0804
Hobby example; a microcontroller pushed to it's limits; metal lathe spindle sensor for position (accurate to 10 arc-minutes), RPM, #turns, elapsed time.
The document discusses interfacing various peripherals to an 8086 microprocessor using an 8255 PPI chip. It describes the different modes of operation of the 8255 and provides examples of interfacing a keyboard, displays, stepper motor, DAC, and ADC. Circuit diagrams and programming examples are given for displaying numbers on a 7-segment display, generating waveforms using a DAC, and sampling an analog input with an ADC. Interfacing of peripherals like stepper motors, keyboards and displays allows microprocessors to interact with the external world.
The presentation is about USART and serial communicationsinaankhalil
This document provides an overview of serial communication and the Universal Asynchronous Receiver-Transmitter (USART) used in PIC18 microcontrollers. It discusses serial versus parallel data transmission, asynchronous and synchronous serial communication, the USART registers used for serial communication in PIC18, and examples of programming the USART for transmission and reception. The USART allows serial communication by converting parallel data from the microcontroller to serial bits for transmission over a single line and vice versa.
Universal synchronous asynchronous receiver transmitter(usart) and AtoD CoverterTejas Shetye
The document discusses the Universal Synchronous Asynchronous Receiver Transmitter (USART) and Analog-to-Digital Converter (ADC) components in PIC microcontrollers. It describes how USART can be configured for synchronous or asynchronous communication and the functions of its TXSTA and RCSTA registers. It also explains the steps for ADC conversion, including configuring the ADC module, selecting the input channel, starting conversion, and reading the result registers.
1. The document discusses various peripherals like DAC, ADC and displays and how they are interfaced with microprocessors. It explains the basic concepts of D/A and A/D conversion like resolution, reference voltage, settling time etc.
2. It also describes different interfacing techniques like memory mapped I/O, interrupt driven I/O and DMA. Examples of interfacing DAC and 7-segment displays with 8085 microprocessor are also provided.
3. Various display technologies like 7-segment, dot matrix displays that are used as output devices are explained along with their working principles.
The document provides information about interfacing various sensors and devices with an Arduino board, including LEDs, LCD displays, temperature sensors, strain gauges, and LVDT sensors. It explains how to connect and write code for each device. The key concepts covered are LED and LCD interfacing, serial communication using Arduino, the ADC in the ATmega328 microcontroller, and temperature, strain gauge, and LVDT sensor operation and interfacing.
Encoders convert input information like keyboard entries or switch states into binary codes for processing by digital systems. Decoders then convert the binary codes back into a format for output devices. Common examples include ASCII encoding text and BCD encoding decimals. Encoders have mutually exclusive inputs and output priority encoded binary codes. Decoders convert binary codes into at most one active output at a time.
This document describes the design and implementation of a basic calculator using an LCD display module with an FPGA. It includes objectives to write Verilog code for the calculator logic and driving the LCD display. The design is a simple four-function calculator that takes two single-digit inputs and an operation and displays the result. The document outlines the state machine design and functions for converting values to ASCII format for the LCD. It provides details on interfacing with and controlling the LCD module through its control lines and registers. The implementation in Verilog is described including the top module ports and behavioral simulation steps to test the design functionality.
The 8085 microprocessor is an 8-bit processor with 40 pins. It has multiplexed address and data lines and works on a 5V power supply. It provides 74 instructions with 5 addressing modes and can access 64KB of memory space. Some important pins include the address lines, data lines, read, write, interrupt, and I/O pins. It has arithmetic logic and register groups to perform operations on data stored in registers or memory. Common instructions include MOV, MVI, ADD, SUB, and others to transfer and manipulate data.
The document describes the ADC0808 analog to digital converter chip. It has an 8-channel multiplexer that selects which analog input signal to convert to digital. The conversion process takes 64 clock cycles to complete. The chip outputs the digital conversion result on 8 pins and has control signal pins for start, clock, output enable and end of conversion notification. It converts analog voltages to 8-bit digital numbers for use by digital devices like microprocessors.
This document contains a presentation on microprocessors and assembly language programming. It includes sections on what a microcomputer is, the microprocessor architecture including the ALU and control unit, programming models and registers, examples of data in registers, the flags register and how instructions affect flags. It also includes two assembly language programs, one to check if an input is a digit, capital letter or small letter, and another to check if a number is even or odd.
Training Report on embedded Systems and RoboticsNIT Raipur
Deepak Kumar completed a training report on embedded systems and robotics at I3indya Technologies in Delhi for his vocational project in the 2012-2013 academic year. He studied topics including an overview of embedded systems, microcontrollers like the Atmega16, analog to digital conversion, timers, interfacing various components like 7-segment displays, LCDs, DC motors, sensors, and more. The 3-page report was submitted to his college, the National Institute of Technology Raipur, to fulfill requirements for his Bachelor of Technology degree.
This document provides information about a wireless serial communication RF modem module that operates at 2.4 GHz with a range of 30 meters. It can transmit and receive data at multiple baud rates and supports half-duplex communication. The module has features such as multiple channel selection, operation in the unlicensed 2.4 GHz band, and a standard UART interface. Example applications and specifications are also provided, along with code samples for interfacing the module with an 8051 microcontroller and a PC.
This document provides information about a wireless serial communication RF modem module that operates at 2.4 GHz with a range of 30 meters. It can transmit and receive data at multiple baud rates and supports half-duplex communication. The module has features such as multiple channel selection, compatibility with the unlicensed 2.4 GHz ISM band, and plug-and-play operation. Specifications, pinouts, operating instructions, and code examples for interfacing the module with an 8051 microcontroller and PC are also included.
The document provides information about the 8085 microprocessor. Some key points:
- The 8085 is an 8-bit microprocessor with 40 pins, 5V power supply, and clock frequency of 3MHz maximum.
- It has 8 data lines, 16 address lines allowing access to 64KB memory, and 8 I/O lines for accessing 256 ports.
- It features an accumulator, flag register, 6 general purpose registers, 2 special purpose registers (SP, PC), and supports 5 interrupts.
- The pins include data, address, control signal, and interrupt pins for interfacing with memory and I/O devices.
This document describes the design of a digital voltmeter using an 8051 microcontroller and ADC0804 analog-to-digital converter. It includes the circuit diagram and explanations of the main components. The 8051 microcontroller reads the analog input voltage, converts it to a digital value using the successive approximation ADC0804, and displays the reading on an LCD screen. The document provides details on interfacing the ADC0804 and LCD, as well as the pin descriptions and timing diagrams for programming and operation. It aims to explain how to build a digital voltmeter circuit using low-cost microcontroller and ADC components.
The document discusses analog to digital conversion. It explains that analog signals are continuous while digital signals are discrete in both time and amplitude. It describes how analog signals are converted to digital using sample and hold circuits, quantization, and encoding. The conversion process filters the analog signal, takes samples at regular time intervals, rounds samples to the nearest digital value, and encodes samples into binary format. The document also provides examples of analog to digital converters and discusses considerations like resolution, dynamic range, and signal conditioning.
DIGITAL VOLTMETER USING 8051 MICROCONTROLLERChirag Lakhani
This document describes the design of a digital voltmeter using an 8051 microcontroller. It includes the following key points:
- An analog to digital converter (ADC0804) is used to convert an analog input voltage to a digital signal that can be read by the microcontroller.
- The 8051 microcontroller then processes the digital signal from the ADC and displays the voltage reading on a liquid crystal display (LCD).
- The circuit diagram shows how the ADC, microcontroller, and LCD are interconnected. Key components include ports for input/output, a crystal oscillator, and voltage regulators.
- The document provides details on the pin configurations and functions of the 8051 microcontroller and ADC0804
Hobby example; a microcontroller pushed to it's limits; metal lathe spindle sensor for position (accurate to 10 arc-minutes), RPM, #turns, elapsed time.
The document discusses interfacing various peripherals to an 8086 microprocessor using an 8255 PPI chip. It describes the different modes of operation of the 8255 and provides examples of interfacing a keyboard, displays, stepper motor, DAC, and ADC. Circuit diagrams and programming examples are given for displaying numbers on a 7-segment display, generating waveforms using a DAC, and sampling an analog input with an ADC. Interfacing of peripherals like stepper motors, keyboards and displays allows microprocessors to interact with the external world.
The presentation is about USART and serial communicationsinaankhalil
This document provides an overview of serial communication and the Universal Asynchronous Receiver-Transmitter (USART) used in PIC18 microcontrollers. It discusses serial versus parallel data transmission, asynchronous and synchronous serial communication, the USART registers used for serial communication in PIC18, and examples of programming the USART for transmission and reception. The USART allows serial communication by converting parallel data from the microcontroller to serial bits for transmission over a single line and vice versa.
Universal synchronous asynchronous receiver transmitter(usart) and AtoD CoverterTejas Shetye
The document discusses the Universal Synchronous Asynchronous Receiver Transmitter (USART) and Analog-to-Digital Converter (ADC) components in PIC microcontrollers. It describes how USART can be configured for synchronous or asynchronous communication and the functions of its TXSTA and RCSTA registers. It also explains the steps for ADC conversion, including configuring the ADC module, selecting the input channel, starting conversion, and reading the result registers.
1. The document discusses various peripherals like DAC, ADC and displays and how they are interfaced with microprocessors. It explains the basic concepts of D/A and A/D conversion like resolution, reference voltage, settling time etc.
2. It also describes different interfacing techniques like memory mapped I/O, interrupt driven I/O and DMA. Examples of interfacing DAC and 7-segment displays with 8085 microprocessor are also provided.
3. Various display technologies like 7-segment, dot matrix displays that are used as output devices are explained along with their working principles.
The document provides information about interfacing various sensors and devices with an Arduino board, including LEDs, LCD displays, temperature sensors, strain gauges, and LVDT sensors. It explains how to connect and write code for each device. The key concepts covered are LED and LCD interfacing, serial communication using Arduino, the ADC in the ATmega328 microcontroller, and temperature, strain gauge, and LVDT sensor operation and interfacing.
Encoders convert input information like keyboard entries or switch states into binary codes for processing by digital systems. Decoders then convert the binary codes back into a format for output devices. Common examples include ASCII encoding text and BCD encoding decimals. Encoders have mutually exclusive inputs and output priority encoded binary codes. Decoders convert binary codes into at most one active output at a time.
Similar to Basic of Firmware & Embedded Software Programming in C (20)
Automotive CAN Protocol | Flow Control | Block Size | ST Min | First FrameKapil Thakar
This document discusses flow control for CAN-TP and UDS protocols. It explains that flow control frames use PCI bytes to specify the count of frames (block size, BS) that may be sent before waiting for the next flow control frame and the minimum delay time between frames (separation time, ST MIN). An example shows a block size of 4 frames with a minimum separation time of 2 milliseconds between frames.
This document summarizes the CAN transport layer frame format for the Unified Diagnostic Services (UDS) protocol. It explains that UDS frames begin with a header containing a service identifier (SID) and length, followed by a data portion containing parameters linked to the diagnostic identifier (DID). The document provides examples of single frame requests and responses, as well as multi-frame transmissions where data is split across multiple frames. It concludes by inviting questions about CAN transport protocol and UDS.
Charging and Fueling Infrastructure Grant: Round 2 by Brandt HertensteinForth
Brandt Hertenstein, Program Manager of the Electrification Coalition gave this presentation at the Forth and Electrification Coalition CFI Grant Program - Overview and Technical Assistance webinar on June 12, 2024.
Charging Fueling & Infrastructure (CFI) Program by Kevin MillerForth
Kevin Miller, Senior Advisor, Business Models of the Joint Office of Energy and Transportation gave this presentation at the Forth and Electrification Coalition CFI Grant Program - Overview and Technical Assistance webinar on June 12, 2024.
Understanding Catalytic Converter Theft:
What is a Catalytic Converter?: Learn about the function of catalytic converters in vehicles and why they are targeted by thieves.
Why are They Stolen?: Discover the valuable metals inside catalytic converters (such as platinum, palladium, and rhodium) that make them attractive to criminals.
Steps to Prevent Catalytic Converter Theft:
Parking Strategies: Tips on where and how to park your vehicle to reduce the risk of theft, such as parking in well-lit areas or secure garages.
Protective Devices: Overview of various anti-theft devices available, including catalytic converter locks, shields, and alarms.
Etching and Marking: The benefits of etching your vehicle’s VIN on the catalytic converter or using a catalytic converter marking kit to make it traceable and less appealing to thieves.
Surveillance and Monitoring: Recommendations for using security cameras and motion-sensor lights to deter thieves.
Statistics and Insights:
Theft Rates by Borough: Analysis of data to determine which borough in NYC experiences the highest rate of catalytic converter thefts.
Recent Trends: Current trends and patterns in catalytic converter thefts to help you stay aware of emerging hotspots and tactics used by thieves.
Benefits of This Presentation:
Awareness: Increase your awareness about catalytic converter theft and its impact on vehicle owners.
Practical Tips: Gain actionable insights and tips to effectively prevent catalytic converter theft.
Local Insights: Understand the specific risks in different NYC boroughs, helping you take targeted preventive measures.
This presentation aims to equip you with the knowledge and tools needed to protect your vehicle from catalytic converter theft, ensuring you are prepared and proactive in safeguarding your property.
Welcome to ASP Cranes, your trusted partner for crane solutions in Raipur, Chhattisgarh! With years of experience and a commitment to excellence, we offer a comprehensive range of crane services tailored to meet your lifting and material handling needs.
At ASP Cranes, we understand the importance of reliable and efficient crane operations in various industries, from construction and manufacturing to logistics and infrastructure development. That's why we strive to deliver top-notch solutions that enhance productivity, safety, and cost-effectiveness for our clients.
Our services include:
Crane Rental: Whether you need a crawler crane for heavy lifting or a hydraulic crane for versatile operations, we have a diverse fleet of well-maintained cranes available for rent. Our rental options are flexible and can be customized to suit your project requirements.
Crane Sales: Looking to invest in a crane for your business? We offer a wide selection of new and used cranes from leading manufacturers, ensuring you find the perfect equipment to match your needs and budget.
Crane Maintenance and Repair: To ensure optimal performance and safety, regular maintenance and timely repairs are essential for cranes. Our team of skilled technicians provides comprehensive maintenance and repair services to keep your equipment running smoothly and minimize downtime.
Crane Operator Training: Proper training is crucial for safe and efficient crane operation. We offer specialized training programs conducted by certified instructors to equip operators with the skills and knowledge they need to handle cranes effectively.
Custom Solutions: We understand that every project is unique, which is why we offer custom crane solutions tailored to your specific requirements. Whether you need modifications, attachments, or specialized equipment, we can design and implement solutions that meet your needs.
At ASP Cranes, customer satisfaction is our top priority. We are dedicated to delivering reliable, cost-effective, and innovative crane solutions that exceed expectations. Contact us today to learn more about our services and how we can support your project in Raipur, Chhattisgarh, and beyond. Let ASP Cranes be your trusted partner for all your crane needs!
Implementing ELDs or Electronic Logging Devices is slowly but surely becoming the norm in fleet management. Why? Well, integrating ELDs and associated connected vehicle solutions like fleet tracking devices lets businesses and their in-house fleet managers reap several benefits. Check out the post below to learn more.
Expanding Access to Affordable At-Home EV Charging by Vanessa WarheitForth
Vanessa Warheit, Co-Founder of EV Charging for All, gave this presentation at the Forth Addressing The Challenges of Charging at Multi-Family Housing webinar on June 11, 2024.
Charging Fueling & Infrastructure (CFI) Program Resources by Cat PleinForth
Cat Plein, Development & Communications Director of Forth, gave this presentation at the Forth and Electrification Coalition CFI Grant Program - Overview and Technical Assistance webinar on June 12, 2024.
EV Charging at MFH Properties by Whitaker JamiesonForth
Whitaker Jamieson, Senior Specialist at Forth, gave this presentation at the Forth Addressing The Challenges of Charging at Multi-Family Housing webinar on June 11, 2024.
3. Agenda
• What is Generic Drivers
• Digital Input and Output Ports
• Keys
• Key Matrix
• LEDs
• LED Matrix
• PWM Outputs
• Displays
• Seven Segments Displays
• Alphanumeric LCDs
• EEPROM Interface
• RS232 vs RS485
4. Key Input
• We can use the microcontroller, GPIO to detect the key input signal. We need to
configured the microcontroller pin/port as input port. Here in above example
microcontroller pin (port 7 bit 0) P70 is used to capture the input. Consider when
switch is not pressed (OFF), the value at microcontroller pin will be HIGH (1) and
when switch is pressed (ON), the value at microcontroller will be LOW (0). The
program should be written to monitor the status of pin 0 (Port 7) to detect the
switch position (OFF/ON)
5. Key Debouncing Delay
• Generally bouncing and debouncing delay is
required to avoid wrong key detection in case of
momentary spike because of noise.
• This delay can be of 5ms to 10ms, which can be
implemented using timers.
6. 4x4 Matrix Keypad
• To increase the number of key connection,
keys can be connected in matrix. We will be able
to connect 16 keys using 4x4 matrix on one
microcontroller port (8 pins). Let's consider we
port 0 for key connection. First 4 pins from left
(X1, X2, X3, X4) are considered as row and rest 4
(Y1, Y2, Y3, Y4) are columns.
• We need to make rows pins (X1, X2, X3, X4) as
output pins and columns pins as input pints (Y1,
Y2, Y3, Y4). To make the pins as output, we load
the value LOW (0) to the pins. To configure pins as
input we make the pin HIGH(1). For example, if
key 1 is pressed then Y1 should goes LOW (0), as
X1 is low. X1 value is transferred to Y1. Similarly, it
will be applied for the rest of the keys as well.
7. 4x4 Matrix Keypad
• To configure X1, X2, X3, X4 as output, we
configured pins as LOW (0).
• To detect the switch position (pressed/released),
We need to make the Y1, Y2, Y3 and Y4 as high or
1.
• Otherwise, we will not be able to detect the
changes, of switch position (pressed/released)
• PORTX = 0xF0;
8. 4x4 Matrix Keypad
• Key2 Pressed: As key2 comes in X1 line make the X1 as LOW (0)
• X1 = 0; X2 = 1; X2 = 1; X4 = 1;
• Now if Y2 == 0 then considered that key2 is being pressed.
• Here _delay_ms(100) is deboucing delay to confirm the key pressed.
• X1 is for key1, key2, key3, key4 (scan from Y1, Y2, Y3, Y4 to detect key
pressed)
• X2 is for key5, key6, key7, key8(scan from Y1, Y2, Y3, Y4 to detect key
pressed)
• X3 is for key9, key10, key11, key12(scan from Y1, Y2, Y3, Y4 to detect key
pressed)
• X4 is for key13, key14, key15, key16(scan from Y1, Y2, Y3, Y4 to detect
key pressed)
9. PWM Output
PWM : Pulse Width Modulation
PWM is based on duty cycle variation which will
control the on & off time. It is being used for
multiple application.
Duty cycle = ON Time / Total Time
Example:
Total Time : 100ms
ON Time : 23ms
Duty Cycle : 23%
Duty cycle can be controlled based on timer
implementation to make the pin HIGH (1) and LOW
(0).
In most cases based on the certain Input signal
values, duty cycle will be decided.
10. LED Matrix
Depending on Interfacing type, HIGH or LOW will be sent on the port pin to make
the LED Glow.
/* To blink */
P0_0 = 1; /* Turn ON */
Delay_ms(100);
P0_0 = 0; /* Turn OFF */
Delay_ms(100);
11. LED Matrix
• Just like key Matrix we have LED matrix to
increase the number of connected LEDs. The
similary apporoach is being used here for LED
Matrix as well.
• To turn the specific LED ON, We need to set the
corresponding row pin to HIGH (1) and the column
pin to LOW (0)
13. LED Matrix
• void led_ON(int row, int col)
{
digitalWrite(pins_rows[row], HIGH);
digitalWrite(pins_cols[col], LOW);
}
void led_OFF(int row, int col)
{
digitalWrite(pins_rows[row], LOW);
digitalWrite(pins_cols[col], LOW);
}
14. ADC (Analog to Digital Convertors)
We always use analog to digital convertor to
measure the different parameters like
temperature, sound, pressure, light, voltage,
current etc. We will be able to store the recorded
values in controller or in memory as needed. We
need sensor which will gives us the analog values
corrosponding to the parameter which we are
going to measure. The output of sensor may be
linear or nonlinear depending on the type of
sensor. In case of linear output, it will be easy to
implement, process & map the values. However,
in case of nonlinear we may need to use table
which will be generally given in datasheet.
15. ADC (Analog to Digital Convertors)
• Analog to Digital Converter, commonly known as (ADC) is an electronic integrated circuit which is used to
convert the analog signals to digital form consisting of 1s/0s.Most of the ADCs take a voltage input as 0 to 5V,
etc. correspondingly ADC will produce digital output depending on the resolution of the ADC.
ADC can be based on I2C or SPI protocol, which is now commonly used across different industries.
• Serial ADC (SPI or I2C based ADC)
• Parallel ADC
23. Alphanumeric
LCDs (16x2)
• The 16x2 Alphanumeric LCD means, I can show
up-to 2 lines of 16 characters. Each LCD character
contains the 5x8 pixel grid. The most LCD will have
two registers.
• Command Register (Required to send the
different
commands/instruction/operations)
• Data Register (Required to send data
to display on LCD)
• The LCD have the different required commands to
provide the display functionality.
Examples:
• Clear Display, shift display right, shift display left,
force cursor position at beginning of line1/line2
• Shift entire display right, Shift entire display left
24. Alphanumeric LCDs
(16x2)
• Address range of each lines:
• Line 1: 0x80
• Line 2: 0xC0
• The value of data register will be displayed on LCD. To display the value on LCD, we need to load
the ASCII value of characters in data register.
25. Alphanumeric
LCDs (16x2)
• Data Bus:
• Data bus contains the data lines from D0-D7. In 8-bit data bus mode, we can send the
data/command to LCD in bytes. Most LCD supports 4-bit mode where we can send the
data/command in chunks of 4-bit, which is used when we have limited available GPIO
lines on the microcontroller.
Register Select(RS): As we know LCD has two register namely
• Data register : To display data on the LCD, we should
write to the data register.
• To select between the command or the data register, the RS signal is used. If we make
the RS pin HIGH & feed input to the data lines (DB0 to DB7), this input will be interpreted
as the data that is to be displayed on the LCD screen.
• If the RS signal is HIGH, then the LCD interprets the 8-bit info (DB0 to DB7) as data and
copies it to data register. After that the LCD decodes the data for generating the 5x7
pattern and finally displays on the LCD.
• Command register : To send the different command to LCD, we should write
to command register.
• If we make the RS pin LOW and feed input to the data lines (DB0 to DB7), then this
will be interpreted as a command.
• If the RS signal is LOW, then the LCD interprets the 8-bit info (DB0 to DB7)
as Command and writes it Command register and performs the action as per the
command.
26. Alphanumeric
LCDs (16x2)
R/W (bar): Read / Write (bar)
• It is used switch between read & write operation mode.
• R/W (bar) = LOW (0), Indicates Write Mode
• R/W (bar) = HIGH (1), Indicates Read Mode
• This signal is used to write the data/command to LCD & reads
the busy flag of LCD. For write operation the RW should
be LOW and for read operation the R/W should be HIGH.
EN: Enable
• The Enable signal is used to latch the data (that is to place the
data on the data bus from D0 – D7 and wait for a clock or pulse to
send it), and when high to low pulse is sent into the E pin of LCD
the data is displayed on the LCD.
• A HIGH-to-LOW pulse is required be sent on enable pin, which
will latch the info into the LCD register. This will trigger the LCD to
act accordingly.
31. Alphanumeric
LCDs
Sequence:
• Send the command on data lines (DB0 to DB7)
• Select the command register using RS (RS = LOW)
• Select the write operation using R/W (bar), (RW = LOW)
• Send High to Low pulse on Enabler (EN) pin with delay
32. Alphanumeric
LCDs
Sequence:
• Send the ASCII data (Characters) required to displayed on-data lines
(DB0 to DB7)
• Select the data register using RS (RS = HIGH)
• Select the write operation using R/W (bar), (RW = LOW)
• Send High to Low pulse on Enabler (EN) pin with delay
37. Seven Segment
Displays
Digit gfedcba abcdefg a b c d e f g
0 0×3F 0×7E on on on on on on off
1 0×06 0×30 off on on off off off off
2 0×5B 0×6D on on off on on off on
3 0×4F 0×79 on on on on off off on
4 0×66 0×33 off on on off off on on
5 0×6D 0×5B on off on on off on on
6 0×7D 0×5F on off on on on on on
7 0×07 0×70 on on on off off off off
8 0×7F 0×7F on on on on on on on
9 0×6F 0×7B on on on on off on on
A 0×77 0×77 on on on off on on on
B 0×7C 0×1F off off on on on on on
C 0×39 0×4E on off off on on on off
D 0×5E 0×3D off on on on on off on
E 0×79 0×4F on off off on on on on
F 0×71 0×47 on off off off on on on
40. Interfacing
Memory
• START CONDITION: A high-to-low transition of SDA with SCL high is a
start condition which must precede any other command (refer to Start
and Stop Definition timing diagram).
• STOP CONDITION: A low-to-high transition of SDA with SCL high is a
stop condition. After a read sequence, the stop command will place the
EEPROM in a standby power mode (refer to Start and Stop Definition
timing diagram)
46. RS232 Vs RS485
Description RS-232 RS-485
Transfer type Full duplex
Half duplex (2 wires),
full duplex (4 wires)
Maximum distance 15 meters at 9600 bps 1200 meters at 9600 bps
Contacts in use
TxD, RxD, RTS, CTS, DTR,
DSR, DCD, GND*
DataA, DataB, GND
Topology Point-to-Point Multi-point
Max. Number of connected
devices
1
32 (with repeaters larger, usually
up to 256)
Voltage Range
3V to 25V (Logic 0)
-3V to -25V (Logic 1)
200mV (Logic 0)
-200mV (Logic 1)