Sunday, August 23, 2009

Liam Nesson + Astrophysics = ??

Today I noticed the release of a new mini-documentary on Hulu, narrated by none other than Liam Neeson. Black Holes: The Other Side of Infinity is a great little movie that provides a good basic introduction to black holes so the non-astrophysicist can understand the core concepts. I was happy to see that the producers included some information on wormholes and white holes as well, two important ideas that are sometimes overlooked. Its always interesting to me to see something on Einstein and his theories. His perception of spacetime (yes, one word) is incredible to say the least.

Seeing this documentary was perfectly timed for me, as I've just gotten around to finally reading Death by Black Hole by Neil deGrasse Tyson, who is also a Nova host from time to time. If you find this interesting, check out Brian Greene's The Elegant Universe, the very book that sparked my interest in physics. What I really like about astrophysics is how little is really understood, and the universe is just waiting to be discovered.

Friday, August 14, 2009

DIY Navigation Robot

Seeing that this is the 100th post on BW Science labs I thought that merited a really cool post. BW Science Labs now has a mascot named Vivus the GoBot.

Vivus the GoBot has been under development for a long time. I chose to use the picaxe axe023 microcontroller board because it was low cost and small. The geared motors I used were very frustrating to assemble as it was made of lots of tiny pieces with little instruction on assembly. However, they had a good gear ratio and were very low cost considering the alternatives (pricing $15 for one little motor should be a crime!). I would have liked to use different bumper switches, but the Omerons were the only ones I could buy and were cheap, they actually ended up working really well. I used a 6v power supply which was heavy, but also great because I ended up not needing to solder in a voltage regulator. I would have liked to add two more wheels, but refrained from doing so because of the cost ($4.95 for 2 wheels?!). I used two tongue depressors as a chassis as they ended up being nearly the perfect size. I tried to accomplish this project without soldering because I don't have good ventilation and my respirator broke. However, this paid off big time as I would easily reconfigure wires in 1/3 of the time it would have taken me if I had soldered the joints.

Anyone who has ever attempted to build a robot from scratch know the challenges it presents, often time resulting in failure if one tiny thing goes wrong like using a different transistor than you should or accidently giving your bot one volt too many (Both of these mistakes I have made during other attempts). This is by far my best robot, and its nice to know that its possible after failing so many times.

By far the hardest part was coding Vivus. The picaxe microcontroller runs on BASIC code, which was created in the late 60's. I spent at least 4 hours testing tons of code bit by bit to get it to finally work.

And of course, every cool robot needs its own cool movie.



Or watch Vivus the GoBot DIY Robot directly on YouTube.

Tuesday, August 11, 2009

Orion Programming: A new Division of BW Science Labs

BW Science Labs has had a lot of behind-the-scenes work done lately, an while the actual blog may have seemed desolate and un-updated, much work was being done. One of many of these projects is Orion Programming, a new division of BW Science Labs. Orion will be my portal for all of the software I write, since this blog is currently incapable of hosting files and embedding Flash projects.

The Orion Programming site was built primarily in preporation for my first Flash and ActionScript 3 game ever, which will hopefully be released sometime this week. I haven't built a web-based game since my early days as a young(er) programmer using MIT's Scratch, and while its artwork is ugly at best, I'm very happy with the 700-800 lines of code that have gone into this project.

Going slightly off topic, I am also working on a new robot whose aim is to be as low cost while still advanced as possible. Right now it doesn't look like much, but when it does I'll write up more about it.

It's good to be back in the normal flow of BWSL projects, as always let me know your thoughts and ideas via commenting on this post or pinging me via email.

Wednesday, June 24, 2009

Farewell for now...

I know, I know, the one thing people wanted more of from BW Science Labs was more articles, but well hey, we all need vacation some time.
In a few hours I will be on a bus to camp, and no, NOT science camp as everyone assumes (well, for a good reason I suppose). I am in fact going to a tech-free 1 month camp.

However, when I return some awesome projects will be unveiled.

Have a good summer and try to do at least 1 awesome thing!

Until we meet again,

Your fellow creator Brennon

Friday, June 12, 2009

Fusion FC logo competition

I am about to launch my Python server, Fusion From Scratch which will host many projects hopefully for years to come. Some of the applications I intend to use it for are iPhone games, Palm Pre applications, remote control of hardware (I'm working on an all-new security system that will feed data to Fusion FC), and hopefully many others. All the code for the server (not the projects/apps though) is finally finished! Here's where you come in: I think it would be cool to have a Fusion FC logo to display on its home page and to use as a link from sites like BW Science Labs. Because I don't have access to applications like Photoshop or Adobe Illustrator, I need someone else to create the logo. Unfortunately I cannot pay you (Hey, I'm 14), but I will give you credit on BW Science Labs and the Fusion FC site when it's launched.

I'm not looking for anything too specific, you're free to use your creativity. Feel free to make it colorful, and perhaps a techy/sciencey/futuristic look would be interesting.

I plan on receiving multiple submissions, as I did with the BW Science Labs logo. Only one can win, so please don't feel bad if yours doesn't make it. :)

Email your submission in the highest resolution possible to brennonw at bwsciencelabs.com to enter.

Good luck!

Sunday, May 31, 2009

Maker Faire 2009

Once a year, geeks, nerds, businessmen, gamers, weird-clown-looking-people, and the (very) occasional jock, gather unified in one place: The Maker Faire in San Mateo, California. Innovators and inventors gather here to share their work, freely and openly. It is at the Makers Faire that anyone can learn from and enjoy hourly Tesla Coil shows, wars between mini tanks, naval battles between 8 foot long ships that shoot 1/4 inch metal bullets at each other, and so much more. It is where science, technology and innovation are displayed and discussed in a hands-on forum.


May 30 and 31st are a couple of my absolute favorite days in the world! This year I was able to meet many people who I had read about, including inventor Mitch Altman, the guy from the Myth Busters Adam, and of course several MIT students. I was able to talk to one guy from the MIT Media lab, who gave me some great advice about getting into a school like the Massachusetts Institute of Technology: “Don’t do stuff to put it on your application, do it because you are excited about it.” In addition, I met the award winning innovator who made a full oven that could boil water in minutes. This was remarkable because the oven was made of only cardboard, tin foil, and some paint.

I love the smell of solder in the morning, its the smell of victory*. Sparkfun Electronics held a small workshop. For the bargain price of 10 dollars, they give you a box of parts, and access to all of their tools and equipment. Best yet, they have experienced engineers walking around to help you build things. My piano teacher jokingly asked me to build a metronome to help me play. I was actually able to build my own at the Maker Faire. Those of you who know me know that I sometimes have a hard time with instructions, they seem to be slow and take all the fun of figuring out how the pieces fit together. I proudly made my metronome in record time, and was grinning as I placed the batteries inside. I flipped on the switch. Nothing. Again. Nothing. Horrified by my failure, I flagged down one of the “Sparkfun engineers” who quickly discovered that the microcontroller I soldered in was backwards. “You know,” he said, “it says right here in step one- to make sure that the notches align.” Whoops. The people at Sparkfun were kind enough to give me a replacement kit for free, which I am extremely grateful for considering that it was my fault for not reading the directions.

In addition to countless new innovations, there were the famous Coke and Mentos guys who repeated their show from last year. The success of their explosion formula has given these guys quite a following on Youtube. That said, there is no substitute for seeing their show in person.


Equally fascinating were the 3D printers that could literally print out flip-flops, hair combs, toothbrushes and just about anything else you could possibly think of. There were also plasma and laser cutters that I saw in action, along with a variety of holograms and 3D films. This is only scratching the surface of all of the amazing exhibits at the Maker Faire. The only real way to fully see everything is to be there!!

Thursday, May 28, 2009

A challenge for youth programmers

I'm officially running a challenge through Digital Open for youth programmers.

Hopefully this is but the first of many Digital Open challenges.

Background:

I've started making my own text-based game in Python executed completely in the Python Shell (a part of IDLE that can be downloaded for free here). What I've discovered is how truly helpful it is to start building bare bones programs before diving into all of the Python modules like Pygame, OpenGL, etc. So, the game really isn't the point at all, but learning to code is.

The Idea:

Build a text based interactive program in Python that is executed only in the Python SHELL. Your game can be something like the old Advent game, or can take a completely different route, its completely up to you.

A Quick Note on Python:

I first got interested in programming when I was maybe 10 or 11, but I spent far too much time worrying about what language to go with. I contacted big-time programmers at large companies, and naturally each one told me to go with whatever language their company was working with. I kept dipping my toe into countless languages, and it took me far too long to learn this:

Python is the most powerful, easy to learn, cross-platform, fun programming language in the world.

Here's what it can do:

-It can create beautifully engineered games like EVE.

-It can work with all forms of math.

-It is by far the best way to network (servers, email parsing, etc.) that I know of.

-It can even work really well with wild things like encryption and codes (a while ago I build a simple encryption program that works with text-files).

-It can even be run off of hardware like microcontrollers, though because of the required interpreter it needs a relatively large one.

-And it can do just about anything else that could ever be done on a computer.

The only thing I know if that it can't do is build an operating system because of the interpreter, but that's fine because there are already lots of really great OSs out there, and to create your own would be unnecessary.

Also:

-Python is very popular, meaning it'll give you job opportunities in the future (NASA uses it, along with many others. In fact, MIT uses it a lot as well. Great thing for your college app, if you think of that kind of thing). This also means that there is a HUGE support group to help you out if you need at hand (there are awesome forums out there to help you like python-forum.org).

-Python is simple and elegant. Don't get me wrong, it's not insanely easy like Scratch (nothing against Scratch, I used to use it every day), but it is not a huge pain to learn like C and C++. The cool thing is that you can achieve in maybe 3 lines of Python code what would take perhaps 30 lines of C++ code just as easily, meaning you can spend more time building your program rather than typing away at endless lines of code like a C++ zombie.

-Python works pretty much everywhere. This is subject to change if you're using a very specific module, but 99.9% of the time your code can be run on Windows, Mac, Linux, and many others.

Start and stick with Python, its awesome.

The Rules:

-The game must be built in Python and executed on in the SHELL.

-You have to write the code all by yourself. No copy/pasting!

-You must be a Digital Open member (17 & under), sign up is free and safe.

Resources:

There are tons of books out there on Python, but if you don't feel like spending loads of money on 1,000 page books, then here are some great free resources I've used.

-Snake Wrangling for Kids is a free ebook in .pdf format on Python programming for kids.

-A Byte of Python is one of my favorites, and is also a free pdf.

-python.org has great overall info on the language.

-python-fourm.org is a great place to look for help.

End of challenge:

TBD.

Prize:

I personally cannot supply a prize, so if there is one then its up to Digital Open. :)

Submission:

Submit a project at Digital Open and tag it with: "Challenge: Text-based Python game".



Good luck!

blogger templates 3 columns | Make Money Online