Sunday, July 21, 2013

Preview of the Data-Logging Interface

Real-Time Plotting; Arduino Code

Finally got all the python code worked out for this mini-project; here's what's driving the board:
/*
* data-logging-proto.sch
* +3.3V -> LDR -> A0 -> 10k R -> GND
*/
void setup(){
  Serial.begin(9600);
}

void loop(){
  if(Serial.available() >0){
    int value = analogRead(A0);
    Serial.println(value);
    delay(125);
  }
}

Thursday, June 13, 2013

Serial Communications

So I spent a good few hours trying to read data from my Arduino and write the stream to a .txt file. I was trying to implement this in C++ and eventually Qt. Well, after an hour or so of coding I finally was reading some strings from the board. the problem however was that it was very inconsistent. I have since switched to Python for this application an will soon be looking into developing a control interface with Qt and Python, as well as a data logging/plotting interface using matplotlib.


** more updates to come.

Friday, April 5, 2013

LabView Interface

One of the coolest things I've learned since I got my arduino is that you can hook it up to LabView and use the board for some pretty cool stuff. It took me a little while to get it going (from the LabView end) but it was totally worth the work I put in. I made a test .vi just to control a servo and get some readings from a photo-resistor. Sending/receiving data to the arduino couldn't be easier and it's really cool to see the motor respond to something I'm doing on the LabView front panel.

This opens up a whole new world of possibilities. Can't wait to dig in once the semester ends!

Download: LabView Interface for Arduino

Wednesday, March 27, 2013

First Project


I think I am going to make an alarm clock as my first Arduino project. The alarm on my iPod just isn't cutting it any more, and I think I can program some evil functionality like a 'Simon Says' inspired shut off and have different tones for alarms. Looks like it's almost time to place a DigiKey order. I wonder if the guys from my old job will let me snag a piece of scrap PCB material and some etching solution...

Monday, March 25, 2013

New Hobby


Well, I think it's about time I picked up a hobby for myself! Ordered my Arduino and component kit tonight. Can't wait for it to come in the mail. I have a few project ideas to get started with, mostly pertaining to home automation, or security. I'm mostly just excited to embed some code and make it useful...

Will update more after a few projects!