I did this with about a year of programming experience, and zero experience with hardware, and all for about $80. It helps that the Arduino language has a great IDE that takes care of compiling and uploading the code to the board.
http://www.arduino.cc is the main Arduino site. It has the IDE, documentation, examples, and links to websites that sell boards and accessories. Boards run about $35. Cheap and effective.