Loading...
  Show Posts
Pages: 1 2 3 [4] 5 6 7
46  Forum 2005-2010 (read only) / Interfacing / Re: Upload Sketch from Processing? on: November 05, 2010, 07:43:10 am
Thanks Andy R

So my understanding then is from processing you can only pass variables that arduino needs to absorb and determine actions.
There is no way to call methods directly then? Would be a nice to have feature i guess, but the variable passing is acceptable.

47  Forum 2005-2010 (read only) / Interfacing / Re: Upload Sketch from Processing? on: November 01, 2010, 11:05:24 am
any thought?
48  Forum 2005-2010 (read only) / Interfacing / Re: Upload Sketch from Processing? on: October 26, 2010, 05:34:20 am
let me clarify

the though was for processing to do some variable and config stuff.
then using the arduino.cc class and firmata on the chip be able to upload a sketch to processing.

with the answer provided above. a different approach is required.

I have played around with a blink on roll over sketch using processing and firmata to set HIGH or LOW the pin 13 LED.
In all the reference to the arduino library for processing i have not seen any instance where i can call a method that i have create on the arduino side.

let me describe

Arduino
Code:
// firmata included
void setup(){}
void loop(){}
void customMethod(){}

Processing
Code:
/*
 some code ommited
*/
import processing.serial.*;
import cc.arduino.*;

Serial port;
Arduino arduino;

void setup()
{
   arduino = new Arduino(this, Arduino.list()[0], 57600);
}

void draw()
{
  background(#000000);
  fill(#000000);
  rect(0,0,200,200);
}

void mousePressed()
{
  /*
    i want to fire off a method called customMethod in the arduino code
    this doesn't work
  */

   arduino.customMethod();
}




This is the snippet i would like to work

void mousePressed()
{
  /*
    i want to fire off a method called customMethod in the arduino code
    this doesn't work
  */

   arduino.customMethod();
}


can this be done?
49  Forum 2005-2010 (read only) / Interfacing / Upload Sketch from Processing? on: October 25, 2010, 07:06:10 pm
Is it possible to upload a sketch via processing?
50  Forum 2005-2010 (read only) / Interfacing / Re: webpage ethernetshield blank with IE ?? on: October 26, 2010, 05:51:14 am
Code:
client.print("<META HTTP-EQUIV=REFRESH content=5 url='http;//192.168.1.110' >");

replace the ; with a :
client.print("<META HTTP-EQUIV=REFRESH content=5 url='http://192.168.1.110' >");
51  Forum 2005-2010 (read only) / Development / Re: RGB LED STRIP on: September 14, 2010, 10:34:28 am
[media]http://www.youtube.com/watch?v=ivobJ14zTSo[/media]
52  Forum 2005-2010 (read only) / Development / Re: Need quick review before board house on: May 19, 2010, 10:08:58 am
for this size of board you can easily use only 1 mounting screw
53  Forum 2005-2010 (read only) / Development / Re: Not a new development, just a board (bored) mod on: May 18, 2010, 12:36:40 pm
great write up mowcius!
great site as well http://www.duinoaday.co.uk/ <- bookmarked
my apologies for providing a how to smd list. didn't realize you already knew how! smiley-wink
54  Forum 2005-2010 (read only) / Development / Re: Not a new development, just a board (bored) mod on: May 18, 2010, 12:24:47 pm
for getting the old SMD LEDs off, or any SMD 0805 things like resistors and diodes i would recommend getting a pair of hot tweezers.
they are pretty easy to solder on.

1. clean the pads
2. use flux on both pads
3. put a very small amount of solder on one pad
4. grab the SMD with needle tweezers
5. align it on the pads
6. heat the pad you presoldered in step 3 and slip the SMD in
7. solder the other side
8. enjoy the fruits and colors of your labor

SMD can go on perfboards as well!


and they are dirt cheap if you buy in bulk from ebay
i bought a 100pcs mix pack (white, yellow, purple, cyan, red, green, blue)
55  Forum 2005-2010 (read only) / Development / Not a new development, just a board (bored) mod on: May 18, 2010, 09:35:19 am
Hey all
This isn't anything super duper fantastic.

but last night, i finished soldering up one of my projects and had some 0805 LEDs left over...   ...so i decided to change the lights on my Arduino board

Power = Blue
Pin 13 = Blue
TX = Green
RX = Red

enjoy
[media]http://www.youtube.com/watch?v=Yy7pw4au2cw[/media]
56  Forum 2005-2010 (read only) / Interfacing / Re: Using the Arduino as a switch? on: November 24, 2010, 10:56:55 am
take a look here http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1285690460/ and here http://sparky.32teeth.org
may be able to answer some questions for you

57  Forum 2005-2010 (read only) / Interfacing / Re: Beginner Question - Connecting Ethernet Shield on: June 07, 2010, 12:50:14 pm
picked one up (live a block away from an electronics shop)
confirmed! all works well!

thanks again pwillard
58  Forum 2005-2010 (read only) / Interfacing / Re: Beginner Question - Connecting Ethernet Shield on: June 07, 2010, 12:14:54 pm
thank you kindly
picking one up today
59  Forum 2005-2010 (read only) / Interfacing / Re: Beginner Question - Connecting Ethernet Shield on: June 07, 2010, 08:15:55 am
this is the tutorial i was referencing
simple connection test

http://arduino.cc/en/Reference/ClientConstructor

in which they don't use the subnet and gateway?

the shield itself is the official arduino one with W5100
http://www.arduino.cc/en/Main/ArduinoEthernetShield

i have tried the above code with the subnet and gateway, but i don't believe that my issue is
the arduino side of things but rather my network setup at home

to clarify
my pc has a onboard wifi which i use for connecting to my connection and the arduino shield i have attempted to use the rj45 (do i need a crossover?)
additionally i have turned on my telnet in vista
60  Forum 2005-2010 (read only) / Interfacing / Beginner Question - Connecting Ethernet Shield on: June 06, 2010, 06:25:29 pm
Hey all
i just purchased an authentic ethernet shield for the arduino

i have followed several tutorials to the t and have not been able to get the arduino ethernet shield to connect

here are the only lines i changed from the example code for ethernet client
Code:
byte mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED };
byte ip[] = { 192, 168, 1, 103 }; // local address for ethernet shield
byte server[] = { 66, 249, 91, 104 }; // Google - ping as of June 6 2010

the serial response
Code:
connecting...
connection failed

disconnecting.

i have tried assigning different IPs for the shield

my setup
1. linksys wrt54g (in another room)
2. vista 32
3. arduino 0018
4. ethernet shield (rj45) connected to the ethernet on pc
5. pc is using wireless for connection to router

i am stuck, and would appreciate any help


Pages: 1 2 3 [4] 5 6 7