Show Posts
Pages: 1 2 3 [4] 5 6 ... 15
46  Using Arduino / Programming Questions / Re: LCD shield menu on: February 07, 2013, 12:17:56 pm
I don't see a "tempC" in your loop.
You could also initiate  (e.g. declare)  this var at the very beginning after havign defined the classes instances 
47  Using Arduino / Interfacing w/ Software on the Computer / Re: Sniffing RAW wireless data (433MHz, 868MHz; FSK/ASK) on: February 07, 2013, 12:14:50 pm
At first you have to know how the signal is transmitted. This includes
- Frequency
- Modulation
- Encoding

So both  the  last  points are about the protocol.

If it is rolling code you mostly still read the message.
Could you please describe what happens and which signal to capture?
And find out as much technical data about the transmitter as possible.

Additionally, I recommend some simple ASK Module from ebay which are very cheap (e.g. ebay nr 121017087078)
Or did you have already any successes with your procedure?
48  Development / Other Software Development / Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC on: February 03, 2013, 04:06:37 pm
Works like a charm!
Thank you very much smiley-wink
49  Development / Other Software Development / Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC on: February 03, 2013, 03:45:13 pm
Thank you very much
looking forward to downloading the new version
50  Development / Other Software Development / Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC on: February 03, 2013, 03:12:57 pm
I still prefer Ctrl+M smiley-wink
Ctrl and Y is very near each other (german keyboard, QWERTZ) so I would need to use the right ctrl-key. It is ok, though
51  Development / Other Software Development / Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC on: February 03, 2013, 02:41:22 pm
The shortcut CTRL+I prints a tabulator in Notepad, too.

And I prefer using CTRL+some key instead of pressing three keys and what about letting the user change the setting in the configuration file?

52  Topics / Robotics / Re: Arduino Act like a USB keyboard on: February 03, 2013, 02:18:16 pm
Everything needed is included here
http://code.google.com/p/unojoy/
and here
http://www.atmel.com/tools/FLIP.aspx

Yes the Arduino's USB interface has to be flashed. This is done with Atmel's FLIP tool.
There is a Arduino-keyboard-0.3.hex available here:
http://hunt.net.nz/users/darran/weblog/b3029/Arduino_UNO_Keyboard_HID_version_03.html
53  Development / Other Software Development / Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC on: February 03, 2013, 06:24:38 am
I really appreciate your fast reaction
However, excuse me,I have to bother you again, the shortcut CTRL+I prints a tabulator!
Could you add this in the configuration file, something like
openserialmonitorshortcut=M (that means CTRL+M)
openserialmonitorshortcut=I (that means CTRL+I)
So everyone with different location-specific settings can define his own shortcut.
54  Using Arduino / Networking, Protocols, and Devices / Re: Webserver with dyn DNS on: February 02, 2013, 02:50:49 pm
I also implemented parsing the result, i.e. getting the Date and the Message:

Quote
    String  buf = "";
    String  msg = "";
    boolean tak = false;
    while (client.connected())
    {
      while (client.available())
      {
        char c = client.read();
        //Serial.print(c); // verbose?
        buf += c;
        if (tak)
          msg = buf;
        if (c == 10)
        {
          buf.trim();
          if (buf.indexOf("Date:") == 0)
            Serial.println("DATE = " + buf);
          if (buf == "") //empty line -> message
            tak = true;         
          buf = "";
        }
      }
    }
    client.stop();
    msg.trim();
    Serial.println("MESSAGE = " + msg);
    Serial.println("Disconnecting.");

55  Using Arduino / Networking, Protocols, and Devices / Re: Webserver with dyn DNS on: February 02, 2013, 02:05:47 pm
Now it works!
( my account was .org )
Both using my email address and my user name worked (as the no-ip username)
The answer is "nochg <ipaddr>"
56  Development / Other Software Development / Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC on: February 02, 2013, 01:18:40 pm
In general I don't like pressing three keys at once, even if ctrl+alt = altgr, it is easier to use something like ctrl+?

In this case I would like to use CTRL + M

And in your picture it is show "open serial monitor" can be set to true/false, but this is only the action (upload OR upload+monitor) for the arrow next to "verify". I am refering to the keyboard shortcut.

57  Using Arduino / Networking, Protocols, and Devices / Re: Webserver with dyn DNS on: February 02, 2013, 12:43:43 pm
The prefix http:// should be omitted.

And I found on this forums, the issue has been already discussed and here is the solution
http://arduino.cc/forum/index.php/topic,95456.msg720162.html#msg720162

My problem was that I did not always use the same MAC address so that my router had too many ones to save and it is restricted to grant internet access to only the first 5 ones connected or kind of similiar, so I had to flush this and it worked again.
58  Development / Other Software Development / Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC on: February 02, 2013, 12:15:06 pm
Can you replace the shortcut CTRL+ALT+M (upload and then open the serial monitor) with something else?
 because it prints the greek letter ยต .
59  Using Arduino / Networking, Protocols, and Devices / Re: Webserver with dyn DNS on: February 02, 2013, 11:59:15 am
Yes, and I tried using http prefix
Code:
char server[] = "http://dynupdate.no-ip.com";
and then the output is

[NOIP-DUC]

Getting IP address from DHCP ...
My IP address: 192.168.2.124

Connecting to http://dynupdate.no-ip.com ...
Connected.

Disconnecting.

60  Using Arduino / Networking, Protocols, and Devices / Re: Webserver with dyn DNS on: February 02, 2013, 11:50:07 am
After having done more debugging, I realized I cannot even connect to dynupdate.no-ip.com

I use this to check:
Quote
  if (client.connect(server, 80))
  {
    Serial.println("Connected.");
    
    while (client.connected())
    {
      while (client.available())
      {
        char c = client.read();
        Serial.print(c);
      }
    }
    client.stop();
  }
  else
    Serial.println("Error connecting!");


My code:
Code:
// NO-IP, Dynamic Update Client, 02.FEB.13

#include <SPI.h>
#include <Ethernet.h>

byte mac[] =
{
  0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED
};
char server[] = "dynupdate.no-ip.com";

EthernetClient client;

void setup()
{
  Serial.begin(9600);

  Serial.println("[NOIP-DUC]\n");
  Serial.println("Getting IP address from DHCP ...");

  if (Ethernet.begin(mac) == 0)
  {
    Serial.println("Failed to configure Ethernet using DHCP !");
    while (1)
      ;
  }

  //Give some time to initialize:
  delay(2000);

  Serial.print("My IP address: ");
  Serial.println(Ethernet.localIP());
  Serial.println();

  Serial.print("Connecting to ");
  Serial.print(server);
  Serial.println(" ...");

  if (client.connect(server, 80))
  {
    Serial.println("Connected.");
   
    while (client.connected())
    {
      while (client.available())
      {
        char c = client.read();
        Serial.print(c);
      }
    }
    client.stop();
  }
  else
    Serial.println("Error connecting!");
}

void loop()
{
  if (client.available()) // this cannot be reached by now
  {
    char c = client.read();
    Serial.print(c);
  }

  if (Serial.available())
  {
    char c = Serial.read();
    client.print(c);
  }

  if (!client.connected())
  {
    Serial.println();
    Serial.println("Disconnecting.");
    client.stop();
    while (1)
      ;
  }
}

Serial output
[NOIP-DUC]

Getting IP address from DHCP ...
My IP address: 192.168.2.124

Connecting to dynupdate.no-ip.com ...
Error connecting!

Disconnecting.

Pages: 1 2 3 [4] 5 6 ... 15