-
-
Notifications
You must be signed in to change notification settings - Fork 37
Setup guide: Ethernet
vike256 edited this page Nov 3, 2023
·
10 revisions
Guide: Download and install Arduino IDE
- Connect an ethernet cable from the board to the PC
- Go to
Control Panel\Network and Internet\Network Connections
- Go to your main network's properties
- Go to
Sharing
- Turn on
Allow other network users to connect through this computer's Internet connection
- Select your board's ethernet from the dropdown
- Click
OK
- Go to
Windows Settings > Network & internet > Ethernet
- Find your ethernet shield's settings
- Set IP assignment to manual for IPv4
- Set IP address to the same range as your main connection (
x.x.x.y
, replace they
with any value that is not being used) - Set subnet mask to the same as your main connection (Command
ipconfig
in terminal might help to find that) - Click
OK
- Connect the board to the PC
- Open
Unibot/src/ethernet/ethernet.ino
with Arduino IDE - Go to
Tools > Board
and select the board you are using - Go to
Tools > Port
and select the correct port - In
ethernet.ino
changemac
to your ethernet shield's MAC address - Change
ip
to the same range as your main connection (x.x.x.y
, replace they
with any value that is not being used) (NOTE: This should be different from the IP in Set ethernet shield IP) - Change
encrypt
to the same as in yourconfig.ini
(true
/false
) - Click
Upload