EmbeddedRelated.com
Forums

Is LPC2138 UART levels OK for a 5V part?

Started by fredrikssonjohan November 10, 2005
We are reading temperatures in silos (bins) mainly with grain but also
animal food or other sensitive to heat products.

It's 10-90 meter silos with 1-12 cables in each and 1-20 silos and
4-16 sensors per cable. Biggest system as per now is 20 silos, 240
cables and 2400 sensors. All connected with about 8.5km of wire.

Just changing from PIC16 to LPC2138 as "heart" of the system. Spent
some days just going thrue all data sheets and sometime you just loose
focus, as with the UART, to find all specifications and values.

Cheers
/Johan

--- In lpc2000@lpc2..., "Ake Hedman, eurosource" <akhe@b...>
wrote:
>
> Fredrik,
>
> >please upload to file area if possible!
> I will do that.
>
> >....1200 sensors...
> May I as what you do!?
>
> Cheers
> /Ake
>



An Engineer's Guide to the LPC2100 Series

Thats a lot of sensors!!! Impressive! Have you seen the "Snaku" at
http://www.ibuttonlink.com/

/Ake*
*
fredrikssonjohan wrote:

> We are reading temperatures in silos (bins) mainly with grain but also
> animal food or other sensitive to heat products.
>
> It's 10-90 meter silos with 1-12 cables in each and 1-20 silos and
> 4-16 sensors per cable. Biggest system as per now is 20 silos, 240
> cables and 2400 sensors. All connected with about 8.5km of wire.
>
> Just changing from PIC16 to LPC2138 as "heart" of the system. Spent
> some days just going thrue all data sheets and sometime you just loose
> focus, as with the UART, to find all specifications and values.
>
> Cheers
> /Johan
>
> --- In lpc2000@lpc2..., "Ake Hedman, eurosource" <akhe@b...>
> wrote:
> >
> > Fredrik,
> >
> > >please upload to file area if possible!
> > I will do that.
> >
> > >....1200 sensors...
> > May I as what you do!?
> >
> > Cheers
> > /Ake
> > >. >
>


--
---
Ake Hedman (YAP - Yet Another Programmer)
eurosource, Brattbergavägen 17, 820 50 LOS, Sweden
Phone: (46) 657 413430 Cellular: (46) 73 84 84 102
Company home: http://www.eurosource.se
Kryddor/Te/Kaffe: http://www.brattberg.com
Personal homepage: http://www.eurosource.se/akhe
Automated home: http://www.vscp.org


Nice system for green houses or other "lighter" use. Our cables are
heavy duty, taking a load of 4.5 tons each. As we are mainly in dusty
environments we also face the need to meet the ATEX (explosive safe)
regulations.

We have from a handheld instrument (Windows CE) and a probe that you
stick in to the grain to a central computer talking to distributed
cards (LPC2138 + DS2480B) via a RS-485 network. 24/7 data collection
with unlimited retension of data, alarm triggers individually per
sensor / cable, alarm for raising or over temperature, reporting...you
name it and it's in there :-)

My next step is to add embedded webserver, radio modem, bluetooth and
control panel as add-on cards to it.

Cheers
/Johan

--- In lpc2000@lpc2..., "Ake Hedman, eurosource" <akhe@b...>
wrote:
>
> Thats a lot of sensors!!! Impressive! Have you seen the "Snaku" at
> http://www.ibuttonlink.com/
>
> /Ake*


Have yuo considered wireless mesh network nodes as opposed to such long
cables? I used to work with 802.15.4 and Zigbee, and that company had a good
working solution. I could post the web page if anybody's interested...

Jim

On 11/11/05, fredrikssonjohan <johan@joha...> wrote:
>
> We are reading temperatures in silos (bins) mainly with grain but also
> animal food or other sensitive to heat products.
>
> It's 10-90 meter silos with 1-12 cables in each and 1-20 silos and
> 4-16 sensors per cable. Biggest system as per now is 20 silos, 240
> cables and 2400 sensors. All connected with about 8.5km of wire.
>
> Just changing from PIC16 to LPC2138 as "heart" of the system. Spent
> some days just going thrue all data sheets and sometime you just loose
> focus, as with the UART, to find all specifications and values.
>
> Cheers
> /Johan
>
> --- In lpc2000@lpc2..., "Ake Hedman, eurosource" <akhe@b...>
> wrote:
> >
> > Fredrik,
> >
> > >please upload to file area if possible!
> > I will do that.
> >
> > >....1200 sensors...
> > May I as what you do!?
> >
> > Cheers
> > /Ake
> >
>
--
----------------------
Jim Parziale
Malden, MA
----------------------


Fredrik,

I'm very interested in sensor networks. Also something I have been
working with for many years now and also do at the moment on an open
basis in the VSCP project (http://www.vscp.org) aside of my regular
consulting work.

Very impressing data for your system. You use RS-484. Never though of
CAN instead? Nice with distributed control as it solves arbitration and
is reliable to a great extent.

/Ake

Any reason you

fredrikssonjohan wrote:

> Nice system for green houses or other "lighter" use. Our cables are
> heavy duty, taking a load of 4.5 tons each. As we are mainly in dusty
> environments we also face the need to meet the ATEX (explosive safe)
> regulations.
>
> We have from a handheld instrument (Windows CE) and a probe that you
> stick in to the grain to a central computer talking to distributed
> cards (LPC2138 + DS2480B) via a RS-485 network. 24/7 data collection
> with unlimited retension of data, alarm triggers individually per
> sensor / cable, alarm for raising or over temperature, reporting...you
> name it and it's in there :-)
>
> My next step is to add embedded webserver, radio modem, bluetooth and
> control panel as add-on cards to it.
>
> Cheers
> /Johan
>
> --- In lpc2000@lpc2..., "Ake Hedman, eurosource" <akhe@b...>
> wrote:
> >
> > Thats a lot of sensors!!! Impressive! Have you seen the "Snaku" at
> > http://www.ibuttonlink.com/
> >
> > /Ake* >
>
> SPONSORED LINKS
> Microprocessor
> <http://groups.yahoo.com/gads?t=ms&k=Microprocessor&w1=Microprocessor&w2=Microcontrollers&w3=Pic+microcontrollers&w451+microprocessor&c=4&s&.sig=tsVC-J9hJ5qyXg0WPR0l6g>
> Microcontrollers
> <http://groups.yahoo.com/gads?t=ms&k=Microcontrollers&w1=Microprocessor&w2=Microcontrollers&w3=Pic+microcontrollers&w451+microprocessor&c=4&s&.sig=DvJVNqC_pqRTm8Xq01nxwg>
> Pic microcontrollers
> <http://groups.yahoo.com/gads?t=ms&k=Pic+microcontrollers&w1=Microprocessor&w2=Microcontrollers&w3=Pic+microcontrollers&w451+microprocessor&c=4&s&.sig=TpkoX4KofDJ7c6LyBvUqVQ>
>
> 8051 microprocessor
> <http://groups.yahoo.com/gads?t=ms&k51+microprocessor&w1=Microprocessor&w2=Microcontrollers&w3=Pic+microcontrollers&w451+microprocessor&c=4&s&.sig=1Ipf1Fjfbd_HVIlekkDP-A >
>
> >. >
>


--
---
Ake Hedman (YAP - Yet Another Programmer)
eurosource, Brattbergavägen 17, 820 50 LOS, Sweden
Phone: (46) 657 413430 Cellular: (46) 73 84 84 102
Company home: http://www.eurosource.se
Kryddor/Te/Kaffe: http://www.brattberg.com
Personal homepage: http://www.eurosource.se/akhe
Automated home: http://www.vscp.org


CAN bus was thought of but as we needed to interface with an onther
RS-485 system it was put in the drawer again.

I do am tempted to switch to it as the main bus and in case of old
system have a RS-485 doughter card the adopt to them.

Will certenly put some time on CAN after this new card is done and
maybe change later next year if possible.

I'll have a look on the VSCP project also...

All products will be on a web site about february next year.

Cheers
/Johan

--- In lpc2000@lpc2..., "Ake Hedman, eurosource" <akhe@b...>
wrote:
>
> Fredrik,
>
> I'm very interested in sensor networks. Also something I have been
> working with for many years now and also do at the moment on an open
> basis in the VSCP project (http://www.vscp.org) aside of my regular
> consulting work.
>
> Very impressing data for your system. You use RS-484. Never though of
> CAN instead? Nice with distributed control as it solves arbitration
and
> is reliable to a great extent.
>
> /Ake
>
> Any reason you
>
> fredrikssonjohan wrote:
>
> > Nice system for green houses or other "lighter" use. Our cables are
> > heavy duty, taking a load of 4.5 tons each. As we are mainly in dusty
> > environments we also face the need to meet the ATEX (explosive safe)
> > regulations.
> >
> > We have from a handheld instrument (Windows CE) and a probe that you
> > stick in to the grain to a central computer talking to distributed
> > cards (LPC2138 + DS2480B) via a RS-485 network. 24/7 data collection
> > with unlimited retension of data, alarm triggers individually per
> > sensor / cable, alarm for raising or over temperature, reporting...you
> > name it and it's in there :-)
> >
> > My next step is to add embedded webserver, radio modem, bluetooth and
> > control panel as add-on cards to it.
> >
> > Cheers
> > /Johan
> >
> > --- In lpc2000@lpc2..., "Ake Hedman, eurosource" <akhe@b...>
> > wrote:
> > >
> > > Thats a lot of sensors!!! Impressive! Have you seen the
"Snaku" at
> > > http://www.ibuttonlink.com/
> > >
> > > /Ake*
> >
> >
> >
> >
> >
> >
> >
> > SPONSORED LINKS
> > Microprocessor
> >
<http://groups.yahoo.com/gads?t=ms&k=Microprocessor&w1=Microprocessor&w2=Microcontrollers&w3=Pic+microcontrollers&w451+microprocessor&c=4&s&.sig=tsVC-J9hJ5qyXg0WPR0l6g>

> > Microcontrollers
> >
<http://groups.yahoo.com/gads?t=ms&k=Microcontrollers&w1=Microprocessor&w2=Microcontrollers&w3=Pic+microcontrollers&w451+microprocessor&c=4&s&.sig=DvJVNqC_pqRTm8Xq01nxwg>

> > Pic microcontrollers
> >
<http://groups.yahoo.com/gads?t=ms&k=Pic+microcontrollers&w1=Microprocessor&w2=Microcontrollers&w3=Pic+microcontrollers&w451+microprocessor&c=4&s&.sig=TpkoX4KofDJ7c6LyBvUqVQ>

> >
> > 8051 microprocessor
> >
<http://groups.yahoo.com/gads?t=ms&k51+microprocessor&w1=Microprocessor&w2=Microcontrollers&w3=Pic+microcontrollers&w451+microprocessor&c=4&s&.sig=1Ipf1Fjfbd_HVIlekkDP-A>

> >
> >
> >
> >

> > >.
> >
> >
> >

> > --
> ---
> Ake Hedman (YAP - Yet Another Programmer)
> eurosource, Brattbergavägen 17, 820 50 LOS, Sweden
> Phone: (46) 657 413430 Cellular: (46) 73 84 84 102
> Company home: http://www.eurosource.se
> Kryddor/Te/Kaffe: http://www.brattberg.com
> Personal homepage: http://www.eurosource.se/akhe
> Automated home: http://www.vscp.org


Yes, we talked about it in a early stage but as I don't have any
knowledge in radio and some customers said that they dont want more
radio interferance in their plants made us leave it at that time.

The radio module I'm looking at now is for connecting the control room
with the plant instead of using up to 500 meter of cable. And if the
plant is divided up in two, three groups use radio to make it as one
to the control room.

But, that will take some study from my side. Seen some nice ready
built ones for OEM use with a UART interface to them so maybe I don't
need to learn it all myself!

Please post the web page if you can. I do like to see it!

Cheers
/Johan

--- In lpc2000@lpc2..., Jim Parziale <nuncio.bitis@g...> wrote:
>
> Have yuo considered wireless mesh network nodes as opposed to such long
> cables? I used to work with 802.15.4 and Zigbee, and that company
had a good
> working solution. I could post the web page if anybody's interested...
>
> Jim
>
> On 11/11/05, fredrikssonjohan <johan@s...> wrote:
> >
> > We are reading temperatures in silos (bins) mainly with grain but
also
> > animal food or other sensitive to heat products.
> >
> > It's 10-90 meter silos with 1-12 cables in each and 1-20 silos and
> > 4-16 sensors per cable. Biggest system as per now is 20 silos, 240
> > cables and 2400 sensors. All connected with about 8.5km of wire.
> >
> > Just changing from PIC16 to LPC2138 as "heart" of the system. Spent
> > some days just going thrue all data sheets and sometime you just loose
> > focus, as with the UART, to find all specifications and values.
> >
> > Cheers
> > /Johan
> >
> > --- In lpc2000@lpc2..., "Ake Hedman, eurosource" <akhe@b...>
> > wrote:
> > >
> > > Fredrik,
> > >
> > > >please upload to file area if possible!
> > > I will do that.
> > >
> > > >....1200 sensors...
> > > May I as what you do!?
> > >
> > > Cheers
> > > /Ake
> > >
> >
> --
> ----------------------
> Jim Parziale
> Malden, MA
> ---------------------- >
>


Keep us updated. Very interesting!

/Ake

fredrikssonjohan wrote:

> CAN bus was thought of but as we needed to interface with an onther
> RS-485 system it was put in the drawer again.
>
> I do am tempted to switch to it as the main bus and in case of old
> system have a RS-485 doughter card the adopt to them.
>
> Will certenly put some time on CAN after this new card is done and
> maybe change later next year if possible.
>
> I'll have a look on the VSCP project also...
>
> All products will be on a web site about february next year.
>
> Cheers
> /Johan
>
> --- In lpc2000@lpc2..., "Ake Hedman, eurosource" <akhe@b...>
> wrote:
> >
> > Fredrik,
> >
> > I'm very interested in sensor networks. Also something I have been
> > working with for many years now and also do at the moment on an open
> > basis in the VSCP project (http://www.vscp.org)
> <http://www.vscp.org%29> aside of my regular
> > consulting work.
> >
> > Very impressing data for your system. You use RS-484. Never though of
> > CAN instead? Nice with distributed control as it solves arbitration
> and
> > is reliable to a great extent.
> >
> > /Ake
> >
> > Any reason you
> >
> > fredrikssonjohan wrote:
> >
> > > Nice system for green houses or other "lighter" use. Our cables are
> > > heavy duty, taking a load of 4.5 tons each. As we are mainly in dusty
> > > environments we also face the need to meet the ATEX (explosive safe)
> > > regulations.
> > >
> > > We have from a handheld instrument (Windows CE) and a probe that you
> > > stick in to the grain to a central computer talking to distributed
> > > cards (LPC2138 + DS2480B) via a RS-485 network. 24/7 data collection
> > > with unlimited retension of data, alarm triggers individually per
> > > sensor / cable, alarm for raising or over temperature, reporting...you
> > > name it and it's in there :-)
> > >
> > > My next step is to add embedded webserver, radio modem, bluetooth and
> > > control panel as add-on cards to it.
> > >
> > > Cheers
> > > /Johan
> > >
> > > --- In lpc2000@lpc2..., "Ake Hedman, eurosource" <akhe@b...>
> > > wrote:
> > > >
> > > > Thats a lot of sensors!!! Impressive! Have you seen the
> "Snaku" at
> > > > http://www.ibuttonlink.com/
> > > >
> > > > /Ake*
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > SPONSORED LINKS
> > > Microprocessor
> > >
> <http://groups.yahoo.com/gads?t=ms&k=Microprocessor&w1=Microprocessor&w2=Microcontrollers&w3=Pic+microcontrollers&w451+microprocessor&c=4&s&.sig=tsVC-J9hJ5qyXg0WPR0l6g
> <http://groups.yahoo.com/gads?t=ms&k=Microprocessor&w1=Microprocessor&w2=Microcontrollers&w3=Pic+microcontrollers&w451+microprocessor&c=4&s&.sig=tsVC-J9hJ5qyXg0WPR0l6g>>
>
> > > Microcontrollers
> > >
> <http://groups.yahoo.com/gads?t=ms&k=Microcontrollers&w1=Microprocessor&w2=Microcontrollers&w3=Pic+microcontrollers&w451+microprocessor&c=4&s&.sig=DvJVNqC_pqRTm8Xq01nxwg
> <http://groups.yahoo.com/gads?t=ms&k=Microcontrollers&w1=Microprocessor&w2=Microcontrollers&w3=Pic+microcontrollers&w451+microprocessor&c=4&s&.sig=DvJVNqC_pqRTm8Xq01nxwg>>
>
> > > Pic microcontrollers
> > >
> <http://groups.yahoo.com/gads?t=ms&k=Pic+microcontrollers&w1=Microprocessor&w2=Microcontrollers&w3=Pic+microcontrollers&w451+microprocessor&c=4&s&.sig=TpkoX4KofDJ7c6LyBvUqVQ
> <http://groups.yahoo.com/gads?t=ms&k=Pic+microcontrollers&w1=Microprocessor&w2=Microcontrollers&w3=Pic+microcontrollers&w451+microprocessor&c=4&s&.sig=TpkoX4KofDJ7c6LyBvUqVQ>>
>
> > >
> > > 8051 microprocessor
> > >
> <http://groups.yahoo.com/gads?t=ms&k51+microprocessor&w1=Microprocessor&w2=Microcontrollers&w3=Pic+microcontrollers&w451+microprocessor&c=4&s&.sig=1Ipf1Fjfbd_HVIlekkDP-A
> <http://groups.yahoo.com/gads?t=ms&k51+microprocessor&w1=Microprocessor&w2=Microcontrollers&w3=Pic+microcontrollers&w451+microprocessor&c=4&s&.sig=1Ipf1Fjfbd_HVIlekkDP-A>>
>
> > >
> > >
> > >
> > >
>
> > > >.
> > >
> > >
> > >
>
> > >
> >
> >
> > --
> > ---
> > Ake Hedman (YAP - Yet Another Programmer)
> > eurosource, Brattbergavägen 17, 820 50 LOS, Sweden
> > Phone: (46) 657 413430 Cellular: (46) 73 84 84 102
> > Company home: http://www.eurosource.se
> > Kryddor/Te/Kaffe: http://www.brattberg.com
> > Personal homepage: http://www.eurosource.se/akhe
> > Automated home: http://www.vscp.org
> >
> >
> >
> >
> >
>
> >. >
>


--
---
Ake Hedman (YAP - Yet Another Programmer)
eurosource, Brattbergavägen 17, 820 50 LOS, Sweden
Phone: (46) 657 413430 Cellular: (46) 73 84 84 102
Company home: http://www.eurosource.se
Kryddor/Te/Kaffe: http://www.brattberg.com
Personal homepage: http://www.eurosource.se/akhe
Automated home: http://www.vscp.org


I am interested in ZigBee information - Do you have a url?
_____

From: lpc2000@lpc2... [mailto:lpc2000@lpc2...] On Behalf
Of Jim Parziale
Sent: Friday, November 11, 2005 4:06 AM
To: lpc2000@lpc2...
Subject: Re: [lpc2000] Re: Is LPC2138 UART levels OK for a 5V part?
Have yuo considered wireless mesh network nodes as opposed to such long
cables? I used to work with 802.15.4 and Zigbee, and that company had a
good
working solution. I could post the web page if anybody's interested...

Jim

On 11/11/05, fredrikssonjohan <johan@joha...> wrote:
>
> We are reading temperatures in silos (bins) mainly with grain but
also
> animal food or other sensitive to heat products.
>
> It's 10-90 meter silos with 1-12 cables in each and 1-20 silos and
> 4-16 sensors per cable. Biggest system as per now is 20 silos, 240
> cables and 2400 sensors. All connected with about 8.5km of wire.
>
> Just changing from PIC16 to LPC2138 as "heart" of the system. Spent
> some days just going thrue all data sheets and sometime you just loose
> focus, as with the UART, to find all specifications and values.
>
> Cheers
> /Johan
>
> --- In lpc2000@lpc2..., "Ake Hedman, eurosource" <akhe@b...>
> wrote:
> >
> > Fredrik,
> >
> > >please upload to file area if possible!
> > I will do that.
> >
> > >....1200 sensors...
> > May I as what you do!?
> >
> > Cheers
> > /Ake
> >
>
--
----------------------
Jim Parziale
Malden, MA
----------------------

SPONSORED LINKS

Microprocessor
<http://groups.yahoo.com/gads?t=ms&k=Microprocessor&w1=Microprocessor&w2
=Microcontrollers&w3=Pic+microcontrollers&w451+microprocessor&c=4&s=9
3&.sig=tsVC-J9hJ5qyXg0WPR0l6g>

Microcontrollers
<http://groups.yahoo.com/gads?t=ms&k=Microcontrollers&w1=Microprocessor&
w2=Microcontrollers&w3=Pic+microcontrollers&w451+microprocessor&c=4&s
&.sig=DvJVNqC_pqRTm8Xq01nxwg>

Pic microcontrollers
<http://groups.yahoo.com/gads?t=ms&k=Pic+microcontrollers&w1=Microproces
sor&w2=Microcontrollers&w3=Pic+microcontrollers&w451+microprocessor&c
=4&s&.sig=TpkoX4KofDJ7c6LyBvUqVQ>

8051 microprocessor
<http://groups.yahoo.com/gads?t=ms&k51+microprocessor&w1=Microprocess
or&w2=Microcontrollers&w3=Pic+microcontrollers&w451+microprocessor&c=
4&s&.sig=1Ipf1Fjfbd_HVIlekkDP-A

_____

> .
_____


> We are reading temperatures in silos (bins) mainly with grain but also
> animal food or other sensitive to heat products.
>
> It's 10-90 meter silos with 1-12 cables in each and 1-20 silos and
> 4-16 sensors per cable. Biggest system as per now is 20 silos, 240
> cables and 2400 sensors. All connected with about 8.5km of wire.
>
> Just changing from PIC16 to LPC2138 as "heart" of the system. Spent
> some days just going thrue all data sheets and sometime you just loose
> focus, as with the UART, to find all specifications and values.


I'm sure you're aware of the LinkOEM module? It implements Chris Fox's
design per his application note, in fact I believe it may incorporate his
firmware.

http://www.ibuttonlink.com/

Joel