Search Engine

Blinking Led

Add Question

245 Threads found on Blinking Led
I powered it from 1st MCLR pin, put 8mhz oscillator with capacitors into 13th and 14th pin, connected led to 19th pin and led is not blinking. ??? MCLR/VPP is not the power pin. Must supply VDD pins 11 and 32. Please show your complete circuit. To simplify the test setup, you can run the PIC from internal oscillator. One
Hi folks. Recently I bought OLIMEX pic18f4550 (link: ). I am trying to interface it with PICkit by microchip. When I am trying to setup my IPE tu=o just test blinking led code under Tools I cannot find any option to select (Screenshot attached) 13652
Tried so many code but fail to interface.... OR please correct attached file Your main.c code has nothing there, just a blinking led on while(1) loop. In addition, there isn't a single evidence of an attempt to interface with this JHD240128.
I actually figured it out while I was typing this. I had the "lo" led wired wrong. Yes. It could be seen much better with a sketched schematic. Still, curious why the potentiometer isn't adjusting the speed of the blinking. Because it's not wired as variable resistor. You have the potentiometer wiper unconnected.
Hi. Cannot 'read between lines'... The data sheet for IC PCA9901 shows on page one : "The PCA9901 is a 20 mA current source for a single led that allows stand-alone blinking of a predefined pattern to off-load the microcontroller and save battery power. Programming of the device is done through a training sequence: the host controller sends
I need to blink 150 leds at a rate of 1sec delay using NE555 timer ic. I have studied about the timer circuit and required calculation for achieving proper timing. I have used R1 as 1k and R2 as 150k with C = 10uF and its giving me 1sec on and off time. Now I need to drive 150 leds with 1sec on off time. I am planning to connect all the leds (...)
h tried to compile a simple project using eclipse and I have this error: Description Resource Path Location Type make: *** Error 1 led blinking C/C++ Problem how can i solve it??
From personal experience, I can tell you that if you accidentally use a DC adapter that outputs a higher voltage than is specified, the power led will blink on a Xilinx Spartan development board. In my case, going back to the proper charger stopped the blinking. Unfortunately the overvoltage had damaged something else on the board and it was no l
Hello everyone! You will notice i'am not very familiar with electronics, but like DIY and try to do something from time to time. And believe my question belongs to "Elementary Electronic Questions" :) I decided to make an aquarium led light, found some topics on it and everything seemed pretty straightforward. But just seemed... I have Cree XM-L
hello everyone..i have a problem on my project..with pic16f877 microcontroller. My project is a 2 button mode led blinking ..Hope someone could help me..the problem is when I press the 1st button it working such code. but when I press the 2nd button it's not working such the code. which I programming in 2nd condition....
Hello, I'm new here and i'm beginner in electronic circuits, I would like to ask if anyone can help me in this small circuit. I would like to do blinking led (fade in and blink out). I saw some videos on youtube and i found one perfect: I bought components which he used (1x 1k variable resistor
Why is this? Can some explain me the difference between ISE and Vivado with respect to led blinking program? Are you using the exactly the same logic blocks to generate the bitstream for Vivado as in ISE? You mentioned using SDK for Vivado which indicates there is some kind of embedded uP being used, due to which it is necessary to
My arduino Nano is not working. Pin 13 led is blinking with the normal sketch but same program (with other Digital pin) is not giving any results. resistor, led gnd are all in place. This is giving me headaches.
Now, the led can stay still for each word but I would like it to blink and it has to use multiplexer(in 74 series) for blinking. I have found 74153 use for blinking but I can't connect it to my system on Proteus. So, if you know how it work Please help Proteus was included. and photos represent how it blink but i cannot do.
Hi friends, I am making use of the switch to blink a single is working good But in my board ,it consists of 8 switches and 8 leds . when I press first switch,first led have to blink.when I press second switch,second led have to blink.and so on can anybody give me the code for this program.I have worked on different patterns but
I have to make a very simple program for led blinking . Using buttons 1 and 6 lead me.When the button is pressed for a small time , then led 1 should be blinking. This code is part 2 of the led blink. part 1- Lead 5 & 6 part 2- led 1,2,3 & 4 blinking with batton scan As long (...)
Hi, I am testing a simple program of blinking two leds with 8051 uC, one led will blink all the time and another will toggle during an interrupt. I am using proteus simulator and keil v5. Debugging step by step of the code in keil shows it ok while running the code is not giving satisfactory output with interrupt led. (...)
Hi all, I am trying to write a code for PIC so that it can carry out different function depends on setting mode. Default mode: both led blinking Mode 1 : led 1 is blinking Mode 2 : led 2 is blinking But my code doesnt work as what i thought. I am using IF statement my code is as (...)
Hi, I am learning RTOS by myself taking ucos-ii and MSP432 evaluation board as a reference. In the reference code, which I download from its website, I find difficulty in creating two tasks(led blinking) that have different priorities. In reference code, BSP_Tick_Init() function called in the call back function so after creating another (...)
Hi. I found at my workplace an evaluation board based on GSM module SIM508 EVB V1.01, manufactured by SimCom What seems to be the problem: I have inserted a valid SIM card; soon after I activate GSM (by pressing Z1 button ) the GSM_NET led start blinking and then stops after 10-15 seconds. During this seconds ,I receive string "Call Ready
Hi, I am making use of the MODEL FS CT6B tansmitter and receiver, which is used to transmit the data wirelessly. First of all I want to test that one For that purpose I am making use of servo motor to switch between the channels First of all I want to test by blinking led by switching between the channels using arduino software . Can anyb
my Samsung 32 inch 3D smart TV suddenly not starting up.The screen lights up fully with smart TV logo and goes off in half second. Again full same picture and in half second the picture goes off. the leds alternatively light on and go off.I thought the problem was with mother board . any one help with schematic of this TV(the model number UA32F6400
Driver for HID a preinstalled in all windows. Try to implement any confirmation that mcu is working like a led blinking if you do not have proper debug option.
Hello,I am trying to use the timer 1 in Timer mode for timing a determined time for blinking a led ,but I am not coming out with this,could anyone help me to sort this out? I am uisng MicroC the the code below I was trying to use: //#include <16f877a.h> int count=0; void main(void) { T1CON=0x01; TRISC.F7=0X00; TRISD.F1=0X00;
It is my first project using Atmega328P. I try to clone Arduino Uno and make my board(see atach). I upload blink.ino and my power source show 108mA. And micro become hot. The led is blinking but 108mA is to much. What i done wrong? PS: in schematics i have two R3 but PCB is ok, they are not one but two resistors with good conections.[ATTACH=CON
Reviewing the original question, I'm guessing that he wants just to draw the circuit and layout of a flash-led, being the Pentium4 the PC platform where will run a CAD tool. Seriously speaking, he needs to elaborate more the need. I have an Intel Pentium 4 and i want to design minimum circuit that is require for r
I'm start to learn 8051 by designing a blinking led circuit. One of my effect seems to have problem, I think it is because of my code because other effects worked. Please help me check if there is something missing Effect2: mov r1,#5 start2: mov a,#0FFh port0: rlc a lcall sdelay mov P0,a cjne a,#0
Desired function is, when button is pressed, only one led is blinking, when released, two leds should blinking. Assuming that you fixed the error that Brian pointed out, and you connected the leds to pins 0 and 1 of PortB, the code above works exactly as you described.
The blinking led fault code is your clue, most likely one of the SMPS. IF it detects over-current in the CCFL backlights, then the SMPS for those may be one possibility. Does the display color look off-white in the corners? If this all points towards expired CCFL tubes, I know TV parts stores and also DigiKey stock a wide range.
Please provide a sample IAR AVR C Code for led blinking using Timer1 interrupt. I am new to IAR AVR Compiler. I have done led blinking project using delays and it works fine. I need code with Timer interrupts for ATMega32.
HI everyone, Im trying to make my led's blink but i dont know what the problem is with my code. This is what I have: #include (my library) ; ================ EQUATES ========================================= COUNTER1 EQU 0x20 COUNTER2 EQU 0x21 COUNTER3 EQU 0x22 ; ===============================
Hi everyone, I have just moved from mikroC to MPLAB X IDE with XC32 programmer. I'm trying to make the simply led blinking code. The problem is the blinking is faster than expected. This is the code: #include #include #include #include #include // PIC32MX795F512L Configuration Bit
Hi all, I am trying to load my Altera Arria - II FPGA with the .sof file generated. The loading is successful but the FPGA leds do not turn ON/blink. When I program the FPGA with an old .sof file it works. My question is can u tell me as to why does this happen?? Before programming the .sof file, I opened the .qpf project file, compiled it an
Minimum PWM frequency with 20 MHz crystal is 1.2 kHz, so you'll hardly see the led blinking.
I am trying to implement a led blinking program using EDK.I have selected GPIO leds(datawidth 8) and updated UCF files.When i try to launch it on hardware ,the error "MicroBlaze is under reset.Check if the reset input to MicroBlaze and its Bus interfaces are connected prpoerly" appears.I am using Genesys Virtex-5 board and for reset input i (...)
That is led blinking. You want to control the power to Ultrasonic sensor module or what to send trigger pulse ? If you want to control the power to module then you have to use a relay, transistor or mosfer controlled by MCU.
Hi I downloaded MikroC 6.4.0 and i try my first program: blinking led. I have one led on RB7. No Qtal just internal osc. This is my code void main() { PORTB=0; TRISB=0; CMCON = 0x07; // Disable comparators ADCON1 = 0x0F; // Disable Analog functions while(1){ PORTB = ~PORTB; Delay_ms(1000); } }
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! :)
hello, Be carrefull with some device HC05 comming from RPC.. Some have very erratic initialisation... at power on, the led must blinking to be able to associed it to an android BT and then successfully establish a dialogue. Even when using pin KEY .. So must use many Power off /power ON to get led blinking. After (...)
Dear All Plz guied me I need a simple program for led1 to led8. task_1 when S1 unpressed ; {led=11111110;} (HOLD IT for 2sec) {led=11111101;} (HOLD IT for 2sec) {led=11111011;} (HOLD IT for 2sec) {led=11110111;} (HOLD IT for 2sec) {led=11101111;} (HOLD IT for 2sec) (...)
No difference. Both are difficult. Also, both of them including samples like a led blinking.
// led blinking c code //start //turn ON led // wait for some time (delay ) // turn OFF led include // header file for 8051 include // header file for delay #define led_ON 00000001 // led ON #define led_off 00000000 // (...)
HI I wrote code for led blinking led blinking c code start turn ON led wait for some time (delay ) turn OFF led include // header file for 8051 include // header file for delay #define led_ON 00000001 // (...)
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 use
this is sample coding if(Count < ON_Limit) { Count++; P1.3 = ~P1.3; OFF_Count = 0; } else if(OFF_Count <5) { OFF_Count++; P1.3 = 1; } else { ON_Limit = ON_Limit + 2; P1.3 = 0; if(ON_Limit >6) ON_Limit = 1; Count = 1; OFF_Count = 0; }output 1sec led on 5sec led off 2sec
If you have any form of feedback, you could make a double push. Ok=short push, as wp100 said above. Push and hold get a feedback, blinking a disply or led, and then release and push again to exit, inside a time limit. It all depends on what you prefer. The exit fiunction could also be automatic after a time when no keys are pressed. How do you
you want to have leds blinking ? at which frequency ?
As allready said in previous post, if you add PEIE et GIE bit, your code (interrupt) is working Init_Timer2() ; PEIE_bit=1; GIE_bit=1; but if your FOSC or Quartz value.. is too high you can't see blinking of the led... blinking detection ok at 10Mhz ,even not very evident At 20Mhz not sure.. at 4MHz must be evident.
Hello aashishedaboard,welcome to the world of microcontrollers. Firstly,let me tell you that,your documentation about the project is really good. In you program #include void delay( unsigned int ); void main() { while(1) { P1 = 0x01; delay(1000); P1 = ~P1; delay(1000); } } //DELAY FUNCTION ( mS ) void delay( unsigned
hello, Is the led blinking on your HC05 ? if not, no chance to have AT command... I know that it is very difficult to put HC05 or HC06 bluetooth device in AT mode when Power ON.. sometimes they are stuck.. Even using KEY input .. or the (not direct accessible) Reset input. Try before AT commands with a TERMINAL <- RS232 level converte