How to make Electronic Drum with Arduino ? #DERS - 1

in #utopian-io7 years ago (edited)

Ne Öğreneceğim ?

  • Arduino ile PC nasıl kontrol edilir?
  • Arduino ile elektronik bateri nasıl yapılır?

Gereksinimler

  • Arduino Leonardo veya Arduino Micro,
  • 10M ohm direnç veya LDR ışık direnci,
  • Erkek-Erkek jumper kablo

Zorluk Derecesi

  • Intermediate ( orta düzey)

Açıklama

Merhaba arkadaşlar bu dersimizle eğlenceli bir proje yapımına başlayacağız. Bu proje ile etrafımızdaki iletken veya metal eşyalarla bilgisayarımız üzerinden bateri çalıcaz. Proje içinde arduino ile bilgisayar klavyesi kontrol edeceğimiz için bu projede Arduino Uno yerine Leonardo veya Micro kullanmamız gerekiyor .

Kodlar

void setup() {
  Keyboard.begin();
  pinMode(13,OUTPUT);
  delay(15000); 
}
void loop() {
  int E = analogRead(A0);
  int R = analogRead(A1);
  int D = analogRead(A2);
  int F = analogRead(A3);
  int Y = analogRead(A4);
  int H = analogRead(A5);
if(E < 700){               
while(E < 700){             
  digitalWrite(13,HIGH);   
  Keyboard.press('e');      
  if(E > 700); break;      
}
}

Video Tutorial

Sort:  

Thank you for the contribution. It has been approved.

You can contact us on Discord.
[utopian-moderator]

Thank you :)

Hey @xiery I am @utopian-io. I have just upvoted you!

Achievements

  • You have less than 500 followers. Just gave you a gift to help you succeed!
  • Seems like you contribute quite often. AMAZING!

Community-Driven Witness!

I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!

mooncryption-utopian-witness-gif

Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x

Coin Marketplace

STEEM 0.16
TRX 0.15
JST 0.028
BTC 54960.01
ETH 2314.51
USDT 1.00
SBD 2.31