Jump to content
ELFORUM - Forumul electronistilor

Telefon cu Arduino


Guest ellyvas

Recommended Posts

Guest ellyvas

Buna ziua,

 

 

As vrea un pic de ajutor. Vreau sa leg un telefon mobil de  arduino care are rolul de a ma suna o data cu detectarea unui senzor. Codul sursa e asemanator cu cel al unui  bec  adica

If(digitalread(senzor_pir)==LOW) {

digitalWrite(telefon, high)

}

else

digitalWrite(telefon,LOw).

 

Uitilzand codul , mie  imi este activat tot timpul tasta 3   pe care am pus  firele. Eu vreau o data  ce imi decteaza prezenta sa sune  adica  ia  curent pe  tasta 3  si  ce  termina  detectia   sa  iasa, adica sa  numai poata  suna.

 

Cum as  putea sa  rezolv aceasta  prob?post-226267-0-67684500-1401459047_thumb.jpg

Link to comment
  • 2 months later...
  • Replies 2
  • Created
  • Last Reply
  • 2 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.




×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.Terms of Use si Guidelines