Lantronix Xport serial voltage level?

Go To Last Post
15 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I've got one of these things on order. Plan to hook it up to a mega1280 with a bunch of displays on the spi and a bunch of encoders running on the pinchange interrupts (see? its about AVRs afterall!) I see from the datasheet is has 8 pins on the bottom, 3.3v, gnd, reset, rx, tx, and 3 io lines. My question: do I hook the xport rx and tx lines right to the AVR?
They are '5v tolerant', but I assume they are inverted like the rxd0 and txd0, so should connect direct to AVR. Anyone used one? Is using it easier than learning what every bit in the tcp header does?

Imagecraft compiler user

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I used the xport and connected it directly to a mega 162 with no problems.

I would rather attempt something great and fail, than attempt nothing and succeed - Fortune Cookie

 

"The critical shortage here is not stuff, but time." - Johan Ekdahl

 

"Step N is required before you can do step N+1!" - ka7ehk

 

"If you want a career with a known path - become an undertaker. Dead people don't sue!" - Kartman

"Why is there a "Highway to Hell" and only a "Stairway to Heaven"? A prediction of the expected traffic load?"  - Lee "theusch"

 

Speak sweetly. It makes your words easier to digest when at a later date you have to eat them ;-)  - Source Unknown

Please Read: Code-of-Conduct

Atmel Studio6.2/AS7, DipTrace, Quartus, MPLAB, RSLogix user

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Thanks! That makes me less jittery. I know when the thing arrives, the 'Are you done yet?' questions will follow soon after.

Imagecraft compiler user

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Give a report on how long it took to get to the "Hello world" stage when you get it.

[note to js: You won't get it; it's a C thing. ;) ]

Lee

You can put lipstick on a pig, but it is still a pig.

I've never met a pig I didn't like, as long as you have some salt and pepper.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I assume one puts 'hello world' as the payload of a UDP packet on ip w.x.y.z and port 1234 and calls sendto() somehow, but I havent found the example programs anywhere on the lantronix site yet. Anyone have a link to the lantronix api or xport.h file or however you use the thing? I can do all this stuff on UDP our bd that has a cs8900 10mbit chip. Naturally, the customer doesnt want his little box to be the squeaky wheel that slows the whole machine down, so he wants 100mbit (purely as a CYA manuver). Same problem with TCP. Some manager reads an overview somewhere that says 'UDP doesnt guarantee error free delivery' or something, so, as a manager, he must make a decision: no bonus because his project doesnt work because of network errors, or everything is smooth because of good project management, ergo, TCP is mandated. Man did I get up on the wrong side of the bed huh?

Imagecraft compiler user

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I used the Lantronix competitor, a DigiCOM ME. It's quite easy to use and I expect the LANtronix to be no different.

Such module is a complete computer, a Digicom ME has a command line where you can type in cryptic commands :)

Basically you can telnet to a certain port and the connection the AVR is a fact.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Quote:

I used the Lantronix competitor, a DigiCOM ME.

Can you give a link to that? Is that model from www.digicom.it ? I cannot find a link to a "digicom ME" model.

You can put lipstick on a pig, but it is still a pig.

I've never met a pig I didn't like, as long as you have some salt and pepper.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Silly me. It's called a Digiconnect ME :oops:

Here

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Thanks. Looks like direct competitive pricing & form-factor as well.

You can put lipstick on a pig, but it is still a pig.

I've never met a pig I didn't like, as long as you have some salt and pepper.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Interesting that one has 256K SRAM and the other 8MB of SDRAM. Is this just for the internal use of the device or can the "client" make any use of that storage? If yes then the Digi one may be more attractive.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

You can develop custom software for the Digiconnect ;)

I have never looked really deep into the device and all its possibilities. For just a simple serial<>TCP application it's just a few clicks in the web-based config pages and you're done.

You could use it as main CPU and use an AVR as simple keyboard/display coprocessor :)

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Bob:
Here is the link
http://www.lantronix.com/device-...
If memory serves me correctly, the unit comes with a cd-rom that has a wizard to get you started.

I'll look around for the design notes as I did not do the core programming. If I find it, you are more than welcome to it as I do not 'C' it :P
All the best on your quest
Jim

I would rather attempt something great and fail, than attempt nothing and succeed - Fortune Cookie

 

"The critical shortage here is not stuff, but time." - Johan Ekdahl

 

"Step N is required before you can do step N+1!" - ka7ehk

 

"If you want a career with a known path - become an undertaker. Dead people don't sue!" - Kartman

"Why is there a "Highway to Hell" and only a "Stairway to Heaven"? A prediction of the expected traffic load?"  - Lee "theusch"

 

Speak sweetly. It makes your words easier to digest when at a later date you have to eat them ;-)  - Source Unknown

Please Read: Code-of-Conduct

Atmel Studio6.2/AS7, DipTrace, Quartus, MPLAB, RSLogix user

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Quote:

If memory serves me correctly, the unit comes with a cd-rom that has a wizard to get you started.

That depends on how you order it. I got mine from Mouser IIRC, only the XPort in a rather tiny package.

As of January 15, 2018, Site fix-up work has begun! Now do your part and report any bugs or deficiencies here

No guarantees, but if we don't report problems they won't get much of  a chance to be fixed! Details/discussions at link given just above.

 

"Some questions have no answers."[C Baird] "There comes a point where the spoon-feeding has to stop and the independent thinking has to start." [C Lawson] "There are always ways to disagree, without being disagreeable."[E Weddington] "Words represent concepts. Use the wrong words, communicate the wrong concept." [J Morin] "Persistence only goes so far if you set yourself up for failure." [Kartman]

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I suppose the 'device installer' is the gui that runs on the pc and you can set the eth add and ip add and port and protocol etc. I guess its like a terminal server... you have a 12ms window to add the next char and it appends it into the packet being formed. Packet gets sent after the timeout. So I can send a packet out from the xport gizmo when a switch is flipped just by stuffing the preformed packet out the serial when the operator flips the switch. We'll see how clairvoyant I am in a day or two when the thing arrives.

Imagecraft compiler user

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

There's a virtual COM port droiver for windows. So COMn is indeed a serial port on the XPort or WiPort.

Recently Lantronix came out with "lite" versions of XPort and WiPort. Less flexibility, much lower cost.

GridConnect.com sells all of Lantronix' line.