See the code on github.com/spudstud/Foosball . You will need an account on cosm.com to store your sensor readings. Replace the “Feed ID” with your feed Id, and the “Data-stream” with your data stream name.
You will need to generate a new Private API Key and replace the API key in the code with your own API key.
Once you have the webpage how you want it. You will need to create an ubuntu virtual machine and install apache to host the website. It does not need to be on the same network as your sensor.
I highly recommend setting up your ubuntu web server using vagrant. http://docs.vagrantup.com/v2/getting-started/index.html
How did you make the webpage so pretty?
The majority of the webpage was coded by a friend who does web development professionally.
1. Assign computer static ip in same subnet as 10.0.0.x with /8 subnet mask (255.0.0.0.0)
2. Connect Crossover Cable to Ethernet Port on AP
3. Connect Power to AP – Allow 30 seconds to boot up You will have either 1 or 3 green lights
4 You are now going to continuously hold the ‘Mode’ button down for 30 seconds while performing these other tasks:
- 10 seconds with power
- 10 seconds without power
- 10 seconds with power
- As you connect and disconnect the power with one hand, Make sure to always keep the ‘Mode’ button pressed down with your other hand
5. Wait until the lights change or about 10 to 15 seconds, then let go of ‘Mod
6. Navigate to 10.0.0.1
Username = Cisco
Password = Cisco
If these steps didn’t work
Power cycle the device, then give it up to 1 minute to start up and try webpage again
Verify you are using a cross-over cable and that the cable is good
Make sure all other network interfaces are turned off on your laptop / desktop, especially wireless. Ensure your computer is not connected to the internet.
Restart your browser if you have changed the state of any network interface cards on your computer. Some browsers tie all traffic to active interface on startup.
Perform reset sequence again waiting 20 seconds between each step.
A little known feature on many new hard drives called SSC has caused a lot of people to wonder if they should turn it on.
The answer is NO unless you are working as an electrical engineer and are using an oscilloscope nearby, or if you are working on the large hadron collider and can’t have any interference. (If you are working on the large hadron collider please contact me because you are my new best friend).
A default hard drive emits electrical radiation similar to the green line
A hard drive with SSC enabled would look more like the red line.
I can’t verify this, however supposedly enabling SSC slows down the spin up times of the hard drive thus making it a fraction slower in tests.
Hackers, modders and makers have always loved the idea of open source software such as linux, because it is the antidote to being owned by ‘The Man’. No one likes the idea of being limited or told how their software should run.
The Open Hardware Summit is the organization behind a radical new idea of ‘open hardware’. What open hardware means is that companies / hobbiests can choose to release the schematics and information of a product to the world free of charge. Anyone is then free to use the designs for their own use, or even in a product that they sell. I will be finishing up the schematics for my word clock and releasing both designs under the Open Hardware license in the next couple of months.
The common paradigm has been to protect your intellectual property to prevent outsiders from making cheeper duplicates of your product. Rather then hide away from those who would like to take your plans, embrace them with open arms.
If you design hardware and want to share it with the world, you can put the Open Source Logo on your designs. The neat part is that until April 15th 2011 anyone can vote what they want the new official logo to be.
There are a dozen different ways to share the terabytes of data you have acquired over the years. Some of the more popular include NAS’es (NASi? NASen? NASouses?), Drobos or just shoving dozen drives into your main desktop. I have long been attracted to drobo for their simplicity and elegance, but find that they are just too much money for a poor student like myself. There are other alternatives like Windows Home Server, UnRaid, OpenSolaris, Terastation, Nexenta, FreeNas, Openfiler , Ubuntu but I frequently start pulling out my hair every time I sit down to try and build one because there are too many options and each have their own pitfalls. One particular homebuilt nas that I particularly love is the black dwarf. I wrote a blurb about it here. The interesting part is that he is using plain old windows 7 as the host operating system. I would like to go a little more elaborate than that. I am leaning towards FreeNas or OpenFiler, but just can’t decide how to take the plunge.
I came across a blog post at frankleng.me that takes you step by step through the process of building a FreeNas, most importantly using the ZFS file system. In case you didn’t know, ZFS is an open source alternative to FAT32, NTFS, and similar formats you might be used to.
When I get back to rexburg my plan is to start building a free nas using parts that I already have laying around. The goal is to spend less than $75 in additional parts, to create a SFTP, AFP, Samba network shares. Most importantly the box must be able to be backed up to an online service like CrashPlan, must transparently take several drives and make them appear as a single Drive, and it must be upgradeable with new drives in the future.
Please post your comments on what has and hasn’t worked for you.
The question everyone asks when they see you sitting there on the purple sofa in the campus library is; “Is that a kindle?” “Do you like it”. Lets answer both of those questions.
First of all, yes it is in fact a kindle, Amazon’s revolutionary ebook reader. First impression is that it is the holy grail to all your book needs. It conjures dreams of never having to lug a heavy book around ever again! While this is a good point and over all I think it is a fantastic device, here is what I would like to see in the next version.
The screen is great. The letters are crisp and really do compare to reading a newspaper. I would like to feel less worried if the screen broke since replacement screens are more rare then jackalopes. Take a look on ebay at all the kindles with broken screens. They are basically free. I considered grabbing a handful and fixing them up to resell them, but even two hours of google searches returned absolutely 0 compatible e ink screens. While this may change in the near future, it seems that one simple drop could render your kindle totaled beyond repair. On the same note, there is no bezel or glass in front of the screen to protect it incase of an accident. While not a big deal, does give the user the feeling that this is a fragile device, Not something that could be tossed into a backpack.
Ok now that we said something we don’t like, we should say three things that we do like. (That’s what mom always said).
The device is light, holds a tone of books and the ease of turning pages means you don’t have to adjust your grip every time you flip pages (unlike a real book).
One small quirk a lot of people have noticed that Amazon should really change is the 5 way digital joystick. It’s purpose is to scroll through menus, and quickly change chapters and works great most of the time. Everyone I have talked to has accidentally bumped this joystick and lived to regret it. The problem is that when you even slightly move the joystick to the left or right, the kindle will instantly jump to the next or previous chapter. What is suppose to be a feature, will cause you to waste countless hours per year flipping back to your previous possession one page at a time. Believe me, the second time you do it, you will be pulling your hair out. That one fact alone caused me to return the kindle to where I got it.
I am sure that Amazon could easily release a software update to fix this issue, and they should. If you know of a work around or fix please let me know.
Overall I think the idea of the kindle is great, but one fatal flaw means that I will not be recommending it to any of my friends any time soon.