f920 [Solved] Serial weather device - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Base System > Peripheral Hardware

Peripheral Hardware Stuff that plugs in via USB, FireWire, eSATA, PS/2, etc.

Reply
 
Thread Tools Display Modes
  #1  
Old May 1st, 2012, 16:48
toroamericano toroamericano is offline
Junior Member
 
Join Date: May 2012
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Serial weather device

Just curious, where to look or a starting place if you will, for capturing data on a serial port. I have an older hobbyist weather station that I would like to capture weather data from and input into daily CSV files. There is a third-party application out there called Wview, I am unsure how to install it on FreeBSD. My experience with installing software has been limited to the Ports system.

Running 7.4 Stable on an Optiplex 745 (older Pentium D 3.4, 2GB RAM)

Thank you.

Last edited by DutchDaemon; May 1st, 2012 at 18:07.
Reply With Quote
  #2  
Old May 1st, 2012, 16:52
SirDice's Avatar
SirDice SirDice is offline
Moderator
 
Join Date: Nov 2008
Location: Rotterdam, Netherlands
Posts: 13,725
Thanks: 47
Thanked 2,023 Times in 1,862 Posts
Default

You can use cu(1) for it. But perhaps something like comms/minicom is more familiar?
__________________
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
Reply With Quote
  #3  
Old May 1st, 2012, 17:08
toroamericano toroamericano is offline
Junior Member
 
Join Date: May 2012
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I am not too familiar with either of those, I will read up on them. Thank you.
Reply With Quote
  #4  
Old May 1st, 2012, 17:11
SirDice's Avatar
SirDice SirDice is offline
Moderator
 
Join Date: Nov 2008
Location: Rotterdam, Netherlands
Posts: 13,725
Thanks: 47
Thanked 2,023 Times in 1,862 Posts
Default

I would probably use comms/minicom to look at the traffic, see how it's structured. Then build something using perl or python to read that data and write out the CSV.
__________________
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
Reply With Quote
  #5  
Old May 1st, 2012, 20:52
wblock@'s Avatar
wblock@ wblock@ is online now
Moderator
 
Join Date: Sep 2009
Location: Milky Way galaxy
Posts: 7,724
Thanks: 432
Thanked 1,762 Times in 1,459 Posts
Default

wview will probably work fine, just change the serial port name. Consider porting it.
Reply With Quote
  #6  
Old May 1st, 2012, 21:58
toroamericano toroamericano is offline
Junior Member
 
Join Date: May 2012
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thank you all for the replies. Looks like it is time to tinker.

Last edited by DutchDaemon; May 2nd, 2012 at 00:26.
Reply With Quote
  #7  
Old May 10th, 2012, 02:15
jbjones jbjones is offline
Junior Member
 
Join Date: Nov 2011
Location: Columbus, Mississippi USA
Posts: 2
Thanks: 0
Thanked 1 Time in 1 Post
Default

I have wview running on FreeBSD 8.2. It compiled, installed, and configured quite easily. If you have any questions, let me know. My weather site has been active for just around 6 months. No problems at all.

-JB

Last edited by DutchDaemon; May 10th, 2012 at 21:58.
Reply With Quote
The Following User Says Thank You to jbjones For This Useful Post:
wblock@ (May 10th, 2012)
  #8  
Old May 10th, 2012, 02:52
jbjones jbjones is offline
Junior Member
 
Join Date: Nov 2011
Location: Columbus, Mississippi USA
Posts: 2
Thanks: 0
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by wblock@ View Post
wview will probably work fine, just change the serial port name. Consider porting it.
I'm not sure how I missed this post, as I would have included it. At any rate, yes, it works wonderfully. I am now reading the porting docs. Perhaps I will have the time to send this upstream soon and help out.

-JB
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Book: FreeBSD Device Drivers - a short review -- and a serial lirc driver nox@ FreeBSD Development 21 December 31st, 2012 19:20
USB serial adapter, cu write: Device not configured fabiodive Peripheral Hardware 7 November 1st, 2012 02:25
[Solved] Usb-serial adapter mghis Peripheral Hardware 3 August 18th, 2011 02:06
[Solved] Why won't Freebsd make a device entry for my USB device? osx-addict Peripheral Hardware 8 March 12th, 2010 02:30
Conky 1.7.2_4 apcupsd and weather support enabled Dru Installation and Maintenance of FreeBSD Ports or Packages 0 December 31st, 2009 05:22


All times are GMT +1. The time now is 15:10.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0