User Tools

Site Tools


hamburgmachine

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
hamburgmachine [2019/03/11 15:34] – [green IT technology] amihamburgmachine [2020/07/13 08:35] (current) – [update ElbBienen hive in Hamburg, 9/10/11 2020] ami
Line 380: Line 380:
 =====Chaos Computer Club CCC===== =====Chaos Computer Club CCC=====
 https://en.wikipedia.org/wiki/Chaos_Computer_Club https://en.wikipedia.org/wiki/Chaos_Computer_Club
-contact Tim in Berlin+Dodger -- contact Tim in Berlin
 Autonomous powered, solar panels, battery, waterproof box, streaming, plug and play set-up. Autonomous powered, solar panels, battery, waterproof box, streaming, plug and play set-up.
 Needs internet connection. Needs internet connection.
Line 413: Line 413:
 9. what are the parameters for filming? Knowing that it would be nice to have some video/audio/sensordata for our documentation, but also knowing that we do not need everything … Make 1 recording a day on a fixed time? This gives the possibility to make a timelapse movie later. 24 fps. 9. what are the parameters for filming? Knowing that it would be nice to have some video/audio/sensordata for our documentation, but also knowing that we do not need everything … Make 1 recording a day on a fixed time? This gives the possibility to make a timelapse movie later. 24 fps.
 10. how will the streaming be organised? upload/download/servers … 10. how will the streaming be organised? upload/download/servers …
-11. On location, to display the videostream, I would like to work with a similar kind of setup (in the vitrine in the Golden Pavillion):+11. On location, to display the videostream, I would like to work with a similar kind of setup (in the vitrine in the Golden Pavillion
 + 
 +=====hard/software voorstel Guido 12/3/2019===== 
 +For the power supply the setup looks as follows (all to be mounted together with the beehive): 
 +- solarcel Phaesun Sun Plus 50 S (Monokristallijn zonnepaneel 50 Wp 12 V 90,08€ /stuk x2= 180,16 € https://www.conrad.be/p/phaesun-sun-plus-50-s-monokristallijn-zonnepaneel-50-wp-12-v-1485913  
 +- loadcontroller: Phocos CIS10-2L Solar (laadregelaar PWM 12 V, 24 V 10 A) 63,21€/stuk x1 = 63,21 € https://www.conrad.be/p/phocos-cis10-2l-solar-laadregelaar-pwm-12-v-24-v-10-a-1667009  
 +- battery: Phaesun Sun-Store 100 SB12-100I (Solar-accu 12 V 100 Ah Loodvlies (AGM) (b x h x d) 330 x 220 x 173 mm M8-schroefaansluit) 297,48€/stuk x1 = 297,48 €  
 +https://www.conrad.be/p/phaesun-sun-store-100-sb12-100i-solar-accu-12-v-100-ah-loodvlies-agm-b-x-h-x-d-330-x-220-x-173-mm-m8-schroefaansluit-1667328  
 +- converter: TDK-Lambda CC-10-1205SF-E (DC/DC-converter, print 12 V/DC 5 V/DC 2 A 10 W Aantal uitgangen: 1 x) 18,00€/stuk x 1 = 18,00 €  
 +http://www.produktinfo.conrad.com/datenblaetter/1400000-1499999/001406280-da-01-en-DC_DC_WANDLER_ISOLIERT_CC_10_1205SF_E.pdf  
 + 
 +First two solar panels in parallel plus the battery connect to the loadcontroler. Then a dc/dc converter to actually get 5 volts/3+ Amps between the loadcontroller and the pi. The only part that needs fiddling is the dc/dc converter, all the rest should be plug and pray. 
 +The sensors and picam connect directly to the pi, which simply grabs (hw encoded) frames and sends it to a different machine, either a mediasplitter machine in the paviljon or directly to the world wild web.  
 + 
 +Just some thoughts/scenarios. 
 +**scenario 1** 
 +We have a setup with a pi, a machine at the paviljon used as splitter and the server. The reason the splitter is there is to save the paviljon from having to stream the video from the internet. This 
 +could well be a full hd stream as it is local anyway. 
 +1) We send the data from the pi to the splitter (possibly a dedicated netwerk cable from pi to a machine with 2 network interfaces) 
 +2) the splitter caches and sends data to the server on the internet and, secondly, generates a local copy with the stream and a graphical page with statistics for local display. 
 +3) Processing the frames and turning them into streams for actual visitors to see (couple of pages with a video feed, temp and humidity statistics) plus a simple webm stream is done on the server. 
 +We could use annemaries server (online.net, france) or we could use one of mine (they are at hetzner) or perhaps you have a better solution.  
 +4) We could dedicate a couple of full hd streams (as far as the bandwidth goes from the beehive to the server) to serve the screens brussels. Plain surfers could/should get a more limited stream, I think. 
 +**scenario 2** 
 +We drop the splitter and send directly to the internet.  The streams are always served from the internet. This has the disadvantage of extra bandwidth usage and brief disconnects might mess up the stream. 
 +Might not even work because the audio needs to be encoded at some point, preferably before it hits the internet. 
 +So 1, 3 and 4 remains. 
 +**scenario 3** 
 +we get google involved and use them as a streaming platform. I have no experience with their livestreams but it can't be too hard. I am not a fan of this option although it might be fun to get this going later on. The reason I mention this is simply because it enables us to serve huge amounts of streams (if not blacklisted by a happy bofh at some point). 
 + 
 +As far as I am concerned the splitter machine could be any stable local machine that runs python, altough linux with an ssh shell would be very handy (eg emergency cases, updates, upgrades). 
 +The videoframes are encoded on the pi already, so only the audio stream remains to be encoded. I will try and see what happens if I do that on th pi directly (ffmpeg/avconv/lame/?). 
 +So in theory it should mostly be a matter of pushing packets. 
 +Your ideas please about the setup. Do you have a more readily available solution at mind ?
 \\ \\
  
Line 437: Line 470:
 \\ \\
  
 +=====Hive 2.0 - spring 2020=====
 +
 +Op 13/4/2020: videocall met Guido en Jos Verhulst Wageningen.
 +We bespreken mogelijke verbeteringen aan de ElbBienen Beehive voor het nieuwe seizoen.
 +
 +We kunnen de gezondheidsparameter van een bepaalde beehive berekenen aan de hand van een reeks van dagelijkse sensordata.
 +Aan de hand van de buitentemperatuur minus de binnentemperatuur kan de energie berekend worden die nodig is om de binnentemperatuur op peil te houden. Gerelateerd aan de hoeveelheid energie is ook de hoeveelheidCO2 die geproduceerd wordt binnenin de beehive. 'De respiratoire ratio', of, hoe meer respiratie hoe meer CO@ productie. Dit kan gelezen worden als het metabolisme van de beehive.
 +
 +Om de CO2 in de beehive te meten moeten we werken met een sensor die minstens kan meten tot 30.000ppm.
 +=> meer lezen over CO2 in de hive
 +1. {{ :hamburgmaschine:ohashi2009_article_observationsystemforthecontrol.pdf |Observation system for the control of the hive environment by the honeybee (Apis mellifera)}}
 +2. {{ :hamburgmaschine:atmospheric_carbon_dioxide_regulation_in_honey-bee_apis_mellifera_colonies_-_j._insect_physiol._1974_-_seeley.pdf |ATMOSPHERIC CARBON DIOXIDE REGULATION IN HONEY-BEE (APIS MELLIFERA) COLONIES* Thomas Seeley}}
 +=> respiratoire ratio: The **respiratory exchange ratio** (RER) is the ratio between the amount of carbon dioxide (CO2) produced in metabolism and oxygen (O2) used.
 +https://en.wikipedia.org/wiki/Respiratory_exchange_ratio
 +
 +**Metabolism** is a term that is used to describe all chemical reactions involved in maintaining the living state of the cells and the organism.
 +
 +__Over de Sensoren:__ 
 +- kunnen we kijken naar sensoren met bluetooth? Voordeel zonder kabels te werken
 +- CO2 die verfijnd genoeg meet, enkel CO2 en geen andere gassen (minstens tot 30.000ppm). CO@ wordt gemeten met luchtflow, deze sensor mag dus niet gepropoliseerd worden
 +- T° over verschillende plaatsen in de beehive aanbrengen: onderaan, tegen broednest, bovenaan => gemiddelde berekenen
 +- Hu: idem T°, dit kan een gecombineerde sensor zijn
 +- voor de sensoren nadenken over een schuifstructuur die in een (deel van een) raam zit, met een soort van gladde (maar toch luchtdoorlatende) stof eromheen die niet gepropoliseerd wordt, bvb. goretex?
 +
 +De buitensensoren voor T° en Hu kunnen bevestigd worden onder een wit vliegplankje dat vastgemaakt wordt onder het vlieggat. Dat wit geverfde houten plankje zou de zon moeten kunnen 'tracken' en meedraaien van oost=>zuid=>west.
 +
 +
 +
 +__Voorstel sensoren van Guido:__
 +[[http://domoticx.com/arduino-co2-sensor-k30/|CO2 sensor]]
 +[[https://nl.banggood.com/CCS811-HDC1080-Carbon-Dioxide-CO2-Temperature-And-Humidity-Sensor-VOCs-Air-quality-Monitor-Sensor-Module-Winder-p-1428378.html?gmcCountry=BE&currency=EUR&createTmp=1&utm_source=googleshopping&utm_medium=cpc_bgcs&utm_content=xibei&utm_campaign=xibei-ssc-beg-nl-ele-1221&gclid=EAIaIQobChMIlcTQ_Y_l6AIVGOh3Ch2j0w5VEAQYBCABEgL3ufD_BwE&cur_warehouse=CN|combinatie CO2/T°/Hu]]
 +
 +__Voorstel sensoren van Jos:__
 +[[https://www.ebay.nl/itm/50000ppm-MH-Z16-NDIR-CO2-Sensor-with-I2C-UART-Interface-Adaptor-for-Arduino/111799846608?hash=item1a07ca46d0:g:B6QAAOSwQPlV~4N5&fbclid=IwAR0aDnRtpSMdQ52-WrWdJZn5L-ukFXCjp0we7-_IiySJQdTzK7vX5DWUcg0|CO2 sensor]]
 +[[https://www.ebay.nl/itm/50000ppm-MH-Z16-NDIR-CO2-Sensor-with-I2C-UART-Interface-Adaptor-for-Arduino/111799846608?hash=item1a07ca46d0:g:B6QAAOSwQPlV~4N5&fbclid=IwAR0dqiger5VvE45YWPVWIcw5YkLUkWVT7kvIXEIM5PwC9c6la5ZVjNcQBk0|nog een CO2 sensor]]
 +{{ :hamburgmaschine:mid-ir_application_co2.pdf |Carbon Dioxide Detection; Achtergrond van CO2 meting met mid-infrared detectors}}
 +
 +__practical - new hive outfit:__
 +Hierbij al wat fotoos zodat we praktisch kunnen brainstormen. Ik stel voor dat we het nieuwe systeem uitproberen op de hive die bij mij in de tuin staat (zonder bijen voorlopig) en dat we dan alles herhalen in Hamburg.
 +
 +foto_1: technologie in de cover:
 +- wat kunnen we houden?
 +=> T° en Hu binnen in de hive: moet lager in broednest komen, maar we moeten zorgen dat de frames er nog makkelijk uitgehaald kunnen worden
 +=> T° en Hu buiten de hive: we moeten nadenken over een beschermdoosje voor vocht/regen en directe zonnenschijn
 +- wat moeten we vervangen?
 +=> nieuwe/langere bekabelingen
 +=> nieuwe sensoren? (ev. voor temperatuur, degene die we ook gebruikten in de bioreactor) - misschien kunnen we Hu laten vallen en enkel de T° meten maar dan op 2 of 3 plaatsen in de hive. Probleem is dat we wel een praktisch systeem moeten vinden zodat de frames er los uitgehaald kunnen worden.
 +Voorwaarde is dus dat de sensor kan losgemaakt worden van de frame.
 +=> nieuwe raspberry
 +=> nieuwe SD kaart?
 +{{ :hamburgmaschine:1ste-bestelling_2020.pdf |}}
 +{{gallery>:hamburgmaschine:design2.0}}
 +
 +foto_2: hier zie je dus hoe goed de bijen de sensoren kunnen vastmaken 
 +
 +foto_3 en 4: zo ziet een volle en een lege bak eruit (met en zonder de frames). Er is zeker plaats om de kabels te laten lopen aan de zijkanten, beschermd van de bijen, maar ergens moeten ze toch naar de frame zelf gaan ...
 +
 +display, weergave technologie:
 +- lokaal systeem, camera weergave naar 1 scherm dat binnen staat in de cafetaria beneden
 +- sensor data (T° binnen en buiten) wordt weergegeven naast het camerabeeld
 +- op de SD kaart: data verzamelen voor later onderzoek
 +- of kunnen die data (ZONDER het ingewikkeld te maken) toch in real time online naar ons toe komen?
 +
 +
 +\\
 +
 +=====update ElbBienen hive in Hamburg, 9/10/11 2020=====
 +  * Server updaten met desktop voor beeld, automatisch laten starten
 +  * Server laten starten na sroomstoring (bios)
 +  * Remote control installeren en uittesten (zodat we erbij kunnen ipv vpn)
 +
 +  * Uitsparing maken in deksel hive voor buitensensor
 +  * Raspberry vervangen
 +  * Camera en sensors controleren
 +  * Raat met 3 T°sensors plaatsen
 +
 +  * Kast maken in Golden Pavillion 
 +  * kabels verleggen
 +  * Zorgen dat monitor kan uitgezet worden terwijl de raspberry en server aan blijven
 +  * enkel powercycle te geven na storing
 +  * Zorgen dat de server zichtbaar is en dat restart via de powerknop mogelijk is (blauw is: staat aan, bruin is staat uit)
 +
 +  * Handleiding + foto'
 +  * Extra info mbt tot sd kaart vervangen, 
 +  * werkwijze voor Carsten mbt connectors losmaken en aansluiten (**pi moet uitgeschakeld zijn!**)
 +
 +  * Afhankelijk van bestaande netwerk: apart netwerk/dnsmasq configureren
 +  * Extra: Sensordata op vaste tijdstippen downloaden, semi live (bijv. per 5 minuten)
 +
 +\\
 +
 +
 +=====Follow up ElbBienen=====
 +//In conversation with Isabella Kohlhuber://
 +Regarding the wood of the hive: the inner hive was indeed not solid, it broke also in Brussels. That is because we experimented with a natural ecological glue, as we wanted to keep it as eco as possible for the bee colony. Carsten does not have to make a new inner hive, the old one can be restored very easily. He just has to glue it with the regular wood glue and leave it in a well aired place so that all odors of the glue can escape before we put in the bees again.
 +
 +Regarding the bees: if we do not work with a swarm, than we can put the frames back at any time. Carsten just has lifted out our frames and he has put them in another beehive of the same inner size. If we move the whole colony at once like that, it just has to be done in the (any) evening when all foraging bees of the colony are back in the hive.
 +
 +Regarding the technology: I want to update the sensors and put them in a different spot in the inner beehive, closer to the core of the colony. This means longer cables, soldering, new connections. To have a sound and independent working technological system, it is indeed best to display only locally, at Entenwerter. A local system. Of course, it is a pity not to retrieve data than in real time for a comparison with the other hives, but maybe I can work with a larde SD card and once in a while transfer the data to continue the scientific side of the project. I also will study now the possibility to continue working with an internet connection that can send the data in real time to Brussels, and see how far this is feasible without running again into the router/internet problems that we had before.
 +
 +Regarding the display/screen: I think it would be nice to have 1 screen hanging on a wall in the Entenwerter cafe, there where cables come in now, in the neighborhood of the coffee counter. On the ground floor, not upstairs. Displayed in a way that the public can discover the camera images of the bees and make the link with the artwork outside. I would design a new webpage, with the logo of Hamburg Maschine and the title of the project: ElbBienen. Make a layout where most of the screen space can go to the realtime video, and with the data from the sensors (T° in/out and Hu in/out) displayed next to the flying bees. We can also consider to put the screen in ‘a frame’ (a box) to give it a bit more an ‘art feel’ - if this would be more convenient for the display at the Entenwerter cafe.
 +
 +Regarding the documentation: I have documented extensively every step into the development of the ElbBienen project. I will make an overview of these steps (text & images & technology) - also for the book that is in the making - and I still can do a public presentation if you want this.
 +
 +Practical: I will check out now with Guido for the technical side, taking into account that the whole setup has to be able to function independently from us. I propose to come over to Hamburg (check with Guido) somewhere in July, before the 15th. I suppose that our former agreement regarding the travel expenses to come to Hamburg is still OK, and that we can sleep there 1 night at Carstens’ place. In that case, I think it will be cheapest if the 2 of us come by Guido’s car and in that case we can also bring back the small stuff from the vitrine with the car, than there are no transport costs for sending back those items to be paid.
  
  
  
hamburgmachine.1552318446.txt.gz · Last modified: 2019/03/11 15:34 by ami