home_science – Open Source Mechanic blog http://www.opensourcemechanic.com/blog cat /dev/random | strings | grep "For being ignorant to whom it goes I writ at random, very doubtfully" Tue, 10 May 2016 21:50:54 +0000 en-US hourly 1 https://wordpress.org/?v=4.7.5 Internet of Things 1.0 — Electric consumption data logger http://www.opensourcemechanic.com/blog/2016/05/internet-of-things-1-0-electric-consumption-data-logger/ Tue, 10 May 2016 21:38:12 +0000 http://www.opensourcemechanic.com/blog/?p=1004 Ireland’s Airtricity offers an LCD smart meter display to help their customers track usage patterns. The device comes with what looks like an ethernet port but don’t try to connect it to your PC. It may be RS-232 with +/- 12 Volts, more than enough to damage your PC. The sending unit is magnetically coupled to a line in your electrical box. It broadcasts the usage to the display via 433Mhz which can be read remotely. In this case I sampled it and pulled it into a spreadsheet:

home_electric_consumption

Our family’s earth hour didn’t match up with the rest of the world but sometimes c and I look at the Airtricity meter and run around the house trying to see how low it can go. The phantom power baseline is quite a bit higher than I’d like, with a few 200 watt bursts throughout the night. I’m not sure which is the fridge, which is the freezer and which is the boiler pump but the 3000W tea kettle is obvious. The electric stove top cycles on and off around 2000W towards the right of the graph. There are some mysterious 1200W bursts in the middle of the night. I hope it’s the boiler or fridge startup motor just happening to kick in during the sample interval.

If irish water also gave customers access to the smartmeter data they’re collecting on us, I might have noticed hundreds of gallons leaking from their poorly installed smart meter sooner.

]]>
Upcycling Kites with Syrian Refugee Children http://www.opensourcemechanic.com/blog/2015/11/upcycling-kites-with-syrian-refugee-children/ Tue, 24 Nov 2015 00:02:15 +0000 http://www.opensourcemechanic.com/blog/?p=970 kites1In the spring of 2014 we visited some friends in Jordan. Laurie and Jean of Studio Syria teach art and crafts to the people at the Zaatari refugee camp in Northern Jordan. Gaelle or DAY – Dar Al Yasmin and the brilliant Hayabi circus also work to brighten the lives of children at Zaatari village, just outside the refugee camp and give moms a break. Gaelle invited my family on what our daughter called “The most fun bus trip ever.” We sang songs to pass the time and lower relieve stress at checkpoints on the way to make kites with these Syrian refugee children. Here is the story  I originally published at Greenprophet.com:

Syria’s war has killed 150,000 people and forced more than three million from their homes. About a million of these refugees live in Jordan and as many as 200,000 have lived in the Zaatari refugee camp near Jordan’s Syrian border. This Green Prophet visited nearby Zaatari village where another 500 refugees live. One of the Syrian refugees who live here is a little girl with a broken shoe. This girl and dozens of other children of Zaatari village learned a little bit about recycling on one of the many cloudless spring days in the desert.

My family and I wanted to learn about the needs of Syrian refugees. So before our recent trip to Jordan, we asked Green Prophet’s Laurie Balbo about volunteer organizations there.

Laurie was a crucial boots-on-the-ground volunteer who performed a bureaucracy-defying miracle to get thousands of donated Irish knit hats to children at Zaatari before winter’s end and long before larger relief agencies were able to complete their winter clothing distribution.

Laurie works with Studio Syria and other organizations inside the Zaatari refugee camp. She was also familiar with a French NGO named Dar Al Yasmin (DAY), which means “House of Yasmin.” It was named after Syria’s fragrant national flower. DAY was formed in 2013 to focus on the needs of families living in Zaatari village.

DAY cofounder Gaelle Sundelin has the crucial mix of organization and language skills, leadership, creativity, optimism, patience, peacemaking and enough pragmatism to recognize that she can’t do it all herself. So for this typical Habaybi (caring love) event Gaelle recruited about 50 people from France, Ireland, Italy, Jordan, Sudan and Somalia. The young men from these last two countries told me that wars had forced them to leave their homelands and that they hoped to return one day.

We met Gaelle and other DAY volunteers at a bus stop in Amman Jordan on Good Friday. We would fill two minibuses with a diverse group of teachers, artists, musicians, an acroclown circus and our family of four.

Some circus performers tuned their instruments while another handed out plastic clown noses. The troupe burst into song to lighten the mood at security checkpoints and shorten the journey to Zaatari. Our ten-year-old daughter called it the most fun bus ride she has ever been on.

While other volunteers worked on a variety of craft and entertainment projects, my family was asked to help make kites. Gaelle explained that we would make the kites out of plastic bags and cardboard so that the children would learn about recycling. During the long bus ride north, Gaelle wondered aloud whether we would have enough materials for the kites. I looked across dusty fields littered with plastic bags and wondered how we could ever run out.

Volunteers Muhammad Husseis and Feras Hamwy had built a flying prototype kite made from a plastic bag and decorated with Barcelona football club stickers. This was two days after Real Madrid took home the Spanish cup but the Barcelona stickers were a huge hit with the kids as were the Cars, Angry Birds, Spiderman and smiley face stickers. I only knew how to say “Hello” and “Thank you” in Arabic, but “Barcelona!!!” was a universal happy word that day.

This was the first valuable lesson for us, these kids aren’t so different from our own children or from others we’ve known in Ireland, the US and elsewhere.10177222_449222468513890_2253068009041345569_n

We used a hot glue gun to assemble the traditional diamond-shaped kites. It must be natural to feel somewhat useless when trying to help others overcome seemingly intractable problems. But I soon found my purpose as goalie trying to keep the children from burning themselves on the hot glue guns. I began to wish we had used duct tape! But then I noticed that these kids were different. Their level of chaotic energy was high but nothing beyond what I’d seen in the Irish Sunday school classes. The difference being that this room full of 30 kids seemed ever so slightly more manageable than some classes of 8-10 I’ve worked with in other parts of the world.

When the kites were finished, the children took them outside and we began to clean up. But the kites were so popular that the word soon spread and had a new influx of children eager to turn every scrap of plastic and cardboard they could find into a kite. At first we shrugged our shoulders and thought why not?

But when the chaos rose and we decided to pull the plug on the hot glue guns. As they cooled off, a 5 year-old boy presented his half-finished kite, flicked out a cigarette lighter and offered to reheat the glue for me. I told him, “La shukran. (No, thank you.)”

That was when someone carried in the little girl. She wore a white and1908263_449218371847633_7037255593842234598_n-e1399403080552 pink floral dress and a beaded bracelet she had made with another arts and crafts group. She handed me the broken shoe. A plastic jewel had fallen off of its buckle.

There was just enough heat left in the glue gun to stick it back on. These children did learn something about recycling on that day. And I learned that even the smallest act of kindness is never wasted.

Photos provided by Dar Al Yasmin (DAY.)

]]>
Seabot and science hack day Dublin 2015 http://www.opensourcemechanic.com/blog/2015/11/seabot-and-science-hack-day-dublin-2015/ http://www.opensourcemechanic.com/blog/2015/11/seabot-and-science-hack-day-dublin-2015/#comments Mon, 16 Nov 2015 20:52:32 +0000 http://www.opensourcemechanic.com/blog/?p=961

Brian telling us about SeaBot, tried and tested on UCD lake, confusing local ducks who just wanted food. #SHDD pic.twitter.com/fKWrvibnt4

— Sci Hack Day Dublin (@SciHackDay_Dub) November 15, 2015


Many thanks to all of the organizers and contributors to science hack day Dublin.

It was fascinating to see what a roomful of fun and talented scientists can accomplish over a weekend. The event and collaboration helped me bring seabot from a concept towards reality. Here are some details and goals of seabot:

Seabot

Seabot is a marine platform for electronic hacking. It was inspired by Cesar Herada’s Protei, James Gosling’s liquid robotics and 600 million year old prior art by Portuguese Man of War polyp colonies.

P. physalis. Photograph by A. E. Migotto, Center of Marine Biology, University of Sao Paulo, Brazil.

P. physalis. Photograph by A. E. Migotto, Center of Marine Biology, University of Sao Paulo, Brazil.

The original plan was to begin with a data gathering buoy and progress to a moving platform. But with access to UCD’s 3d printer, the help of Mohamed and Eoin, we were able to create a sailing platform along with a 3d printed propeller for those rare days when Irish wind falls below 100kph.

We began with a multihull because it gave us a wide, stable platform with the least amount of plastic and hours on the 3D printer. The model we used was a bottle boat created by Richard Albritton on Thingiverse. Because it used ordinary 500ml soft-drink bottles as pontoons, it used even less plastic.

Richard Albritton’s bottle boat.

I had the code to make the ATiny85 blink the light at the ambient temperature. Unfortunately the source code was on an encrypted partition of a crashed laptop but when it is available, I’ll provide a link here. (which is easier, cracking Symantec’s drive encryption or decompiling the bytecode inside the Atiny?)

When we tried floating the temperature-flashing buoy in UCD’s lake,  the swans thought we were trying to feed them. This reminded me that some of the kids in Cesar Herada’s educational project suggested a shark-shaped seabot to scare fish away.

Greg was our navigator. He worked on software for reading a GPS so the Seabot knew where it was. Paul worked on hacking the remote control for an RC toy to run the motor or turn the sailboat’s rudder. We’re already beyond our original goal of a data buoy but perfecting a robotic motorsailer will take some time and sea trials.

I used an Arduino Nano to program a cheap (~1 Euro) Atiny85 processor. The processor has an internal thermister and I dual purposed a red LED as a photodetector and temperature blinker. (1 blink per degree C)

I also intended to PWM modulate red and blue LEDs, red means temperature rising, blue means temperature falling. Imagine Toro Nagashi style floating lanterns where the temperature of the water is reflected in the color of the lantern.

But we didn’t have time to make the navigation system work and the last thing we need is more plastic in our already polluted seas. If we can’t make the seabot boomerang back to us, how can we find the seabot? This is where RF comes in. I had a 433Mhz transmitter which Greg found uses a very simple protocol. Toggling the ATAD line toggles the transmitter.
If the seabot can’t come to us, we must go to the seabot. I had some experience with software designed radio, particularly gqrx and Eoin had contributed code patches to cubicSDR. Paul happened to have his HF yagi antenna with him so we decided that this would be how we would track down the seabot. As a bonus, I connected the RF ATAD pin to the Atiny’s temperature controlled PWM pin.

A little RF direction finding, a 17.3 cm antenna inside a soda pop bottle and a 3d-printed hull. We’re in business.  Thanks to all!

]]>
http://www.opensourcemechanic.com/blog/2015/11/seabot-and-science-hack-day-dublin-2015/feed/ 2
Aruduino Nano programs Super Mario song onto $1 ATiny85 microprocessor http://www.opensourcemechanic.com/blog/2014/01/aruduino-nano-programs-super-mario-song-onto-1-atiny85-microprocessor/ Fri, 31 Jan 2014 15:15:14 +0000 http://www.opensourcemechanic.com/blog/?p=933 My son and I demonstrate how the Arduino playtunes library can be used in a music program which is uploaded through an Arduino Nano microcontroller development board onto a $1 ATiny85 microcontroller chip. LEDs are flashed at musical frequencies and then a photvoltaic solar sell converts this light into electricity and then polyphonic sound.

 

]]>
Skylanders science portal of power magnetic undiction http://www.opensourcemechanic.com/blog/2014/01/skylanders-science-portal-of-power-magnetic-undiction/ Thu, 09 Jan 2014 21:41:40 +0000 http://www.opensourcemechanic.com/blog/?p=922 My son and I figured out how Skylanders lightcore figures light up by magnetic induction and we learned how to tap into this power to make our own device light up.

 

]]>