heute schauen wir uns mal an, wie man aus jedem x-beliebigen Smartphone ein hochauflösendes Mikroskop macht. Damit kann man Insektenaugen oder winzige Pflanzenteile in bestechender Auflösung Filmen oder Fotografieren. Zum „Anfahren“ des Fokusierpunktes (bsw. für Focus-Stacking) benutzen wir einfach einen Arduino Mini Pro, an dem ein simpler 5 Euro Stepper Motor hängt. Das Ausleuchten der Szene übernehmen 2 Neopixel LEDs. Die Steuerung des Motors erfolgt über 2 Pushbutton.
Hier sieht man, wie ich einen ESP8266EX und einer Odroid-Kamera von hardkernel.com anfahre, um zu gucken, ob auch alles o.k. ist. Wie erwartet ist alles Bestens (-> Danke für die prompte Lieferung ) und das Internet of Things kann auch bei mir zu Hause starten.
Hier die Vorgänger-Version der Kamera mit altem HTC Smartphone:
BME280 temperature/humidity/pressure sensor from Bosch
The Apache webserver has a little PHP-script running that grabs the data over usb serial from the Arduino Mini Pro. A nice webinterface shows you the live temperature data and all the other values generated by the BME280. If the temperature is too hot, the 2 first neopixels turn red. If temperature is o.k. they turn green. If it is below 0 degrees it turns blue.
Receiver:
Arduino Nano with a
RF 433Mhz receiver module
The Odroid-C1+ can be connected
to the BME280 directly without the need of any Arduino
to the Arduino transmitter
to the Arduino receiver
All data can be received by opening a URL in a browser. So you can use a mobile phone, pc or tablet or just another Odroid-C!+. Even using a virtual machine is possible, of course.
In all three cases the data will be served to the internet by the Apache webserver. In this case I only use localhost (and my home AP) to serve the data to all rooms in my house.
Both receiver and transmitter are battery driven. The max distance between the transmitter/receiver is roiund about 5 meters indoors through a single wall. So you can measure outdoor values, too. More testing will be done.
I took the chance and participated a workshop on Monday about supercolider which is a very, very awsome software project for musicians interested in live coding synthesizer related things.
In the video you can see the „Traubenpiano“ in action and some thoughts on the codemotionworld itself.
A transmitter module is used to send a customized string and a long value (the actual temperature) measured by a BME280 sensor from Bosch. It is connected to an Arduino Mini Pro. IThe temperature sensor is highly configurable, senses temperature, humidity and air pressure values of your local enviroment. The values are sent from a receiver module to another Arduino (Nano). I took these Arduinos because of the small form factor, o my wife does nt complain about the „big“ electronic devices in our rooms.
Here only one value (temperature) is transmitted.
It is getting colder outside during the next days. So if you get up early in the morning you can use it to get a really precisely measured value for the temperature outside and instantly know which clothing for the upcoming day is reasonable.
TouchTube ist eine durchsichtige Plexiglasröhre mit folgender Hardware und Features:
Arduino Leonardo Clone ->
Technische Details
• Berührungs- und Entfernungsmessung • Vorprogrammiert als MP3 player (hier: Hardware modifiziert und als eigenständiger Midi-Player verwendet) • Leicht als Midi-Instrument oder -Steuerung umprogrammierbar • HumanInterfaceDevice(HID) Kann als Maus oder Tastatur verwendet werden. • Arduino kompatibel und programmierbar über die Arduino IDE • Arduino Leonardo Pin Layout smit Unterstützung für Arduino shields • Eingebautes LiPo Batterie-Lademodul • 3.5mm Audio Anschluss • 20 digitale I/O pins • 12 analoge pins • Atmel ATMega32U4 Microprocessor • Berührungssensitiver Chip von Freescale MPR121 • VLSI VS1053B Audio Prozessor • 32 kB of Flash Memory (4 KB bereits verwendet für Bootloader) • 2.5 kB SRAM • 5V Betriebsspannung
Die Schaltung auf dem Breadboard ist bestückt mit einem MCP23017 IO-Expander. Dadurch gewinnt man zusätzlich 16 I/O pins. Der MCP23017 ist 8-fach kaskadierbar.
In diesem Fall steuert er 3 LEDs.
Grün: Näherung der menschlichen Hand erkannt (kapazitive Spannung)
Rot: Entfernungsänderung weg vom Objekt erkannt (ebenfalls kapazitive Spannung)
Die Soundauswahl erfolg ganz simpel über einen Pushbutton.
12 RGB-LEDs: Von einem inc1003 LED-Strip einzeln abgeschnitten, verlötet und per Adafruit Neopixel library angesteuert. Die LEDs strahlen Regenbogenfarben aus (pro Sensor eine LED)