Cheap ENC28J60 + PSoC 4 Connect Device

This project will be a platform for internet connected PSoC 4 devices.

Similar projects worth following
After purchasing a very cheap PSoC 4 CY8CKIT-049 4xxx Prototyping Kit, I figured that a very cheap ethernet controller connected to it would turn this into a very usable project. The CY8CKIT-049 costs only USD$4.00 and the ENC28J60 only costs USD$2.00, so for USD6.00 you can have a internet / network connected device for home automation or anything you can come up with.

Enjoy this project?



richard.aston wrote 12/05/2018 at 23:05 point

This is very do-able.  There are some minor issues.

Firstly, the ENC28J60 works at 3.3V so it is necessary to add a regulator.  This can be done by taking off the PTC fuse on the board and bridging the pins with a capacitor and a TO92 linear regulator. 

Secondly, it is a good idea to have a unique MAC address.  This can be done with a DS2502E48 device.  This takes just one IO with a resistor pull-up. 

The CY8CKIT-049-41XX is now discontinued but the 42XX version has more capability and is still very cheap.  It isn't debuggable because it uses a bootloader on the break-off part.  But if you have a MiniProg3 and a suitable header, you can use that instead.

I have written a little program to convert simple HTML to 'c' code that will kluge into Kartik Mankad's code (see link above).  I have adapted his code somewhat so that it incorporates the macros to make it work transparently between 8051 and ARM PSoC devices. 

If anyone is following this and wants to get in touch, Google my name to find my web site and email via the link.

  Are you sure? yes | no

richard.aston wrote 02/26/2017 at 18:49 point

There are two flavours of this board. One uses the CY8C4125 and the other (pictured) uses the CY8C4245.  The latter is the more powerful device.

I have got this working to an 'entry' level using work by Kartik Mankad that can be downloaded from

Note that Kartik's work is for the PSoC3 series and the PSoC4 has different endianness. I have got this working with the CY8C4125. If I can join the team, I'll upload the project files.

You will need to take it from there.  In 'real' projects, I want to use the PSoC5, not the PSoC4.

As a note: if you use the CY8C4245 as here, the SPI is simpler and Kartik's original SPI send/receive code works unmodified. The CY8C4125 works differently.

  Are you sure? yes | no

richard.aston wrote 05/18/2016 at 13:26 point

Any progress?  I'd like to follow your work as a) I have the very same bits on my desk as I type this and b) I'd really like to  get some useable handle on adding Ethernet to my products.

  Are you sure? yes | no

Nguyenbaduygtvtk51 wrote 02/20/2016 at 16:30 point

ai cho tôi project

  Are you sure? yes | no

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates