DIY a network router

Source: InternetPublisher:酷到被通缉 Keywords: LED router Updated: 2024/12/13

This project allows you to know how many devices are connected to your router and display the real-time network speed through different colored LEDs.

pYYBAGKN5YmAZeyyAAEouo3vjrE135.png

The router has the following features:

Lets you know how many devices are connected to your router

Display real-time network speed through different color LEDs

If you like this router, follow these steps:

Step 1: What we need

poYBAGKN5YWAWymvAAcKIX-o0Is348.png

LinkIt Smart 7688 Dual Core

LinkIt Smart 7688 Duo Arduino Breakout

Digital RGB LED Soft Light Strip

Some nuts and screws

Case Matte Black Acrylic

Step 2: Drawing and Laser Cutting

poYBAGKN5X-AdhwEAAK7cgIjqAI979.png

poYBAGKN5XuATKpRAAKi1oGRT_E344.png

As you can see in the pictures, I did some work on the structure. It consists of 3mm matte black acrylic sheets.

You can download my drawings here .

Laser Cutting

Now, you need a piece of matte black acrylic (3mm 40cm*60cm) and cut the acrylic according to the drawing you have downloaded.

Step 3: Module connection

poYBAGKN5XeAXH5kAAJbFyBeeFs311.png

pYYBAGKN5XKAfUNTAAK_VL5KtxM704.png

Prepare to cut the acrylic sheet and circuit module as shown in the picture.

The hardware connections and enclosure assembly are very simple.

First let's fix the Arduino Breakout of LinkIt Smart 7688 Duo board to the acrylic board with screws and nuts. Connect the Grove Led Strip to the D6 port on the breakout board .

Then, plug the LinkIt Smart 7688 Duo board into the Arduino Breakout board and complete the assembly of the router box as shown in the picture.

Step 4: Set up MT7688

pYYBAGKN5WyAfBvtAAEs6lPAE74935.png

Now, we should do some software work. If this is your first time using MT7688, please go to http://www.seeedstudio.com/wiki/LinkIt_Smart_7688_Duo to get started.

If you are already familiar with LinkItSmart 7688, please access the MT7688 terminal via SSH or Serial.

Modify the configuration file to change MT7688 Duo to router mode.

vi /etc/config/ network

Configuration interface "Local Area Network"

Option prototype "static"

option netmask "255.255.255.0"

option ip addr '192.168.100.1'

Configuration interface 'wan'

option ifname 'eth0'

Option prototype "dhcp"

Enable Cloud Bridge

> uci set yunbridge.config.disabled='0'

> uci commit

Setting up startup scripts

> chmod +x script/netDetermineBox
> cp script/netDetermineBox /etc/init.d/
> /etc/init.d/netDetermineBox enable
> /etc/init.d/netDetermineBox start &
> reboot

Step 5: Upload the Arduino Sketch using the Arduino IDE

Download the demo code at https://github.com/Lee-Kevin/MT7688_Demo/tree/mas

Click the "Download zip" button on the right side of the webpage to download all the codes.

Unzip the downloaded zip file to "C:Use rsAdministratorDocumentsArduino" and remove the "-master" from the unzipped file name.

Launch the Arduino IDE.

Click Sketch>Add file and add the routerBox_Arduino.ino file from "C:UsersAdministratorDocumentsArduinoMT7688_Demomt7688rou terBox"

Press CTRL + U to upload the code to your board.

Now congratulations, you have just made yourself a pretty awesome DIY network router.

Step 6: Results

poYBAGKN5WaAKf71AAUZCVvpepY378.png

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号