Microblogi: A very long article Wikipedia article on the orientation of toilet paper [7. kes klo 22:52] [V]

Keskiviikko, 28. joulukuuta 2011

Timelapse Controler

Käännös: [ Google ]

Kategoriat: [ Askartelu/Arduino ]

timelapse_controller

The timelapse photography controller I helped a friend build is finally complete. He built the hardware, I wrote the software. The latter is uselessly complicated, but I wanted to have fun with C++ and multiple inheritance, so here it is. The device is controlled by a rotary encoder with an integrated push button and a 2x16 character LCD display. It also has a plug to connect it to the camera (via a 2-channel optocoupler) and is powered with 4 AA batteries.

The UI is composed of 4 screens:

  • a status screen, showing how many pictures have been taken so far, as well as the voltage of the batteries
  • a start/stop screen
  • a screen for setting the number of pictures
  • a screen for setting the time interval between the pictures.

Turning the knob moves from one screen to the other, while pressing its button activates the current screen (e.g., starting or stopping, or allowing to change the value of e.g., the time interval).

The last two screens are disabled when the timer is started, and re-enabled when it is stopped. Also, the screen is turned off after a 10s timeout, and switched back on when the button is pressed or the knob is rotated. This allows to reduce the power consumption from abuot 24 mA to 8 mA. This way, a set of 2000 mAh rechargeable batteries should last over 200 hours.

[ Postattu 28. joulukuuta 2011 klo 20.40 | ei kommenttia | ]

Trackback osoite

https://weber.fi.eu.org/blog/Bricolage/Arduino/timelapse_controller.trackback

Kommentit

Ei kommenttia

L'affaire Trinski

Käännös: [ Google ]

Kategoriat: [ Kirjat/Sarjakuvat/Midi minuit ]

ISBN: 9782302013568

© Amazon.fr

Huitième volume des Arcanes du Midi-Minuit publié en 2011. Trinski, commandeur des armées d'une province proche d'York a pris le pouvoir et terrorise la population. Les agents du roi sont envoyés découvrir ce qu'il est advenu de l'ancien gouverneur. À l'annonce de la mort du leader de l'opposition, le Commandeur lui-même se rend sur place et fini par arrêter le « découpeur », un tueur qui terrorise tout le monde. Ce dernier se révèle être le véritable Trinski, alors qu'il employait un sosie pour toutes ls apparitions publiques qui comportaient des risques.

[ Postattu 28. joulukuuta 2011 klo 19.30 | ei kommenttia | ]

Trackback osoite

https://weber.fi.eu.org/blog/Livres/BD/Midi_minuit/l_affaire_trinski.trackback

Kommentit

Ei kommenttia

Tiistai, 27. joulukuuta 2011

Crimes et délits cocasses

Käännös: [ Google ]

Kategoriat: [ Kirjat ]

ISBN: 9782749121307

© Amazon.fr

Premier livre de ma petite-cousine Pauline Arrighi, une compilation de faits divers amusants ou navrants de bêtise.

[ Postattu 27. joulukuuta 2011 klo 20.43 | ei kommenttia | ]

Trackback osoite

https://weber.fi.eu.org/blog/Livres/crimes_et_delits_cocasses.trackback

Kommentit

Ei kommenttia

Lauantai, 17. joulukuuta 2011

George Gale Summer Breeze

Käännös: [ Google ]

Kategoriat: [ Olut/Fuller's ]

George_Gale_Summer_Breeze

“blend of malted wheat and barley, Saaz hops”

Yet another pale ale, but closer to the kind I don't like very much. Contains malted wheat and barley.

George Gale &Co. Ltd, Fuller's Brewery, London, England. 3.8% alcohol.

[ Postattu 17. joulukuuta 2011 klo 21.19 | ei kommenttia | ]

Trackback osoite

https://weber.fi.eu.org/blog/Biere/Fuller_s/george_gale_summer_breeze.trackback

Kommentit

Ei kommenttia

Torstai, 15. joulukuuta 2011

Transformers: Dark of the Moon

Käännös: [ Google ]

Kategoriat: [ TV/Elokuvat/Transformers ]

http://en.wikipedia.org/wiki/Transformers%3A_Dark_of_the_Moon

Wikipedia

The reason NASA went to the Moon is to explore the wreck of an alien ship (which happens to contain a weapon that could have ended the war between the Autobots and the Decepticons). In the present, the Autobots discover a fuel cell from that ship in Chernobyl, leading them to learn about the wreck on the moon and the retrieval of part of the weapon and of Sentinel Prime (revived by Optimus thanks to the gadget found in the previous movie), the inventor of the weapon and the only one who knows how to use it. It turns out that Sentinel was actually allied with the Decepticons because he thought it was the only way to end the war. His plan is to use the weapon (actually a long-distance transport system) to take Cybertron to the Earth and use the humans as slaves to rebuild it. An endless battle in Chicago (where the Decepticons are installed) ensues, and is won only because Sam's new girlfriend manages to turn Megatron, the leader of the Decepticons, against Sentinel (by whom he feels his authority is threatened).

[ Postattu 15. joulukuuta 2011 klo 23.45 | ei kommenttia | ]

Trackback osoite

https://weber.fi.eu.org/blog/TV/Cinema/Transformers/transformers_dark_of_the_moon.trackback

Kommentit

Ei kommenttia

Maanantai, 12. joulukuuta 2011

Crouching Tiger, Hidden Dragon

Käännös: [ Google ]

Kategoriat: [ TV/Elokuvat ]

http://en.wikipedia.org/wiki/Crouching_Tiger,_Hidden_Dragon

Wikipedia

As confusing as first time I watched it, Finnnish subtitles didn't help much this time either. Just check the summary on Wikipedia

[ Postattu 12. joulukuuta 2011 klo 23.45 | ei kommenttia | ]

Trackback osoite

https://weber.fi.eu.org/blog/TV/Cinema/crouching_tiger_hidden_dragon.trackback

Kommentit

Ei kommenttia

Lauantai, 10. joulukuuta 2011

BrewDog There is no Santa

Käännös: [ Google ]

Kategoriat: [ Olut/Brewdog ]

BrewDog_There_is_no_Santa

“A limited edition seasonal stout brewed with cocoa nibs and ginger stems”

Tastes like Finnish piparkakku. The ginger is very obvious, but somehow the cocoa is not very clearly present. I wouldn't be surprised if there would be also cloves in the recipe. Contains barley malt.

BrewDog Ltd., Fraserburgh, Scotland. 4.7% alcohol

[ Postattu 10. joulukuuta 2011 klo 18.56 | ei kommenttia | ]

Trackback osoite

https://weber.fi.eu.org/blog/Biere/Brewdog/brewdog_there_is_no_santa.trackback

Kommentit

Ei kommenttia

Keskiviikko, 7. joulukuuta 2011

Les dents de pierre

Käännös: [ Google ]

Kategoriat: [ Kirjat/Sarjakuvat/Les forets d'Opale ]

ISBN: 9782302018709

© Amazon.fr

Septième volume de la série Opale publié en 2011. Darko et ses amis tentent de traverser la Dorsale à la recherche de Cohars et des titans. Sleilo, dans l'espoir de revoir l'esprit de Bynöod, utilise la pierre de ténèbres trouvée dans un souterrain dans la montagne, autour du cou de la momie de Cohars. Les voyageurs sont fait prisonniers des klaoptèques, habitants du souterrai et de la vallée perdue qui en débouche. Pendant leur fuite, ils trouvent un titan prisonnier, qui leur raconte que Cohars a été corrompu par la pierre des ténèbres et a conduit les titans à leur perte. Sleilo, aidée par l'esprit de Bynöod, se rend maîtresse de la pierre et des Klaoptèques, et libère le titan.

[ Postattu 7. joulukuuta 2011 klo 21.16 | ei kommenttia | ]

Trackback osoite

https://weber.fi.eu.org/blog/Livres/BD/Les_forets_d_Opale/les_dents_de_pierre.trackback

Kommentit

Ei kommenttia

Lauantai, 3. joulukuuta 2011

Moles St Elmo's Golden Fire

Käännös: [ Google ]

Kategoriat: [ Olut/Moles ]

Moles_St_Elmo_s_Golden_Fire

“brewed with Maris Otter malted barley and hoped with Willamette and Celeia leaf hops”

Quite nice, sweet and a bit fruity. Contains malted barley.

Moles Brewery, Melksham, Wiltshire, England. 4.4% alcohol.

[ Postattu 3. joulukuuta 2011 klo 20.18 | ei kommenttia | ]

Trackback osoite

https://weber.fi.eu.org/blog/Biere/Moles/moles_st_elmos_golden_fire.trackback

Kommentit

Ei kommenttia

Perjantai, 2. joulukuuta 2011

Don't Forget pinMode()

Käännös: [ Google ]

Kategoriat: [ Askartelu/Arduino ]

I spent hours with a friend trying to solve the following problem: an LED and a 430R resistor are connected to the pin of an Arduino (actually an RBBB powered with 3.3 V). Using digitalWrite(pin, HIGH) it did light the LED, but it was very dim. What was more weird, is that the pin was showing only 1 V instead of 3.3 V. After two hours of scratching our heads, I looked up on Google and found the answer: “don't forget to call pinMode(pin, OUTPUT)…”

At boot time, the pins are set as inputs. digitalWrite(pin, HIGH) switches the internal pullup resistor (20K – 50K), which is enough to allows the pin to source a little bit of current at a quite low voltage. It was enough the dimly light the LED, but not enough to get the optocoupler (that was initially connected to the pin) to work properly.

[ Postattu 2. joulukuuta 2011 klo 16.38 | ei kommenttia | ]

Trackback osoite

https://weber.fi.eu.org/blog/Bricolage/Arduino/don_t_forget_pinmode.trackback

Kommentit

Ei kommenttia