I. New Part: Wifi Arduino Purchased and assembled with Arduino Board
Figure 1.0: WIFI Arduino with USB cord
- What is WIFI Arduino? This is the shield you need to get Wi-Fi connectivity to our Arduino-based project. The Arduino WiFi shield is an add-on board that mates a ZeroG WiFi module to an Arduino board and allows for wireless connections between your Arduino and the Internet.
II. Current Set-up with Arduino Wifi Board
Figure 1.2: Current Set-up of Wifi Arduino board with breadboard, with connections without the router.
III. Connecting Arduino Board with Netgear WIFI router - What does the sep-up exemplify? As it can be seen in Figure 1.2, With the Wifi shield, we are able to begin coding our wifi coding. We are going to have to translate between to different software languages. We have begun programming the shield it self and creating the code that can be used to dim and brighten the light. The current picture we have above is when the Arduino and its wifi shield are connected through wifi. Our final steps are to create the program that can convert that into wifi and transmit the correct code to the Arduino to either raise or dim the light.
- Ideally, our setup with wifi board:
- Install DD-WRT Firmware
- Configure Router to be WiFi Client
- Do Some Tests
- Install USB Serial Drivers
- Install Serial-to-Network Proxy
Installing programs on a router, known as firmware, are achieved by a method called flashing.
- In order to start installing DD-WRT Firmware on the router we needed to check if our router is supported. Go to router database to do that.
- Identify the model brand of the router that you have. Then you can directly go to DD-WRT downloads page to find the files you need.
- Create a folder before you download any files and save all files in this new folder.
- Log onto GUI and upload your files to the router.
- 2. Configure Router to be WiFi Client
- Hard reset your router. It means reset by pressing reset button usually on the back of the router.
- Connect router by cable connecting your computer and LAN port of your router.Set IP address on your computer to be of your router.
- Open a web browser and connect to 192.168.1.1 to view the DD-WRT GUI.
- If you are not asked to change password reset your router again and hit reset password.
- Go to Wireless-> Wireless Security and enter the Security Mode and other key information that matches your router. Then Hit SAVE. Also change your Wireless Mode to client.
- On that same tab set the Wireless Network Name (SSID) to exactly the same SSID as your primary router you will be connecting to over wireless. Make sure spelling and capitalization match.
- NEXT go to Setup -> Basic Setup and change Connection Type to Automatic Configuration - DHCP
- On that same tab in the Network Setup section set the Local IP Address to 192.168.2.1. Make sure your Client subnet is different from the Primary Router subnet.
- Change your Timezone and DST to match where you are.
- Set your computer back to auto IP and auto DNS if you like. You will get a DHCP address from the router.
3. Do Some Tests
4.Install USB Serial Drivers
- Plug the USB end of the USB to serial adapter into a USB port on your computer.
· Insert the installation CD that came with the adapter into the drive on the computer.
- Accept the License Agreement then click the "Next" button to continue with the installation.
- Click the "Finish" button to complete the USB to serial driver installation and then unplug the adapter.
- Select "Yes, I want to restart my computer now" then click the "Finish" button to complete the USB to serial driver installation.
- Unplug the adapter and wait for your computer to restart.
- Plug the adapter into the USB port, after the computer has restarted, to verify that the adapter is working correctly.
5.Install Serial-to-Network Proxy
- I can’t find anything about this online
- Also if i remember correctly we didn’t fininsh in this weeks lab
Helpful links:
router database:
http://www.dd-wrt.com/site/support/router-database
The steps are:
IV. Helpful Video:
WiFi for Arduino with Asus WL-520gu
A quick video showing a router acting as a serial-to-network gateway
Source: http://todbot.com/blog/2010/12/16/wifi-for-arduino-with-asus-wl-520gu/
This website needs blog posts for weeks 7, 8 and 9 -- you all need to catch up! No resting on your laurels.....
ReplyDeletework you do .. Thanks for taking the time to discuss this, I feel strongly about it and love learning more on this topic.
ReplyDeleteNetgear Router Tehnical Support please visit the link.
Thankyou
Lacy Brown