5 channel AC dimmer + proximity sensor
Serial port(proximity sensor) stopped when I tried an edited version(for 5 bulbs) of code that I used for dimming 2 bulbs. I assume that the complexity of the code brought about too much load on Arduino board because every 10 milliseconds it had to calculate each different 'timings to open 5 triac gates'. So I simplified a code which I got from Arduino forum by merging and regrouping if statements. Then I could make it work.
I tried to code for lightening two or more bulbs simultaneously since my concept of this project is colour mixture by light sources, but every time I tried, serial port stopped. However, I'd like to stick to it.