LonTalk Protocol

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

Hey All

Just wondering if anyone out there has ever tried to or knows anything about interfacing the LON neuron chip and associated protocol (LONTALK) to an AVR.]

Thanks Steve

admin's test signature
 

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

I did some delevopments with the NEURON chips with my previous employer and now I use the Atmel chips.

I think there are 3 possibilities to do it :
1) Use an 3120 Neuron chip. As far as I remember there is a possibility to use this as a parallel interface for LONtalking.
2) Use an 3120 or 3150 Neuron chip which communicates serially with the AVR chip. Let the Neuron chip handle all network variables
3) The LON protocol is given free, so you could integrate it into the Atmel chip. I think it is a lot of work.

Anyway, why using an Atmel chip AND a Neuron chip ? Does the application need much speed ? The Neuron chip is not that difficult to program (in Neuron-C) and has lots of standard functions built-in

Please mind that when only using an Neuron chip, you can upload new software via the Lon network. That will be very difficult or impossible with option 1/2/3

Please verify the above information because I used the Neuron chips several years ago, the information in my head may be not completely up-to-date

Good luck
Patrick

admin's test signature
 

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

HI

 

I do realize this is an old thread.

Nevertheless, I am curious if there are any updates on this topic.

Did anyone implement anything using an AVR?

Thanks

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

For most things AVR related, a google search for "arduino" and what ever it is your looking for will usually find some example code.

 

Jim

 

Click Link: Get Free Stock: Retire early! PM for strategy

share.robinhood.com/jamesc3274
get $5 free gold/silver https://www.onegold.com/join/713...

 

 

 

 

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

LONWORKS is a very old industrial communications format.  There should be quite a bit of information on it.  But more importantly....How do you intend to use it with an AVR?

 

East Side 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

thomasx wrote:
Did anyone implement anything using an AVR?

Apart from  ki0bk's Arduino suggestion, GitHub is also a good place to search when looking for source code.

Otherwise, start with a basic understanding of the protocol - Wikipedia is always a good start:

 

https://en.wikipedia.org/wiki/LonTalk

 

That should give you some keywords for further searching - and links to further information.

 

But the whole point of these standardised protocols is that they are not tied to any specific hardware implementation - the network neither knows nor cares what microcontroller you use.

 

So, apart from the very lowest hardware level, it's not going to be specific to any particular microcontroller.

 

And, at the lowest hardware level, it's just going to be the usual task of sending bits & bytes over standard interfaces.

 

How To Interface Anything To Anything Else.

 

#InterfaceAnythingToAnythingElse

 

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...