LPC1769 domotica project

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPC1769 domotica project

842 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by daan-ter-horst on Wed Apr 25 09:42:52 MST 2012
Hi all,

At this moment I've orderd a LPCXpresso 1769, and I'm thinking of the fact to use the ethernet plug to send messages up to my local network where other devices can receive information. For an example I'll connect an touchscreen to my lpc1769 and with it I can turn off or on some lights.
Now I was wondering if this is possible to make. And I've never done something with ethernet so I realy don't know what kind a TCP/IP stack or what else I would need to use.

Greets, Daan ter Horst
0 Kudos
17 Replies

805 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Fri Apr 27 07:53:45 MST 2012

Quote: frame
The LPCXpresso-baseboard is not exactly what I have in mind here.



To start with LPC1769 & Ethernet without soldering I often recommend this 60€ board:

http://www.embeddedartists.com/products/app/aoa_kit.php

Since it's including a LPC11C24 board and a LPC1769 board it's very useful to build simple home control projects with CAN node(s) and CAN to Ethernet Gate :)
0 Kudos

805 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by frame on Thu Apr 26 22:47:43 MST 2012
> The LPXCpresso module contains everything except the connector. You need a connector with magnetics.

Thats what I meant - sorry, it was quite late in the evening.
0 Kudos

805 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Thu Apr 26 12:06:14 MST 2012
Could be helpful to search this forum:

This post: http://knowledgebase.nxp.com/showthread.php?t=1499

also includes a picture of LPCXpresso & MagJack :rolleyes:

http://www.flickr.com/photos/58892165@N08/5392982747
0 Kudos

805 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by daan-ter-horst on Thu Apr 26 12:04:46 MST 2012
Yes the example given in this tread is really usefull. The only thing I ran into that I
can't find if the code is using anny interupts and if it uses it how can I use the interupts.
0 Kudos

805 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Rob65 on Thu Apr 26 11:47:56 MST 2012

Quote: frame
To butt into this conversation - I'm too having a LPCXpresso 1769. I did not consider any ethernet project yet, because of the missing PHY.
Are there any ressources on which one's are suited, how to connect, possibly including some example sources ?
.



Missing phy ?
The LPXCpresso module contains everything except the connector. You need a connector with magnetics. A simple search on mouser (search for magjack) should give you what you need.

And sample code? Has been mentioned before in this post. Use any of the supplied examples or uIP.
Again, just search, Google is your friend :)

Rob
0 Kudos

805 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by daan-ter-horst on Thu Apr 26 11:47:01 MST 2012
Maybe you can consider making your own board and let a company  realize it.
I'm doing te same right now, but I can make the board myself. As refrence I'm
using http://laboratorios.fi.uba.ar/lse/curso_intensivo/practicas_laboratorio/LPCXpresso_Base_Board_revB.p...
0 Kudos

805 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Thu Apr 26 11:39:56 MST 2012

Quote:
I did not consider any ethernet project yet, because of the missing PHY.

:confused:

What happened to its LAN8720A?
0 Kudos

805 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by frame on Thu Apr 26 11:32:52 MST 2012
To butt into this conversation - I'm too having a LPCXpresso 1769. I did not consider any ethernet project yet, because of the missing PHY.
Are there any ressources on which one's are suited, how to connect, possibly including some example sources ?

The LPCXpresso-baseboard is not exactly what I have in mind here. It is optimal for testing and learning projects, but far too bulky, and too expensive for real applications.
0 Kudos

805 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Wed Apr 25 18:40:43 MST 2012

Quote: daan-ter-horst
I don't find any posts :(

:confused:

http://knowledgebase.nxp.com/showthread.php?t=2639
0 Kudos

805 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by daan-ter-horst on Wed Apr 25 14:52:45 MST 2012

Quote: Zero
If you search this forum (try 'UDP' or 'UDP sample') you will find a lot of posts :)



I don't find any posts :(
0 Kudos

805 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Wed Apr 25 10:53:54 MST 2012
You should think about what you are trying to do :rolleyes:

You mentioned that you want to  'send messages up to my local network'. You can read / write UDP messages in your LAN or WLAN if you are able to write a PC or Android or whatever program for that device. That's an easy way to communicate between your devices :)

If you want to use a Web Server to show a page that's a different thing :rolleyes:
0 Kudos

805 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by daan-ter-horst on Wed Apr 25 10:40:38 MST 2012
But when I'll use an mobile application or an website to controll it.
The I have to use an TCP/IP stack right. Or is it easier to start with udp and later
on upgrade to tcp/ip??
0 Kudos

805 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Wed Apr 25 10:16:14 MST 2012
Look at 'Protocol operation' of:

http://en.wikipedia.org/wiki/Transmission_Control_Protocol

UDP is easy and fast and you can just send / receive frames without protocol overhead :eek:
0 Kudos

805 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by daan-ter-horst on Wed Apr 25 10:06:30 MST 2012
Thanks but what are the advantages of UDP agains TCP??
0 Kudos

805 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Wed Apr 25 10:01:56 MST 2012
UPD means UDP :confused:

http://en.wikipedia.org/wiki/User_Datagram_Protocol

If you search this forum (try 'UDP' or 'UDP sample') you will find a lot of posts :)
0 Kudos

805 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by daan-ter-horst on Wed Apr 25 09:56:55 MST 2012

Quote: Zero
Start simple, use UPD :eek:



Could you maybe explain what this means?? wouldn't you mean UDP??
0 Kudos

805 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Wed Apr 25 09:49:30 MST 2012

Quote: daan-ter-horst
I was wondering if this is possible to make.



Yes it is :)


Quote: daan-ter-horst
I realy don't know what kind a TCP/IP stack  or what else I would need to use.



Start simple, use UDP :eek:
0 Kudos