Show Posts
Pages: 1 [2] 3 4 ... 40
16  Using Arduino / Programming Questions / Re: Stand Alone Arduino? on: February 21, 2012, 07:12:22 am
Quote
Your arduino doesn't have anything like enough power to run a sql database

To be precise it wouldn't need to host the server, just the client access libraries.

Code:
[me@mypc] ls -lha /usr/lib/libmysqlclient.so.16.0.0
-rw-r--r-- 1 root root 2,1M 2011-02-10 10:30 /usr/lib/libmysqlclient.so.16.0.0

That's on a 64 bit Ubuntu installation.
17  International / Generale / Re: led lampeggiante on: February 21, 2012, 06:18:00 am
Se non ricordo male nei micro inizializzati per Arduino (cioè con il bootloader già caricato) viene installato anche uno sketch di test che appunto fa lampeggiare il led collegato al pin 13 della scheda. Se ciò è corretto, allora il led lampeggiante sta a significare che il bootloader è presente.
In ogni caso, che male fa provare a programmarlo ? Al massimo riceverai un errore...

I miei 2 cent...
18  Development / Other Software Development / Re: ChibiOS/RT 2.2.8 RTOS update on: February 21, 2012, 02:15:41 am
Looking forward to it smiley
19  Using Arduino / Programming Questions / Re: "Serial" not declared in 1.0 on: February 21, 2012, 02:15:06 am
I can't see what could be wrong... download the correct version of arduino (32 or 64 bit ?), unpack, launch, compile. I've never encountered any problems so far on windows or linux systems. Anyway, the good news is that 23 works. More 1.0 weirdness ;-)
20  Using Arduino / Project Guidance / Re: Code Optimization and LCD/Buttons problems on: February 21, 2012, 02:12:14 am
Unless I've overlooked something, I don't see how this code can work...

Code:
    default:
        clearLCD();                                                // OK
        if(currentMillis - previousMillis > interval) {        // OK
            // save the last time you blinked the LED       // leftover from copy-n-pasting the blinkWithoutDelay example...
            previousMillis = currentMillis;                        // from here on, currentMillis - previousMillis == 0  (*)
            selectLineOne();
            Serial.print("Please select");
            selectLineTwo(); 
            Serial.print("what to display");
            clearLCD();                                                   // how can the user see the messages if we clear them so soon ?
        }

        if(currentMillis - previousMillis > interval) {        // never true, as we alread did (*)
            previousMillis = currentMillis;   
            selectLineOne();
            Serial.print("Button 1 for");
            selectLineTwo();
            Serial.print("Temperature");
            clearLCD();
        }

        if(currentMillis - previousMillis > interval) {        // never true, as we alread did (*)
            previousMillis = currentMillis;   
            selectLineOne();
            Serial.print("Button 2 for");
            selectLineTwo();
            Serial.print("p.H. levels");
            clearLCD();
        }

        if(currentMillis - previousMillis > interval) {        // never true, as we alread did (*)
            previousMillis = currentMillis;     
            selectLineOne();
            Serial.print("Button 3 for");
            selectLineTwo();
            Serial.print("Oxygen Levels");
            clearLCD();
        }

        if(currentMillis - previousMillis > interval) {        // never true, as we alread did (*)
            previousMillis = currentMillis;   
            selectLineOne();
            Serial.print("Button 4 for");
            selectLineTwo();
            Serial.print("Yeast Levels"); 
            clearLCD(); 
        }
        break;
21  Using Arduino / Programming Questions / Re: Stand Alone Arduino? on: February 20, 2012, 07:51:56 pm
Well, no, I don't have experience with that shield, but I suspect it's not possible to talk directly to a database from the Arduino. An idea is to have a webapplication on a PC that acts as a bridge between the (http) requests coming from the Arduino and the database.
22  Using Arduino / Project Guidance / Re: Code Optimization and LCD/Buttons problems on: February 20, 2012, 05:52:49 pm
I think you should set button to zero if no button is pressed.
23  Using Arduino / Installation & Troubleshooting / Re: Arduino UNO does not respond to windows usb insertion on: February 20, 2012, 05:06:06 pm
IIRC Arduino 2009 shows up as an usb serial port and/or ftdi serial converter... But I've just had a look at a win xp pc that has the arduino drivers installed but no board connected, and the device manager show no sign of arduino drivers installed... I'm sorry I can't offer much help, then...
24  Development / Other Software Development / Re: Code share: some of my util classes on: February 20, 2012, 04:50:15 pm
Here's main.cpp from Arduino 1.0:

Code:
#include <Arduino.h>

int main(void)
{
init();

#if defined(USBCON)
USB.attach();
#endif

setup();
   
for (;;) {
loop();
if (serialEventRun) serialEventRun();
}
       
return 0;
}

At least setup() and init() are called, even on an "empry" sketch, therefore some code has to be compiled in.
25  Using Arduino / Installation & Troubleshooting / Re: Arduino UNO does not respond to windows usb insertion on: February 20, 2012, 04:37:08 pm
I'm not familiar enough with win7 to recall from memory the procedure. In general terms, you should locate the arduino-related hardware in the device manager, select "uninstall" and reboot. The OS should detect the "new hardware" when you plug in the arduino again. HTH
26  Using Arduino / Installation & Troubleshooting / Re: Arduino UNO does not respond to windows usb insertion on: February 20, 2012, 04:23:13 pm
Maybe a driver issue ? Did the board work before ?

HTH
27  International / Generale / Re: Datalog on: February 20, 2012, 04:08:20 pm
Grazie leo, non l'avevo notato...
28  Using Arduino / Installation & Troubleshooting / Re: Arduino UNO does not respond to windows usb insertion on: February 20, 2012, 04:02:46 pm
Not a short on the usb port power lines, for sure, otherwise the Arduino leds wouldn't turn on. Have you tried another usb port and another usb cable ?

HTH
29  Using Arduino / Programming Questions / Re: "'x' was not declared in the sketch on: February 20, 2012, 03:45:14 pm
Sorry, little help can be offered unless you post the exact code that is giving you the problem.
30  Using Arduino / Programming Questions / Re: "Serial" not declared in 1.0 on: February 20, 2012, 03:41:10 pm
Quote
Can you confirm that there is nothing else to do but extract & launch arduino.exe ?

Sorry for the silly question, but do you launch arduino.exe "directly" from the archive (uncorrect) or did you first extract the full archive and then launch arduino.exe ?

My 1 cent

smiley
Pages: 1 [2] 3 4 ... 40