element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Personal Blogs
  • Community Hub
  • More
Personal Blogs
Nico teWinkel's Blog Gobetwino with Open Office
  • Blog
  • Documents
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: ntewinkel
  • Date Created: 26 Mar 2012 9:07 PM Date Created
  • Views 351 views
  • Likes 1 like
  • Comments 1 comment
  • spreadsheet
  • gobetwino
  • excel
  • open
  • logging
  • office
  • data
  • arduino
Related
Recommended

Gobetwino with Open Office

ntewinkel
ntewinkel
26 Mar 2012

neilk gave me the idea of logging greenhouse temperature data into a spreadsheet, so I did a little more investigating into how this would work with Gobetwino. I have a little greenhouse not too far from the house, so I thought this might be a neat thing to try with the use of a wireless connection - maybe Bluetooth or using those inexpensive nrf24l01 cards.

 

I'm using WindowsXP and openOffice.org 3.3.0. It shouldn't make a difference, but this is all within a VirtualBox VM on a Mac.

 

As it turns out, the basics are not too difficult: I was able to fill in data and navigate fields, but I wasn't able to get it to insert a timestamp into a field.

 

I've attached the sketch to do this. On the Gobetwino side you will need to set up a new Command with the name "OPENOFFICE" and the path "C:\Program Files\OpenOffice.org 3\program\scalc.exe" (do not enter the quote marks for either case).

 

As you can see, this sketch does nothing more than test the possibility of data logging using Gobetwino - I haven't done any data sampling or wireless communications yet.

 

I did also try it on a Vista machine, but Gobetwino reports the application closing, which then means it refuses to talk to it after that.

 

Thanks for the inspiration, Neil!

 

Cheers,

-Nico

 

In easy text, this is what the series of commands looks like:

void setup()

{

   Serial.begin(9600);

   //Serial.println("#S|NOTEPAD|[]#");

   Serial.println("#S|OPENOFFICE|[]#");

  

   //delay(10000); // wait for OO to start up

   Serial.read(); // gobetwino returns the processID when it has started up.

  

   // set up the header line

   Serial.println("#S|SENDK|[0&Time]#"); // column 1 = timestamp

   Serial.println("#S|SENDK|[0&{tab}]#"); // tab to go to next column

   Serial.println("#S|SENDK|[0&Greenhouse Temp]#"); // column 2 = inside temp

   Serial.println("#S|SENDK|[0&{tab}]#"); // tab to go to next column

   Serial.println("#S|SENDK|[0&Outside Temp]#"); // column 3 = outside temp

   Serial.println("#S|SENDK|[0&{enter}]#"); // enter to go to next line

  

   Serial.println("#S|SENDK|[0&3:45am]#"); // fake a time

   Serial.println("#S|T|[]#"); // time stamp

   Serial.println("#S|SENDK|[0&{tab}]#"); // tab to go to next column

   Serial.println("#S|SENDK|[0&10.0 C]#"); // fake a temperature

   Serial.println("#S|SENDK|[0&{tab}]#"); // tab to go to next column

   Serial.println("#S|SENDK|[0&2.5 C]#"); // fake a temperature

   Serial.println("#S|SENDK|[0&{enter}]#"); // enter to go to next line

}

Attachments:
gobetwino.ino.zip
  • Sign in to reply

Top Comments

  • neilk
    neilk over 13 years ago +1
    Hi Nico I've been playing a bit with Gobetwino and finally cracked the T (TimeStamp) and, implicitly, the D (DateStamp) command. Have a look at my blog. All the best Neil
  • neilk
    neilk over 13 years ago

    Hi Nico

     

    I've been playing a bit with Gobetwino and finally cracked the T (TimeStamp) and, implicitly, the D (DateStamp) command.

     

    Have a look at my blog.

     

    All the best

     

    Neil

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube