My first WordPress plugin!

So I released my first WordPress plugin recently called ‘Broadcast MU‘ – Thanks Luke!

Its actually for WordPress MU (Multi-user) and it allows you to post the same post to multiple blogs, you can read up more on it here.

I hope people find it useful and it is a great opportunity for me to learn more about PHP and WordPress MU, it was developed because there was no similar plugin available for WPMU and we needed it for GDNM.org a site I have been managing for UCA Epsom’s Graphic Design: New Media and Graphic Design courses/departments.

Reverse Engineering a BlinkM

So for the past few weeks I have been working on an idea to light white balloons with a smart RGB LED for our end of year show at uni, however the problem has been cost, the only off the shelf uni available is the BlinkM of which I personally own 2 units.

They are great devices however we need some thing cheap as the budget for the show is tight and we want 100-200 balloons each with its own LED.

The soloution was to create our own version of a BlinkM. We set out trying to see how the BlinkM works, eventually we discovered that the code was not open source and stumbled apon a Google Code project called ‘Codalyze‘ which is an open source alternative to the BlinkM code.

We had the code to program out little device but now we needed to work out a circuit to hook up all the parts, and speaking of parts, which parts did we need? Well a long time ago I remembered looking through an online site (Rapid Online) for electronic components and I saw this really cool RGB LED I wanted to play with but I couldn’t afford to go to the expensive of buying one or two because of the shipping prices.

When looking about I discovered one of the two founders of ThingM (the company who make BlinkM) has a blog called ‘todbot‘ where I discovered that the best all in one package RGB LED was the same cool LED I saw many months before. This Piranha RGB LED (72-8998) is the same exact thing used by ThingM in their BlinkM‘s this got me thinking, if I can get the same LED and micro controller then all I need to do is work out how its wired together and I can have my own personal smart LED like the BlinkM.

So I set about trying to work out what each of the components were and how they were linked using a multi-meter. I first off looked at the data sheet for the LED and discovered the required voltages for the LED to function and using my general knowlege I knew that the micro controller would happily accept 5v DC. Then using an online calculator I was able to deduce the 3 resistor values and then confirmed that with my trusty multi-meter.

So according to the datasheet for the LED, the red bit would need 2 volts at 20mA and the calculator told me I would need a 150 ohm resistor (link), the green and blue LEDs would both need 3.2 volts at 20mA and the calculator told me I would need a 100 ohm resistor (link).

So we knew the resistors and confirmed it using the multi-meter, now to work out what capacitor I would need as the capacitor was a tiny surface mounted unit I would not be able to easily discover this, which is where I used the multi-meter again to test the value. It read an odd value 92nF, after speaking online with some electronics buffs on IRC (irc.freenode.com – #electronics) I learned this was probably a 100nF capacitor that was within its tolerance.

All that was left was to work out which of the pins on the 8 pinned ATTiny45 micro controller went where. Using the multi-meter again, this time in continuity mode (it beeps when there is a connection) I was able to tell if the leg bone connected to the shoulder bone, etc…

After some playing about and use of the ATTiny45′s datasheet I worked out all the whole circuit and produced this little diagram for future reference, I don’t happen to have a CAD program so I used Illustrator as it seemed the most reasonable program to use and I have made a diagram like this in it before.

I finished off by adding a key of the pinouts for the ISP and the ATTiny45.

ATTiny45 pin out

  1. N/a
  2. Red LED
  3. Green LED
  4. Ground (-ve)
  5. I2C Data
  6. Blue LED
  7. I2C Clock
  8. Power (+ve)
ISP pin out – worked out using the ATTiny45 datasheet and this site
  1. Reset
  2. N/a
  3. N/a
  4. Groun (-ve)
  5. MOSI
  6. MISO
  7. SCK
  8. Power (+ve)
Actual ISP head pin out (source)
Parts list
  • 1x Piranha RGB LED
  • 1x 10nF ceramic disc capacitor
  • 2x 100 ohm (.25w) resistor
  • 1x 150 ohm (.25w) resistor
  • 1x ATTiny45 micro controller
  • 1x SIL pins (6 way)
  • 1x DIL .3″ IC socket

Total cost for single unit £2.63 excluding a PCB

Digg.com

 
This is my first, in a series of posts towards my dissertation.

Digg is a company that was created by founder Kevin Rose, as an experiment. However its not the company which is important but the website digg.com. Since late 2004 early 2005 the site has had continual development and seen massive expansion, and is one of the biggest technology news sites on the Internet today.

Digg is often referred to as a social news website or social bookmarking website and these descriptions are accurate. The website is a place where visitors can submit stories on any subject for others to view. Other visitors can then view the title and description, and visit the linked site, and if they like it they can “dig” the story. Eventually when a story has enough digs it will be promoted to the front page of the website so other visitors can see the most popular stories first.

Over time the site has grown in popularity and traffic to linked sites has also grown with it. This has led to the term “the digg effect”, when a story is promoted to the front page the linked website receives intense amounts of traffic until the point where the web server crashes, or the web hosts closes the site because of high bandwidth use.

In addition other phrases such as “bury”, “dupe”, and “dugg”.

  • Bury or buried – Is normally posted in the comments attached to a story when someone does not like the story, more recently the creators of the site have added functionality to actually bury or -1 the count against the story.
  • Dupe – Is short for duplicate, and is also posted in the comments attached to a story when somebody believes they have read the same story before on Digg.
  • Dugg –  This refers to one of two things either the person as does the story, or more likely that the website effected by the dig effect, that was mentioned before.

Over the last four years digg has continuously evolved, expanded, and its design has been refreshed many times and many new features have been added, but essentially its core assets remain the same, as a site where you can post comments, stories and now photos and videos, and allow other people to rate them.

The site has also expanded its categories of news from just technology related stories, it has now expanded to a fully fledged news site visitors can find information about world, business, science, gaming, lifestyle, entertainment, sports, and other news topics.

The site is almost 100% controlled by its visitors, with no need for administrators or moderators on the site. In fact on the one occasion where moderation was required due to a cease and desist order. Mass outrage followed and the site had to deal with continuous spamming of the disallowed content. Eventually Digg conceded and the article was about to be posted and it would seem that no further action has been taken against Digg.

Dissertation Time

As part of my degree at the University for the creative arts – Epsom I am required to complete a 6,000 word dissertation on the subject of my choice, and being dyslexic this is going to prove quite a challenge so I have decided to start early. My skill support lecturer, Ray has suggested that I start by writing 100 to 200 words each day on my chosen subject.

The final decision on the topic has not been made however, I believe it will be along the lines of communication on the Internet past, present, and future including, photo and video sharing, social bookmarking, social networking, social news, virtual worlds, online forums and other forms of Internet media which allow multi-user communication and sharing of information.

That rather wordy list above may sound confusing but really it translates into the following…

  • Photo sharing – Flickr
  • Video sharing – YouTube
  • Social bookmarking – Delicious & Stumble Upon
  • Social networking – Myspace & Facebook
  • Social news sites – Digg
  • Virtual worlds – SecondLife & There
  • Online forums – Penny Arcade, Overclockers UK, etc…
Obviously it’s not enough to talk about what the sites are how they work and where they came from, I will need to analyse and investigate how people use these sites now and how the Internet communication has evolved since the invention of these sites known as Web 2.0 (excluding online forums which have obviously existed prior to what is known as Web 2.0).