All Questions
37
questions
0
votes
0
answers
118
views
AVR Interrupt: LED kept blinking and won't stop
Lately I realize I am still a newbie, when you can't blink a freaking LED properly. It's kinda sad. I try to simplify this LED code to the simplest form possible, and it still won't work properly. ...
0
votes
0
answers
850
views
Esp32 (Arduino Core) And Led Control Library issue
I am using esp32 devkit v1. My project is to make music reactive leds, the sound input of which is given through the "dabble" app on my smartphone plus turning leds on based on set distance from my ...
0
votes
1
answer
71
views
How to get started with AVR Microcontrollers? [closed]
I have an AVR ATMega32A Microcontroller, a Programmer that supports my microcontroller, a breadboard and some electronic stuff ...
6
votes
2
answers
1k
views
LED- Resistor, does the position matter? [duplicate]
I was reading the MAKE AVR programming. One of the chapters suggests to solder resistor to the cathode side of an LED.
But in our uni labs it's said to connect the resistor "before" the LED; that is ...
1
vote
1
answer
142
views
Multiplexing Red and green dual led not being switched on properly
I am having problem getting this red and green led to switch on in its yellow color state. Red + green = yellow!! But it simply refused to do so. It's more like an annoyance than a real big deal ...
1
vote
2
answers
502
views
BJT not switching (off) fast enough?
I have an ATTiny85 with a PWM output (freq. aprox. 1kHz). Connected to this pwm output pin is a NPN general purpose BJT (2N2222) with base resistor of 1k. A LED is in series with this transistor (...
-5
votes
2
answers
1k
views
LED not even turning on with avr [closed]
As the title states I have been having problems with programing my atmega328 to run a simple code that turns on an led the code is here
...
-1
votes
1
answer
625
views
ATMEGA32 LED BLINKER Assembly code problem
I tried the following code for a simple led blinking problem on ATMega32.
...
0
votes
2
answers
702
views
Drive IR LED with maximal power (for IR barrier with max distance)
I'm making a light barrier and working on a "sender" part right now.
The main thing I want to achieve is the maximum distance. I'm using Vishay TSSP4038 for receiving signal. In the datasheet it's ...
2
votes
2
answers
716
views
Error sending data to LED Display board from a microcontroller
I have a LED Display which has a RS232 connector so that we can connect it to our system. Display board accept whatever data we type in hyper terminal and display it. For e.g if I type ...
0
votes
2
answers
532
views
Atmega 16 - Timer0 with interrupt
In this code the one LED is glowing at one pin PC0 with flash every 50 ms. It has XTAL of 16 MHz. With CPU frequency 16 MHz, even a maximum delay of 16.384 ms can be achieved using a 1024 prescaler. ...
0
votes
1
answer
3k
views
WS2812B with ATMega8 and light_ws2812 Libray
I have connected four WS2812B modules I got from eBay to my AtMega8 and tried to use the light_ws2812 libray to controll them.
I connected the wire used for communication to the PC5 Pin on my ATMega ...
-1
votes
2
answers
348
views
Alternatives to Arduino for controlling LED's and Audio files? [closed]
Simple Alternatives to Arduino
Has anyone used these different boards? If so, what did you use them for and why? Which are appropriate for controlling LED's and playing audio files? I'm looking ...
0
votes
1
answer
182
views
LED can't stop blinking (AVR-C)
So here is the basis of my code, I have an array of different instructions for the prescribed LEDs to follow.
The led will blink for the prescribed number of times in an interrupt before they stop ...
0
votes
3
answers
1k
views
AVR-C turning led off after number of blinks with interrupts
so what I am trying to do is that I am trying to make the led blink for a certain number of times before it turns off. I want to avoid using delays so I tried
utilizing the interrupt and I also used a ...