issue98:tutoriel_arduino
Différences
Ci-dessous, les différences entre deux révisions de la page.
Prochaine révision | Révision précédente | ||
issue98:tutoriel_arduino [2015/06/30 11:04] – créée auntiee | issue98:tutoriel_arduino [2015/07/05 12:12] (Version actuelle) – andre_domenech | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | For my latest project, I thought I’d try to create an Arduino-powered automatic chicken feeder. | + | **For my latest project, I thought I’d try to create an Arduino-powered automatic chicken feeder. |
Initially, I had visions of great things for this, but it ended up being whittled down to something more basic. My initial plan was to have it loaded with sensors, hooked up to the Internet (WiFi/ | Initially, I had visions of great things for this, but it ended up being whittled down to something more basic. My initial plan was to have it loaded with sensors, hooked up to the Internet (WiFi/ | ||
Ligne 5: | Ligne 5: | ||
Well, that idea died quickly. For one, I was out of WiFi range, so I’d have to use a powerline adapter (if you’ve never seen/used a powerline adapter, see last month’s article on powerline adapters and IP cameras). Easy enough, but then I was running out of power sockets. In the end I dumped the idea of using the Internet, kept the sensors, and have them display on a colour LCD instead. | Well, that idea died quickly. For one, I was out of WiFi range, so I’d have to use a powerline adapter (if you’ve never seen/used a powerline adapter, see last month’s article on powerline adapters and IP cameras). Easy enough, but then I was running out of power sockets. In the end I dumped the idea of using the Internet, kept the sensors, and have them display on a colour LCD instead. | ||
- | Basically, here’s how it works: at certain times of each day, the servo should turn 90 degrees, thereby letting pellets drop for a short time, then turn back by 90 degrees to block more pellets from dropping. Meanwhile, the screen should show the current temperature, | + | Basically, here’s how it works: at certain times of each day, the servo should turn 90 degrees, thereby letting pellets drop for a short time, then turn back by 90 degrees to block more pellets from dropping. Meanwhile, the screen should show the current temperature, |
- | Here’s the circuit I ended up going with: | + | Pour mon dernier projet, je pensais essayer de créer un nourrisseur automatique de poulet piloté par Arduino. |
+ | |||
+ | Initialement, | ||
+ | |||
+ | Bon, cette idée-là est morte rapidement. Et d'un, j' | ||
+ | |||
+ | Voici un résumé de son fonctionnement : à certains moments de la journée, le servomoteur devrait tourner de 90 degrés, laissant des granulés tomber pendant un temps court, puis tourner de 90 degrés en sens contraire pour empêcher plus de granulés de tomber. Entre temps, l' | ||
+ | |||
+ | **Here’s the circuit I ended up going with: | ||
We’ll get to code next month, but I had many hiccups along the way: | We’ll get to code next month, but I had many hiccups along the way: | ||
Ligne 17: | Ligne 25: | ||
• Power - How would I power this thing when it’s nowhere near my laptop? Luckily I had an old power adapter that did 12V, 0.9A which would do just fine when wiring it up to the Arduino’s VIN pin. | • Power - How would I power this thing when it’s nowhere near my laptop? Luckily I had an old power adapter that did 12V, 0.9A which would do just fine when wiring it up to the Arduino’s VIN pin. | ||
- | Next month I’ll show some of the code and discuss what it does. | + | Next month I’ll show some of the code and discuss what it does.** |
+ | |||
+ | Voici le circuit que j'ai fini par faire : | ||
+ | |||
+ | Nous regarderons le code le mois prochain, mais j'ai eu plusieurs tracas pendant ce travail : | ||
+ | • L' | ||
+ | • L' | ||
+ | • Faux positifs. Je n'ai aucune idée de ce qui se passait, mais ça s'est arrêté soudainement. Le servomoteur manœuvrait aléatoirement et ouvrait/ | ||
+ | • Mises à jour de l' | ||
+ | • Espace. Je voulais utiliser Arduino Nano. Au début, tout allait bien, mais comme je m' | ||
+ | • Alimentation. Comment pourrais-je alimenter cette chose qui est très loin de mon portable ? Heureusement, | ||
+ | |||
+ | Le mois prochain, je vous montrerai quelques parties du code en vous expliquant ce qu'il fait. |
issue98/tutoriel_arduino.1435655090.txt.gz · Dernière modification : 2015/06/30 11:04 de auntiee