Author Topic: Noob question... seeing console output  (Read 2090 times)

clack

  • Newbie
  • *
  • Posts: 4
Noob question... seeing console output
« on: March 30, 2016, 02:01:16 pm »
Hey, first time experience with oak/arduino, but not first time programming. I'm working on a project to monitor temperature/humidity and chart that data over time.

Ultimately, my flow looks something like this...
Sensor -> Oak -> Parse Server -> iOS app

Anyways, I need a way to test and make sure I'm getting the correct output from a DHT11 sensor I have ready to go. I've noticed in a lot of example sketches, there's a ton of "Serial.println()". After compiling a project though, I can't seem to find where that console output actually happens.

It seems like this should be viewable from a serial port with a regular arduino, but since the oak is wireless, where can I see this?

exeng

  • Sr. Member
  • ****
  • Posts: 454
Re: Noob question... seeing console output
« Reply #1 on: March 30, 2016, 02:32:11 pm »
If you have a FTDI adapter you can connect it to TX->RX, RX->TX, GND->GND and should be able to see output on whatever COM the FTDI adapter comes up on using the Arduino IDE serial monitor.  There may be more clever ways, but that's how I do it. I use an Adafruit FTDI Friend. Whatever you choose, it needs to be able operate at 3.3v.

defragster

  • Sr. Member
  • ****
  • Posts: 467
Re: Noob question... seeing console output
« Reply #2 on: March 31, 2016, 02:51:14 am »
Indeed exeng is right - I couldn't find my SparkFun FTDI cable (dang mini USB) - so I put GND / RX / TX ( make sure you cross them per exeng ) to my Teensy and used it for my connection to USB to see my output - you could do this with any ARDUINO hardware you may already have that goes to USB where you can use a Serial Terminal Program.