Using the Arduino Ethernet shield, Part 1 of 2

แชร์
ฝัง
  • เผยแพร่เมื่อ 23 ต.ค. 2024

ความคิดเห็น • 167

  • @studentatuoscampus3704
    @studentatuoscampus3704 7 ปีที่แล้ว

    Thanks sir!
    pleas tell me what software you are using, i did not understand

  • @craigminca7446
    @craigminca7446 8 ปีที่แล้ว +3

    Great video easy to follow, I keep on getting Failed to configure Ethernet using DHCP, please help as im at a loss of what to do. Thanks

  • @tecnocelltotontepec8905
    @tecnocelltotontepec8905 8 ปีที่แล้ว +2

    gracias ingeniero, aprendi mucho de su video, entiendo un poco ingles.. GRACIAS

  • @guillaume8437
    @guillaume8437 2 ปีที่แล้ว +1

    Hi! Thanks for this clear video. A question remains : Is it P2P (peer to peer) or you use a router? If you use a router do you have a tuto with peer to peer?

    • @ueiwqoak
      @ueiwqoak 2 ปีที่แล้ว

      Bump. It seems like you need to use a router. I'm wondering ifyou could accomplish this with a network switch instead? Would love to get a video about these topics!

    • @guillaume8437
      @guillaume8437 2 ปีที่แล้ว

      @@ueiwqoak actually, for peer to peer, a straight through cable is more than enough but the link is direct from PC to Arduino Ethernet module. With a router or a switch in the middle, I can't tell. Some of them have straight through/crossover detection capability if I am not wrong but the Networking and its secrets are just magic to me!

    • @ueiwqoak
      @ueiwqoak 2 ปีที่แล้ว

      ​@@guillaume8437 Have you gotten either to work? I'm trying to figure out how to detect the IP address of my Ethernet shield. I've got the shield plugged into my router and am looking for my DHCP router to detect it and assign it a local IP address but no luck.

  • @AJAYSINGH-ic2iy
    @AJAYSINGH-ic2iy 6 ปีที่แล้ว

    hello thank for your video. i want to know that whether we can use arduino ethernet shield by using xbee module.if i connect dc fan to arduino will iaable to start this fan by using xbee and ethernet shield?

  • @angelacosta1238
    @angelacosta1238 7 ปีที่แล้ว +1

    Thanks for the great intro and taking your time to explain everything. Cheers, keep it up!

  • @adhimsuryahidayat8921
    @adhimsuryahidayat8921 ปีที่แล้ว

    Hello... I want to connect 2 points A and B. Each point has an Arduino Uno, Ethernet Shield w5500, router and access point. accesspoint in point to point mode and ip settings in 1 network. The distance between points A and B is 1 km. Can the arduino at point A and B communicate with this topology? thank you very much

  • @robertpoynton9923
    @robertpoynton9923 4 ปีที่แล้ว

    If I have a sketch for a esp8266 but I want to use it on a Arduino with a Ethernet shield what would I need to change in the sketch? Or can it even be done?

  • @drawingboard82
    @drawingboard82 5 ปีที่แล้ว +2

    Thanks very much for making this, a godsend!

  • @shizuye7071
    @shizuye7071 5 ปีที่แล้ว

    Hi, Can I stack the DFRobot 1602 LCD Shield on top of this Ethernet Shield and use all Ethernet, SD, and LCD features w/ just one (1) arduino uno?

  • @junchaowang1612
    @junchaowang1612 3 ปีที่แล้ว

    Thanks for the great tutorial, explaining everything in detail.

  • @victor_schroder
    @victor_schroder 3 ปีที่แล้ว

    What is the console? what do i need to bring up to communicate with the arduino?

  • @ianturner2229
    @ianturner2229 8 ปีที่แล้ว

    I am not making connection from my telnet client to the WS100 Ethernet UNO shield and I have experimented with defining or not defining the IP data, neither changes it. I get an IP via DHCP just fine. I have set up a rule in my Avast firewall allowing telnet (all protocols) in and out, but still cannot connect. I can Ping the board, all is well with that, so it clearly does exist on my network.
    Using my telnet client to connect to other external clients works just fine
    Any help would be much appreciated. ??
    BTW you cannot comment the IP data out, but you CAN just define
    IPAddress ip ;
    IPAddress gateway;
    IPAddress subnet;
    and this still works correctly.

  • @smartfloat2754
    @smartfloat2754 6 ปีที่แล้ว

    nice video brother.
    i don't have mac address on my ethernet sheild, what should i do now?

  • @ahmedmbarak5146
    @ahmedmbarak5146 8 ปีที่แล้ว

    Hi, i have a macbook, when i try to connect using terminal.. it stays for a while and says "operation timed out" and " unable to connect to remote host". What should i do to fix this?. Thank you.

  • @kaustubhginde5577
    @kaustubhginde5577 7 ปีที่แล้ว

    Hello, i am getting "Failed to configure using DHCP ".All the LED's on shield are glowing. What can be the problem?
    Any help will be welcome

  • @gokugesh4354
    @gokugesh4354 6 ปีที่แล้ว +1

    Hello Sir, I'm Goku. I'm using ethernet shield in my project to create an intercommunicating protocol between Arduino Mega and PLC siemens S1200. Which contains multiple of I/O devices. Initially I was gonna use Modbus TCP/IP. But i couldn't find any useful notes or examples to make this possible. Most of people are using ModbusRTU protocol. Since I'm using ethernet shield i had to use TCP/IP protocol. Hope you can help with source codes and explanation. Thank you.

  • @sj82516
    @sj82516 10 ปีที่แล้ว +2

    I really appreciate your tutorial!!
    I worked out for veiw days to figured out problem because my Ethernet board kept blinking red light.
    Finally solved it although it still blink red light (WTH misunderstanding =="
    Thnak you (y) ~

  • @ibrahimobaidx9951
    @ibrahimobaidx9951 7 ปีที่แล้ว

    Hi , it is great tutorial but I have a problem when I connect Ethernet to my router it does not work and the leds on the ethernt board still off ? can you help me with a solution please

  • @jeppeolander9387
    @jeppeolander9387 6 ปีที่แล้ว

    Thank you for the mac code part, I was stuck on it due to choosing another not valid code.

  • @JI9131
    @JI9131 10 ปีที่แล้ว

    thanks for the video. which telnet client you use for this video?

  • @shaikhimranirfan
    @shaikhimranirfan 7 ปีที่แล้ว

    good job gonna watch all of your tutorials

  • @amitavaganguly692
    @amitavaganguly692 7 ปีที่แล้ว

    Hello..! How to connect the ethernet shield with router?? on which port?

  • @vladhristov2316
    @vladhristov2316 6 ปีที่แล้ว

    Hey there. Is there a tutorial how can I use the Ethernet Shield with Mega 2560 to upload the code thru the Internet connection, instead of using the USB cable. So basically I wont be present at the Arduino board location.

  • @andrasparanici5491
    @andrasparanici5491 4 ปีที่แล้ว +1

    Great tutorial series!

  • @bhavinniman4290
    @bhavinniman4290 7 ปีที่แล้ว

    Can i use ethernet shield with arduino uno. i want to make a moton sensor which on detection of motion would send a text message to the users cell

  • @muhammadnurabidin6473
    @muhammadnurabidin6473 7 ปีที่แล้ว

    are you can to connected with firebase?

  • @jacobr7627
    @jacobr7627 10 ปีที่แล้ว

    Thanks for a great video! I have a question. I am using the SEEEDStudio Ethernet Shield on my Arduino Uno and everytime I open up the console to try and connect I get a message saying: Connection refused. Unable to connect to remote host. Any idea on how to fix this?

    • @peterdalmaris4242
      @peterdalmaris4242 10 ปีที่แล้ว

      Hi Jacob, if you open up the Arduino console, can you confirm that your Arduino is getting a valid IP address from DHCP?

    • @jacobr7627
      @jacobr7627 10 ปีที่แล้ว

      Yes. It says trying to get an IP from DHCP or something along those lines and then it gives me my IP now that I have tried it using a different cable, but when I try the console window and use the telnet command it says no nodename, nor servname, or not known. No idea what that means. Can you help? Thanks for replying BTW!

    • @TechExplorations_
      @TechExplorations_  10 ปีที่แล้ว

      Jacob Bryant Hmm... Is the address that you see in the console a fail-over address? or is it coming from the DHCP? If you are not sure what I am asking, can you post your sketch here and copy the IP address you see in the console? I'll try to figure it out from that.

  • @adarshgouda847
    @adarshgouda847 6 ปีที่แล้ว +1

    How did the console come up and how to do this in Windows.

  • @mdala1267
    @mdala1267 10 ปีที่แล้ว

    thanx for the nice explanation..
    i have some troubles with my arduino connection to internet ..
    when i use the port 80 it is working from internet (static ip ) but when i use the port 200 or 2000 or 3000 i cant open the page from internet ...
    the internet guy said that i cant use any port other than 80 or 81 :( so is that correct ???
    also port 80 is the port where the security cams are connected, can that cause problems if i use the same port for
    my arduino to control my 4 lights ????
    ;)

    • @TechExplorations_
      @TechExplorations_  9 ปีที่แล้ว +1

      Hi Mido, sorry for the late reply. If I understand right, you want to access your Arduino from the Internet. Your Arduino will have its own internal IP address, but your router will have the Internet IP address given by your ISP. To be able to access your Arduino from the Internet, you will need to do what's called "port mapping" on your router. This links an internal network IP address to a port on your router. You can then use your router's IP address with the mapped port and connect to the Arduino. Google "port mapping" and you will find lot's of guides on how to do this.

  • @rednax25
    @rednax25 10 ปีที่แล้ว

    Am running Win 7 . The serial monitor gives me the DHCP ip address. After typing telnet then ip address on the command prompt I get
    could not open connection to the host, on port 23: connect failed.
    What could I be doing wrong. I have disabled my computers firewall. Is it a network authentication issue. The ip a dress is not filtered. Thanks.

  • @Khalis33
    @Khalis33 9 ปีที่แล้ว

    Im using WIndows. Why does my serial monitor only shows "Trying to get an IP address using DHCP"? I configured the IDE using my computer's IP configuration but it only shows that line.

    • @amolnardelwar5100
      @amolnardelwar5100 8 ปีที่แล้ว

      +Tech Explorations I am also facing the same problem while working on windows. How to fix it ?

  • @rahultiwari6046
    @rahultiwari6046 9 ปีที่แล้ว

    can i use arduino leonardo in place of arduino uno.....

  • @revermore3959
    @revermore3959 7 ปีที่แล้ว

    My shield flashes the Collision LED ? How do I solve it ? Help is sincerely thanked.

  • @usmanasghar2567
    @usmanasghar2567 9 ปีที่แล้ว

    Hi every one. I find it very interesting. I have a question. Could i use this ethernet shield with arduino due (32 bit) cntroller

    • @TechExplorations_
      @TechExplorations_  9 ปีที่แล้ว

      Usman Asghar Hi Usman, never tried this my self, but according to this (forum.arduino.cc/index.php?topic=134560.0) yes, you can.

  • @DigitalAgeInstitute
    @DigitalAgeInstitute 8 ปีที่แล้ว

    Great great great. I am very thankful. Instructive, well made. Wow.

  • @Bhavishcom
    @Bhavishcom 10 ปีที่แล้ว +1

    Hi i bought an ethernet shield w5200 v1.0 and plugged it on an mega 2560 directly. i run the code in the video. Nothing works. Even the SD reader is not working. I bought a new W5200 unfortunately same problem. What should i do?
    All IPAddress were correct.

    • @TechExplorations_
      @TechExplorations_  10 ปีที่แล้ว

      Hi there, can't say for sure since I don't have your configuration. But looking at the manufacturer's discussion forum about this shield can provide some clues: www.seeedstudio.com/depot/W5200-Ethernet-Shield-p-1577.html
      The library I used in the video and the shield are the standard ones with the Wiznet controller, so I doubt it would work with the w5200.

    • @hjjeon0608
      @hjjeon0608 10 ปีที่แล้ว +1

      Refer to github.com/Wiznet/W5200-Ethernet-Shield
      W5200 and W5100 is a little different, so W5100 driver doesn't work on W5200 ethernet shield.

  • @DeeJayZhen
    @DeeJayZhen 7 ปีที่แล้ว +7

    Hey guys can you teach me how to push data to MySQL database using Arduino Ethernet Shield?

    • @vineetverma6645
      @vineetverma6645 6 ปีที่แล้ว

      There is a mysql connector library ..

    • @wahidhasanariyanto
      @wahidhasanariyanto 5 ปีที่แล้ว

      I think it is better to make it communicates with your server api built with php or nodejs or other languages. And let that server side code to save your data to mysql

  • @stevesherlock221
    @stevesherlock221 8 ปีที่แล้ว

    Hi Tech Explorations. Can you explain how I get the Telenet Console please.. The video is awesome best yet.

  • @camerond
    @camerond 2 ปีที่แล้ว

    Having trouble finding the gateway and subnet for Windows 11

  • @Mandrag0ras
    @Mandrag0ras 9 ปีที่แล้ว

    What equipment was this video recorded with?

    • @TechExplorations_
      @TechExplorations_  9 ปีที่แล้ว +2

      Mandragoras I used a Logitech HD Webcam and a Blue Yeti microphone.

  • @samuelquartey4019
    @samuelquartey4019 3 ปีที่แล้ว

    can i connect it to my siemens cpu

  • @groupededeveloppementalimt502
    @groupededeveloppementalimt502 8 ปีที่แล้ว

    i have a problem with my shield ethernet
    i used exemple of webserver and i don't have any result " page not find "
    i don't understand why or how ...

  • @EsJeKo
    @EsJeKo 9 ปีที่แล้ว

    While compiling i get this message:
    libraries\Ethernet\ETHER_28J60.cpp:24:25: error: etherShield.h: No such file or directory
    While the etherShield.h is there...
    Any idea?

  • @tejkaran
    @tejkaran 8 ปีที่แล้ว +1

    Brilliant tutorials. Thank you.

  • @nofear7777777
    @nofear7777777 9 ปีที่แล้ว

    Do I need to make any adjustments to my router? Like change any settings?

    • @TechExplorations_
      @TechExplorations_  9 ปีที่แล้ว

      No, if you are setting up the Ethernet shield like I show in the video, you don't need to do anything with the router. If you need to access your Arduino from "the outside world", then you do need to do what is called "port forwarding" on your router.

    • @nofear7777777
      @nofear7777777 9 ปีที่แล้ว

      Tech Explorations Well I get packets transmited to my computer (checked it via Wireshark) but I have problem getting the data through processing. Do you have any ideas or are you not familiar with processing?

    • @TechExplorations_
      @TechExplorations_  9 ปีที่แล้ว

      Hi, I have a quick demo of Processing here, it might help: th-cam.com/video/owinuBDSOzA/w-d-xo.html. I also have 2 lectures about Processing in my Udemy course (Lectures 86 and 87), feel free to check it out: www.udemy.com/arduino-sbs/?couponCode=make10

    • @nofear7777777
      @nofear7777777 9 ปีที่แล้ว +1

      Tech Explorations
      Thank you for your response. I actually fixed the code on processing. The cause that my computer was not receiving any packets, was because of the windows firewall.

  • @ionutavram709
    @ionutavram709 10 ปีที่แล้ว

    Hi! How can i solve error: to many decimal points in number? I've used same code as you did. What does it means?
    This error came from those three code lines starting with IPAddress.. What's the matter?

    • @TechExplorations_
      @TechExplorations_  10 ปีที่แล้ว

      ionut avram Hi, can you include the complete error message, especially the line number it points too?

    • @ionutavram709
      @ionutavram709 10 ปีที่แล้ว

      Tech Explorations I've solved that problem!!

  • @jesusuribe6780
    @jesusuribe6780 6 ปีที่แล้ว

    do i need to make a project with arduino ethernet the idea is catch a one network protocol like CFM since to the ethernet port from de the arduino sended since other device. Can you help me.

  • @joeyblowerish
    @joeyblowerish 10 ปีที่แล้ว

    i have the MAC code from the ethernet board but where do i put it in to the code ? never had any luck getting this board going .i type in the code being 90-A2-DA-00-6C-93 and it wont compile with tons of errors

    • @TechExplorations_
      @TechExplorations_  10 ปีที่แล้ว

      .joe .blow Hi Joe, could you post your code here? The MAC address definition should look like this: byte mac[] = { 0x00, 0xAA, 0xBB, 0xCC, 0xDE, 0x02 };Notice, it's in hexadecimal notation.

  • @debabrata2137
    @debabrata2137 8 ปีที่แล้ว

    sir can you share the link of the sd card interface video with this module???

  • @winex01
    @winex01 8 ปีที่แล้ว

    i subscribe. cause it work for me after so many tutorials..

  • @eejoestianto8602
    @eejoestianto8602 6 ปีที่แล้ว

    how to make the ip address parameter comes from read config file which saved on sd card (from sd card of the same module)? please advise, thx

  • @benh3310
    @benh3310 8 ปีที่แล้ว

    tnx for the video!
    the program stucks after the: "if (Ethernet.begin(mac) == 0)..." any idea why?

    • @paulkafig5788
      @paulkafig5788 8 ปีที่แล้ว

      I have the same problem. Did you ever resolve this? Thanks.

  • @ilducedimas
    @ilducedimas 10 ปีที่แล้ว +1

    Thanks !

  • @AldoMauricioCastroFreire
    @AldoMauricioCastroFreire 8 ปีที่แล้ว

    Does this work for windows if so what is the equivalent console for windows ?

    • @TechExplorations_
      @TechExplorations_  8 ปีที่แล้ว

      Hi Aldo, try putty (google it for the download page).

  • @oganbora3603
    @oganbora3603 8 ปีที่แล้ว

    I am using windows and I wonder where do you write "d 1 r..." what is the name
    is it Command Prompt or something else

    • @marlowdupont4211
      @marlowdupont4211 8 ปีที่แล้ว

      +Ogan Bora command rompt but you will find if you type in 'telnet' it is not recognised, I have had this problem +Tech Explorations

  • @e.lhimesha2771
    @e.lhimesha2771 7 ปีที่แล้ว

    Hii... I have been given a project to make a RS232 to Ethernet converter using arduino. Can you please help me with that ( want to know what are the components required and about the coding ).

  • @eastern815
    @eastern815 7 ปีที่แล้ว

    thank you for uploading

  • @jaredralphstanley
    @jaredralphstanley 9 ปีที่แล้ว

    hi. i have the uno + ethernet shield, macbook.
    ipv4 is 10.0.0.5;
    subnet is 255.255.255.0;
    (router)gateway is 10.0.0.1
    i set my ip(10, 0, 0, 13) - choosing a random number (13) in the 4th position.
    i run the sketch, the console prints out the 'Trying to get an IP address using DHCP" message.
    it hangs for a bit then says 'Failed to configure Ethernet using DHCP'.
    I then try to visit the 10.0.0.13 address in the browser and via telnet, both time out.
    i'm at a loss where i should look next. any suggestions?

    • @TechExplorations_
      @TechExplorations_  9 ปีที่แล้ว

      jared stanley Hi Jared, can you describe how you connect the Arduino to your network?

    • @jaredralphstanley
      @jaredralphstanley 9 ปีที่แล้ว

      Tech Explorations I have a macbook pro. its plugged in via usb. uploading blink sketches etc works fine.
      mbp is connected to wifi.
      i add the ethernet shield, plug ethernet cable into a thunderbolt adapter.
      any guidance or suggestions on what to try would be appreciated!

    • @TechExplorations_
      @TechExplorations_  9 ปีที่แล้ว +1

      Hi Jared, I suspect that the problem is with connecting the shield directly to your Mac. I don't think that the Mac is running a DHCP service, and even if you have a fixed IP in the sketch, your Mac will route packets meant for the Arduino to your Wifi network by default. Maybe try this: connect your Arduino Ethernet shield directly to your wifi router via an Ethernet cable. Have your MacBook connected to the Arduino via USB so you can see the assigned IP address in the monitor. This should fix the problem since now your Arduino will get an IP address from the DHCP server and become a node in your network.
      Hope this makes sense!

    • @jaredralphstanley
      @jaredralphstanley 9 ปีที่แล้ว

      Tech Explorations I really appreciate the help, i'll look at it tonight and let you know. again, thank you so much for helping a stranger!

    • @jaredralphstanley
      @jaredralphstanley 9 ปีที่แล้ว

      Tech Explorations that worked. you are awesome! i can't quite justify your course yet but i did sign up for your email. thank you so so much for your help!

  • @wawawiwaborat5688
    @wawawiwaborat5688 9 ปีที่แล้ว

    Is the ip variable an array? I mean how can 192 be 1 byte, isn't it 3 bytes? As 1 byte represent one character? I'm confused

    • @theJACKATIC
      @theJACKATIC 9 ปีที่แล้ว +1

      Deltan section 192 in binary is 11000000. This is 8 bits long. 8 bits make up a byte. Hope this helped.

    • @wawawiwaborat5688
      @wawawiwaborat5688 9 ปีที่แล้ว

      According to a ascii conversion site, 192 is 001100010011100100110010 in binary. ???

    • @theJACKATIC
      @theJACKATIC 9 ปีที่แล้ว +1

      Deltan section From decimal to binary 192 is definitely equal to 11000000. But i'm no pro so i don't know if this applies to the IP address, the internet is the best place to get corrected when you're wrong so if i am, someone correct me

    • @wawawiwaborat5688
      @wawawiwaborat5688 9 ปีที่แล้ว

      Lol didn't expect that, but I acctually have no idea. I am confused and don't know what to say...

  • @ThatFailedartist
    @ThatFailedartist 8 ปีที่แล้ว

    thorough!

  • @stizandelasage
    @stizandelasage 7 ปีที่แล้ว +1

    I WAS GONNA MAKE MY OWN BUT THIS IS SO EASY

  • @gastonpiston
    @gastonpiston 9 ปีที่แล้ว

    the mac address won't work on mine can you help me ?

  • @rishishah80
    @rishishah80 9 ปีที่แล้ว

    Wow.. wonderful video . But am not able to get the ethernet working properly. Am using a Arduino due + Arduino ethernet shield on a windows PC. M running on an office server with an IP of 192.168.0.100. Gateway is as in code below. But it shows "DHCP enabled: No" Not sure if DHCP needs to be enabled in order to run. The main code I am using is this
    ------------------------------
    byte mac[] = {
    0x00, 0xAA, 0xBB, 0xCC, 0xDE, 0x02
    };
    IPAddress ip(192, 168, 0, 177);
    IPAddress gateway(192, 168, 0, 250);
    IPAddress subnet(255, 255, 255, 0);
    ------------------------------
    Rest is as default. However, upon starting Serial monitor all i get is a msg saying
    "Trying to get an ip address using DHCP" and nothing before or after this msg. Also, windows7 doesnt have a telnet as in the vid. So a quick search online showed me how to enable telnet on windows. However, the command used in the video if entered shows an error in the Telnet. Any idea how to get it to function right.

    • @rishishah80
      @rishishah80 9 ปีที่แล้ว

      O n btw I tried to ping the Arduino board IP (192.168.0.177) too and I get unreachable. Even tried to load the Webserver example on the board and changing the ip. But when I tried to put the ip on the internet explorer, it just did not connect. Hope someone knows whats goin wrong. I disabled the firewall too :)

    • @TechExplorations_
      @TechExplorations_  9 ปีที่แล้ว

      Rishi Shah Hi Rishi, sorry for the late reply. Perhaps try to comment out the three IPaddress lines (for ip, gateway and subnet), and just do Ethernet.begin(mac) in the setup function. This will try to get these parameters from your DHCP server instead of setting them explicitly. I am thinking that your office DHCP server does not like it if a connected device tries to set it's own IP address.

  • @harroonraja689
    @harroonraja689 6 ปีที่แล้ว

    i follow all the steps as you tell but here is the problem in code uploading. the error message is
    "Arduino: 1.8.6 Hourly Build 2018/01/03 03:33 (Windows 8), Board: "Arduino/Genuino Uno"
    Build options changed, rebuilding all
    Sketch uses 16870 bytes (52%) of program storage space. Maximum is 32256 bytes.
    Global variables use 882 bytes (43%) of dynamic memory, leaving 1166 bytes for local variables. Maximum is 2048 bytes.
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xae
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xae
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xae
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0xae
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0xae
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0xae
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xae
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xae
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0xae
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xae
    Problem uploading to board. See www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
    This report would have more information with
    "Show verbose output during compilation"
    option enabled in File -> Preferences."

    • @TechExplorations_
      @TechExplorations_  6 ปีที่แล้ว

      Hi Harron, this probably means that your Arduino is not reset when the upload starts so that the bootloader can start to receive the program.
      Can you press on the reset button as soon as you start the upload?
      Sometimes, these help:
      * Unplug and plug back in your Arduino
      * Close and open the Arduino IDE
      * Restart your computer
      If the problem persists, there may be a problem with the Arduino, especially if it is a new one.

  • @NakulKundra
    @NakulKundra 9 ปีที่แล้ว

    I have UNo 3 , can i do the same with it ?

    • @TechExplorations_
      @TechExplorations_  9 ปีที่แล้ว

      Nakul Kundra Yes, I am also using an Uno R3 for most of my work.

  • @ajittarwate3670
    @ajittarwate3670 9 ปีที่แล้ว

    problem in output of ethernet shield
    getting 0.0.0.0 at serial output instead of 192, 168, 1, 177
    from following program:
    #include
    #include
    // Enter a MAC address and IP address for your controller below.
    // The IP address will be dependent on your local network:
    byte mac[] = {
    0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED
    };
    IPAddress ip(192, 168, 1, 177);
    // Initialize the Ethernet server library
    // with the IP address and port you want to use
    // (port 80 is default for HTTP):
    EthernetServer server(80);
    void setup() {
    // Open serial communications and wait for port to open:
    Serial.begin(9600);
    while (!Serial) {
    ; // wait for serial port to connect. Needed for Leonardo only
    }
    // start the Ethernet connection and the server:
    Ethernet.begin(mac, ip);
    server.begin();
    Serial.print("server is at ");
    Serial.println(Ethernet.localIP());
    }
    void loop() {
    // listen for incoming clients
    EthernetClient client = server.available();
    if (client) {
    Serial.println("new client");
    // an http request ends with a blank line
    boolean currentLineIsBlank = true;
    while (client.connected()) {
    if (client.available()) {
    char c = client.read();
    Serial.write(c);
    // if you've gotten to the end of the line (received a newline
    // character) and the line is blank, the http request has ended,
    // so you can send a reply
    if (c == '
    ' && currentLineIsBlank) {
    // send a standard http response header
    client.println("HTTP/1.1 200 OK");
    client.println("Content-Type: text/html");
    client.println("Connection: close"); // the connection will be closed after completion of the response
    client.println("Refresh: 5"); // refresh the page automatically every 5 sec
    client.println();
    client.println("");
    client.println("");
    // output the value of each analog input pin
    for (int analogChannel = 0; analogChannel < 6; analogChannel++) {
    int sensorReading = analogRead(analogChannel);
    client.print("analog input ");
    client.print(analogChannel);
    client.print(" is ");
    client.print(sensorReading);
    client.println("");
    }
    client.println("");
    break;
    }
    if (c == '
    ') {
    // you're starting a new line
    currentLineIsBlank = true;
    }
    else if (c != '
    ') {
    // you've gotten a character on the current line
    currentLineIsBlank = false;
    }
    }
    }
    // give the web browser time to receive the data
    delay(1);
    // close the connection:
    client.stop();
    Serial.println("client disconnected");
    }
    }

    • @HarshGupta-sl8ly
      @HarshGupta-sl8ly 8 ปีที่แล้ว

      +Ajit Tarwate you have bought the enj module for arduino I think. For that you can not use the standard library.You have to use the library which is available on github.

  • @omaroudat2640
    @omaroudat2640 8 ปีที่แล้ว +2

    Can You Give me simple code for sending and receiving TCP packets using Ethernet shield
    and thank you in advance

  • @The7azem
    @The7azem 8 ปีที่แล้ว

    awesome video , thank you a lot :)

  • @cchiou10
    @cchiou10 8 ปีที่แล้ว +1

    WHAT DOES THIS MEAN???
    Arduino: 1.6.7 (Mac OS X), Board: "Arduino Ethernet"
    Sketch uses 16,004 bytes (49%) of program storage space. Maximum is 32,256 bytes.
    Global variables use 665 bytes (32%) of dynamic memory, leaving 1,383 bytes for local variables. Maximum is 2,048 bytes.
    avrdude: ser_open(): can't open device "COM1": No such file or directory
    ioctl("TIOCMGET"): Inappropriate ioctl for device
    Problem uploading to board. See www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
    Invalid library found in /Users/cchioupro/Documents/Arduino/libraries/Blynk-Media-Kit: /Users/cchioupro/Documents/Arduino/libraries/Blynk-Media-Kit
    Invalid library found in /Users/cchioupro/Documents/Arduino/libraries/Blynk_v0: /Users/cchioupro/Documents/Arduino/libraries/Blynk_v0
    Invalid library found in /Users/cchioupro/Documents/Arduino/libraries/Blynk-Media-Kit: /Users/cchioupro/Documents/Arduino/libraries/Blynk-Media-Kit
    Invalid library found in /Users/cchioupro/Documents/Arduino/libraries/Blynk_v0: /Users/cchioupro/Documents/Arduino/libraries/Blynk_v0
    This report would have more information with
    "Show verbose output during compilation"
    enabled in File > Preferences.

  • @dice2333
    @dice2333 10 ปีที่แล้ว

    how do u bring up the console

    • @TechExplorations_
      @TechExplorations_  10 ปีที่แล้ว

      dice2333 Hi, and sorry for the late reply. Go to the Arduino IDE meny, click on Tools --> Serial Monitor.

  • @hichamlhachimi9594
    @hichamlhachimi9594 9 ปีที่แล้ว

    Hi i want to know when you wired your router with your ethernet and then you tape the ip adress of your router in a web browser did you see the adress Mac of your Ethernet shield with his IP ??

    • @TechExplorations_
      @TechExplorations_  9 ปีที่แล้ว

      Hicham Lhachimi Hi Hicham, if I understand right, you are asking how I know the IP address of my Arduino's Ethernet shield when the address is given by the router... I use a LAN scanner program on my computer or phone. For example, I use a Mac app called LanScan, which searches in my LAN for all connected devices and reports their name (if they have one), IP address, and MAC address.
      Hope this helps!

    • @hichamlhachimi9594
      @hichamlhachimi9594 9 ปีที่แล้ว

      Yes it helps but I think you can also know the ip of all devices that are connected to the network via the router parameters and one more thing that I want to know ,when you wired your ethernet shield with the router, the shield gets the ip automatically there is no need to a configuration or am I wrong ?

    • @TechExplorations_
      @TechExplorations_  9 ปีที่แล้ว

      If there is a DHCP server in your network (these days, almost always there is), then your Arduino will get IP address etc. automatically. You can set fallback values if you want.

    • @hichamlhachimi9594
      @hichamlhachimi9594 9 ปีที่แล้ว

      Tech Explorations Hi , thank you for your answer i want to ask you about the LINK LED in the Ethernet shield when you plug in the RJ45 in the shield does the LINK led flash a green or an orange light ?? and thank you in advance

  • @kekecjan
    @kekecjan 9 ปีที่แล้ว

    does Ethernet Shield W5100 have wifi access point ???

  • @deepeshb7436
    @deepeshb7436 10 ปีที่แล้ว

    thank u...

  • @muaadhmoha1
    @muaadhmoha1 10 ปีที่แล้ว

    great job, thanks alot :)

  • @Coolyyz154
    @Coolyyz154 10 ปีที่แล้ว

    how do u bring up console

    • @TechExplorations_
      @TechExplorations_  10 ปีที่แล้ว

      For the Arduino IDE console/monitor, on a Mac, type Shift-Command-M, or just click on Tools --> Monitor. Not sure what the shortcut is on Windows, but you can still click on the same menu item.

  • @jozefyoucefredjem
    @jozefyoucefredjem 9 ปีที่แล้ว +1

    hii Tech Explorations , how can i open the monitor :( :( ??? ( 21:55 in your vedio )

    • @TechExplorations_
      @TechExplorations_  9 ปีที่แล้ว

      Hi, go to the Tools menu and look for the Monitor option. On the Mac you can also type Shift-Command-M, and I think on Windows its Control-M.

    • @jozefyoucefredjem
      @jozefyoucefredjem 9 ปีที่แล้ว

      thnx alot :)

    • @kancheongspidergaming
      @kancheongspidergaming 9 ปีที่แล้ว

      Tech Explorations Its Ctrl+Shift+M (Windows).

    • @kancheongspidergaming
      @kancheongspidergaming 9 ปีที่แล้ว

      Aayush Gc its similar to this. Serial Monitor is the window which displays values per valued second that is in the code.

    • @kancheongspidergaming
      @kancheongspidergaming 9 ปีที่แล้ว

      Aayush Gc for this one I am not sure wait till the channel owner replies.

  • @reaper2930
    @reaper2930 8 ปีที่แล้ว

    Hello guys does someone know how to put a sheild on your wifi so no one can hack it any more?

  • @juanalbertomatiasdelolmo1798
    @juanalbertomatiasdelolmo1798 4 ปีที่แล้ว

    Hi! how we can PING to an adress?

  • @kwongliik8699
    @kwongliik8699 7 ปีที่แล้ว +1

    why it stated my ip address: 0.0.0.0 ? how to solve it?

    • @altoroos
      @altoroos 7 ปีที่แล้ว

      Hi Kwong,
      I have the same issue. Still haven't managed to fix it. I am assuming it has something to do with the library used.
      You might have to use the library which is available on github.
      That is what I will do next.

  • @roneelias
    @roneelias 9 ปีที่แล้ว

    jared stanley, subnet is incorret 255.255.255.0, class 10.0.0.0, ussing 255.0.0.0 ok, talks

  • @darrencope123
    @darrencope123 8 ปีที่แล้ว

    putty didn't work for me done mine through virtual box using kali Linux need help send me a message xD

  • @WiggumRalph
    @WiggumRalph 8 ปีที่แล้ว

    Thanks m90

  • @siusiutoe6470
    @siusiutoe6470 9 ปีที่แล้ว

    ethernet i sound

  • @thomassloan4695
    @thomassloan4695 6 ปีที่แล้ว

    If your mac doesn't have the telnet command (removed it in os 10.11) www.petenetlive.com/KB/Article/0001364 shows you how to fix it

  • @siusiutoe6470
    @siusiutoe6470 9 ปีที่แล้ว +1

    ˈiːθənet