Bluetooth is a wireless personal area network(WAN). BLE acronym for Bluetooth Low Energy. One of the most popular short-range wireless communication standards. Known as IEEE 802.15.1, it is now maintained by SIG (Special Interest Group). this is everywhere. How many this devices are there in the room? Cellphones, wireless mouse/keyboard, smart watch/bracelet, earphone, ibeacon.
Archives
Embedded Protocol – HTTP
FAQ
- http is tcp or udp?
- http only works TCP
Embedded Protocol – WiFi
WiFi, short for “Wireless Fidelity,” is a technology that allows devices to connect to the internet or communicate with each other wirelessly using radio waves. It’s widely used in homes, businesses, and public spaces to provide internet access without the need for physical wired connections. WiFi operates within the unlicensed radio frequency bands, typically 2.4 GHz and 5 GHz, and it’s governed by the IEEE 802.11 family of standards. These standards define different WiFi versions, such as 802.11n, 802.11ac, and the latest, 802.11ax (Wi-Fi 6), each offering various speeds, range, and features. WiFi routers and access points transmit signals that devices like smartphones, laptops, tablets, and smart home gadgets can receive, enabling them to access the internet or network resources.
Embedded Sensor – Passive Infrared Sensor (PIR)
- PIR – Passive InfraRed Sensor
- PIR consists of a Pyroelectric sensor which generates energy when exposed to heat.
- The module covered with Fresnel Lense Cover.
- BISS0001 micro Power PIR Motion Detector IC.
Infrared Application
- Passive Infrared Detector for Anti Theft security alarm system.
- Passive Infrared Detector based Light On/OFF.
- Automatic Light ON/OFF.
- Many other motion Detection Application.
Different PIR Modules
The HC-SR501 PIR Sensor Module
- Working voltage : 5v to 20V DC
- Range : 3 to 7 meters
- Induction Lens size: 23mm.
- PCB Size: 32mm x24mm.
- Pins Details
- Ground pin
- VCC pin
- The output pin detects an object when it is at a high logic level.
- Two potentiometers.
- One for adjusting the sensitivity of the sensor
- Adjust the time for the output signal to stay high when an object is detected from 0.3 seconds up to 5 minutes.
- Jumper Settings (Selecting the trigger modes)
- non-repeatable trigger – when the sensor output is high and the delay time is over, the output will automatically change from high to low level.
- Repeatable trigger – will keep the output high all the time until the detected object is present in sensor’s range
Arduino Example code :
Circuit
Code
/* Arduino PIR Motion Sensor Tutorial */ /* www.ArunEworld.com */ int pirSensor = 8; int relayInput = 7; void setup() { pinMode(pirSensor, INPUT); pinMode(relayInput, OUTPUT); } void loop() { int sensorValue = digitalRead(pirSensor); if (sensorValue == HIGH) { digitalWrite(relayInput, LOW); // The Relay Input works Inversely } }
Code Explanation
This Arduino code is for a PIR (Passive Infrared) motion sensor setup, where a relay is controlled based on motion detection. Here’s an explanation of each part:
Section | Explanation |
---|---|
Comments | The code includes comments providing information about the purpose of the code and its source. |
Variable Declaration | – pirSensor = 8; : Declares a variable pirSensor and assigns pin 8 to it for reading the PIR sensor’s output. – relayInput = 7; : Declares a variable relayInput and assigns pin 7 to it for controlling the relay. |
Setup Function | Initializes the pins: – Sets pirSensor pin as INPUT to receive data from the PIR sensor. – Sets relayInput pin as OUTPUT to control the relay. |
Loop Function | – Reads the digital state from the pirSensor pin to check for motion detection. – If motion is detected (sensor value is HIGH), it turns on the relay by setting the relayInput pin LOW. |
Embedded Compiler – IAR Workbench
IAR Embedded Workbench is a popular integrated development environment (IDE) for embedded systems development (compiler). It provides a complete set of development tools for building, debugging, and optimizing embedded applications for a wide range of microcontrollers.
Key features of IAR Embedded Workbench include:
- Compiler and Debugger: IAR Embedded Workbench comes with a highly optimizing C/C++ compiler and a powerful debugger that supports various debugging features such as breakpoints, watch windows, and real-time trace.
- Editor and Project Management: It offers a feature-rich code editor with syntax highlighting, code completion, and project management capabilities to organize your source files, libraries, and build configurations efficiently.
- RTOS Support: IAR Embedded Workbench provides support for various real-time operating systems (RTOS) commonly used in embedded applications, allowing developers to build and debug multitasking applications seamlessly.
- Peripheral Simulation: It includes built-in peripheral simulators for popular microcontrollers, enabling developers to simulate I/O operations and test their code without the need for physical hardware.
- Code Analysis and Optimization: The IDE offers advanced code analysis tools to identify potential issues, optimize code size and performance, and ensure code compliance with industry standards and best practices.
- Integration with Version Control Systems: It seamlessly integrates with version control systems such as Git and Subversion, allowing multiple developers to collaborate on projects and manage code revisions effectively.
- Support for Multiple Architectures: IAR Embedded Workbench supports a wide range of microcontroller architectures from leading semiconductor manufacturers, including ARM, AVR, MSP430, and more.
Overall, IAR Embedded Workbench provides a comprehensive development environment tailored for embedded systems developers, helping them streamline the development process, reduce time-to-market, and achieve high-quality, reliable embedded applications.
Read more: Embedded Compiler – IAR Workbenchhow to print to debugger console in IAR?
- you have to do is to #include <stdio.h> and use printf() in your code.
Steps to follow
- Project options -> Linker -> Output (tab)
- In the “Format” section where you have selected “Debug information for C-SPY” you need to have “With I/O emulation modules” checked (this requires “with run-time control modules”)
- Printf results you can see in View -> Terminal I/O from the top menu.
Reference
Getting Started with IAR Workbence for STM8
- IAR Licence magnager Get licence Key using fill the form
Procedure
- 1. Projcet -> Create a new project -> Toolchain -> STM Series Praject Template -> Empty Projcet
(then click “Ok”). - Save Your Project (File -> Save worksapce)
- Notes : The project will appear in the Workspace window.
- By default, two build configurations are created—Debug and Release
- Before you add any files to your project, you should save the workspace.
See More
- How to Interface an External EEPROM with AVR Atmega32
- How to control DC motor speed using PWM on Atmega32*- Circuits Today
IAR Shortcuts
- UNDO – CNTL + Z
- REDO – CNTL + Y
- CUT – CNTL + X
- Copy – CNTL +C
- Paste – CNTL + V
- Select All – CNTL + ALL
- Find and Replace
- Comment Multiple Lines – CNTL + K
- Find – CNTL + F
- Find Next – F3
- Find Previous – SHIFT +F3
- Search with multiple condition – CNTL + SHIFT + F
- Navigation
- Navigate Forward – ALT + LEFT
- Navigate backward – ALT + RIGHT
- Go to Definition – F12
- Auto Indent – CNTL + T
- Debug
- Go – F5
- Stop debugging – CNTL + SHIFT + D
- Step Over – F10
- Step Into – F11
- Step Out – SHIFT +F10
FAQ
if you know the answerer of the below question, Kindly help to add the solution in this website
- How to View the two files side by side in IAR IDE?
Embedded Protocol ZigBee
ZigBee is a low-power, low-data-rate wireless communication embedded protocol based on the IEEE 802.15.4 standard. It is commonly used for creating networks of low-power devices in applications such as home automation, industrial control, and smart energy management.
ZigBee is designed to be simple, cost-effective, and reliable, making it ideal for use in battery-powered devices that need to communicate over short distances. It uses a mesh networking topology, allowing devices to communicate with each other directly or through intermediate nodes in the network.
ZigBee supports a range of applications including lighting control, HVAC control, security systems, and remote monitoring. It provides robust security features to ensure the confidentiality and integrity of data exchanged between devices.
Overall, ZigBee is a popular choice for building wireless sensor networks and other low-power, low-data-rate communication systems.
Advantages of ZigBee:
- Low power consumption: ZigBee is designed for low-power devices, making it ideal for battery-powered devices that need to operate for long periods without frequent battery replacements.
- Low data rate: ZigBee is optimized for applications that do not require high data transfer speeds, making it suitable for applications such as home automation and industrial control.
- Robust mesh networking: ZigBee’s mesh networking topology allows for reliable communication even in challenging environments with obstacles and interference.
- Cost-effective: ZigBee is a cost-effective solution for building wireless sensor networks and other low-power communication systems.
- Security features: ZigBee provides strong security features to protect data communication between devices, ensuring confidentiality and integrity.
Disadvantages of ZigBee:
- Limited data rate: ZigBee’s low data rate may not be suitable for applications that require high-speed data transfer, such as video streaming or large file downloads.
- Limited range: ZigBee’s range is typically limited to a few tens of meters, which may not be sufficient for applications that require long-range communication.
- Interference: ZigBee operates in the crowded 2.4 GHz frequency band, which can be prone to interference from other wireless devices operating in the same frequency range.
- Scalability: While ZigBee supports scalable networks, managing large networks with hundreds or thousands of devices can be challenging.
- Compatibility: ZigBee devices may not be compatible with devices using other wireless communication protocols, limiting interoperability in mixed-device environments.
Zigbee Protocol Analyzwer
Embedded Protocol – One Wire
“One Wire” refers to a communication protocol developed by Dallas Semiconductor (now Maxim Integrated) that allows multiple devices to communicate over a singleWire using a master-slave architecture. It enables bidirectional communication and power delivery over a singleWire, simplifying wiring and reducing hardware complexity in certain applications.
The protocol operates by sending and receiving data serially using a singleWire, which also serves as a ground reference. Each device on the One Wire network has a unique 64-bit address, allowing the master device to identify and communicate with individual slaves. Additionally, One Wire devices can be powered directly from the data line, eliminating the need for separate power connections in some cases.
One Wire is commonly used in applications where minimizing wiring and hardware complexity is essential, such as temperature sensing, identification (e.g., RFID tags), and small-scale data logging. It’s particularly popular in applications where running multiple wires is impractical or cost-prohibitive, such as in distributed sensor networks or in situations where space is limited.
Overall, One Wire offers a simple and cost-effective solution for connecting multiple devices over a single wire, making it a valuable tool in various embedded systems and IoT applications.
- Above image link
- This protocol is serial communication protocol
- Its developed by Dallas Semiconductor.
Embedded Interface – Touch Keypad
A touch keypad is an input device that allows users to interact with electronic devices by touching designated areas on its surface. It typically consists of a panel with sensitive touch sensors beneath, capable of detecting the presence and location of touch inputs. Touch keypads are commonly used in various electronic devices such as smartphones, tablets, ATMs, point-of-sale terminals, and household appliances like microwave ovens and washing machines. They offer advantages like sleek design, ease of use, and versatility in terms of layout and functionality.
Read more: Embedded Interface – Touch KeypadTTP226
TTP226 based Module – 1
Here is the Specifications
Feature | Description |
---|---|
On board 8 key TTP226 capacitive touch induction IC. | Allows for capacitive touch sensing with 8 keys. |
On board 8-way level indicator. | Features an 8-way level indicator on board. |
Working voltage | 2.4 V to 2.4 V |
Modules | Allows for setting output mode, key output mode, the longest time, and fast/low power output. |
PCB board size | Dimensions: 47.5 mm (width) x 46 mm (height). |
Embedded Interface – EEPROM
EEPROM stands for Electrically Erasable Programmable Read-Only Memory. It’s a type of non-volatile memory that can store small amounts of data even when power is removed. EEPROMs are commonly used in applications where persistent storage of configuration settings or small amounts of user data is required, such as in microcontrollers, embedded systems, and electronic devices like USB flash drives and SD cards. Unlike traditional ROM (Read-Only Memory), EEPROM can be electrically erased and reprogrammed multiple times, making it flexible and suitable for applications that require frequent updates to stored data.
Feature
One prominent feature of EEPROM is its ability to be electrically erased and reprogrammed, allowing for multiple read-write cycles. This feature makes EEPROM ideal for storing data that may need frequent updates or modifications, such as configuration settings or user preferences in electronic devices. Additionally, EEPROMs typically offer low-power consumption, fast access times, and compatibility with a wide range of microcontrollers and electronic systems. Moreover, they often have a relatively high endurance, allowing them to withstand many read and write cycles before wearing out.
AT24C128 I²C EEPROM Feature
- Voltage
- Low Voltage (1.8v to 3.6v)
- Standard Voltage (2.7V to 5.5V)
- Memory
- 128K (16,384 x 8)
- 256K (32,768 x 8)
- I²C Interface (Bi-Directional data transfer protocol)
- Speed
- 1MHz(5v)
- 400KHz(2.7v, 2.5v)
- 100kHz(1.8v)
- High Reliablility
- 1 Million write cycles of endurance
- 40 years of Data Retention
EEPROM Datasheet
Next Topic
Embedded Interface 7 Segment (Add Soon) |
Embedded Interface ADC (Add Soon) |
Embedded Interface Button (Add Soon) |
Embedded Interface EEPROM (Add Soon) |
Embedded Interface LCD (Add Soon) |
Embedded Interface LCD HD44780 (Add Soon) |
Embedded Interface LED |
Embedded Interface MCP23017 |
Embedded Interface Motor (Add Soon) |
Embedded Interface PCF8574 and PCF8574A |
Embedded Interface RTC (Add Soon) |
Embedded Interface Switch |
Embedded Interface Touch Kypad |
Embedded Interface RGB LED (Add Soon) |
Embedded Interface – RTC
Application
- Whats-app
- Every mobile has an in-build RTC. Whatsapp is taking current time from mobile system processor using RTC function and send to WhatsApp server. Once Receptive is online he will receive the message with a timestamp
Next Topic
Embedded Interface 7 Segment (Add Soon) |
Embedded Interface ADC (Add Soon) |
Embedded Interface Button (Add Soon) |
Embedded Interface EEPROM (Add Soon) |
Embedded Interface LCD (Add Soon) |
Embedded Interface LCD HD44780 (Add Soon) |
Embedded Interface LED |
Embedded Interface MCP23017 |
Embedded Interface Motor (Add Soon) |
Embedded Interface PCF8574 and PCF8574A |
Embedded Interface RTC (Add Soon) |
Embedded Interface Switch |
Embedded Interface Touch Kypad |
Embedded Interface RGB LED (Add Soon) |
Embedded Interface – RGB LED
PWM -Pulse width Modulation
RGB LED
Type of RGB LED
Next Topic
Embedded Interface 7 Segment (Add Soon) |
Embedded Interface ADC (Add Soon) |
Embedded Interface Button (Add Soon) |
Embedded Interface EEPROM (Add Soon) |
Embedded Interface LCD (Add Soon) |
Embedded Interface LCD HD44780 (Add Soon) |
Embedded Interface LED |
Embedded Interface MCP23017 |
Embedded Interface Motor (Add Soon) |
Embedded Interface PCF8574 and PCF8574A |
Embedded Interface RTC (Add Soon) |
Embedded Interface Switch |
Embedded Interface Touch Kypad |
Embedded Interface RGB LED (Add Soon) |
Embedded Interface – Switch
Slide Switch
Rotary Switch
Push Switch
These are either normally on (Push-to-break0, or normally off(Push-to-make). They can be latched, So they stay pressed down after you remove your finger, like the switches on a torch.
Micro Switch
Reed Switch
These are magnetically activated
Next Topic
Embedded Interface 7 Segment (Add Soon) |
Embedded Interface ADC (Add Soon) |
Embedded Interface Button (Add Soon) |
Embedded Interface EEPROM (Add Soon) |
Embedded Interface LCD (Add Soon) |
Embedded Interface LCD HD44780 (Add Soon) |
Embedded Interface LED |
Embedded Interface MCP23017 |
Embedded Interface Motor (Add Soon) |
Embedded Interface PCF8574 and PCF8574A |
Embedded Interface RTC (Add Soon) |
Embedded Interface Switch |
Embedded Interface Touch Kypad |
Embedded Interface RGB LED (Add Soon) |
Embedded Interface – ADC
The analog-to-digital converter (ADC) converts the continuous analog signal into a flow of digital values. To achieve this, the converter must establish the rate at which new digital values sample from the analog signal. This rate is termed the sampling rate or sampling frequency of the converter.
ADC
A successive approximation ADC uses a comparator to narrow the input voltage range. Digital systems store values in binary format, with resolution usually in bits, often a power of two. Furthermore, one can define resolution electrically and represent it in volts. Consequently, we call the smallest voltage change needed to alter the output code level the least significant bit.
ADC Advantage:
Aspect | Description |
---|---|
High Precision | ADCs provide high precision in converting analog signals into digital form, thereby ensuring an accurate representation of the original signal. Consequently, this precision allows for reliable data processing and analysis. |
Compatibility | Modern digital systems find digital signals more compatible, as they can easily process, transmit, and store them using digital devices. Additionally, this compatibility enhances the efficiency and effectiveness of digital systems in various applications. |
Noise Immunity | Digital signals are less susceptible to noise interference during transmission or processing compared to analog signals. Consequently, this leads to better signal integrity and more reliable data transmission in digital communication systems. |
Signal Processing | Digital signals allow for advanced signal processing techniques such as filtering, modulation, and encryption. As a result, this enhances the versatility of digital systems, enabling them to adapt to a wide range of applications and requirements. |
Ease of Integration | ADCs can be integrated into various electronic devices, providing a seamless interface between analog sensors or sources and digital processing units. Consequently, this integration enhances the functionality and performance of electronic systems by enabling accurate and efficient conversion of analog signals into digital data. |
Disadvantage:
Aspect | Description |
---|---|
Sampling Rate Limitations | ADCs are limited by their sampling rate, which determines the maximum frequency of signals they can accurately capture. Consequently, inadequate sampling rates can lead to aliasing and loss of signal fidelity, compromising the accuracy of the digital representation of analog signals. |
Quantization Error | During the analog-to-digital conversion process, quantization error can occur. Consequently, this can lead to inaccuracies in the representation of the original analog signal, affecting the fidelity of the digital output. |
Complexity and Cost | High-resolution ADCs, capable of accurately capturing fine details in analog signals, can be complex and expensive. Consequently, for applications demanding high-speed or high-precision conversion, these ADCs may pose challenges due to their complexity and cost. |
Conversion Time | ADCs require a finite amount of time to convert analog signals into digital form. As a result, this causes latency in real-time systems or applications that demand rapid signal processing. |
Dynamic Range Limitations | ADCs have a limited dynamic range, which can affect their ability to accurately capture signals with a wide range of amplitudes. Consequently, this limitation can potentially cause distortion or loss of information in the converted signal, particularly when dealing with signals of varying amplitudes. |
Features of ADC
- Resolution: This refers to the number of bits used to represent the analog input in digital form. Higher resolution ADCs can represent smaller voltage changes, providing greater precision.
- Sampling Rate: The rate at which the ADC samples the analog input signal and converts it into digital form. It is typically measured in samples per second (SPS) or Hertz (Hz).
- Input Range: The range of analog input voltages that this can accurately convert into digital values without distortion or clipping.
- Accuracy: This refers to how closely the digital output of the ADC matches the true analog input signal.
- Speed: The time taken by the ADC to complete one conversion cycle, including sampling and conversion.
ADC Application
Application | Description |
---|---|
Industrial Automation | ADCs monitor and control analog sensors like temperature, pressure, and flow sensors in industrial automation systems. |
Medical Instrumentation | ADCs convert signals from medical sensors like ECG or blood pressure monitors into digital data for analysis in medical instrumentation. |
Audio Processing | ADCs convert analog audio signals from microphones or musical instruments into digital format for storage or processing in audio applications. |
Automotive Systems | ADCs are integrated into automotive systems for functions like engine control, airbag deployment, and sensor data acquisition for driver assistance systems. |
Communication Systems | ADCs convert analog signals, such as voice or data, into digital format for transmission over digital communication networks in communication systems. |
Test and Measurement | ADCs capture and analyze analog signals with high precision in test and measurement equipment, supporting applications like oscilloscopes and data loggers. |
Consumer Electronics | ADCs in consumer electronics, like smartphones and digital cameras, convert various analog signals into digital data for processing or display. |
Renewable Energy Systems | ADCs monitor and control the generation and distribution of electrical power in renewable energy systems like solar or wind power inverters. |
Next Topic
Embedded Interface 7 Segment (Add Soon) |
Embedded Interface ADC (Add Soon) |
Embedded Interface Button (Add Soon) |
Embedded Interface EEPROM (Add Soon) |
Embedded Interface LCD (Add Soon) |
Embedded Interface LCD HD44780 (Add Soon) |
Embedded Interface LED |
Embedded Interface MCP23017 |
Embedded Interface Motor (Add Soon) |
Embedded Interface PCF8574 and PCF8574A |
Embedded Interface RTC (Add Soon) |
Embedded Interface Switch |
Embedded Interface Touch Kypad |
Embedded Interface RGB LED (Add Soon) |
Embedded Interface – Motor
Example
- DC Motor
- Stepper Motor
- Bipor Stepper Motor
- Unipolar Stepper Motor.
- Servo Motor
Next Topic
Embedded Interface 7 Segment (Add Soon) |
Embedded Interface ADC (Add Soon) |
Embedded Interface Button (Add Soon) |
Embedded Interface EEPROM (Add Soon) |
Embedded Interface LCD (Add Soon) |
Embedded Interface LCD HD44780 (Add Soon) |
Embedded Interface LED |
Embedded Interface MCP23017 |
Embedded Interface Motor (Add Soon) |
Embedded Interface PCF8574 and PCF8574A |
Embedded Interface RTC (Add Soon) |
Embedded Interface Switch |
Embedded Interface Touch Kypad |
Embedded Interface RGB LED (Add Soon) |
Embedded Interface – LCD
LCD stands for Liquid Crystal Display. It’s a type of flat-panel display technology commonly used in TVs, computer monitors, smartphones, and other electronic devices. This work by sandwiching a layer of liquid crystals between two transparent electrodes and two polarizing filters. When an electric current passes through the liquid crystals, they align to allow varying amounts of light to pass through, creating images or text on the screen. LCDs are known for their sharp image quality, energy efficiency, and relatively low cost compared to other display technologies like OLED (Organic Light Emitting Diode).
Read more: Embedded Interface – LCDSure, here are some advantages and disadvantages of LCD displays:
Advantages:
- Energy Efficiency: LCDs typically consume less power compared to older display technologies like CRTs (Cathode Ray Tubes), making them more energy-efficient.
- Slim Profile: LCD panels are generally thin and lightweight, making them suitable for slim and portable devices such as laptops, tablets, and smartphones.
- Sharp Image Quality: LCDs can produce high-resolution images with excellent clarity and color accuracy, providing a visually pleasing viewing experience.
- Versatility: LCD technology is versatile and can be used in various applications, including TVs, computer monitors, digital signage, and automotive displays.
- Longevity: LCD panels have a relatively long lifespan compared to some other display technologies when properly maintained, providing years of reliable use.
Disadvantages:
- Limited Viewing Angles: LCDs may exhibit color distortion or brightness loss when viewed from extreme angles, making them less suitable for applications where multiple viewers may be viewing the screen from different angles.
- Potential Motion Blur: Some LCD displays, especially those with slower response times, may suffer from motion blur, resulting in less-than-optimal performance for fast-moving content such as gaming or sports.
- Backlight Uniformity Issues: LCDs rely on a backlight source to illuminate the screen, and sometimes there can be issues with backlight uniformity, leading to uneven brightness or “clouding” in certain areas of the display.
- Limited Contrast Ratio: While modern LCDs have improved contrast ratios, they may still not match the deep blacks and high contrast levels achievable with technologies like OLED.
- Risk of Dead Pixels: LCD panels may develop dead pixels over time, resulting in small, permanently lit or unlit spots on the screen, which can be distracting, especially in high-resolution displays.
Despite these disadvantages, LCD technology remains widely used and continues to be improved upon with advancements in backlighting, panel technology, and image processing algorithms.
Examples
- Display Character
- Display String
- Display Decimal
- Display one Digit Decimal
- Display Two Digit Decimal
- Display Three Digit Decimal
- Auto scroll Display
- Blink
- Cursor On/Off
- Custom Character
- Display
- Hello world
- Scroll
- Serial Display
- Set Cursor
- Text Direction
Interface with Micro-controllers
Different LCD Displays
- Nokia 5110 LCD Module with PCD8544
- Nokia 6610
- OLEDs
- 2×16 LCD- hd44780
- Nextion Display
Next Topic
Embedded Interface 7 Segment (Add Soon) |
Embedded Interface ADC (Add Soon) |
Embedded Interface Button (Add Soon) |
Embedded Interface EEPROM (Add Soon) |
Embedded Interface LCD (Add Soon) |
Embedded Interface LCD HD44780 (Add Soon) |
Embedded Interface LED |
Embedded Interface MCP23017 |
Embedded Interface Motor (Add Soon) |
Embedded Interface PCF8574 and PCF8574A |
Embedded Interface RTC (Add Soon) |
Embedded Interface Switch |
Embedded Interface Touch Kypad |
Embedded Interface RGB LED (Add Soon) |
Embedded Interface – 7 Segment Display
Example
- One 7-Segment Display
- Display Character
- Display Decimal
- Multi 7 Segment Display
- Display Character
- Display Decimal
Next Topic
Embedded Interface 7 Segment (Add Soon) |
Embedded Interface ADC (Add Soon) |
Embedded Interface Button (Add Soon) |
Embedded Interface EEPROM (Add Soon) |
Embedded Interface LCD (Add Soon) |
Embedded Interface LCD HD44780 (Add Soon) |
Embedded Interface LED |
Embedded Interface MCP23017 |
Embedded Interface Motor (Add Soon) |
Embedded Interface PCF8574 and PCF8574A |
Embedded Interface RTC (Add Soon) |
Embedded Interface Switch |
Embedded Interface Touch Kypad |
Embedded Interface RGB LED (Add Soon) |
Embedded Interface – Button
Examples
- LED ON/OFF Using Button
- Button De-bounce
- Four Button (UP, DOWN, ENTER, BACK)
- Set Value By Four_Buttons using 7 Segment Display
- Set Value By Four_Buttons using LCD Display
- Matrix Keypad
- Set Value by Matrix Keypad using 7 Segment Display
- Set Value by Matrix Keypad using LCD Display
- Display characters by Matrix Keypad using 7 Segment Display
- Display characters by Matrix Keypad using LCD Display
Next Topic
Embedded Interface 7 Segment (Add Soon) |
Embedded Interface ADC (Add Soon) |
Embedded Interface Button (Add Soon) |
Embedded Interface EEPROM (Add Soon) |
Embedded Interface LCD (Add Soon) |
Embedded Interface LCD HD44780 (Add Soon) |
Embedded Interface LED |
Embedded Interface MCP23017 |
Embedded Interface Motor (Add Soon) |
Embedded Interface PCF8574 and PCF8574A |
Embedded Interface RTC (Add Soon) |
Embedded Interface Switch |
Embedded Interface Touch Kypad |
Embedded Interface RGB LED (Add Soon) |
Embedded Interface – LED
LED (Light Emitted Diode)
Symbol
How to Identify the LED’s Positive and Negative Leads ?
- Long lead is positive(+) and small lead is negative(-)
- Round circle lead is positive(+) and flat lead is negative(-)
LED Chemical Substance
Summary of LED’s Colors and Common Chemistries
Color | Wavelength | Materials |
Amber | 605-620 nm | Gallium arsenide phosphide, Aluminum gallium indium phosphide |
Blue | 430-505 nm | IInGaN (Indium Gallium Nitride), Gallium nitride, Silicon carbide, Sapphire, Zinc selenide |
Green | 550-570 nm | Aluminum gallium phosphide, Gallium nitride |
Infra-Red | 850-940 nm | Gallium arsenide, AL GaAs (Aluminum Gallium Arsenide) |
Red | 630-660 nm | AL GaAs (Aluminum Gallium Arsenide), Gallium arsenide phosphide, Gallium phosphide |
Ultraviolet | 370-400 nm | Indium gallium nitride, Aluminum gallium nitride |
Violet | 410-420nm | |
Yellow | 585-595 nm | Aluminum gallium phosphide, Gallium arsenide phosphide, Gallium phosphide |
Light wave length
WaveLenth | LED APPLICATION |
410nm-420nm(violet) | Skin therapy |
430nm-470nm(blue) | Dental curing instrument |
470nm(blue) | White LED’s using phosphor, blue for RGB white |
520nm-530nm(green) | Green traffic signal lights, amber for RGBA white lights |
580nm-590nm(amber) | Red signal lights, red for RGBA white lights |
630nm-640nm(red) | Blood oximetry |
660nm(deep red) | Skin therapy |
680nm(deep red) | Night vision illuminators and beacons for use with night vision goggles or CCD’S |
800nm-850nm(near IR) | Photo electric controls |
940nm(near IR) | Convert illumination CCD based systems |
Reference : http://www.goldwynled.com/knowledge-bank/leds-basics
GLOW LEDs
LEDs ON
LEDs OFF
LEDs Blink
Application
- Status Indicator
- WiFi Router Status Indicator (Blink LEDs-Internet Status)
- Charge level Indication in mobile power-bank [Blink LEDs – Single RGB LEDs or Multiple Color LEDs)
- Bike Automation
- Bike Turn Indicator (LED Blink – while turned)
- Bike Side stand indicator (LED Glow -if Side stand is not took)
- Car Automation
- Car Turn Indicator (LED Blink – while turned)
- Car Door Status indicator(LED Glow -if Door is not close or opened)
LED Examples
- ON/OFF
- Blink using the Delay Function
- Blink using the Timer Function
- Status Indicator(Using condition Check)Button
You must be logged in to post a comment.