Arduino Uno WiFI Turn LED On and Off

Sdílet
Vložit
  • čas přidán 2. 07. 2019
  • Find diagrams and code at: www.elithecomputerguy.com/201...
    This project shows you how to turn an LED on and off through a web browser.
    Functional Parts in the Project:
    Arduino WiFi Rev 2 - store.arduino.cc/usa/arduino-...
    Analog Temperature Sensor - amzn.to/2Rkkl3k
    Breadboard Kit - amzn.to/2Xih5ei
    560 Piece Jumper Wire Kit - amzn.to/2MsCLjL
    LED Kit - amzn.to/2Rjhs2N
  • Věda a technologie

Komentáře • 65

  • @sssharo
    @sssharo Před 5 lety +1

    u are the best youtuber , educator , engineer , adviser ever i see thnx u man for ur totrials

  • @mdd1963
    @mdd1963 Před 5 lety +3

    Twelve more Aduino fans' (est. worldwide audience) desires quenched with yet another Arduino video.....! Yayyyyyy!

  • @adityapandey7708
    @adityapandey7708 Před 4 lety +1

    Thanks again back to back for something , exactly, i was looking for . GOD bless :) yeah Subscribed !

  • @haramboy6932
    @haramboy6932 Před 4 lety

    NEVER STOP MAKING VIDEOS
    You are great man

  • @iebstudent
    @iebstudent Před 4 lety +2

    Cool project! May you add the power bank (with link) to the functional parts list? Thanks

  • @dcpowered
    @dcpowered Před 4 lety +3

    Great video! Can you make a video about how to read and use the IMU over WiFi?

  • @MikesPikes
    @MikesPikes Před 3 lety

    Where did you get "client" from in the beginning of the loop?

  • @itsvu
    @itsvu Před 4 lety

    Is it possible to command a fade on an LED over a local web page as well?

  • @deepakchavan7943
    @deepakchavan7943 Před 5 měsíci

    Great teaching method, thank you

  • @iebstudent
    @iebstudent Před 4 lety

    Is it the connection to power itself tthat triggers the execution when Arduino is not plugged to pc?

  • @davidvogel1878
    @davidvogel1878 Před 3 lety

    just works fine !
    perfect, and many thanks !

  • @rusydierusli5143
    @rusydierusli5143 Před 4 lety +3

    hi, ive followed your programme however it didnt show me the SSID in the wifi tab, and in the serial monitor, it kept displaying " Attempting to connect to Network named: test
    ", any idea why?

    • @dank2816
      @dank2816 Před 3 lety

      I had the same issue. chances are that your password, or your ssid are wrong.

  • @JohnSendrey
    @JohnSendrey Před 5 měsíci

    Do the controlling computer and the Arduino Uno Wifi need to be on the same Wifi netword, or can the controlling computer be anywhere in the world on any public internet?

  • @ac4cars656
    @ac4cars656 Před 2 lety

    Great project!

  • @isomaticcomplectood
    @isomaticcomplectood Před 3 lety

    How to read data from the POST method instead of GET?

  • @gdpower456
    @gdpower456 Před 5 měsíci

    how much current does LED draw with a 220 ohm resistor?

  • @mrjackweed
    @mrjackweed Před 4 lety +1

    Can we get an example of controlling the led using text input to turn led on or off instead of get link? Like if we enter 1 the led should be on or 0 the led should be off?

    • @pieterrossouw8596
      @pieterrossouw8596 Před 3 lety +1

      You can do that with client-side javascript that runs in the browser. Just parse the input from a text box. If it's a 1, make a HTTP GET request to a defined endpoint. The browser doesn't need to navigate to a URI to make the call to that endpoint.

  • @adamlasak1536
    @adamlasak1536 Před rokem

    Any alternative for WiFiNINA for rev3 board?

  • @mathyspelletier4168
    @mathyspelletier4168 Před 4 lety

    Totally work, so cool

  • @devaughnmenezes
    @devaughnmenezes Před 4 lety +2

    In this project, which wifi network was the macbook connected to? Was it connected to the wifi network by the arduino board or the guest wifi network?
    Edit: is there a way to connect the arduino to an open wifi network that requires authentication after connecting to it?

  • @rezaamini4791
    @rezaamini4791 Před 5 měsíci

    Thanks man i made it and added a little python script with tkinter to make a GUI and control it with buttons.

  • @horanneo3105
    @horanneo3105 Před 4 lety +2

    Should the device used to control the LED be in the same local WiFi network?

  • @minibit0103
    @minibit0103 Před 5 lety +1

    Freaking awesome 😎! Networking and hardware plus blinking lights!?! Basically a laser pointer with a cat 🐈 for me. Lol 😝

  • @LucasTsolakian
    @LucasTsolakian Před 3 lety

    Perfect thank you!

  • @amarabd1888
    @amarabd1888 Před 5 lety +1

    Hi friend how are you i am new follower in your channel i saw the section EcH but it deleted why i would like to seethis videos do u have another channel

  • @bndanyi
    @bndanyi Před 11 měsíci

    Hello. I copied the code from your website and changed WIFI SSID and Password only. Serial monitor shows the Adruino Uno WiFi Rev2 is connected and shows the local IP Address. I also connected the LED , Resistor, and cables as shown. However, the LED is constantly on and when i open the browser to click "Turn On Light" or "Turn Off Light" the serial monitor shows the following
    "new client
    GET / HTTP/1.1
    client disonnected"
    What could be the issue?

  • @1977visa
    @1977visa Před 2 měsíci

    For some reason I only have the option of turning the light on. client.println("

  • @pablokremer6422
    @pablokremer6422 Před 3 lety

    can I do this with an WIFI ESP8266 ESP-12E CON STACK TCP IP ARDUINO ARM PICbline. ????

  • @Good-Enuff-Garage
    @Good-Enuff-Garage Před 2 lety

    thank you for that

  • @alfmarcelissen2197
    @alfmarcelissen2197 Před 2 lety

    Thanks for the project. The first thing I did when I got my Uno WiFi. I have one small problem. Everything runs as expected except the "Turn off light" does not come on the site. The "Turn on Light" is there and works. Can you help?

    • @qingji7085
      @qingji7085 Před 2 lety

      Hello there, I have the same trouble. Had you found out the solution?

    • @nickoaks5143
      @nickoaks5143 Před rokem

      I'm having the same issue, any luck figuring it out?

  • @timperez4542
    @timperez4542 Před 3 lety

    Hey man! just asking. I don't understand the code so much.
    Correct me if I'm wrong. Did you connect the Arduino to the wifi network, make it display the webpage, and then access the Arduino through the IP Address?

    • @tinkerman5220
      @tinkerman5220 Před 2 lety

      Yes. That's the "href" line of code in the arduino displaying the "turn on light" and "turn off light" in the webpage

    • @ErikVangeel
      @ErikVangeel Před 8 měsíci

      Are you sure you connected the Arduino to a WiFi network? It seems to me that you created a WiFi network and then connected the PC to that network.

  • @alzesttechnology9515
    @alzesttechnology9515 Před 4 lety

    how to set custom ip

  • @hakill5236
    @hakill5236 Před 2 lety

    thanks youuuu

  • @rverm1000
    @rverm1000 Před rokem

    can you do more of these videos

  • @radicalkat
    @radicalkat Před 4 lety +1

    Question: What are the brackets [ ] for after "ssid" and "pass" ? Also, I thought "int" defined a whole number variable. However in this program, "int status = WL_IDLE_STATUS" seems to defines a string???

    • @matthewp87
      @matthewp87 Před 4 lety +1

      the brackets are to signify that they are both a character array AKA a string. the ssid is the wifi network name and the password is the wifi password.

    • @matthewp87
      @matthewp87 Před 4 lety +1

      Also WL_IDLE_STATUS is a constant variable probably defined in one of the included libraries. It would be a string if it was surrounded with quotes, like "WL_IDLE_STATUS"

    • @radicalkat
      @radicalkat Před 4 lety +1

      @@matthewp87 Thank you very much!!!

  • @giuliocomerci3277
    @giuliocomerci3277 Před 3 lety

    Fantastic! Where can i buy arduino uno wifi? Can you give me the link for the purchase?

    • @cryptover4491
      @cryptover4491 Před 3 lety

      lol read the description or just search it up

  • @MarsTheProgrammer
    @MarsTheProgrammer Před 4 lety +3

    doesn't work at all... i also tried the code from the arduino tutorial website, doesn't work either.

    • @paulanderson9483
      @paulanderson9483 Před 3 lety

      Worked for me, other than I can't get Turn Light Off URL to show on webpage. Also you do have to enter in the WIFI SSID and Password on code lines 6 and 7 in between the parenthesis

    • @NedSar85
      @NedSar85 Před 3 lety

      @@paulanderson9483 I have the same issue... the "turn off" does not shows in the web browser.. have you been able to solve it?

  • @akashb6322
    @akashb6322 Před 3 lety

    Can I do this same with an esp8266 and Arduino...

  • @doctorekt7410
    @doctorekt7410 Před 4 měsíci

    How do u know 172.16.42.5 was ur ip address

  • @MobileTechPoint
    @MobileTechPoint Před 5 lety +10

    We should be also able to turn on wifi from an led 😂

  • @josefmcinturff9206
    @josefmcinturff9206 Před 2 lety

    \Arduino\libraries\WiFiNINA\src/utility/wifi_drv.h:293:12: error: 'PinStatus' does not name a type
    static PinStatus digitalRead(uint8_t pin);
    ^~~~~~~~~
    exit status 1
    Error compiling for board Arduino Uno WiFi.

    • @josefmcinturff9206
      @josefmcinturff9206 Před 2 lety

      i needed to do the following:
      Downloading and Installing the Arduino IDE 2.0
      i also had to install the libary from the menu not sure if this was done when the ide updated on its own.
      i wish there was a setup video that had it all how to from the start but i think i got it figured out
      thank you for all your content
      great videos love them all

  • @PublicDiscourse
    @PublicDiscourse Před 3 lety

    This man put an if statement right inside an else instead of using an "else if" statement...

  • @dominiquelebbe5508
    @dominiquelebbe5508 Před 2 lety

    Your sketch don't work!