WLAN Sensor network based on a Raspberry Pi and a bunch of Arduinos
Recently I noticed the ESP8266 WLAN dongle which is remarkably inexpensive and sells at a local retailer for less than 10 Euros and much less on the net. The dongle talks WLAN on one side via a built-in patch antenna and TTL-serial on the other side. I bought a dongle and hooked it up to an Arduino on a breadboard.
Recently I noticed the ESP8266 WLAN dongle which is remarkably inexpensive and sells at a local retailer for less than 10 Euros and much less on the net. The dongle talks WLAN on one side via a built-in patch antenna and TTL-serial on the other side. I bought a dongle and hooked it up to an Arduino on a breadboard. Following the documentation and tutorials available online I quickly had it connected to the WLAN at home and received an IP number via DHCP. Standard WLAN security with WPA2 is available, but the Arduinos are not really powerful enough to handle any serious authentication. I therefore decided to use a Raspberry Pi as a router to span a private WLAN and use port-forwarding to make a single port on the Arduinos visible to the outside world. Thus we have path from the individual sensor to any computer on the weird-wild-web for a few Euros. I sketch this infrastructure at my WLAN Sensor Net project web site and will use it both at home for all sorts of sensing and automation applications and at work to connect sensors in the lab to monitor all sorts of signals and provide a standard interface to our EPICS control system. Since bare ATmega chips can be flashed with the Arduino boot-loader at minimal expense, installing many sensor nodes is feasible, even on a limited budget. Maybe there are other elektor-labs readers who find this interesting and can use this approach in their projects and also contribute with code for other micro-controllers and many, many sensors and things to control. One thing that bugged me is the high power consumption of the WIFI dongle. I will recycle old phone chargers that provide 3.7 V or so to power the circuits, but maybe someone has better solutions. Advanced sleep mode and wake up once in a while? Recharging a supercap with a solar panel?
Veuillez saisir votre adresse électronique. Les instructions de réinitialisation de votre mot de passe vous seront immédiatement envoyées par courriel.
Elektor Magazine est depuis 65 ans l’une des principales sources d’information en électronique pour les ingénieurs, les concepteurs, les start-ups et les entreprises. Notre magazine est soutenu par une communauté active d’ingénieurs en électronique – des étudiants aux professionnels – passionnés par la conception et le partage d’idées innovantes.
Pour eux, nous publions chaque année des centaines de contenus sous différents formats, tels que des articles, des vidéos, des webinaires et d’autres formats d’apprentissage. Notre mission est de partager les connaissances de toutes les manières possibles et d’inspirer les lecteurs avec les dernières évolutions du secteur de l’ingénierie électrique.
Thank you for your vote!
Ajoutez vos commentaires
Thank you for your vote!
Veuillez vous connecter pour ajouter une note ou fermez pour revenir en arrière
Discussion (0 commentaire(s))