A little background: I get these ideas once in a while that eventually come to fruition after a couple months of brainstorming and tinkering. I’ve had the idea for a while of having a central way to maintain my fleet of Linux servers I host along with Windows if possible. In the past, I used ssh keys to login and run updates. It worked pretty well but I’d like a way to remotely run and/or monitor these. Enter IRC…
Little background: Everyone has a little paranoia. We all have a little fear inside and wonder what if? I have some expensive toys and I’d like the peace of mind knowing their safe along with keeping an eye on my little fur child Shadow while I’m away from home. Turns out, doing this isn’t nearly as hard as one might think…
Fast forward a couple weeks of planning and I have a solid DVR and wireless system running that allows me to monitor and record any activity while I’m away from home, using off the shelf WiFi cameras and freeware.
- D-Link DCS-5010L Pan & Tilt Wi-Fi Camera (Black)
- Foscam FI9800P Outdoor 720P HD Security IP Camera with Motion Detection, Night Vision and Cloud Storage
- D-Link DCS-934L Day & Night Wi-Fi Camera (Black)
- D-Link DCS-960L HD 180-Degree Wi-Fi Camera (Black)
- TP-Link AC1200 Gigabit Wireless Wi-Fi Router (Archer C1200)
- The “server” (old laptop): LATITUDE E6500 15.4″ C2D-2.53GHZ 4G/250G RW BT WC
So there’s a new “game” (if it can be called a game?) that’s been sweeping around and has gotten a small amount of attention. The game is called Twitch Heroes.
It’s an ingeneous little bit of code which syncs with Twitch and creates a small avatar that automatically starts fighting villains/baddies in the live stream of the game which looks kinda like below:
A little background:
I’ve been building and tinkering with computers since I was about 12, when I got my own laptop and desktop both from garage sales and began swapping parts, doing OS upgrades from floppy disks and doing whatever I could to tinker with them. Fast forward almost two decades, and I’m still at but on a much larger scale.
I’ve learned some hard lessons in the couple decades of tinkering with computers. One of the biggest is data loss. Like everyone else, I didn’t worry as much as I should have and it cost me…
Started off 30 minutes into the new year by hitting black ice and completely annihilating my favorite car. Thankfully safe but Eris didn’t make it.
Now for the DDoS fun…
When I got all this data logged and running, I wanted an easier way to show data than spreadsheets or queries. The end goal was actual graphs to show trends and what not. Introducing “phpgraphlib”. This is an open source piece of code built to implement charts/graphs into webpages with ease. This took a bit of work, but here’s the idea behind it:
- Be able to load a web page and show trends/data
- Pull this information on demand from a database
Here’s where things started to get a little more complex. At this point, I have a wireless system to transmit data from multiple nodes to a central hub (node0) which collects and shows the data via serial connection.
The general idea/goal is this:
- Arduino Nodes send data to central node
- Central node is connected to home network and sends this data to a LAMP server (Linux-Apache-Mysql-PHP)
- The server takes this data, breaks it into a mysql statement, and pushes it into the database to log
This is the second part of the series for my Arduino wireless project I’ve been working on for a couple weeks now. You can start reading from the first post: http://aasullivan.com/?p=1146.
We have the idea, now we have to build it. I have three Arduinos set up at this point in this manner:
- (1) Set up as wireless receiver/hub; this will read data, print to Serial and log to ethernet eventually
- (2) Transmitters which simply read data every ~5 seconds to blindly send to receiver (node 0)
This layout will allow me to test from a couple devices to make sure the layout of the node IDs will work properly and be read properly as well. I ran into my first set of issues at this point: I can only read one Arduino at a time off Serial from the IDE, so went and imaged an older Dell D630 to handle the receiving end of things to troubleshoot the payload issues I ran into. Continue reading Arduino Wireless Logging, Post Two: The Design