Offline
Newbie
Karma: 0
Posts: 5
|
 |
« on: February 04, 2013, 12:50:17 pm » |
I'm extremely new to any of this, and have been trying to wrap my head around the basics for a while now, so please bear with me.
I'm trying to create a sort of bandwidth monitor. The idea is that arduino would read bandwidth usage from my router (via the ethernet shield I already have), and based on those levels, turn them into sound or light.
I'm having a tough time though getting my foot in the door, does anyone know how to do this?
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
UK
Offline
Brattain Member
Karma: 138
Posts: 19067
I don't think you connected the grounds, Dave.
|
 |
« Reply #1 on: February 04, 2013, 12:51:46 pm » |
It depends what information your router makes available, and how. (Now it is your turn to tell us what router you have)
|
|
|
|
|
Logged
|
Pete, it's a fool looks for logic in the chambers of the human heart.
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 5
|
 |
« Reply #2 on: February 04, 2013, 12:55:40 pm » |
|
|
|
|
|
Logged
|
|
|
|
|
East Anglia (UK)
Offline
Edison Member
Karma: 49
Posts: 1439
May all of your blinks be without delay
|
 |
« Reply #3 on: February 04, 2013, 01:00:12 pm » |
What url do you connect to to view the usage data with a browser ? Does the router require you to log in ? Have you managed to get the Arduino to connect to that url, or any other ? Do the example programs for the shield/library work for you ?
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 5
|
 |
« Reply #4 on: February 04, 2013, 01:15:56 pm » |
1. http://192.168.0.1 2. Nope, just selecting admin and an empty password 3.I don't know how  4. They do, I think they do. I've tried a few out without failure.
|
|
|
|
|
Logged
|
|
|
|
|
East Anglia (UK)
Offline
Edison Member
Karma: 49
Posts: 1439
May all of your blinks be without delay
|
 |
« Reply #5 on: February 04, 2013, 01:43:36 pm » |
Either the examples work or not. Do they do what they should, not just compile without error ?
Presumably at least one of the examples connects to a URL and gets text back, which sounds like what you want to do. Can you provide a link to the shield that you are using ?
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 5
|
 |
« Reply #6 on: February 04, 2013, 02:09:45 pm » |
The ethernet shield is I believe this one here: http://store.arduino.cc/ww/index.php?main_page=product_info&cPath=11_5&products_id=199And I have been able to get some of them to work, although not all (simply because of a lack of troubleshooting commitment) but yes I have been able to get them to work, including the one that turns Arduino into a twitter client, which reads text back. I'm just no sure how to do what I am trying to do using that knowledge
|
|
|
|
|
Logged
|
|
|
|
|
East Anglia (UK)
Offline
Edison Member
Karma: 49
Posts: 1439
May all of your blinks be without delay
|
 |
« Reply #7 on: February 04, 2013, 04:18:16 pm » |
So, you can read text from Twitter and send it to the Serial monitor. That sounds like a good start. Did you get the one that connects to Google working ?
The principle of getting data from your router will be similar. Look at the Google script and substitute your router's address for the Google one. That should get you connected to your router and you should get back some text. Get that far, post the script here and the output to the serial monitor. It should include the prompt for a username and password, but we will see.
I do not have an Ethernet shield or the same router but will do my best to help, as, I am sure, will others.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 5
|
 |
« Reply #8 on: February 04, 2013, 07:56:31 pm » |
I've been trying all night to get the Google one to work, but no such luck.
It just tries to connect then fails, tries to connect then fails. I've tried every combination I can think to try.
Any advice?
|
|
|
|
|
Logged
|
|
|
|
|
Seattle, WA USA
Offline
Brattain Member
Karma: 316
Posts: 35593
Seattle, WA USA
|
 |
« Reply #9 on: February 05, 2013, 06:09:01 am » |
I've been trying all night to get the Google one to work, but no such luck. Can you connect to google using the IP address in the sketch, from your browser?
|
|
|
|
|
Logged
|
|
|
|
|
|