Django

Django Project

Django Project

Over the last couple weeks I’ve been researching a new way to develop websites that would be more flexible for my needs.  I’m hoping to develop a website for a small company that I’m helping to start.  At first I’d like it to be a simple website with a few static content pages, but in the future I’d like the website to give users an ability to log in, for administrators to have a blog, to publish an RSS feed, and to build a shop.  All of these can be done to some extent with WordPress or Drupal, but when I’ve wanted to steer away from the provided tools of those CMS packages I’ve run into a lot of difficulties.

My next solution would be to use a web framework like my past work in PHP.  I don’t really like PHP from my experience building a website for my fraternity and so my search was for a more flexible and more mature web programming language.  Enter Django.

“Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.” – http://www.djangoproject.org/

I love writing code in Python.  Even better, python is a mature language with lots of flexibility that would give me the ability to build any web application I can think of.  Django is also a Model-View-Template design, meaning I can add and subtract functionality in the form of applications without worrying that I’ll break my website.

I’ve just started with Django but after completing the surprisingly complete tutorial I was able to build myself a basic Content Management System to serve up static web pages in less than a day.  My new CMS even has most of the functionality of the WordPress CMS for pages, despite the fact that it may not look as pretty.

I’m excited to see where this goes with Django.  I’ve already lined up the project for my small business startup and I’m hoping to rebuild another website that I finished years ago in PHP.  I feel like the possibilities are endless.

Share
Posted in Uncategorized | Leave a comment

Arduino Contest

One of the driving factors in getting my garden project done this last weekend was my desire to enter the Instructables Arduino Contest.  This contest was for projects employing the Arduino IDE in an Instructable project and the prizes are pretty cool, including an Arduino Mega!  I really wanted to compete and see if I could not only win but get some recognition for this project, so I tied up all the loose ends and submitted my project Saturday.

Shortly after submitting I got an email saying that the website was going to Feature my project on the site!  This is the second time I’ve been featured by Instructables, the first being the Mothbot, and I’m really proud.

Well, now it’s time for the public to vote on the projects submitted to the Arduino Contest and I thought I’d let all my friends know.  If you’d like to help out you can visit my instructable and vote.  I hope I win, but even if I don’t this will be a good experience and I plan to keep on making more projects.  But my fingers are crossed!

Share
Posted in Uncategorized | Tagged , , | Leave a comment

Garduino Upgrade Instructable


Garduino Upgrade, Now with more Twitter!More DIY How To Projects

Share
Posted in Uncategorized | Tagged , , , , | Leave a comment

Fluke DMM


Fluke DMM 177

Originally uploaded by chrisgilmerproj

Today I received my new Fluke digital multi-meter in the mail! I’m very excited by this because I’ve wanted a good multi-meter for a while now. They come in handy for all sorts of projects, especially when you’re trying to reverse engineer something you think is really interesting and have no idea how it works. I’ve also had some occasions recently when I’ve wanted to calibrate analog readings more precisely, like with my garduino project, and this will definitely help. Just one more great tool every engineer ought to have and I’ve got to thank my Dad for getting it for me. It’s a great present.

Share
Posted in Uncategorized | Tagged | Leave a comment

Computer controlled Garduino

My excitement seems to know no bounds when it comes to the things I’ve been able to do with my Gardiuno this weekend.  I’ve felt since I got my garden up and running that it’s one fatal flaw was the internal date and time library.  I had set up a rudimentary system that turned on the light for a set number of seconds each day.  This turned out to be a problem as I tweaked the code on the arduino because every time I reset the controller I also reset the internal clock.

Since I want to light my garden mostly at night and during the day when I’m at work I thought I’d need a different solution so I wouldn’t have to reset my arduino before I went to bed.  What came to mind was a great instructable by the people at oomlout that controlled an arduino with serial communication.  I’d previously used this instructable to get my Mothbot up and running.  This time I took a lesson from the instructable about serial communications and got to work modifying my arduino code and my Python script.

I now have set up my Garduino to receive commands from my computer over the Xbee.  Then the Garduino determines if the light should be on or off, will reset the pump safety counter, and then manage the garden before sending back the sensor values.  My computer then reads the sensor values, tweets if it’s been five minutes, and starts the whole thing over again.  This way the garden light cycle is dependent upon the script on my computer, not on an internal clock that caused me so many other problems.

I’m really moving now that I’ve got my project off the ground and connected.  I can’t wait to see what I do with it next!

Share
Posted in Uncategorized | Tagged , , , , | 4 Comments