Show Posts
Pages: 1 2 [3] 4
31  Forum 2005-2010 (read only) / Interfacing / Re: Processing and Pachube on: January 19, 2010, 09:01:32 pm

Quote
The code that you posted is a Processing sketch. It needs to be compiled and run in the Processing application, not the Arduino application.

There is a separate sketch that needs to be uploaded to the Arduino.

The Processing sketch communicates, using the serial port, with the Arduino.

Were you trying to compile the code you posted in the Processing application or in the Arduino application?
---
Hello!
As it happens I did both. I prepared and installed the first part. The stuff that needs to finished via the regular interface for the device. It happens that I am now aware that the basic Processing engine needs to be built and installed via its tools.

The ones for Windows refused to launch, however the Linux one did. Therefore my next step will be to complete it that way.

I'll know more later.
-----
[/font]
/me
Time does not recognize a need for speed or politics.
32  Forum 2005-2010 (read only) / Interfacing / Re: Processing and Pachube on: January 19, 2010, 01:57:12 pm

Hello!
I confess that you maybe right. Given that the vast majority of people out there do not read completely instructions, or worse actually ignore them outright, it is a distinct possibilty that your advice is crystal clear and that I am not firing on all thrusters at the moment.

I will try this again later using the Processing kit and see what happens.
----

/me
If time is relative does it have cousins?
33  Forum 2005-2010 (read only) / Interfacing / Re: Processing and Pachube on: January 19, 2010, 01:35:59 pm

Hello!
My point was that the examples themselves came from the main site for the system itself.
http://www.arduino.cc/playground/Interfacing/Processing.

Therefore there is something glaringly wrong with the example that I've chosen.
------

/me
34  Forum 2005-2010 (read only) / Interfacing / Processing and Pachube on: January 18, 2010, 11:59:45 pm

Hello!
I am trying to make use of this code:
Code:
import processing.serial.*;

import cc.arduino.*;

Arduino arduino;

color off = color(4, 79, 111);
color on = color(84, 145, 158);

[color=#CC6600]void[/color] [color=#CC6600][b]setup[/b][/color]() {
  size(470, 280);
  arduino = [color=#CC6600]new[/color] Arduino([color=#CC6600]this[/color], Arduino.list()[0], 115200);
  
  [color=#CC6600]for[/color] ([color=#CC6600]int[/color] i = 0; i <= 13; i++)
    arduino.[color=#CC6600]pinMode[/color](i, Arduino.[color=#006699]INPUT[/color]);
}

[color=#CC6600]void[/color] draw() {
  background(off);
  stroke(on);
  
  [color=#CC6600]for[/color] ([color=#CC6600]int[/color] i = 0; i <= 13; i++) {
    [color=#CC6600]if[/color] (arduino.[color=#CC6600]digitalRead[/color](i) == Arduino.[color=#006699]HIGH[/color])
      fill(on);
    [color=#CC6600]else[/color]
      fill(off);
      
    rect(420 - i * 30, 30, 20, 20);
  }
  
  [color=#CC6600]for[/color] ([color=#CC6600]int[/color] i = 0; i <= 5; i++) {
    ellipse(280 + i * 30, 240, arduino.[color=#CC6600]analogRead[/color](i) / 16, arduino.[color=#CC6600]analogRead[/color](i) / 16);
  }
}

It was suggested in:
http://community.pachube.com/arduino/usb/processing#pachube-input

Version 17 complains of the import function. However there isn't enough information there to help me. Advice please.

The whole thing starts here:
http://www.pachube.com/

------
[/font]
(Edit: I do not kow why those strange colorization markers are here. I never see them on other code posts.)
/me
35  Forum 2005-2010 (read only) / Interfacing / Is anyone using the resorces for EEML? on: May 16, 2009, 11:59:09 pm
[size=12]
Hello!
Is anyone using EEML with their systems? What was the chosen Ethernet device? And what sensors are being used?
----
Gregg (Doctor Who)

[/size]
36  Forum 2005-2010 (read only) / Development / Re: Building the tools behind the Arduino IDE--Linux on: August 18, 2009, 09:27:11 am

Hello!
And I've been to the site already. They do not have a set created for 11.0. Just for 12.1 made up. Now I might be so inclined to install that one, and hopefully it will work for me for that system.

But I've got two up and running for supporting older applications who needed even older hardware. But that's for the PC side of things, not for the Arduino.

I believe we've reached an interesting stopping point.

Thank you anyway.
----
/me
37  Forum 2005-2010 (read only) / Development / Re: Building the tools behind the Arduino IDE--Linux on: August 18, 2009, 08:19:22 am

Hello!
The AvrDude isn't the problem. It is the toolchain that is the problem. But thank you for your kind words.

For example I followed the exact script described on the page I quoted, and naturally the IDE we use could not find the toolchain.  :o

And that was after translating dingbats (Odd looking characters) into these "--" for the configure script tool presentation fixes.
--
/me
38  Forum 2005-2010 (read only) / Development / Building the tools behind the Arduino IDE--Linux on: August 17, 2009, 04:31:04 pm

Hello!
Has anyone managed to build the tools for the Arduino using Slackware Linux using the ideas described here: http://www.arduino.cc/playground/Linux/Slackware?

Those strange characters are actually the "--" that the configure scripts use to assist the specialty features to be setup.

I've got it currently building on a Slackware 11.0 system and did succeed in building it on a 12.1 system. Naturally someone went ahead and built it for that system release.

I find this to be an interesting concept because Slackware happens to be the oldest distribution still being continuously updated and released, and even used.

This because you need to click Slackware on the site to see what is the suggested method.

And of course since I normally use Windows for the whole process of creating a sketch and trying it out on the destination device, I didn't realize that a specially prepared copy of AVRdude was needed on Linux.

Well anyway I'll know if it works, but I am also interested in packages for 11.0 of Slackware.
-----
/me  
39  Forum 2005-2010 (read only) / Development / Re: Arduino Mini power questions on: February 19, 2010, 02:50:22 am

Hello!
I came across this entry on the main site:
Quote
Power. This can be a regulated +5V power source (e.g. from the +5V pin of the Mini USB Adapter or an Arduino NG) connected to the +5V pin of the Arduino Mini. Or, a +9V power source (e.g. a 9 volt battery) connected to the +9V pin of the Arduino Mini.

This is why I asked that before.
----
/me
[/font]
40  Forum 2005-2010 (read only) / Development / Re: Arduino Mini power questions on: February 18, 2010, 09:13:09 pm

Hello!
You, Paul stated,
Quote
The 9V is input. The 5V is output, for connected devices that need 5V regulated.
I confess I had an inspired guess while waiting for the board and the site to work out its issues.

I would see a variety of 5xx error messages and tell Firefox to do it all over again. That's why there were so many. I deleted the extras.

You replied to the first by the way.
----
/me


[/font]
41  Forum 2005-2010 (read only) / Development / Arduino Mini power questions on: February 18, 2010, 05:50:46 pm

Hello!
I have here an Arduino Mini 04 fresh from the vendor, in this case the ITP store at NYU. I have been examining the pages on the subject, both how to connect its outboard USB device and the actual device.

One question still remains unanswered, that of powering it. I see tie points for both 5v and 9v. Plus of course a Ground connection.

I am correct here that it is one [glow]or[/glow] the other, but [glow]not[/glow] both?
----
/me

42  Forum 2005-2010 (read only) / Interfacing / Re: PS2 Keyboard Emulator on: July 17, 2009, 09:37:08 pm
[size=12]
Hello!
We are discussing here about how to send characters (and other data) into a laptop's PS2 keyboard (& mouse) input port?

The referenced page discusses the wonders of having the Arduino communicate with a keyboard.
----
/me
[/size]

Time is like sleep, it goes faster when you're not using it.
43  Forum 2005-2010 (read only) / Interfacing / Re: Nokia 6100 Color LCD library on: January 22, 2010, 11:19:35 pm

Hello!
I've just examined the header pages for the library you wrote.

In it you created or even selected Port D for this. I've examined the description for the 328 part that's on my Arduino Duemilanove, see:
http://arduino.cc/en/Main/ArduinoBoardDuemilanove and while I have seen before people describe a "Port D" for their sketches, and port numbers. Pin mapping comes up here http://arduino.cc/en/Hacking/PinMapping168

And of course the question:
Are the pins numbered 2, 3, 4, 5 matching these, Digital 2, 3, 4, 5?

I imagine they are of course, and am planning on trying the first example tomorrow or Sunday.

Oh and what's the license on your code that's in the storage hub? Is it the same as that used on the regular Arduino places? Most of them are GPL as it happens.
--------------

/me
Time has more issues then we do why else can it not be properly tracked.
44  Forum 2005-2010 (read only) / Interfacing / Re: Nokia 6100 Color LCD library on: January 16, 2010, 06:30:57 pm

Hello!
I quite agree. I promptly unzipped a copy of 17 that I have stored with the original folder containing my Arduino work, and tried it, arranging it that way.

Of course it worked. (Building via the verify button.)

Since I also have a copy of what will be 18 from Google Code, and that's my primary place I decided to repeat it there. Of course the same problem happened. I need to confirm of course where the run.sh script is launching from either the dist directory or the build one but then I'll know more.
-------

/me
Time is something created by the Timelords to keep in a TARDIS.
45  Forum 2005-2010 (read only) / Interfacing / Re: Nokia 6100 Color LCD library on: January 16, 2010, 03:52:04 pm

Hello!
I just tried the whole business exactly as before on this Windows Seven system running with Cygwin, but on one running Slackware Linux.

But he does have pre-built AVR support installed. I chose to transform Debian ones to what Slackware uses for packaging.

The problem get stranger when I copy the include file from its place as described on storage place to where the AVR tool chain put its. There's a claim of a missing directive.

Whose toolchain are you using there for the Arduino? Prebuilt, did you make it yourself, what? Also which distribution?
-----------

/me
Time and operas do not collide, they move in parallel lines.
Pages: 1 2 [3] 4