arduino – Milwaukee Makerspace https://milwaukeemakerspace.org Conceive, Collaborate, Create Sun, 15 Jan 2017 01:28:01 +0000 en-US hourly 1 https://wordpress.org/?v=6.4.4 Beginner Arduino Class https://milwaukeemakerspace.org/2017/01/beginner-arduino-class/ https://milwaukeemakerspace.org/2017/01/beginner-arduino-class/#comments Sun, 15 Jan 2017 01:28:01 +0000 http://milwaukeemakerspace.org/?p=9381 Arduino UNO

For the last two semesters I taught college students how to use Arduinos to make art, which was a lot of fun. The class was 2.5 hours long, twice a week for 15 weeks. I wanted to compress much of the basics into a Beginner Arduino Class for the space, and we (mostly) did it.

The class ran for 4 hours, and covered about a dozen examples using various components to get through the concepts of digital input, digital output, analog input, analog output, and covered the Arduino software a bit and the Arduino world, including some example projects for inspiration.

Arduino UNO

I did limit the class to six students, and I supplied all needed parts. All the student had to bring was a computer with the software installed and a free USB port. I wanted everyone to have all the same parts so we could avoid things not working due to different components, which I’ve faced in the past. Overall, I was pleased with the outcome, though we did run out of time. I may have to alter things next time, or just put time limits on certain parts of the class.

I’ll aim for the next class to happen in February, and once enough people get through the Beginner Class I’ll work on an Intermediate Class. If you’re interested in taking the class, add your name to the “Interested Members” list at the bottom of the wiki page.

]]>
https://milwaukeemakerspace.org/2017/01/beginner-arduino-class/feed/ 3
The Turndrawble https://milwaukeemakerspace.org/2015/05/the-turndrawble/ https://milwaukeemakerspace.org/2015/05/the-turndrawble/#respond Mon, 18 May 2015 10:00:53 +0000 http://milwaukeemakerspace.org/?p=8464 The Turndrawble

The Turndrawble is a drawing machine I designed, based loosely on an old vinyl turntable, but instead of playing records, it creates drawings.

The construction was done using stacked layers of wood and acrylic. I wanted to avoid using the typical laser-cut “box” enclosure I usually use. I’m pretty happy with how it turned out.

The Turndrawble

The Turndrawble is meant to be used to create 12″ circular drawings. One of the knobs controls the platter speed, and the other sweeps the arm in and out. Since it’s a new drawing device, it hasn’t been mastered yet, but we’re working on it!

Here’s a short video showing the turndrawble being operated. I’ll probably have it at some future art events for people to try out and see what they can create with it.

There’s a bunch more info about this thing on the Turndrawble project page on my web site.

]]>
https://milwaukeemakerspace.org/2015/05/the-turndrawble/feed/ 0
QWERTY (and nothing else) https://milwaukeemakerspace.org/2015/05/qwerty-and-nothing-else/ https://milwaukeemakerspace.org/2015/05/qwerty-and-nothing-else/#respond Tue, 12 May 2015 03:50:45 +0000 http://milwaukeemakerspace.org/?p=8447 QWERTY Keyboard

I built a QWERTY keyboard that types the letters Q, W, E, R, T and Y, and nothing else. No space, no return, no escape.

It’s a fully-functional USB device, you know, as long as you just want to type words that can be composed with Q, W, E, R, T and Y. (WET, WRY, YET, TRY, there’s a bunch of them!)

I wrote plenty more about this project on my blog, and if you want to read about the history of the QWERTY layout, and its connection to Milwaukee, and why the way we interact with technology is interesting and sometime ridiculous, well… I got that too.

]]>
https://milwaukeemakerspace.org/2015/05/qwerty-and-nothing-else/feed/ 0
Bay View Boo! https://milwaukeemakerspace.org/2014/10/bay-view-boo/ https://milwaukeemakerspace.org/2014/10/bay-view-boo/#respond Mon, 27 Oct 2014 03:05:22 +0000 http://milwaukeemakerspace.org/?p=7852 I’ve lived in Bay View for the past 9 years and I have always loved trick-or-treating night here in the neighborhood (despite the fact that it isn’t actually on halloween!).  After I got some good photos of great costumes last year, I wanted to run a photo booth in front of the house on trick-or-treating night.  Add some procrastination, python and a couple of arduinos to a good idea and voila: Bay View Boo! was born!

1414276138

I started by building a shelf to hold the photo booth (and double for an extra shelf in the garage for the other 364 days of the year).  On the shelf, I set up an HDMI monitor, driven by my laptop and a logitech webcam for the camera.  The electronics were simple: I had an orange sanwa arcade button attached to an arduino to trigger the photo to be taken and another Arduino connected to a thermal printer from Adafruit to print out a link to the photo.  On the computer, i had a Processing sketch to drive the display, perform the countdown when the button was pressed and send the filename to the printer.  I also ran a little python app that pushed the images to Google Cloud Storage.  An AppEngine app displayed the photos.  I was in a bit of a rush to finish Saturday as I spent half the afternoon at Fantasticon and in my haste I forgot to add page navigation links to the front page.  Oops!  Ah well.  I had the site updated after i tore everything down for the night.  I had one trick or treater ask me if I had “like a Raspberry Pi in there or something” and I said, “Nope, but i have a couple of Arduinos!”.  “Cool”.  Cool, indeed.

None of the individual pieces of the project were very difficult and it all came together pretty nicely.  The most gratifying part of the night was hearing from people that they had heard from other people to come over and get their photos taken.  Word spreads quickly in Bay View!  I’ll be posting all the code to a github repo shortly and I’ll update this post with the link when I’ve done that.

For next year, I plan on making a couple of changes.  First, I want to have a nicer enclosure for the photo booth and something more permanent to mount the button and printer in than the white cardboard box i cut holes in with an X-ACTO knife.  The second thing I want to do is make some interchangeable front pieces for the booth.  I could use this for lots of events and it would be great to be able to bolt on something that was more thematically appropriate than a painter’s drop cloth with holes cut in it and secured by shiny duct tape!  Ah well, it got the job done and after a while it was dark enough that no one could see my shoddy craftsmanship!  That brings me to my final change for next year: lighting. I had one 250W light ready for when it got dark and it basically sucked.  To everyone who showed up in awesome costumes once it was dark: I’m sorry.  I’ll have better lights next year so everyone can get a great looking photo, even if you don’t come out before the sun goes down!

891518_747900375304035_50226303_n

Here are a few of my favorite photos from the booth.  I hope everyone who stopped by had a good time and enjoyed your photo!  I’ll see you again next year!  In the mantime, head over to Bay View Boo! to browse all the photos from the evening!

1414274633

1414276430

1414274746

1414275751

1414276390

14142783441414281093

1414278995

 

]]>
https://milwaukeemakerspace.org/2014/10/bay-view-boo/feed/ 0
littleBits Projects https://milwaukeemakerspace.org/2014/07/littlebits-projects/ https://milwaukeemakerspace.org/2014/07/littlebits-projects/#respond Wed, 23 Jul 2014 01:17:53 +0000 http://milwaukeemakerspace.org/?p=7597 littleBits

Back in June we announced some Instructables Build Nights featuring littleBits and the new Arduino at Heart modules. We had a lot of members play with the ‘Bits during the last six weeks, and we’re still waiting for Steve to publish the detailed instructions on his “littleBits-powered Vomit-Inducing Machine”, but for now we’ll have to make do with the littleBits Arduino Annoying Machine that Eric and his son built.

I also got in on the action, with two Instructables that (sort of) go together; littleBits Serial Data and littleBits Serial Controller. All of our projects make use of the Arduino module, which add some great programming functions to the littleBits world.

If you didn’t get a chance to play with the ‘Bits yet, we will have four littleBits Deluxe Kits and a bunch of Arduino modules at the space to experiment with. They should be treated like a LEGO set; build something, then take it apart. Hopefully having some fun and learning something new along the way.

(Big Thanks to Instructables and littleBits for providing the kits to us!)

]]>
https://milwaukeemakerspace.org/2014/07/littlebits-projects/feed/ 0
Instructables / littleBits Build Night https://milwaukeemakerspace.org/2014/06/instructables-littlebits/ https://milwaukeemakerspace.org/2014/06/instructables-littlebits/#comments Wed, 04 Jun 2014 14:37:55 +0000 http://milwaukeemakerspace.org/?p=7446 littleBits
Have you heard of littleBits? It’s an open source library of electronic modules that snap together with tiny magnets for prototyping, learning, and fun. If you’re the kind of maker who tends to avoid the Electronics Lab, littleBits might be just what you need to start experimenting with circuits.

We’ll be hosting a number of littleBits Build Nights in June, sponsored by our friends at Instructables, who have provided us with a bunch of littleBits Deluxe Kits, as well as a number of their new Arduino at Heart modules, which let you add an Arduino brain to your littleBits creations.

If you come up with something cool, we’ll help you post a step-by-step Instructable for it, so others can enjoy your creation. If you need some inspiration, check out some of these littleBits projects.

These events will be free, just bring yourself (and your ideas!) to 2555 S. Lenox St. in Bay View and make something cool with littleBits.

]]>
https://milwaukeemakerspace.org/2014/06/instructables-littlebits/feed/ 1
Easy RTC Time Set https://milwaukeemakerspace.org/2013/12/easy-rtc-time-set/ https://milwaukeemakerspace.org/2013/12/easy-rtc-time-set/#respond Sat, 14 Dec 2013 00:50:44 +0000 http://milwaukeemakerspace.org/?p=6794 RTC Time set

I made a few RTC / LCD clocks and disliked setting the time using an Epoch converter so I found a solution that uses 2 buttons to advance the Hours and Minutes.  I substituted toggle switches for the buttons because I didn’t want to have to hold down the button while the Minutes were advancing, thus enabling me to move on to determining how long it is until Spring!.

RTC Timer

]]>
https://milwaukeemakerspace.org/2013/12/easy-rtc-time-set/feed/ 0
Raspberry Pi Challenge Update https://milwaukeemakerspace.org/2013/03/raspi-challenge-update/ https://milwaukeemakerspace.org/2013/03/raspi-challenge-update/#respond Wed, 20 Mar 2013 17:39:42 +0000 http://milwaukeemakerspace.org/?p=5414 Eric

Previously on The Raspberry Pi Challenge

Just a quick update on the “Milwaukee Makerspace Traveling Mascot” project as I caught Eric doing a bit of Raspberry Pi + GPS hacking last night.

Raspberry PI + GPS

I’m excited to see how this project progresses. I’ve not had a chance to get hands-on with the Adafruit Ultimate GPS Breakout yet, but there’s a great tutorial on using it with a Raspberry Pi and one that covers Arduino usage as well.

]]>
https://milwaukeemakerspace.org/2013/03/raspi-challenge-update/feed/ 0
IBC Tote Aquaponics https://milwaukeemakerspace.org/2012/11/ibc-tote-aquaponics/ https://milwaukeemakerspace.org/2012/11/ibc-tote-aquaponics/#comments Tue, 20 Nov 2012 04:12:40 +0000 http://milwaukeemakerspace.org/?p=4554

About 3 months ago, in caffeine fueled bravado, two of my friends and I decided to try to build an aquaponics farm in Botswana, a country in Southern Africa. After a lot of reading, field trips to a few impressive facilities, and a trip to Africa, where we secured a partnership with a local institution, we wisely decided to build a system locally first.

Aquaponics is a mixture of hydroponics (soil-less agriculture) and fish aquaculture (hence the cat’s laser-like focus). It is a symbiotic process, where the fish’s organic waste fertilizes the plants, and in return are supplied with filtered water. The only system input is fish food.

The two (2) black plastic boxes pictured above used to be one (1) 330 gallon IBC tote, which are usually used to store and transport fluid and other bulk materials. We cut the container about cut about two-thirds of the way up. The larger bottom tank holds 40 yellow perch for now – it can support about 80-90 fish. Water from the fish tank is pumped through the black pipe in 10 minute on/off cycles to the grow bed above. An Arduino housed in the blue box to the right controls the pump and also monitors water temperature. We plan on adding sensors to monitor the water chemistry (pH, nitrates, etc.) in the future.

The grow bed is media based. In other words, we use a mixture of rocks and expanded clay (the red stuff) to support the plant’s roots and act as a bio-filter to filter the water and convert fish waste (ammonia and nitrites) into plant food (nitrates).  The filtered water falls back to fish tank through the PVC pipe (there are several small holes under the rock), which introduces oxygen via percolation and completes the mostly closed-looped cycle. A set of six (6) full spectrum T5 lamps provide the artificial light. The first crop of tomatoes, radishes, pepper, lettuce, and some wicked cucumbers is sprouting in the plastic containers and should be planted within the media within a day or two. We are expecting the first harvest in 4-6 months.

So now that we are seasoned farmers, we have launched a campaign to build a larger, floating-raft system in Botswana at a local institute of agriculture. We are currently in the fund raising phase on indiegogo. If everything falls into place, we will start construction in late summer (winter over there) of next year.

Pictured below is the reason we are pursuing this project. It hasn’t rained there since 2009. Combine that with the poor soil and the country has to import almost 100% of its vegetables and most fruits. We are hoping that water and energy efficient aquaponics based farming that produces hormone and chemical fertilizer free fish and plants is the answer.

 

 

 

]]>
https://milwaukeemakerspace.org/2012/11/ibc-tote-aquaponics/feed/ 4
Runner’s Odometer https://milwaukeemakerspace.org/2011/12/runners-odometer/ https://milwaukeemakerspace.org/2011/12/runners-odometer/#comments Tue, 27 Dec 2011 04:22:55 +0000 http://milwaukeemakerspace.org/?p=2634 Runners's Odometer: Tracey's Miles as of December 25, 2011

Tracey, my wife, runs a lot. This year she is already over 2000 miles logged. She runs marathons and ultra-marathons and crazy things like 50 mile runs. We have long joked together that she clocks more miles running in a year than i put on my beloved 1999 Chevy Prism driving it to the train station and back. This made me think that i should make an odometer for her. I decided to do this for real a couple of weeks ago and had a prototype ready for her to open on Christmas morning.

Her immediate reaction? “You got me a box of wires and stuff?!” Once i explained it to her and showed it in action, she thought it was a lot of fun.

I initially wanted to use a real car odometer, but i didn’t have one handy. I went over to the fantastic American Science and Surplus and looked for some counters or an odometer there. While i didn’t find an odometer, they did have some 24v industrial counters from Durant. These are nice little counters that were (are?) made in Watertown, WI, not too far from our space. They are super simple devices. 6 geared dials have the numbers 0-9 on them. A solenoid ticks the rightmost number with each pulse of voltage it receives. When the dial on the right rolls over from 9 to 0, the next gear is ticked up by one and so on. These counters are not resettable or reversible, except by some manual intervention. I took the little guy apart and cranked the wheels over to where i wanted them.

A quick rummage through the hack rack turned up an 18V wall wart that we clipped the plug off of and used for our power source. Royce helped me out with this and with his help and a couple of alligator clips we proved that the 18V was enough to activate the solenoid and tick the counter up by 1. This particular counter moves 1 tick regardless of how long the voltage is applied. To crank up multiple ticks, i need to cycle the power on and off. I had an Adafruit MotorShield lying around that had all of the necessary high-voltage gear on it and we got the device up and running pretty quickly with it. I did not have time to build a circuit board just for this device, so the MotorShield is what is being used for the working device now. That wrapped up a quick night of experimentation at the space and at the end of it i had a working counter and the Arduino code to control it!

My next task was to integrate it with DailyMile, the social networking site that Tracey uses to log her runs and connect with her running friends locally and around the country. Thankfully, DailyMile has a nice little REST+JSON API that made it super easy to snag all of Tracey’s details. I used their ruby client, but will probably switch my app over to Python because i have been doing more Python development lately. The API returns a simple JSON structure for all logged activities and i simply snag that data and store it locally in a pretty-printed JSON file. A sample activity record and URL look like this:

Edited response from https://api.dailymile.com/people/tmgessner/entries.json?page=5

{"entries":[
{"id":10441284,
"url":"http://www.dailymile.com/entries/10441284",
"at":"2011-10-16T14:34:34Z",
"message":"My legs felt a little bit tired today but my lungs felt GOOD! I tried to stay relaxed and just enjoyed the feeling of breathing in and out. Really, a lovely Sunday morning.",
"comments":[...],
"likes":[],
"geo":{
"type":"Point",
"coordinates":["-87.8961323","42.9935854"]},
"location":{"name":"Milwaukee, WI"},
"user":{
"username":"tmgessner",
"display_name":"Tracey G.",
"photo_url":"http://s1.dmimg.com/pictures/users/9744/1322699474_avatar.jpg",
"url":"http://www.dailymile.com/people/tmgessner"
},
"workout":{
"activity_type":"Running",
"distance":{
"value":7.1079,
"units":"miles"
},
"felt":"good","duration":3968}},
...
]}

I save all of the activity events locally, but for this odometer, i am only interested in the “Running” events.

The ruby application runs forever and polls the DailyMile API every minute for new data and stops paging through the results if it finds entries that it has seen before. If any new runs are found, the app figures out how many miles are missing from the odometer and sends that value along as a byte to the arduino over the serial port using the serialport gem and waits for a successful response.

If you would like to build a version of this yourself, you can download the code used from http://code.google.com/u/jason.gessner/p/runners-odometer/.

The device and code work right now, but the presentation leaves a lot to be desired, though, so i am working on a version with a more lovely display. I like the analog odometer feel and I think the next step will be to make some larger gears for this project on the CNC router at the space and build a bigger version. I’d also like to work with my father on a nice wooden case for the display and the gear.

The more immediate next steps will be to make a smaller circuit for this that doesn’t need a full arduino and a motor shield. I can control the solenoid with a transistor (like we did for the Beer Project). The bigger challenge will be to make the connectivity to the data from the API more compact. I would love for this device to be wireless, but i need to figure out how much i want it to cost. This would be a fun project to offer as a kit or for sale, but i don’t want it to cost close to 100 dollars, so i’ll be doing some more prototyping to make it a bit more standalone. The other challenge i have is that Tracey typically only uses her laptop, so there is no desktop machine sitting around that she would hook this up to so it will constantly update. I do have some new Xbee gear that might work, but i think the trickiest thing to design will be the standalone version that doesn’t need a computer connected to it.

Runner's Odometer: The Motor Shield Powering the Counter

]]>
https://milwaukeemakerspace.org/2011/12/runners-odometer/feed/ 12