View previous topic :: View next topic |
Author |
Message |
thibaud
Joined: 28 Dec 2006 Posts: 3
|
ENJ28C60 PIC18F877 |
Posted: Thu Dec 28, 2006 2:59 pm |
|
|
Hi,
To be clear, I want to connect an ENJ to a PIC!
Where can I found some information!
Which tools is used to configure the chips? Melabs ????
Where can I found some code examples!
The goal is to put the temperature which is measured via an DS18S20 into an UDP packet.
And maybe the most important one, I am not a C programmer.
Is there somewhere a good free course available with decent examples.
Thanks for the support!
Thibaud : |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Thu Dec 28, 2006 5:29 pm |
|
|
There was recently a large thread on the possibility of using
the ENC28J60 with a 16F877 series PIC. See the following link:
http://www.ccsinfo.com/forum/viewtopic.php?t=29195
Also if you're not a C programmer, this will be a very hard project.
My advice is to become at least an intermediate level C programmer
before attempting this project. |
|
|
thibaud
Joined: 28 Dec 2006 Posts: 3
|
|
Posted: Sun Dec 31, 2006 6:06 am |
|
|
Hi PCM,
there is no problem with interstanding ip or assembler!
Just overcome the C problem!
I am a Cisco guy.
What do I have to install to start using C for the PIC's.
Which version of the Microchip tools supports this..
thanks.
thib |
|
|
ckielstra
Joined: 18 Mar 2004 Posts: 3680 Location: The Netherlands
|
|
Posted: Sun Dec 31, 2006 10:06 am |
|
|
Alarm bells ringing !!!
First, it is possible to do what you want, but it will not be easy. The most difficult problems are in the limitations of the platform, especially the limited memorysize. This means you'll spend a lot of time fixing stupid problems that have nothing to do with your actual design goals.
Second, why do you mention the PIC18F877 chip? It is a non-existing chip model, I guess you mean the obsolete PIC16F877? Besides all that, why do you want to start a new project in an environment that is totally new to you with such a specific limitation like a certain chip model? Microchip delivers probably over 200 different chip models, so why this limitation? Maybe it's even better not to look at Microchip at all and go for one of the dozens of other chip manufacturers?
Many people here on this forum are willing to help you with your project, but keep in mind you are here at a very specific forum. Ask a plumber how to solve a problem and he will tell you how to do it using steel pipes. Ask the same question to an electrician and he will tell you how to solve it using motors, wires and electronics. Ask the same question on this forum and we will tell you how to solve it using the CCS compiler and PIC processors......
I suggest you go back to the basics first and consider why you are starting this project. Asking the right questions now will save you an awfull lot of time.
Why do you want to learn C? Is it for future employment skills? If yes, go for C++ or C#.
Why do you want to use a PIC processor?
Will this be a once-in-a-lifetime project or are you planning for follow-ups?
How much time and money can you spend?
etc? |
|
|
thibaud
Joined: 28 Dec 2006 Posts: 3
|
|
Posted: Wed Jan 03, 2007 12:08 pm |
|
|
Hi ckielstra,
The goal is to build my own home domotica system based on an ethernet bus!
I followed a PIC course but it was based on assembler.
It was just a standaard introduction in PICS, meaning nothing about ethernet.
If you're having better alternative for the PIC, there are welcome.
Just provide as much as possible informations or resources.
Thanks.
Thibaud |
|
|
dyeatman
Joined: 06 Sep 2003 Posts: 1933 Location: Norman, OK
|
|
Posted: Wed Jan 03, 2007 12:48 pm |
|
|
The Rabbit system is really nice and works extremely well for ethernet applications. We have several here in our labs that were very easy to get working. Fairly low cost, good development system, built in ethernet and good support! Much better suited to your intended application.
http://www.rabbitsemiconductor.com/ |
|
|
asmallri
Joined: 12 Aug 2004 Posts: 1634 Location: Perth, Australia
|
|
Posted: Wed Jan 03, 2007 12:59 pm |
|
|
The application, as described is very simple and easy to do with the PIC either a PIC18F series (such as the PIC18F2620 with the ENC28J60) or, for a simpler and cheaper solution, the PIC18F97J60.
The Rabbit is an overkill for such a simple task. _________________ Regards, Andrew
http://www.brushelectronics.com/software
Home of Ethernet, SD card and Encrypted Serial Bootloaders for PICs!! |
|
|
|