I am very new to arduino and coding in general, and am trying to compete a project for my new kitchen. I am doing under cabinet lighting and am wanting to use an arduino with capacitive touch sensor to turn on my led ballast via pwm, and also have a few brightness settings. Basivally ON, Dim1, Dim2, and off, im sure pretty simple for anyone experienced at programming. I purchased a DAC and i know i have to make an opamp circuit to double the voltage for my ballast ( input is 0-10 volts not pwm ). I think i am going to buy a pwm ballast to make things cleaner but for now this is what i have.
I have managed to hack together other peoples code to get the capacitive sensor working, and the led but i need some help finishing the project. The code is attached that i have managed to get working. Let me know what this would cost, thanks!!
buttonpushled.ino (1.53 KB)