0% found this document useful (0 votes)
1K views3 pages

Gobetwino

This document provides instructions for using Gobetwino, a program that runs on Windows and receives serial commands from an Arduino, to open Notepad and type text. It describes downloading and installing Gobetwino, selecting the correct serial port, setting up a command to open Notepad, uploading a sketch to the Arduino to send the command on reset, and testing the connection. Additional code is provided to delay and send keyboard input to type text in Notepad. Instructions for testing the serial connection with HyperTerminal are also included.

Uploaded by

Sandro Eduardo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as RTF, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
1K views3 pages

Gobetwino

This document provides instructions for using Gobetwino, a program that runs on Windows and receives serial commands from an Arduino, to open Notepad and type text. It describes downloading and installing Gobetwino, selecting the correct serial port, setting up a command to open Notepad, uploading a sketch to the Arduino to send the command on reset, and testing the connection. Additional code is provided to delay and send keyboard input to type text in Notepad. Instructions for testing the serial connection with HyperTerminal are also included.

Uploaded by

Sandro Eduardo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as RTF, PDF, TXT or read online on Scribd
You are on page 1/ 3

Gobetwino instructions

Note: I'm assuming you've already installed your Arduino environment and successfully
tested serial communications, and know what serial port the Arduino is using.
Gobetwino information/instructions: http://www.mikmo.dk/gobetwino.html
1. download Gobetwino and unzip it to your desktop (or some other handy place) http://www.mikmo.dk/gobetwinodownload.html
2. install Microsoft .NET Framework version 2.0 if you don't already have that http://www.microsoft.com/download/en/details.aspx?id=19
Gobetwino is a program that runs on your Windows machine, and waits for commands
via the serial port.
You can use your Arduino (or any other micro-controller, or even another computer) to
send commands to Gobetwino via the serial port.
3. Start Gobetwino by double-clicking Gobetwino.exe
4. Select the serial port that connects to your Arduino.
4. a. Click on the Settings menu, then click on the Serial Port tab.
4. b. from the Serial Port drop-down, select the correct com port.
4. c. Check that baud rate matches your arduino (9600). For the other settings, use
Parity-none, Stopbits-one, handshake-none
4. d. Click "update" to save the changes, then click Exit to close the settings window.
5. set up a command in Gobetwino. We'll set it up to open Notepad.
5. a. Click on the Commands menu
5. b. Click "New Command"
5. c. Select command type "SPRID" (command to open a program and return the id)
5. d. Set Command name: "NOTEPAD" (this is for our own reference)
5. e. Set Program path to "c:\windows\notepad.exe" (this is what you would type on the
command line in Windows to open notepad)
5. f. We can leave cmd. line args blank - you could use this to open an existing file, for
example. leaving it blank for notepad will have it create a new file.
5. g. Click Save and Exit.

6. Exit the Gobetwino application


Now we will set up the Arduino side
7. Start the Arduino application, and download this sketch to your Arduino:
void setup()
{
Serial.begin(9600);
Serial.println("#S|NOTEPAD|[]#");
}
void loop()
{
}
8. Quit Arduino
9. Start Gobetwino
- If you set up your com port correctly, it should now show a line similar to this (I'm using
COM5 for my Arduino)
17/03/2012 9:07:34 AM Serial port : COM5 opened at 9600 baud
-> If this is not happening, try using a terminal type application to determine which com
port your Arduino is using.
10. Click the reset button on the Arduino, which will run the setup() part of the Arduino
sketch again, which sends the command to Gobetwino, which should then open up
Notepad on the Windows machine.
11. Once you have that working, you can add this code to the sketch, just under the
Serial.println line:
delay(1000);
Serial.println("#S|SENDK|[0&Hello World!]#");
These 2 lines will first delay 1 second, and then it will type "Hello World!" into Notepad :)

--To test your communication using HyperTerminal:


1. open up HyperTerminal
2. Choose File-New Connection from the menu
3. give it any name: "arduino" works
4. click OK
5. Choose the correct COM port in the "Connect using" picklist. In my case this is COM5
6. Click OK
7. Set the correct settings: Bits per second, choose 9600, data bits: 8, parity-none,
stopbits-1, flow control - none.
8. Click OK
9. Click the reset button on the Arduino, and you should see this:
#S|NOTEPAD|[]#
(and the cursor should be underneath that line)

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy