Using the Arduino Ethernet shield, Part 1 of 2

  Рет қаралды 412,061

Tech Explorations

Tech Explorations

Күн бұрын

Пікірлер: 167
@DeeJayZhen
@DeeJayZhen 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
@craigminca7446
@craigminca7446 8 жыл бұрын
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
@angelacosta1238
@angelacosta1238 7 жыл бұрын
Thanks for the great intro and taking your time to explain everything. Cheers, keep it up!
@adarshgouda847
@adarshgouda847 7 жыл бұрын
How did the console come up and how to do this in Windows.
@EsJeKo
@EsJeKo 10 жыл бұрын
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?
@jeppeolander9387
@jeppeolander9387 6 жыл бұрын
Thank you for the mac code part, I was stuck on it due to choosing another not valid code.
@camerond
@camerond 2 жыл бұрын
Having trouble finding the gateway and subnet for Windows 11
@adhimsuryahidayat8921
@adhimsuryahidayat8921 2 жыл бұрын
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 5 жыл бұрын
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?
@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.
@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
@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.
@victor_schroder
@victor_schroder 4 жыл бұрын
What is the console? what do i need to bring up to communicate with the arduino?
@drawingboard82
@drawingboard82 5 жыл бұрын
Thanks very much for making this, a godsend!
@AJAYSINGH-ic2iy
@AJAYSINGH-ic2iy 7 жыл бұрын
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?
@studentatuoscampus3704
@studentatuoscampus3704 7 жыл бұрын
Thanks sir! pleas tell me what software you are using, i did not understand
@revermore3959
@revermore3959 7 жыл бұрын
My shield flashes the Collision LED ? How do I solve it ? Help is sincerely thanked.
@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 ?
@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 ...
@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?
@guillaume8437
@guillaume8437 3 жыл бұрын
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.
@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
@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.
@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
@shaikhimranirfan
@shaikhimranirfan 7 жыл бұрын
good job gonna watch all of your tutorials
@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.
@smartfloat2754
@smartfloat2754 6 жыл бұрын
nice video brother. i don't have mac address on my ethernet sheild, what should i do now?
@jozefyoucefredjem
@jozefyoucefredjem 9 жыл бұрын
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.
@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.
@junchaowang1612
@junchaowang1612 3 жыл бұрын
Thanks for the great tutorial, explaining everything in detail.
@TechExplorations_
@TechExplorations_ 2 жыл бұрын
You're very welcome!
@gokugesh4354
@gokugesh4354 6 жыл бұрын
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.
@blackstar160686
@blackstar160686 Жыл бұрын
How did you solve it?
@debabrata2137
@debabrata2137 8 жыл бұрын
sir can you share the link of the sd card interface video with this module???
@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
@stevesherlock221
@stevesherlock221 8 жыл бұрын
Hi Tech Explorations. Can you explain how I get the Telenet Console please.. The video is awesome best yet.
@marlowdupont4211
@marlowdupont4211 8 жыл бұрын
+Steve Sherlock Windows or Mac?
@stevesherlock221
@stevesherlock221 8 жыл бұрын
+Marlow Dupont its a Mac
@marlowdupont4211
@marlowdupont4211 8 жыл бұрын
I have a tutorial here: www.wikihow.com/Use-Telnet-on-Mac-OS-X
@stevesherlock221
@stevesherlock221 8 жыл бұрын
Perfect thanks I ll give it a look..
@marlowdupont4211
@marlowdupont4211 8 жыл бұрын
No Problem :D
@JI9131
@JI9131 10 жыл бұрын
thanks for the video. which telnet client you use for this video?
@peterdalmaris4242
@peterdalmaris4242 10 жыл бұрын
Hi Joe, I'm using iTerm.
@Bhavishcom
@Bhavishcom 10 жыл бұрын
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 жыл бұрын
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.
@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.
@tecnocelltotontepec8905
@tecnocelltotontepec8905 8 жыл бұрын
gracias ingeniero, aprendi mucho de su video, entiendo un poco ingles.. GRACIAS
@ankithguzz
@ankithguzz 8 жыл бұрын
Si senor
@samuelquartey4019
@samuelquartey4019 4 жыл бұрын
can i connect it to my siemens cpu
@muhammadnurabidin6473
@muhammadnurabidin6473 8 жыл бұрын
are you can to connected with firebase?
@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.
@amitavaganguly692
@amitavaganguly692 7 жыл бұрын
Hello..! How to connect the ethernet shield with router?? on which port?
@sj82516
@sj82516 10 жыл бұрын
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) ~
@TechExplorations_
@TechExplorations_ 10 жыл бұрын
鄭元傑 Glad you liked it!
@rahultiwari6046
@rahultiwari6046 9 жыл бұрын
can i use arduino leonardo in place of arduino uno.....
@andrasparanici5491
@andrasparanici5491 4 жыл бұрын
Great tutorial series!
@TechExplorations_
@TechExplorations_ Жыл бұрын
Glad you think so!
@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.
@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
@Mandrag0ras
@Mandrag0ras 9 жыл бұрын
What equipment was this video recorded with?
@TechExplorations_
@TechExplorations_ 9 жыл бұрын
Mandragoras I used a Logitech HD Webcam and a Blue Yeti microphone.
@gastonpiston
@gastonpiston 9 жыл бұрын
the mac address won't work on mine can you help me ?
@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!!
@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.
@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.
@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 9 жыл бұрын
+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.
@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_ 10 жыл бұрын
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.
@winex01
@winex01 8 жыл бұрын
i subscribe. cause it work for me after so many tutorials..
@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).
@cchiou10
@cchiou10 9 жыл бұрын
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.
@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 жыл бұрын
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!
@nofear7777777
@nofear7777777 10 жыл бұрын
Do I need to make any adjustments to my router? Like change any settings?
@TechExplorations_
@TechExplorations_ 10 жыл бұрын
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 10 жыл бұрын
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_ 10 жыл бұрын
Hi, I have a quick demo of Processing here, it might help: kzbin.info/www/bejne/pajMn6h4ebiCsKM. 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 10 жыл бұрын
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.
@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 жыл бұрын
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 жыл бұрын
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...
@omaroudat2640
@omaroudat2640 8 жыл бұрын
Can You Give me simple code for sending and receiving TCP packets using Ethernet shield and thank you in advance
@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
@DigitalAgeInstitute
@DigitalAgeInstitute 8 жыл бұрын
Great great great. I am very thankful. Instructive, well made. Wow.
@kwongliik8699
@kwongliik8699 8 жыл бұрын
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.
@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.
@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.
@tejkaran
@tejkaran 9 жыл бұрын
Brilliant tutorials. Thank you.
@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 ).
@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.
@reaper2930
@reaper2930 8 жыл бұрын
Hello guys does someone know how to put a sheild on your wifi so no one can hack it any more?
@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.
@stizandelasage
@stizandelasage 7 жыл бұрын
I WAS GONNA MAKE MY OWN BUT THIS IS SO EASY
@kekecjan
@kekecjan 9 жыл бұрын
does Ethernet Shield W5100 have wifi access point ???
@juanalbertomatiasdelolmo1798
@juanalbertomatiasdelolmo1798 4 жыл бұрын
Hi! how we can PING to an adress?
@darrencope123
@darrencope123 8 жыл бұрын
putty didn't work for me done mine through virtual box using kali Linux need help send me a message xD
@eastern815
@eastern815 7 жыл бұрын
thank you for uploading
@roneelias
@roneelias 9 жыл бұрын
jared stanley, subnet is incorret 255.255.255.0, class 10.0.0.0, ussing 255.0.0.0 ok, talks
@The7azem
@The7azem 8 жыл бұрын
awesome video , thank you a lot :)
@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
@ilducedimas
@ilducedimas 10 жыл бұрын
Thanks !
@muaadhmoha1
@muaadhmoha1 10 жыл бұрын
great job, thanks alot :)
@ThatFailedartist
@ThatFailedartist 9 жыл бұрын
thorough!
@deepeshb7436
@deepeshb7436 10 жыл бұрын
thank u...
@WiggumRalph
@WiggumRalph 8 жыл бұрын
Thanks m90
@siusiutoe6470
@siusiutoe6470 9 жыл бұрын
ethernet i sound
@siusiutoe6470
@siusiutoe6470 9 жыл бұрын
ˈiːθənet
Using the Arduino Ethernet Shied, Part 2 of 2
14:04
Tech Explorations
Рет қаралды 102 М.
DON'T Use Raspberry Pis for Servers! (Use THIS)
16:23
Hardware Haven
Рет қаралды 1,2 МЛН
Quando A Diferença De Altura É Muito Grande 😲😂
00:12
Mari Maria
Рет қаралды 42 МЛН
When you have a very capricious child 😂😘👍
00:16
Like Asiya
Рет қаралды 6 МЛН
How Strong Is Tape?
00:24
Stokes Twins
Рет қаралды 53 МЛН
It works #beatbox #tiktok
00:34
BeatboxJCOP
Рет қаралды 21 МЛН
Arduino Ethernet Shield Webserver
24:46
BINARYUPDATES
Рет қаралды 116 М.
Ethernet Shield for Arduino
19:33
TWiT Tech Podcast Network
Рет қаралды 5 М.
Simple Web Server with Arduino Ethernet Shield
19:05
Eli the Computer Guy
Рет қаралды 68 М.
Arduino UNO - cheap vs. expensive
10:39
upir
Рет қаралды 26 М.
Hacker's Guide to UART Root Shells
17:40
Flashback Team
Рет қаралды 504 М.
The RS-232 protocol
26:10
Ben Eater
Рет қаралды 862 М.
EEPROM Memory - Store Anything - Arduino101
13:16
Electronoobs
Рет қаралды 111 М.
Arduino Ethernet Shield - Getting Started
15:20
Saravanan AL
Рет қаралды 119 М.
ESP32 CAM - 10 Dollar Camera for IoT Projects
29:39
DroneBot Workshop
Рет қаралды 799 М.
Quando A Diferença De Altura É Muito Grande 😲😂
00:12
Mari Maria
Рет қаралды 42 МЛН