Can anyone help me about microcontroller programming?

My question is :Is it possible to program the LEDs each to flash on consecutively each with its own activation speed in the sequence chase then add some sort of a randomizer programming to choose to speed up the chase by 1 second or slow down by 1 second at random intervals which is also shown by a LED as a visual notification. Can this be done through the Atmel AT89C2051 microcontroller?(bought from http://www.kynix.com/Detail/1149813/AT89C2051-12PU.html You can look at the datasheet for your reference.)
Last edited on
You are probably in the wrong forum. That being said, a micro-controller has a number of i/o-pins and if you properly connect those to LED's than you should be able to program the micro-controller to make them blink.
In your description the "randomizer programming" is likely to become your biggest challenge. Often the least significant bits of an (floating) analog input are used to approach random values.

I would recommend you have a look at for example:
http://forum.allaboutcircuits.com/
http://www.keil.com/forum/
http://www.electro-tech-online.com/
Allright, thank you for your recommendation.
closed account (48T7M4Gy)
http://airborn.com.au/8051/pg2051.html might be useful.

My guess is the microcontroller is capable of controlling the LED's with timing and interrupts etc. Random functionality if it's programmable in C or C++ shouldn't be too much of a problem. Program space is tight.

Overall Nico's re-direct is valuable, Arduino etc is another possible avenue for info.
Topic archived. No new replies allowed.