Go to advanced search

by B-VE
Sat May 23, 2015 6:14 am
Forum: Automation, sensing and robotics
Topic: Solar irradiance
Replies: 7
Views: 1597

Re: Solar irradiance

Hi Hampi,

I'll take a look at PHP GD & Gnuplot! Btw it'll be offline...
Thanks!

Regards,


Bob
by B-VE
Fri May 15, 2015 9:37 pm
Forum: Automation, sensing and robotics
Topic: Solar irradiance
Replies: 7
Views: 1597

Solar irradiance

Hi, I'm working on a tiny project to learn how to show real-time data from a analog source on a display connected to the Raspberry through HDMI. This is what I've planned; Solar irradiance.jpg I've written some code, which now displays the irradiance directly on the screen... it works perfect.... bu...
by B-VE
Mon Apr 06, 2015 5:07 am
Forum: Automation, sensing and robotics
Topic: Reading a serial signal from a USB port
Replies: 27
Views: 30063

Re: Reading a serial signal from a USB port

Thanx! That's seems to do the trick!
by B-VE
Sun Apr 05, 2015 8:55 pm
Forum: Automation, sensing and robotics
Topic: Reading a serial signal from a USB port
Replies: 27
Views: 30063

Re: Reading a serial signal from a USB port

Hi Gordon, it is exactly how Doug wrote it.. seems to work... thanks Doug! the TABs are back in by replacing all by a ',' Though I didn't want to loose the return/ line feed in the .csv?! :-) The data is now nicely devided in single cells, but the new dataline is not started in a new row.. Can I als...
by B-VE
Sun Apr 05, 2015 7:48 pm
Forum: Automation, sensing and robotics
Topic: Reading a serial signal from a USB port
Replies: 27
Views: 30063

Re: Reading a serial signal from a USB port

Hi Doug, and others, I'd now like to parse the text in the .csv file: # Read & print/write data ser = serial.Serial('/dev/ttyUSB0',19200, 8, 'N', 1, timeout = 5) # Open ve_direct.csv file_data = open('ve_data.csv', 'w') print "Reading data and writing to ve_data.csv" # Listen for the input, exit if ...
by B-VE
Sat Apr 04, 2015 7:33 pm
Forum: Automation, sensing and robotics
Topic: Reading a serial signal from a USB port
Replies: 27
Views: 30063

Re: Reading a serial signal from a USB port

Hi Doug,

actually that's where I'm at right now... saving in a file is done. I need to be able to save it as a .csv file to be able to import it easily in Excel...
Amazing how strong the Raspberry platform is... Only got it running for 2 days now :-)
by B-VE
Sat Apr 04, 2015 6:41 pm
Forum: Automation, sensing and robotics
Topic: Reading a serial signal from a USB port
Replies: 27
Views: 30063

Re: Reading a serial signal from a USB port

Hi Gordon and Doug,

thanks for the fast reply! That worked out quit nice, I changed the baud rate in doug's example... and both worked directly!

Helped my out a lot!

Regards,
by B-VE
Sat Apr 04, 2015 3:59 pm
Forum: Automation, sensing and robotics
Topic: Reading a serial signal from a USB port
Replies: 27
Views: 30063

Reading a serial signal from a USB port

Hi, I'm a beginner in Linux/ Python, so sorry for maybe asking something quite simple for some of you :-) I'd like to read from a component which is sending a serial signal and use the RPi2 as a data logger. In the end the RPi should be a stand alone logger which at startup starts logging. The signa...

Go to advanced search