Hack an Ethernet Cable to connect LPC1768 to network

The mbed Application Board makes it very easy to get your LPC1768 connected to a network but it is not absolutely necessary if you are comfortable using wire strippers. The mbed 1768 has all the electronics needed to connect to an ethernet network with the exception of an ethernet jack. This technique will work for connecting the LPC1768 directly to a switch with a short Ethernet cable but is a slightly "off-label" use and will probably not work for longer cable runs or in noisy environments.

If your cable is wired according to the standard it will have an orange and white striped wire on the far left with a solid orange next to it as shown in the picture below. You can make the connection by cutting an ethernet cable and wiring 4 wires from the cable to 4 pins on the mbed 1768.

cat5 end

If the colors of your cable follow the standard you will connect them as in the picture below with the solid green connecting to the 5th pin down from the top right, followed by the green and white wire connected to the 6th pin. The solid orange wire connects to the 7th pin from the top right and the orange and white striped wire connects to the 8th pin down from the top

LPC1768 on breadboard

Connect the other end of the cable to a network switch then connect the USB cable to power the board. If you made the wiring connections correctly, the switch will indicate your board is connected. My Ethernet cable is only about a foot long and it connected to a D-Link switch sitting on my desk without any problems. If you need to run a longer piece of cable you should add a proper Ethernet jack as shown on page 69 of the datasheet for the Ethernet PHY chip included on the LPC1768 mbed board. The 4 resistors and 2 decoupling capacitors are already included on the LPC1768 board.

TI DP83848C datasheet


1 comment on Hack an Ethernet Cable to connect LPC1768 to network:

28 Nov 2014

Caution: Do not use this configuration with POE devices

As a precautionary note, this configuration should be limited to "mbed to PC", or "mbed to non-POE switch".

One mbed user started with these instructions but deviated - he had a Power Source Equipment (PSE) switch, which is often referred to as Power Over Ethernet (POE). The high voltage from the PSE switch fried his mbed module. Use of more traditional magnetics is recommended - provided by many of the baseboards, and by RJ45 breakout board adapters.

Please log in to post comments.