Show Posts
Pages: [1]
1  Using Arduino / Displays / Display recommendations on: March 29, 2013, 03:51:32 pm
Can anyone recommend a serial graphics display capable of displaying jpegs and other images. I'd also like one that is no bigger than a credit card, I want it to be wearable so not too thick either.

TIA

Dougie
2  Topics / E-Textiles and Craft / Re: New to Muscle Wires and Arduino on: October 29, 2012, 02:45:24 pm
I've just started experimenting with muscle wire as well. Have a look at my blog post. I was using 0.006" wire. I switched 3.3V to the wire through a relay, basically the blink sketch with 1 second HIGH and 4 seconds LOW. One thing I didn't say in the blog post is you need really good connections to the muscle wire, I crimped thin copper tube to make the connections. My circuit is also shown, I used no resistors and about 2.5" of muscle wire.

http://www.interactivewearables.co.uk/?p=214
3  Using Arduino / Programming Questions / Re: Arduino - RFID - Gobetwino on: August 12, 2012, 07:15:03 pm
Hi PaulS

I know what you're saying about Serial.print and Serial.println but Gobetwino requires Serial.println (I'm sure MikMo will confirm this)

Without calling Itoa I can get the values to a file but as I said I then get a start and end of text marker that looks like ¬

Substituting that section of code with the code below (and removing the array buffer str)

Code:

Serial.print("#S|LOGTEST|["); //this is the
Serial.print(val);            //gobetwino
Serial.println("]#");         //command line


Results in

Written to file

(space)
(Start of text char)
5
0
0
0
8
F
F
9
6
2
4
4
(End of text char)


And Gobetwino


13/08/2012 00:46:44   Serial port : COM4 opened at 9600 baud
13/08/2012 00:46:48   Commandstring recieved : #S|LOGTEST|[]#
13/08/2012 00:46:48   Command parsed OK
13/08/2012 00:46:48   Executing command : LOGTEST
13/08/2012 00:46:48   Data logged to C:\Users\Deekin\Desktop\gobetwino\LOGTESTLOG.txt
13/08/2012 00:46:48   Commandstring recieved : #S|LOGTEST|[5]#
13/08/2012 00:46:48   Command parsed OK
13/08/2012 00:46:48   Executing command : LOGTEST
13/08/2012 00:46:48   Data logged to C:\Users\Deekin\Desktop\gobetwino\LOGTESTLOG.txt
13/08/2012 00:46:48   Commandstring recieved : #S|LOGTEST|[0]#
13/08/2012 00:46:48   Command parsed OK
13/08/2012 00:46:48   Executing command : LOGTEST
13/08/2012 00:46:48   Data logged to C:\Users\Deekin\Desktop\gobetwino\LOGTESTLOG.txt
13/08/2012 00:46:48   Commandstring recieved : #S|LOGTEST|[0]#
13/08/2012 00:46:48   Command parsed OK
13/08/2012 00:46:48   Executing command : LOGTEST
13/08/2012 00:46:48   Data logged to C:\Users\Deekin\Desktop\gobetwino\LOGTESTLOG.txt
13/08/2012 00:46:48   Commandstring recieved : #S|LOGTEST|[0]#
13/08/2012 00:46:48   Command parsed OK
13/08/2012 00:46:48   Executing command : LOGTEST
13/08/2012 00:46:48   Data logged to C:\Users\Deekin\Desktop\gobetwino\LOGTESTLOG.txt
13/08/2012 00:46:48   Commandstring recieved : #S|LOGTEST|[8]#
13/08/2012 00:46:48   Command parsed OK
13/08/2012 00:46:48   Executing command : LOGTEST
13/08/2012 00:46:48   Data logged to C:\Users\Deekin\Desktop\gobetwino\LOGTESTLOG.txt
13/08/2012 00:46:48   Commandstring recieved : #S|LOGTEST|[F]#
13/08/2012 00:46:48   Command parsed OK
13/08/2012 00:46:48   Executing command : LOGTEST
13/08/2012 00:46:48   Data logged to C:\Users\Deekin\Desktop\gobetwino\LOGTESTLOG.txt
13/08/2012 00:46:48   Commandstring recieved : #S|LOGTEST|[F]#
13/08/2012 00:46:48   Command parsed OK
13/08/2012 00:46:48   Executing command : LOGTEST
13/08/2012 00:46:48   Data logged to C:\Users\Deekin\Desktop\gobetwino\LOGTESTLOG.txt
13/08/2012 00:46:48   Commandstring recieved : #S|LOGTEST|[9]#
13/08/2012 00:46:48   Command parsed OK
13/08/2012 00:46:48   Executing command : LOGTEST
13/08/2012 00:46:48   Data logged to C:\Users\Deekin\Desktop\gobetwino\LOGTESTLOG.txt
13/08/2012 00:46:48   Commandstring recieved : #S|LOGTEST|[6]#
13/08/2012 00:46:48   Command parsed OK
13/08/2012 00:46:48   Executing command : LOGTEST
13/08/2012 00:46:48   Data logged to C:\Users\Deekin\Desktop\gobetwino\LOGTESTLOG.txt
13/08/2012 00:46:48   Commandstring recieved : #S|LOGTEST|[2]#
13/08/2012 00:46:48   Command parsed OK
13/08/2012 00:46:48   Executing command : LOGTEST
13/08/2012 00:46:48   Data logged to C:\Users\Deekin\Desktop\gobetwino\LOGTESTLOG.txt
13/08/2012 00:46:48   Commandstring recieved : #S|LOGTEST|[4]#
13/08/2012 00:46:48   Command parsed OK
13/08/2012 00:46:48   Executing command : LOGTEST
13/08/2012 00:46:48   Data logged to C:\Users\Deekin\Desktop\gobetwino\LOGTESTLOG.txt
13/08/2012 00:46:48   Commandstring recieved : #S|LOGTEST|[4]#
13/08/2012 00:46:48   Command parsed OK
13/08/2012 00:46:48   Executing command : LOGTEST
13/08/2012 00:46:49   Data logged to C:\Users\Deekin\Desktop\gobetwino\LOGTESTLOG.txt
13/08/2012 00:46:49   Commandstring recieved : #S|LOGTEST|[
]#
13/08/2012 00:46:49   While checking the command name Gbt an exception was generated
13/08/2012 00:46:49   Object reference not set to an instance of an object.
13/08/2012 00:46:49   The parameters in the command : #S|LOGTEST|[
]# are not correct for the command type
13/08/2012 00:46:49   Commandstring recieved : #S|LOGTEST|[
]#
13/08/2012 00:46:49   While checking the command name Gbt an exception was generated
13/08/2012 00:46:49   Object reference not set to an instance of an object.
13/08/2012 00:46:49   The parameters in the command : #S|LOGTEST|[
]# are not correct for the command type

13/08/2012 00:46:49   Commandstring recieved : #S|LOGTEST|[]#
13/08/2012 00:46:49   Command parsed OK
13/08/2012 00:46:49   Executing command : LOGTEST
13/08/2012 00:46:49   Data logged to C:\Users\Deekin\Desktop\gobetwino\LOGTESTLOG.txt

Note the errors generated (in bold) near the end of the status report above

While I appreciate that the data written to the file in this example is closer to how I want it I still have additional characters I'd like to drop.

Thanks for responding, I appreciate it.
4  Using Arduino / Programming Questions / Re: Arduino - RFID - Gobetwino on: August 12, 2012, 05:49:21 pm
Hi MikMo

The Uno is connected to the PC via USB

The reader is connected with the ID12 TX to Arduino Digital pin0 (Rx) and ID12 Rx to Arduino Digital Pin1 (Tx) (Also 5v &Gnd)

LED is on pin13

(For your info, Gobetwino appears to be working well on Win7 x64)
5  Using Arduino / Programming Questions / Arduino - RFID - Gobetwino on: August 12, 2012, 04:18:22 pm
Hi

I'm quite new to Arduino and even newer to Gobetwino.

I'm trying to read a RFID card and send the ID number to file via Gobetwino. I'm getting the numbers over, however, I'm also getting other characters that I don't want and can't figure out to lose them before the file is written. My intention is to eventually have the numbers identify and open a twitter feed in a web browser although I don't want advice about that (at least not yet :-) I'd rather try and figure it out first!).

As far as I can make out the addition characters are a 'start of text code', a 'carriage return' code, a 'line feed' and an 'end of text' code. Is it possible to drop these from the output before it is written to file? Also how can I make the actual card characters go over rather than their decimal equivalent?

I've identified the additional codes and the actual card numbers in (brackets) in the txt file grab. When I identify the card charcter values as int rather than char (with changes to the code to suit that) they go over as they are in (brackets) but the other codes generate errors in the Gobetwino output and the begin and end text codes come out something like '¬'

Set up - Arduino Uno, Sparkfun ID12 RFID starter kit, Win7 x64

This is my Arduino code

Code:
//RFID ID12

//this sketch reads the data from a RFID card
//and sends it to the serial port
//it is written to a text file using gobetwino
//it also flashes a LED when the card is swiped

int led = 13; //set up LED

char val = 0; // variable to store the data from the serial port

char str[4]; //array to store variable string

void setup() {

  Serial.begin(9600); //connect to the serial port

  pinMode(led, OUTPUT);   //set the digital pin as an output 
}

void loop () {
 
if(Serial.available() > 0) {
val = Serial.read();       //read the data from the serial port

                   
Serial.print("#S|LOGTEST|[");              //this is the
Serial.print(itoa((val), str, 10));        //gobetwino
Serial.println("]#");                      //command line

digitalWrite(led, HIGH);   // turn the LED on
  delay(50);               
digitalWrite(led, LOW);    // turn the LED off after the delay
}
}

This is the txt file contents

2   (start of text)
53  (5)
48  (0)
48  (0)
48  (0)
56  (8)
70  (F)
70  (F)
54  (6)
57  (9)
49  (1)
66  (B)
56  (8)
13  (C/R)
10  (L/F)
3  (End of text)

This is the Gobetwino status messages

12/08/2012 21:22:58   Serial port : COM4 opened at 9600 baud
12/08/2012 21:23:00   Commandstring recieved : #S|LOGTEST|[2]#
12/08/2012 21:23:00   Command parsed OK
12/08/2012 21:23:00   Executing command : LOGTEST
12/08/2012 21:23:00   Data logged to C:\Users\Deekin\Desktop\gobetwino\LOGTESTLOG.txt
12/08/2012 21:23:00   Commandstring recieved : #S|LOGTEST|[53]#
12/08/2012 21:23:00   Command parsed OK
12/08/2012 21:23:00   Executing command : LOGTEST
12/08/2012 21:23:00   Data logged to C:\Users\Deekin\Desktop\gobetwino\LOGTESTLOG.txt
12/08/2012 21:23:00   Commandstring recieved : #S|LOGTEST|[48]#
12/08/2012 21:23:00   Command parsed OK
12/08/2012 21:23:00   Executing command : LOGTEST
12/08/2012 21:23:00   Data logged to C:\Users\Deekin\Desktop\gobetwino\LOGTESTLOG.txt
12/08/2012 21:23:00   Commandstring recieved : #S|LOGTEST|[48]#
12/08/2012 21:23:00   Command parsed OK
12/08/2012 21:23:00   Executing command : LOGTEST
12/08/2012 21:23:00   Data logged to C:\Users\Deekin\Desktop\gobetwino\LOGTESTLOG.txt
12/08/2012 21:23:00   Commandstring recieved : #S|LOGTEST|[48]#
12/08/2012 21:23:00   Command parsed OK
12/08/2012 21:23:00   Executing command : LOGTEST
12/08/2012 21:23:00   Data logged to C:\Users\Deekin\Desktop\gobetwino\LOGTESTLOG.txt
12/08/2012 21:23:00   Commandstring recieved : #S|LOGTEST|[56]#
12/08/2012 21:23:00   Command parsed OK
12/08/2012 21:23:00   Executing command : LOGTEST
12/08/2012 21:23:00   Data logged to C:\Users\Deekin\Desktop\gobetwino\LOGTESTLOG.txt
12/08/2012 21:23:00   Commandstring recieved : #S|LOGTEST|[70]#
12/08/2012 21:23:00   Command parsed OK
12/08/2012 21:23:00   Executing command : LOGTEST
12/08/2012 21:23:00   Data logged to C:\Users\Deekin\Desktop\gobetwino\LOGTESTLOG.txt
12/08/2012 21:23:00   Commandstring recieved : #S|LOGTEST|[70]#
12/08/2012 21:23:00   Command parsed OK
12/08/2012 21:23:00   Executing command : LOGTEST
12/08/2012 21:23:00   Data logged to C:\Users\Deekin\Desktop\gobetwino\LOGTESTLOG.txt
12/08/2012 21:23:00   Commandstring recieved : #S|LOGTEST|[54]#
12/08/2012 21:23:00   Command parsed OK
12/08/2012 21:23:00   Executing command : LOGTEST
12/08/2012 21:23:00   Data logged to C:\Users\Deekin\Desktop\gobetwino\LOGTESTLOG.txt
12/08/2012 21:23:00   Commandstring recieved : #S|LOGTEST|[57]#
12/08/2012 21:23:00   Command parsed OK
12/08/2012 21:23:00   Executing command : LOGTEST
12/08/2012 21:23:00   Data logged to C:\Users\Deekin\Desktop\gobetwino\LOGTESTLOG.txt
12/08/2012 21:23:00   Commandstring recieved : #S|LOGTEST|[49]#
12/08/2012 21:23:00   Command parsed OK
12/08/2012 21:23:00   Executing command : LOGTEST
12/08/2012 21:23:00   Data logged to C:\Users\Deekin\Desktop\gobetwino\LOGTESTLOG.txt
12/08/2012 21:23:00   Commandstring recieved : #S|LOGTEST|[66]#
12/08/2012 21:23:00   Command parsed OK
12/08/2012 21:23:00   Executing command : LOGTEST
12/08/2012 21:23:00   Data logged to C:\Users\Deekin\Desktop\gobetwino\LOGTESTLOG.txt
12/08/2012 21:23:00   Commandstring recieved : #S|LOGTEST|[56]#
12/08/2012 21:23:00   Command parsed OK
12/08/2012 21:23:00   Executing command : LOGTEST
12/08/2012 21:23:00   Data logged to C:\Users\Deekin\Desktop\gobetwino\LOGTESTLOG.txt
12/08/2012 21:23:00   Commandstring recieved : #S|LOGTEST|[13]#
12/08/2012 21:23:00   Command parsed OK
12/08/2012 21:23:00   Executing command : LOGTEST
12/08/2012 21:23:00   Data logged to C:\Users\Deekin\Desktop\gobetwino\LOGTESTLOG.txt
12/08/2012 21:23:00   Commandstring recieved : #S|LOGTEST|[10]#
12/08/2012 21:23:00   Command parsed OK
12/08/2012 21:23:00   Executing command : LOGTEST
12/08/2012 21:23:00   Data logged to C:\Users\Deekin\Desktop\gobetwino\LOGTESTLOG.txt
12/08/2012 21:23:00   Commandstring recieved : #S|LOGTEST|[3]#
12/08/2012 21:23:00   Command parsed OK
12/08/2012 21:23:00   Executing command : LOGTEST
12/08/2012 21:23:00   Data logged to C:\Users\Deekin\Desktop\gobetwino\LOGTESTLOG.txt


Thanks for any help/tips etc.
6  Using Arduino / General Electronics / Re: NEW to RFID? where to start? on: August 08, 2012, 03:39:03 pm
I've been learning how to use one of these rfid reader/writer and getting good results.
I use softwareserial at 19200.  I am currently  looking at how to connect to the cards SIG pin, docs say it has an Interrupt output, LOW level indicates Tag in the field.
Which means you don't have to keep polling the card to see if there is a Tag around.  There are also write options, which can store data in a purse/wallet area. Not got into that yet.


Hi

I've just bought this kit as well. I'm totally new to arduino and while I've got power on the RFID board and it sees tags I haven't managed to figure out how to get a tag ID into the serial output window, I'm guessing I'll have to do some digitalRead and digitalWrite tutorials. Can I ask if you use the small board with a serial dongle or are you just connecting straight to the RFID board pins?

Thanks for any advice

Deekin
Pages: [1]