Posts Tagged ‘c’

Ethernet AC Interface (Part 9)

Tags: , , ,
Submitted by braiden on September 1st, 2010 in Category Hardware

ac_v2_bigI really like my Ethernet AC Controller. Its probably the most useful thing I’ve built. So when I decided to give PCB manufacturing a try, it was a good candidate for an upgrade. This post covers the (re)design and features of my new Ethernet AC controller. If you haven’t read my other posts, my goal here was to be able to control my air conditioner from my cellphone. (more…)

Cypress EZ-USB FX2 (Interfacing with the BASYS USB)

Tags: , ,
Submitted by braiden on September 6th, 2008 in Category Hardware, Software

I’ve taken a break from my Verilog programming to better understand USB. My goal is to create some sort of FPGA data processor running over high-speed USB. The BASYS board includes a Cypress EZ-USB FX2 controller. I think the BASYS also comes with software for communicating with the board, but its windows only and a closed api so I haven’t looked into this at all. I’m trying to replace the Digilent’s firmware for the EZ-USB. This post covers some of what I’ve done so far. (more…)

rest-to-a/c bridge (Internet AC Pt.7)

Tags: , ,
Submitted by braiden on August 10th, 2008 in Category Hardware, Software

I finished merging the IR code (and hardware) with the tux graphics project. My air-conditioner now has a REST webserver. Getting hot? Just type “AC” in firefox and the air-conditioner turns on! The next step is finding a secure way to activate the device from my cellphone. The latest code is in SVN. (more…)

LG 8008R IR Protocol (Internet AC Pt.3)

Tags: , ,
Submitted by braiden on July 23rd, 2008 in Category Hardware

It works! I finally had success getting my IR transmitter to work. I update my code so that the signal transmission could be triggered by an external interrupt. Once that was done I could analyze side-by-side waveforms. I manually tweaked my code until it was in sync with the remote control, and success! This post documents the communication protocol for my LG 8008R. The next step is to hook-up some hardware to the internet. (more…)

How not to do signal generation (Internet AC Pt.2)

Tags: , ,
Submitted by braiden on July 4th, 2008 in Category Hardware

No luck. I’m trying to prototype an IR transmitter using an AVR micro-controller. My first try was a awful example of wave form generation; a piece of C code without a clock driven output. Instead of using a clock/timer which would have given me interrupts at exact intervals, I decided to do busy-for-loop-spinning delays to shape the signal. The result was a nasty error filled waveform. (more…)

rar and ptrace() (NZB Pt.1)

Tags: , , ,
Submitted by braiden on June 21st, 2008 in Category Software

I’ve been downloading TV content from usenet. It tends to be a faster option than torrent, and with NZB it is pretty easy to use. Unfortunately, I have to finish downloading a file before I can watch it. How can I stream the content? (more…)