Search Engine

Led Example

Add Question

Are you looking for?:
led sensor led , across led , across led , across led
255 Threads found on Led Example
Hi I agree with d123. * Fuctionally you may use the 4067. * There are dedicated relay driver ICs. They may be controlled with SPI or I2C * you may use some logic IC like HC138 combined with a led driver like ULNxxxx There are many, many example circuits here in this forum and even more in the internet. Klaus
Hi All, I want power my led using I-Phone lightening connector. Have anyone tried to do that or Did you have any suggestion for me? For example:- Powering a USB fan. Instead of USB ,I want to use I-Phone to power on my led.
Can constant current led driver be used instead of current limiter IC? I want to hold the current exact 700 mA. Which one is the solution?
As soon you will show your code and schematics, as far you will get any usefull help. i've tried learning C from example9 :two digit led counter but its not working even after correction of MikroE team here is the schematic 128351 /*Header********************************
hi friends, After using mTouch framework, I am trying my hand on dedicated CPS channels (CPS0-CPS16). I have written the code for same which looks running except some pitfalls as follows. When I press input X (for example), led for (X+1) glows. I see, everytime i call ISR kaflg value is written at kflag. please help me to
Hi, I have an led board where i want to add a circuit to control the brightness, input parameter of the led board DC voltage ( 12V, 350mA), i want to add a circuit in such a way that when the voltage turns from 12V to 0V and again 12V ( low pulse of few ms) the current decrease ( for example from 350mA to 200mA), and when again i do (...)
My name is Ashley, I live in the UK, I work with alarm systems but have not worked at a component level for quite sometime. I have a variety of bit at my disposal and have retro fitted my gun cabinet with a 12vdc led strip light. The Magnetic contacts I use in work are what we call normally closed for example when a door is in its closed pos
Hi. I need to rotate for an example x=0XFF for 3 to right. I cant do that only with >> because that is shifting. When you want rotate you need to "memory" all bit not to lose such as in case for shifting (i think). So that is not the same. May I use this display= (x & 0xFF)>>3 ; // display is diodes which simulating bits... for ro
Hello! I have never played with the Sitara boards, but an SPI screen is really easy to use. If you find a way to use GPIO (try to blink a led for example) and a SPI, then you just wire the SPI to the LCD, the GPIOs to the proper places (usually chip select, Data/Command, Reset) and you're on the right way. Usually you can find the initialization p
Can you separate the loops for scanning the matrix display and for moving the characters. For example, you can create a loop that writes to the entire matrix every mSec (say) but only shift the characters every 100 times ( of whatever) through that loop. I assume that the brightness form the matrix is a direct function of how long you keep the led
I'm a college student, and my research is about led boost driver, and the process is 0.35 um process (vdd=3.3V) . I have a question that no matter any structures ,an led driver must be designed with HV process ? The picture is a general structure of a boost driver . 123013 I think that in a general boost driver
hi, If the displays are only 7 segment you only need 7, PORTD pins for the segments and another PORT's 4 pins for digit select. This will leave PORTD.0 free for the serial RXD. example image; ULN drivers were used as they were very large led's E
Besides the low current capacity mentioned above, you need to be aware that using some led with color other than red, this effect is even more noticeable because the voltage drop will be greater in other colors. What you can do is to use a transistorized external circuit to amplify this current, like the ULN2003 IC for example.
I'm using the LT3797 led driver in a SEPIC configuration. It uses a high-side currents sense resistor to set the output current. I'm following this circuit example for my application.120053 I would like to be able to "scale" the sense resistor on-demand (from a microc
Hi guys, I'm new to this, but I need help writing a code (MPLAB in C) for a frequency counter with a 4x 7 segment display using a PIC18f252, and a 74HC4511 driving the display. it needs to work in the range 15hz to 200hz. Thanks so much if any one can help ;)
Hello! For a state machine, you have to list up the possible states (and combinations of states), and list up the inputs / events that cause changes from a state to another. Here is an example (not in C, in pseudo code with a C syntax). Let's say you want to toggle a led with a button press. You have 2 states, led_ON and (...)
THis is a good example of a cheap design that costs about 50 cents to make in CHina. What did you pay? REMOVE all 100 Ohm resistors for 27 V use. I assume you didn't get instructions. THe middle Resistor is beyond rated power with taillight on only 380mW so will rather hot to touch and should use two 1K resistors or so in parallel for cooler oper
Texas Instruments datasheets for CD4xxx ICs show detailed graphs of minimum and typical output current sink and source at 3 supply voltages. The graphs allow you to select a load voltage drop (I use an led forward voltage). For example with a 10V supply the typical shorted output source current is 20mA or 18mA into a white 3V (...)
I have recently discovered that a 4kV ESD event was causing my board to fail due to a discharge on the RJ45 shield, which then traveled to the led and into the IC causing it to fail. What is a good way to protect that IC for FCC cert, and is there a good doc/example out there? I did put protection on the datalines, but didn't think of (...)
Not sure which sensor you are actually using, 02BZ2.2 is a zener diode. Presumed it's any kind of photodiode (or a led used as photo diode), you can expect better results when operating the diode in zero voltage bias than in photo element mode. See the below circuit as an
1. If your PIC is not going to do anything else besides beeing this PID... I suggest you to use a Timer flag to synchronize the ADC readings... for that, you need some idea of how much time it takes to process all this program... (for example, add a togglin led, and check with a oscilloscope the minimum and maximum time it takes to perform the proc
How High can you do hand waving descriptions :roll: without a requirement or a comparison is one example of an 6x3 array of XL Cree ledS on ALum-clad PCB powered by one of my surplus wall transformers 20
How good are you with Verilog? Have you tested any simple code like led blinking or 7 segment display? Altera website has many example code which you can take a look at. All the best! :)
Give me IAR EW ARM example for LPC2148 led blinking.
Hello, I try to complie (using atmel studio 6 ) example C code for led blinking: #define F_CPU 1000000UL #include #include int main (void) { DDRB |= _BV(DDB0); while(1) { PORTB ^= _BV(PB0); _delay_ms(500); } } I get atmel studio error: Error 1 'DDB0' undeclared (first u
i have found a video for led matrix, but i d nt now what is the code used. if any one can help me to give me an idea. thank you very much.
Need an example code for 8X8 Dot Matrix led display in microC. Basically I was trying to make one. I tried in many ways but it doesn't work. I don't know what was wrong I was doing.... here is my file: const unsigned short letters = { 0x18,0x3C,0x66,0x66,0x7E,0x7E,0x66,0x66, //A 0xFF, 0x00, 0x76, 0x76, 0x76,
i am in need of help for this project that i am doing, i did this schematic that is suppose to work as a 3 way led lamp circuit. (for example, first push on ob switch turns on 1 led, 2nd push is 2 leds, 3rd is all leds and 4th will turn off all the leds). Unfortunately, my circuit is not (...)
Hello all, I am using my own hardware which is built with LPC2368 controller and DP83848 physical layer IC for Ethernet. All the connections are according to the mcb2300 schematic diagram. and using easyweb example code copied from "C:\Keil\ARM\Boards\Keil\MCB2300" but same code working fine with Evaluation board the two leds (...)
Hi, thanks for starting this thread. Many concepts are connected in this topic. Some concepts seem paradoxical. Not easy to get an intuitive grasp on. example, we can make a square wave easily, without needing to know anything about generating sine waves. We just switch a DC source on and off. It might have led me to claim, therefore, that a sq
Hi friends, I am new to pic32 bit microcontroller. I am learning the basic codes like led,LCD,PWM etc. I found that there is no simulator for pic32 bit microcontroller. For example proteus for 8 bit controllers. If there is any simulator for pic32 bit microcontrollers? If there is no simulator for pic32 then
i made a circuit for my led lamp. pub. in Elektor Electronics 9/2003 A simple switched regulator with 70 % efficiency. change R6 and L1 wire size for more current.
Please help me, need 16x16 led matrix code................
l I have micro controller 89c51 ,led,switch,compiler(keil),programmer (flesh magic) SWITCH is input device connected port pin P0.1 led is output device connected port pin P1.1 I have written assembly code in keil software for exampleORG OH ON: SETB P1.1 ; led IS ON OFF: CLRB P1.1 ; led IS OFF (...)
If you use IR you need a light emitter (IR led for example) which will draw power all the time and quickly drain a battery. The magnet and reed switch suffer the problem that they have to be in very close proximity and if you go fast, the magnet may pass the reed too quickly for it to operate. A magnet and Hall effect sensor will work or another me
i hv started working with pic. i am using pic 16f676 controllers... with mplab and pickit2... can u help me i want some examples for learning. starting from led blink. also mplab programming in C language or Assembly ... thanks in advance,
I think what Mohamed Saa is asking for is a utility to convert an image rather than font characters. For example something that converts a JPG or PNG image into the flash sequence for a rotating led display. As far as I know there are no programs available to do this, it is a rather specialized thing and probably needs coding for each different PO
Which ARM MCU you are using This links is showing STM32F407VG reference of Discovery board which is excellent development board and is example written by me using above development board to blink led #include "stm32f4xx.h" //#include "stm32f4xx_gpio.
try google using "arm blinking led"
i am troubling bcoz of USB communication from long time.I have downloaded USB_HID example from keil website. so how to add this code to my project.Consider it is based on interrupt transfer method.And there is key's on software and i have to blink led with this aplication. And if i mark Use memory layout from target Dialog then it gives scatte
Could you give me please a "Hello World" example? For instance, if I press the button from Tx board, the led from Rx board turns on.
Use a microprocessor board with an RS485 port and an led display?
Forget the 555 it is completely useless for voltage monitoring. It is easier to make the led light up when the voltage is high enough and go out as the voltage drops but even then it's quite easy. Before explaining, you need to set some parameters. For example, it's no good saying the led should light up when a 9V battery drops below 9V (...)
I am using 8051 development board with 89v51rd2.When i upload a code the board is working properly.but after a reset the code is not working.i first uploaded a running led code.its working properly.but after a controller reset the led just change.can anyone explain me what may be the cause?
unsigned char x; // Interrupt Handler void interrupt() { // RB Port Change Interrupt if(PIR1.RBIF == 1) // if the RB Port Change Interrupt flag is set... { PORTA.F1 = ~PORTA.F1;//led on/off on press of switch x = PORTB; // Need to read or write to the port to clear mismatch condition PIR1.RBIF =0; }
The base-emitter voltage is a range of voltages so the actual amount of current in the current sink is a wide range. The transistors probably do not match (but it is better since they are thermally joined) so the currents probably will not match as well as the example. The base currents are on the left side so I think the led current is hig
Hello everyone, I have written simple c program for led blink. and in that program I have written P2=0X00 but still I am getting few voltage (i.e., 3 or 4 volts) through pin 3rd and 2nd. any one can help me to solve this. I am using at89c51 and keil IDE.
Hi there, first, maybe is better for you to test your sensor alone with out mcu, use for example 9V battery, connect + and -, on the back side of sensor you probably have led indicator, when metal is close to sensor, led will light, check your black wire and condition when led light, regards
I wouldn't attempt it for several reasons: 1. the signals feeding an LCD are very different to those used with an LCD. For example you will not have individual segment conections and digit drive signals. 2. it looks like you have one (1.5V) or two AA cells (3V) which isn't enough to drive most led displays. Each segment in a standard display has s
hello i have example which done by me. i have toggle led in ISR u can place ur code in ISR