विषय-सूची
Friends Led की Brightness को Potentiometer से Control कर सकते हो आसानी से इस page को read करें Potentiometer आपने पहले भी use किया होगा Old tv का Volume इसी को rotate करने पर कम ज्यादा होती थी और Potentiometer का use Fan की speed control करने के लिए use होने वाला regulator के अन्दर भी यही होता है अभी मेरे द्वारा Design किया Circuit बनाना है बस फिर आप अपनी led की brightness control कर सकेंगे
(adsbygoogle = window.adsbygoogle || []).push({});
Project के लिए Material और Circuit design
- Arduino uno
- Potentiometer
- Led
- Jumper wire
Brightness Circuit
Visual Studio से Led Control कैसे करें
Programming
(adsbygoogle = window.adsbygoogle || []).push({});
इस Program को copy करें और Software को launch करें और इस program को Paste करें Arduino में Upload करें Program केसे upload करें
Button से led control कैसे करें
int ledPin = 9;
int sensorValue = 0;
void setup() {
pinMode(ledPin,OUTPUT);
pinMode(sensorPin,INPUT);
Serial.begin(9600);
}
void loop() {
sensorValue = analogRead(sensorPin);
analogWrite(ledPin, sensorValue/4);
Serial.print(sensorValue/4);
}
बहुत ही बढ़िया article है। …. Thanks for sharing this!! 🙂 🙂
Sir kya tattoo machin ka power suply diy ho sakta hai
3 v se 18 v tak ka output se chalti hai or usme Potentiometer se uski speed control kar sakte hai
sip mujhe ek circuit banana sikhaiye pir motion sensor se without arduino microcontroler se jo ek baar kisi ko detect karne par led ko on kar de aur tab tak on rahe tab jab tak pir sensor again dubara se kisi ko detect na kar le (ek baar detect karne par bulb ya fan on ho jaye aur tab hi off ho jab dubara detect kare ) no delay time (always on when detect human body )and (always off when detect human body again ) please sir my whatsapp number 8858875134