+21622886281
Arduino Module L298N Moteur

Commander un moteur par Arduino et le module L298N

But de ce tutoriel:

Le module L298N est une carte de développement permettant le pilotage de moteur à courant continu ou d’un moteur pas-à-pas.

Dans ce tutoriel on va voir comment commander un moteur CC par la carte Arduino et le module L298N tout en changeant le sens de rotation.

Composants nécessaire:

Carte Arduino UNO

Une carte Arduino est une carte de développement électronique basée sur un microcontrôleur. Elle est conçue pour être facilement utilisable par les développeurs et les hobbyistes pour créer des projets électroniques.

Les cartes Arduino sont principalement utilisées pour contrôler des appareils électroniques en utilisant du code informatique, mais elles peuvent également être utilisées pour traiter et afficher des données. Elles sont souvent utilisées dans des projets de robotique, de domotique, de domaine de l’Internet des objets (IoT) et dans de nombreux autres domaines de l’électronique de loisir et professionnelle.

Module L298N

Le module L298N est un module de commande de moteur bidirectionnel utilisé pour contrôler la vitesse et la direction de rotation de moteurs DC ou de moteurs à courant alternatif à faible puissance. Il est basé sur le circuit intégré L298N, qui est un contrôleur de moteur bidirectionnel double pont en H à haute tension et à haute intensité.

Le module L298N est généralement utilisé avec des microcontrôleurs ou des cartes de développement comme Arduino pour contrôler les moteurs dans les projets de robotique ou d’automatisation. Il possède deux entrées de commande pour contrôler la direction de rotation des moteurs, ainsi que deux sorties de commande pour contrôler la vitesse des moteurs. Il peut également être utilisé pour contrôler la vitesse et la direction de rotation de moteurs pas à pas.

Le module L298N est facile à utiliser et peut être alimenté avec une tension de 4,5 V à 46 V. Il est équipé de bornes de connexion pour le moteur, de bornes de connexion pour l’alimentation et de bornes de connexion pour la commande. Il est également équipé de dissipateurs thermiques pour protéger le circuit intégré L298N des surchauffes.

moteur DC de 5V

Un moteur DC de 5 volts est un moteur électrique qui fonctionne à une tension de 5 volts. Les moteurs DC sont des moteurs qui utilisent un courant continu pour fonctionner et qui peuvent être alimentés par une variété de sources, notamment des piles, des panneaux solaires et des alimentations électriques.

Les moteurs DC de 5 volts sont couramment utilisés dans les applications où une faible tension est requise, telles que les projets de bricolage et de loisir, les jouets et les appareils électroniques portables. Ils sont également souvent utilisés dans les projets de robotique et de domotique, où ils peuvent être utilisés pour contrôler les mouvements des robots et des dispositifs automatisés.

batterie de 9V

Une batterie de 9 volts est une pile qui fournit une tension de sortie de 9 volts. Elles sont souvent utilisées dans les appareils électroniques portables tels que les radiodiffuseurs, les jouets et les outils électroniques. Elles sont également couramment utilisées dans les applications de bricolage et de loisir, telles que les circuits électroniques et les projets de robotique.

Montage

  • Connecter la broche N°4 de l’Arduino à la broche ENA du module L298N.
  • Connecter la broche N°3 de l’Arduino à la broche IN1 du module L298N.
  • Connecter la broche N°2 de l’Arduino à la broche IN2 du module L298N.
  • Connecter la broche GND de l’Arduino à la broche GND du module L298N.
  • Connecter la broche GND de l’Arduino à la borne (-) de la batterie 9V
  • Connecter la broche 12V du module L298N à la borne (+) de la batterie 9V
  • Connecter les deux bornes du moteur aux deux broches OUT1 et OUT2 du module L298N

Programme Arduino

Voici le programme  qui permet de tourner le moteur dans les deux sens par le module L298N.




98 commentaires

ads508 slot 29-03-2424

magnificent submit, very informative. I'm wondering why the opposite experts of this sector do not notice this. You should continue your writing. I'm sure, you've a huge readers' base already!

sga508 31-01-2424

If some one wants expert view regarding blogging and site-building after that i advise him/her to pay a quick visit this web site, Keep up the good job.

ads508 28-01-2424

I'm not sure exactly why but this weblog is loading very slow for me. Is anyone else having this issue or is it a issue on my end? I'll check back later on and see if the problem still exists.

sga508 28-01-2424

Highly energetic post, I enjoyed that a lot. Will there be a part 2?

sga508 slot 28-01-2424

Hello just wanted to give you a quick heads up and let you know a few of the pictures aren't loading correctly. I'm not sure why but I think its a linking issue. I've tried it in two different browsers and both show the same results.

ads508 27-01-2424

I am regular visitor, how are you everybody? This piece of writing posted at this web site is really pleasant.

ads508 maxwin 12-12-2323

What's up to all, for the reason that I am really eager of reading this blog's post to be updated regularly. It consists of nice information.

ads508 link 11-12-2323

Ahaa, its pleasant conversation on the topic of this article at this place at this weblog, I have read all that, so at this time me also commenting at this place.

robopragma 11-12-2323

Remarkable issues here. I'm very glad to look your article. Thanks a lot and I'm looking ahead to contact you. Will you kindly drop me a e-mail?

ads 508 slot 08-12-2323

Its like you read my mind! You seem to know a lot about this, like you wrote the book in it or something. I think that you can do with some pics to drive the message home a bit, but instead of that, this is wonderful blog. An excellent read. I'll certainly be back.

ads508 04-12-2323

Excellent pieces. Keep posting such kind of information on your blog. Im really impressed by it. Hello there, You've done a great job. I'll certainly digg it and individually suggest to my friends. I'm confident they'll be benefited from this web site.

spg138 04-12-2323

You actually make it seem so easy with your presentation but I find this topic to be really something which I think I would never understand. It seems too complex and extremely broad for me. I am looking forward for your next post, I'll try to get the hang of it!

ads508 01-12-2323

Simply desire to say your article is as astonishing. The clearness on your submit is just nice and that i can assume you're knowledgeable in this subject. Fine together with your permission let me to snatch your RSS feed to keep up to date with forthcoming post. Thank you one million and please keep up the rewarding work.

ads508 29-11-2323

This is a topic which is close to my heart... Thank you! Where are your contact details though?

ads508 slot 27-11-2323

Cool blog! Is your theme custom made or did you download it from somewhere? A design like yours with a few simple adjustements would really make my blog jump out. Please let me know where you got your design. Thanks

ads508 26-11-2323

Excellent weblog right here! Additionally your web site quite a bit up very fast! What host are you the usage of? Can I am getting your associate link in your host? I want my site loaded up as quickly as yours lol

spg138 26-11-2323

Today, I went to the beach front with my kids. I found a sea shell and gave it to my 4 year old daughter and said "You can hear the ocean if you put this to your ear." She put the shell to her ear and screamed. There was a hermit crab inside and it pinched her ear. She never wants to go back! LoL I know this is completely off topic but I had to tell someone!

ads508 23-11-2323

Howdy! This article could not be written any better! Looking at this article reminds me of my previous roommate! He constantly kept talking about this. I most certainly will send this information to him. Pretty sure he's going to have a very good read. Thanks for sharing!

spg138 15-11-2323

constantly i used to read smaller posts which as well clear their motive, and that is also happening with this post which I am reading at this place.

ads508 link 14-11-2323

Hi my friend! I wish to say that this article is awesome, great written and include almost all important infos. I would like to look extra posts like this .

sga508 11-11-2323

Wow, this post is pleasant, my younger sister is analyzing these things, thus I am going to let know her.

ads508 11-11-2323

Your style is so unique in comparison to other people I have read stuff from. Thank you for posting when you've got the opportunity, Guess I'll just bookmark this blog.

spg138 11-11-2323

Hello there, There's no doubt that your web site could be having web browser compatibility problems. When I take a look at your blog in Safari, it looks fine however when opening in Internet Explorer, it has some overlapping issues. I merely wanted to give you a quick heads up! Aside from that, excellent site!

ads508 10-11-2323

Hurrah! At last I got a website from where I be capable of in fact obtain helpful facts regarding my study and knowledge.

ads508 09-11-2323

Hello, after reading this awesome post i am as well happy to share my experience here with colleagues.

spg138 09-11-2323

Hi there, this weekend is fastidious for me, since this point in time i am reading this enormous informative paragraph here at my house.

ads508 09-11-2323

When I originally left a comment I seem to have clicked the -Notify me when new comments are added- checkbox and now each time a comment is added I get four emails with the same comment. There has to be an easy method you can remove me from that service? Kudos!

ads508 09-11-2323

Hi i am kavin, its my first time to commenting anywhere, when i read this piece of writing i thought i could also make comment due to this sensible article.

ads508 07-11-2323

After looking into a handful of the blog posts on your site, I seriously appreciate your technique of blogging. I added it to my bookmark website list and will be checking back soon. Please check out my web site as well and let me know your opinion.

ads508 rtp 07-11-2323

I have read so many articles on the topic of the blogger lovers but this paragraph is actually a good post, keep it up.

spg138 07-11-2323

Simply want to say your article is as amazing. The clarity to your publish is just cool and i could think you are an expert in this subject. Well with your permission allow me to take hold of your feed to stay up to date with impending post. Thank you one million and please continue the rewarding work.

ads508 slot 07-11-2323

Hi! Do you use Twitter? I'd like to follow you if that would be okay. I'm absolutely enjoying your blog and look forward to new updates.

ads508 07-11-2323

I do not know if it's just me or if perhaps everyone else encountering issues with your blog. It looks like some of the text within your posts are running off the screen. Can somebody else please comment and let me know if this is happening to them as well? This could be a problem with my browser because I've had this happen before. Many thanks

ads508 06-11-2323

Marvelous, what a blog it is! This weblog gives helpful data to us, keep it up.

spg138 06-11-2323

Since the admin of this site is working, no uncertainty very soon it will be famous, due to its quality contents.

ads508 06-11-2323

I want to to thank you for this fantastic read!! I definitely enjoyed every little bit of it. I have you bookmarked to look at new things you post…

ads508 05-11-2323

When I initially left a comment I appear to have clicked the -Notify me when new comments are added- checkbox and now each time a comment is added I recieve 4 emails with the exact same comment. There has to be a means you can remove me from that service? Thanks!

spg138 04-11-2323

Hmm it appears like your website ate my first comment (it was super long) so I guess I'll just sum it up what I submitted and say, I'm thoroughly enjoying your blog. I too am an aspiring blog blogger but I'm still new to everything. Do you have any points for beginner blog writers? I'd really appreciate it.

ads508 04-11-2323

I think this is among the most important 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 nice : D. Good job, cheers

ads508 02-11-2323

I've read several just right stuff here. Definitely price bookmarking for revisiting. I wonder how so much effort you put to make the sort of wonderful informative website.

ads508 02-11-2323

I'm pretty pleased to discover this page. I wanted to thank you for ones time due to this wonderful read!! I definitely loved every bit of it and i also have you book-marked to look at new stuff on your website.

ads508 30-10-2323

I know this if off topic but I'm looking into starting my own blog and was curious what all is required to get setup? I'm assuming having a blog like yours would cost a pretty penny? I'm not very web smart so I'm not 100% certain. Any suggestions or advice would be greatly appreciated. Many thanks

ads508 30-10-2323

What's up Dear, are you actually visiting this site daily, if so then you will absolutely get good knowledge.

ads508 29-10-2323

Excellent post. I definitely love this website. Thanks!

1784 28-10-2323

I thihk the adminn off this website is gennuinely workikng hard ffor hiss website, aas herte everty material iis quallity based material.

spg138 26-10-2323

What's up every one, here every one is sharing these kinds of knowledge, therefore it's pleasant to read this website, and I used to visit this web site every day.

spg138 24-10-2323

I feel that is among the such a lot important information for me. And i'm happy studying your article. However should observation on some normal issues, The website style is wonderful, the articles is really excellent : D. Just right task, cheers

ads508 24-10-2323

I do not know if it's just me or if perhaps everyone else encountering issues with your website. It seems like some of the written text within your content are running off the screen. Can someone else please provide feedback and let me know if this is happening to them as well? This may be a problem with my internet browser because I've had this happen before. Thanks

Spg138 24-10-2323

I am really thankful to the holder of this web page who has shared this great piece of writing at at this time.

spg138 24-10-2323

Do you have a spam problem on this website; I also am a blogger, and I was curious about your situation; many of us have developed some nice methods and we are looking to swap strategies with other folks, why not shoot me an email if interested.

ads508 23-10-2323

Good day! I know this is kinda off topic but I was wondering if you knew where I could get a captcha plugin for my comment form? I'm using the same blog platform as yours and I'm having trouble finding one? Thanks a lot!

spg138 23-10-2323

Sweet blog! I found it while searching on Yahoo News. Do you have any tips on how to get listed in Yahoo News? I've been trying for a while but I never seem to get there! Cheers

ads508 22-10-2323

It's in fact very complicated in this full of activity life to listen news on Television, thus I only use world wide web for that purpose, and take the newest news.

spg138 22-10-2323

Hello just wanted to give you a brief heads up and let you know a few of the images aren't loading properly. I'm not sure why but I think its a linking issue. I've tried it in two different internet browsers and both show the same outcome.

ads508 slot 22-10-2323

I was suggested this blog by my cousin. I'm not sure whether this post is written by him as nobody else know such detailed about my trouble. You're amazing! Thanks!

ads508 22-10-2323

Very good post. I will be experiencing some of these issues as well..

spg138 22-10-2323

Good article! We will be linking to this great post on our site. Keep up the great writing.

spg138 21-10-2323

Very rapidly this web site will be famous among all blogging and site-building viewers, due to it's fastidious content

spg138 21-10-2323

Thanks for ones marvelous posting! I definitely enjoyed reading it, you are a great author. I will make certain to bookmark your blog and will often come back in the foreseeable future. I want to encourage you to continue your great job, have a nice weekend!

spg138 21-10-2323

Thanks for the marvelous posting! I certainly enjoyed reading it, you can be a great author.I will be sure to bookmark your blog and definitely will come back in the foreseeable future. I want to encourage you to definitely continue your great job, have a nice morning!

ads508 21-10-2323

Thanks for sharing your thoughts on ads508. Regards

ads508 21-10-2323

Greetings! Very helpful advice in this particular post! It is the little changes which will make the largest changes. Thanks a lot for sharing!

ads508 21-10-2323

Please let me know if you're looking for a author for your weblog. You have some really great articles and I believe I would be a good asset. If you ever want to take some of the load off, I'd love to write some material for your blog in exchange for a link back to mine. Please blast me an e-mail if interested. Many thanks!

ads508 19-10-2323

At this time I am going away to do my breakfast, later than having my breakfast coming again to read further news.

spg138 19-10-2323

Hello my loved one! I want to say that this post is amazing, great written and come with approximately all vital infos. I'd like to peer more posts like this .

ads508 19-10-2323

A fascinating discussion is definitely worth comment. I believe that you ought to write more on this issue, it may not be a taboo subject but generally folks don't discuss these topics. To the next! Kind regards!!

spg138 19-10-2323

Currently it appears like Drupal is the top blogging platform available right now. (from what I've read) Is that what you are using on your blog?

spg138 18-10-2323

Wow, this paragraph is pleasant, my sister is analyzing such things, so I am going to inform her.

ads508 18-10-2323

Hi there! This is kind of off topic but I need some guidance from an established blog. Is it very hard to set up your own blog? I'm not very techincal but I can figure things out pretty fast. I'm thinking about making my own but I'm not sure where to begin. Do you have any tips or suggestions? Appreciate it

spg138 18-10-2323

Hey there! Do you use Twitter? I'd like to follow you if that would be okay. I'm undoubtedly enjoying your blog and look forward to new posts.

ads508 16-10-2323

Its such as you read my mind! You seem to grasp so much about this, such as you wrote the ebook in it or something. I feel that you just can do with a few % to force the message home a bit, however instead of that, that is fantastic blog. An excellent read. I'll certainly be back.

ads508 link alternatif 16-10-2323

I was pretty pleased to uncover this great site. I want to to thank you for your time for this particularly wonderful read!! I definitely appreciated every little bit of it and I have you bookmarked to see new information in your blog.

spg138 16-10-2323

Wonderful article! We will be linking to this great article on our site. Keep up the great writing.

ads508 16-10-2323

Hello, There's no doubt that your website may be having web browser compatibility problems. When I look at your blog in Safari, it looks fine but when opening in I.E., it has some overlapping issues. I merely wanted to give you a quick heads up! Apart from that, great blog!

ads508 15-10-2323

This piece of writing provides clear idea in favor of the new people of blogging, that in fact how to do blogging and site-building.

spg138 15-10-2323

What's up friends, good post and pleasant urging commented here, I am actually enjoying by these.

spg138 09-10-2323

WOW just what I was searching for. Came here by searching for spg138

ads508 09-10-2323

Today, I went to the beach front with my kids. I found a sea shell and gave it to my 4 year old daughter and said "You can hear the ocean if you put this to your ear." She placed the shell to her ear and screamed. There was a hermit crab inside and it pinched her ear. She never wants to go back! LoL I know this is completely off topic but I had to tell someone!

ads508 09-10-2323

Howdy! This post could not be written much better! Looking at this post reminds me of my previous roommate! He constantly kept preaching about this. I am going to send this information to him. Pretty sure he'll have a great read. Thank you for sharing!

ads508 09-10-2323

I’m not that much of a internet reader to be honest but your blogs really nice, keep it up! I'll go ahead and bookmark your website to come back in the future. Cheers

ads508 07-10-2323

Thank you a bunch for sharing this with all people you actually recognize what you're talking about! Bookmarked. Kindly additionally seek advice from my web site =). We may have a hyperlink change agreement between us

spg138 07-10-2323

Every weekend i used to pay a quick visit this web site, for the reason that i wish for enjoyment, as this this web page conations in fact pleasant funny material too.

hokiemas 05-10-2323

Awesome issues here. I'm very glad to peer your post. Thank you so much and I'm taking a look forward to contact you. Will you kindly drop me a mail?

ads508 05-10-2323

Hi to every one, it's in fact a fastidious for me to pay a quick visit this website, it includes precious Information.

pvp 777 05-10-2323

This is a topic that is near to my heart... Cheers! Exactly where are your contact details though?

ads508 03-10-2323

Asking questions are genuinely pleasant thing if you are not understanding something fully, however this post gives nice understanding yet.

spg138 30-09-2323

hello!,I love your writing so a lot! percentage we be in contact more about your post on AOL? I require a specialist in this area to solve my problem. Maybe that is you! Having a look ahead to see you.

spg138 30-09-2323

I'm gone to tell my little brother, that he should also pay a quick visit this blog on regular basis to take updated from newest news.

spg138 26-09-2323

Keep on working, great job!

spg138 24-09-2323

Nice post. I was checking constantly this weblog and I'm impressed! Extremely helpful info particularly the last phase :) I maintain such info a lot. I was looking for this certain information for a long time. Thank you and good luck.

spg138 22-09-2323

I was suggested this blog through my cousin. I am not sure whether this post is written by him as nobody else recognize such specified about my problem. You are amazing! Thank you!

mpo4d slot 22-09-2323

This design is wicked! You definitely know how to keep a reader entertained. Between your wit and your videos, I was almost moved to start my own blog (well, almost...HaHa!) Fantastic job. I really loved what you had to say, and more than that, how you presented it. Too cool!

ads508 21-09-2323

Awesome blog! Do you have any tips for aspiring writers? I'm hoping to start my own site 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 choices out there that I'm completely overwhelmed .. Any recommendations? Bless you!

spg138 21-09-2323

Hi there! Quick question that's completely off topic. Do you know how to make your site mobile friendly? My weblog looks weird when browsing from my iphone. I'm trying to find a template or plugin that might be able to correct this problem. If you have any suggestions, please share. Thanks!

spg138 20-09-2323

you're truly a good webmaster. The site loading pace is incredible. It sort of feels that you're doing any unique trick. Also, The contents are masterwork. you have done a great activity in this subject!

spg138 20-09-2323

These are in fact wonderful ideas in regarding blogging. You have touched some fastidious points here. Any way keep up wrinting.

spg138 19-09-2323

Hello, after reading this remarkable article i am too cheerful to share my know-how here with friends.

spg138 16-09-2323

What's up, I wish for to subscribe for this blog to take most recent updates, so where can i do it please assist.


Laisser un commentaire

Votre adresse e-mail ne sera pas publiée. Les champs obligatoires sont indiqués avec *

Scroll to Top