M1.1 ISO circuit modification

Macchina 1.1 offers the option of connecting the ISO9141/LIN circuit directly to the Hardware UART of the ATMEGA2560 chip (or optionally other pins in the case where software serial is needed). However, due to the characteristics of the circuit and the fact that the ATMEGA2560 does not offer a straight-forward method of inverting the serial, we decided the best route would be to modify the circuit to produce the correct levels.

The modification is shown in this schematic for the L-Line Pin (K-Line is the same). We added a transistor with pull-up to the front end of the existing transistor circuit, and swap the inputs to the comparator. We also removed R56.

The actual modifications look like this. (before epoxy is added on top for durability)

Here we see the result. Channel 2 shows the output of the UART TX pin (0-5V logic) and Channel 1 shows the output of the K-line (0-12V logic).

Now any code written can be more straight-forward and we won't need to worry about inversion.

Comments

Someone Sometimes with visits your blog regularly and recommended it in my experience to read as well. The way of writing is excellent and also the content is top-notch. Thanks for that insight you provide the readers! forklift kiralama

It is included in my habit that I often visit blogs in my free time, so after landing on your blog. I have thoroughly impressed with it and decided to take out some precious time to visit it again and again. Thanks. bbw escort

Very efficiently written information. It will be beneficial to anybody who utilizes it, including me. Keep up the good work. For sure i will check out more posts. This site seems to get a good amount of visitors. kinky escort

Thanks for taking the time to discuss this, I feel strongly about it and love learning more on this topic. If possible, as you gain expertise, would you mind updating your blog with extra information? It is extremely helpful for me. independent escort

Wonderful blog! I found it while surfing around on Yahoo News. Do you have any suggestions on how to get listed in Yahoo News? I’ve been trying for a while but I never seem to get there! Appreciate it. seo service

You have performed a great job on this article. It’s very precise and highly qualitative. You have even managed to make it readable and easy to read. You have some real writing talent. Thank you so much. independent escort

All the contents you mentioned in post is too good and can be very useful. I will keep it in mind, thanks for sharing the information keep updating, looking forward for more posts.Thanks independent escorts

Lamee stof zilver glimmende stof met stretch. Deze glimmende stof kan worden gebruikt voor (feest)kleding en decoratie. Snelle levering en voordelig geprijst bij Stofnodig. Bezoek onze stoffenwinkel of beter onze stoffenkraam in Utrecht, Delft, Leiden, Amsterdam of Hoofddorp. Lamé stof zilver

Hey, I am so thrilled I found your blog, I am here now and could just like to say thank for a tremendous post and all round interesting website. Please do keep up the great work. I cannot be without visiting your blog again and again. elektronik sigara

Took me time to read all the comments, but I really enjoyed the article. It proved to be Very helpful to me and I am sure to all the commenters here! It’s always nice when you can not only be informed, but also entertained! hasta yatağı

I really thank you for the valuable info on this great subject and look forward to more great posts. Thanks a lot for enjoying this beauty article with me. I am appreciating it very much! Looking forward to another great article. Good luck to the author! All the best! big guide

I think this is one of the most significant information for me. And i’m glad reading your article. But should remark on some general things, The web site style is perfect, the articles is really great : D. Good job, cheers düğün organizasyonu

Wow! Such an amazing and helpful post this is. I really really love it. It's so good and so awesome. I am just amazed. I hope that you continue to do your work like this in the future also  dentist719.com

Yes i am totally agreed with this article and i just want say that this article is very nice and very informative article.I will make sure to be reading your blog more. You made a good point but I can't help but wonder, what about the other side? !!!!!!Thanks  www.fumctarponsprings.org

This is my first time i visit here. I found so many interesting stuff in your blog especially its discussion. From the tons of comments on your articles, I guess I am not the only one having all the enjoyment here keep up the good work  www.letsdancetoo.com

Positive site, where did u come up with the information on this posting? I'm pleased I discovered it though, ill be checking back soon to find out what additional posts you include. hot deals

Pretty good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I'll be subscribing to your feed and I hope you post again soon. Big thanks for the useful info.  www.ctmillervineyards.com

Very nice blog and short articles. I am really very delighted to visit your blog site. Now I am discovered which I actually desire. I inspect your blog everyday and also try to learn something from your blog. Thanks and waiting for your new post. 30 inch mattress

Maintain up the great; I check out a couple of blog posts on this website, including I take into consideration that your blog is interesting and also has sets of fantastic piece of information. Thanks for your useful efforts. kbc

This is a fantastic post I have seen due to the deal it.It is truly what I anticipated to see rely on the future you willproceed in sharing such a wonderful post.  kbc winner

This is my first time i visit here. I found so many interesting stuff in your blog especially its discussion. From the tons of comments on your articles, I guess I am not the only one having all the enjoyment here keep up the good work wasserduchlaufstangen

Pages