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

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

I definitely enjoying every little bit of it. It is a great website and nice share. I want to thank you. Good job! You guys do a great blog, and have some great contents. Keep up the good work. Lý Thế Dũng

Oh my goodness! an excellent article dude. Many thanks However I am experiencing trouble with ur rss . Do not know why Not able to enroll in it. Will there be any person obtaining identical rss dilemma? Anyone who knows kindly respond. Thnkx Zonnepanelen

An impressive share, I simply with all this onto a colleague who had previously been conducting a small analysis for this. And that he the fact is bought me breakfast since I uncovered it for him.. smile. So allow me to reword that: Thnx to the treat! But yeah Thnkx for spending the time to debate this, I feel strongly about it and love reading on this topic. When possible, as you grow expertise, do you mind updating your blog with an increase of details? It really is extremely ideal for me. Huge thumb up due to this blog post! Ramen en deuren

Hey what a brilliant post I have come across and believe me I have been searching out for this similar kind of post for past a week and hardly came across this. Thank you very much and will look for more postings from you. Zonnepanelen kopen

As a small business owner, you are often faced with an overwhelming amount of choices when it comes to where to spend your advertising budget. Since many small businesses do not work with large advertising budgets, the decision on which ad medium to choose can be both important and stressful. Many small business owners may be asking themselves, what is digital marketing? There is much debate in the current climate about whether traditional or digital advertising is the best method to bring in new customers and close more sales. Sometimes, the answer is a combination of both, but more and more businesses are choosing to go with digital advertising, with good reason. Here are some facts that you should consider when choosing how to launch your next advertising campaign. Aluminium ramen

Everyone who is all the same undecided: attract your chosen earphones, go to a Greatest coupe and enquire for connector all of within Microsoft zune therefore a music player and figure out what kind sounds somewhat much better to families, while exactly which vent allows you to be teeth whole lot more. You’ll learn and that right for you. Airco

There are a few fascinating time limits in the following paragraphs however I don’t determine if I see all of them center to heart. There is some validity however I will take hold opinion until I explore it further. Good article , thanks so we want extra! Included with FeedBurner as properly  Aluminium ramen en deuren

I am very happy to read this. This is the kind of manual that needs to be given and not the random misinformation that’s at the other blogs. Appreciate your sharing this best posting. The effort you made to share the knowledge. This is really a great stuff for sharing. Keep it up . Thanks for sharing. Airconditioning

I’m impressed, I must say. Truly rarely must i encounter a weblog that’s both educative and entertaining, and let me tell you, you could have hit the nail about the head. Your notion is outstanding; the issue is something that insufficient folks are speaking intelligently about. My business is delighted which i found this during my try to find something in regards to this. Aluminium deuren

Can I just say what a relief to find someone who really knows what theyre talking about on the internet. You definitely know the way to carry a difficulty to mild and make it important. More people must read this and perceive this aspect of the story. I cant imagine youre not more common since you definitely have the gift. Warmtepomp

Nice information, valuable and excellent design, as share good stuff with good ideas and concepts, lots of great information and inspiration. Latest Sims 4 Downloads : Showing 9113 items. Customise your view with Compatible mode, Featured uploads, Favourites and more!  PVC ramen en deuren

“I wanted to draft you a very little note so as to give many thanks the moment again considering the incredible tricks you have provided above. This is quite extremely open-handed of you to allow unreservedly precisely what numerous people could have offered for sale as an ebook in making some dough on their own, particularly now that you might well have done it in case you decided. These secrets in addition served to be the fantastic way to be aware that most people have similar desire the same as mine to find out more around this problem. I am certain there are lots of more enjoyable situations in the future for people who scan through your blog.” Warmtepomp verwarming

Thanks for taking the time to discuss that, I feel strongly about this and so really like getting to know more on this kind of field. Do you mind updating your blog post with additional insight? It should be really useful for all of us. PVC ramen

This is a smart blog. I mean it. You have so much knowledge about this issue, and so much passion. You also know how to make people rally behind it, obviously from the responses. Warmtepompen

This is a good post. This post gives truly quality information. I’m definitely going to look into it. Really very useful tips are provided here. Thank you so much. Keep up the good works. Houten ramen

Fantastic blog! Do you have any tips and hints for aspiring writers? I’m planning to start my own website soon but I’m a little lost on everything. Would you propose starting with a free platform like WordPress or go for a paid option? There are so many options out there that I’m completely overwhelmed .. Any suggestions? Many thanks! Airco Antwerpen

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.  PVC deuren

An interesting dialogue is price comment. I feel that it is best to write more on this matter, it may not be a taboo topic however usually individuals are not enough to talk on such topics. To the next. Cheers.  Airco Limburg

 You delivered such an impressive piece to read, giving every subject enlightenment for us to gain information. Thanks for sharing such information with us due to which my several concepts have been cleared. Ramen en deuren Limburg

I know this is one of the most meaningful information for me. And I'm animated reading your article. But should remark on some general things, the website style is perfect; the articles are great. Thanks for the ton of tangible and attainable help. Ramen  Limburg

Thanks for an interesting blog. What else may I get that sort of info written in such a perfect approach? I have an undertaking that I am just now operating on, and I have been on the lookout for such info. Lucht/lucht warmtepomp

Pages