leoSerial

Warning you take all responsibility for the modifications to hardware and software.  All care taken but no responsibility accepted.


Click on image above for larger res umm this is a page about setting up the Leostick Arduino compatible device under Wndows XP first you need to get the Arduino IDE to run your sketchs if you have that installed now you can
run your program.  Install the sketches directory by going to file preferences in the IDE software. Make a directory called hardware in that and then extract the zips at the end of the page into that directory .  The next time you start the IDE it should recognise it as being a Leostick.

Hardware considerations.
 Make sure you have the serial board jumpers set to USB to install the program.   Errors will occur naturally after running the program as you can't program the port and receive data at the same time.

Hardware requirements
Leostick 1.0 or better
Serial board like the Xbee pro ( don't need the pro in particular it just has a bigger power circuit for the series 2
Xbee boards i don't used those i use the cheaper XRF boards )
Now install the driver for the Leostick you may have a problem with it not being recognised correctly
so paste the line for the hardware description into the .inf file you downloaded from Freetronics
under this part in the file ( also see the text file at the end of the page if you want to download it instead )
;------------------------------------------------------------------------------
;  Vendor and Product ID Definitions
;------------------------------------------------------------------------------
; When developing your USB device, the VID and PID used in the PC side
; application program and the firmware on the microcontroller must match.
; Modify the below line to use your VID and PID.  Use the format as shown below.
; Note: One INF file can be used for multiple devices with different VID and PIDs.
; For each supported device, append ",USB\VID_xxxx&PID_yyyy" to the end of the line.
;------------------------------------------------------------------------------
put in this text ( which you can find yours in device manager ) mine is ( but may be the same for all hardware of 1.1 Leosticks (not 2 )

%USB\VID_2341&PID_0034.DESCRIPTION%=DriverInstall, USB\VID_2341&PID_0034

you can put it in the 64 bit section too ( thats the next group of similar entries ) now you get the error below as windows freaks out and says stuff about driver is not digitally signed just ignore and go next.


// Pin 13 has an LED connected on most Arduino boards.
// give it a name:
int led = 13;
void setup()
{
  Serial.begin(9600);
}

void loop()
{
   digitalWrite(led, HIGH);
   delay(1000);
  Serial.print('H');
  delay(1000);
   digitalWrite(led, LOW); 
   delay(1000);
  Serial.print('L');
  delay(1000);
    // turn the LED on (HIGH is the voltage level)
 // delay(1000);               // wait for a second
    // turn the LED off by making the voltage LOW
 // delay(1000);
}


ċ
FreetronicsUSB_v1_0.inf
(4k)
Stephen P,
Sep 28, 2012, 6:47 AM
ċ
LeoStick_board_profile_v1_1.zip
(66k)
Stephen P,
Sep 28, 2012, 6:50 AM
ċ
LeoStick_board_profile_v2_0.zip
(66k)
Stephen P,
Sep 28, 2012, 6:50 AM
Comments