Show Posts
Pages: [1] 2
1  International / Deutsch / Re: Endlosloop bei Keyboard.print programmiert: Hat der Leonardo einen Reset-Knopf? on: April 05, 2014, 09:47:23 am
Also see : 'Uploading Code to the Leonardo'.
2  Using Arduino / Programming Questions / Re: Output function created in my code seems to be working but not getting the outpu on: March 11, 2014, 05:03:35 am
int i = 0;

Should this not also be volatile, as it is updated in the interrupt-routine. Changes are the time in i just stays '0' (optimized away).

Hope this helps,
3  International / Deutsch / Re: Pin status werden nicht aktuell gehalten on: March 03, 2014, 11:46:44 am
Meine erste schritt ware warscheinlich das client.println(teil) raus zu holen um zu sehen wo die delay ist.
When die status update onle client.println ueber die serielle schnittstelle gut functioniert weist du das die delay in client.println ist.

Mann konnte auch die as.get_data rausnehemn und eine feste string senden, dass wurde dan die delay nog weiter einschranken auf die sub-routine. Und auch die client.connected abfrage kann man rausnehem.

Diese schritten sollte eine guten anweisung geben woh dass delay im sketch passiert.

Viel Spass,
4  International / Nederlands / Re: Inlezen gegevens - "Woord" on: January 28, 2014, 08:07:53 pm
Mischien helpt dit :
Is wel in het engels.

Have fun,
5  Using Arduino / General Electronics / Re: Pin on top of power header on: January 24, 2014, 07:34:42 am
As per product description for the Arduino Uno v3 (

- 1.0 pinout: added SDA and SCL pins that are near to the AREF pin and two other new pins placed near to the RESET pin, the IOREF that allow the shields to adapt to the voltage provided from the board. In future, shields will be compatible with both the board that uses the AVR, which operates with 5V and with the Arduino Due that operates with 3.3V. The second one is a not connected pin, that is reserved for future purposes.

So yes, if you have a Uno v3, it is a unused pin

Have fun,
6  International / Nederlands / Re: servo beweging met een duur van x aantal tijd het kan maar hoe on: January 03, 2014, 05:26:09 am
Hier is een klein sketchje, gemaakt om een servo voor wisselbesturing te testen. Na het indrukken van de toets loopt de servo in 5 seconden van de ene naar de ander stand.

//Servo wissel motor control
#include <Servo.h>

#define SERVO_MIN 25                                    //Servo waarde voor kleinste hoek
#define SERVO_MAX 155                                   //Servo waarde voor grootste hoek
#define SERVO_TIME 5000                                 //Tijd (in millisec) voor omlopen

#define SERVO 2                                         //Servo uitgang op pin 2
#define TOETS 3                                         //Toets input op pin 3

Servo servo1;

void setup()
    pinMode(TOETS,INPUT_PULLUP);                        //Toets input, active low
    servo1.write(SERVO_MIN);                            //Zet servo in beginstand
void loop()
  unsigned long timer;
  unsigned long staptijd;
  unsigned int huidig = SERVO_MIN;                      //Huidige stand vand de servo
  unsigned int doel = SERVO_MIN;                        //Gewenste stand van de servo
  int richting;                                         //Positieve voor min naar max, negatief voor max naar min
  staptijd = SERVO_TIME / (SERVO_MAX - SERVO_MIN);      //Vertraging per stap om de gewenste looptijd te krijgen
  while (true) {
    while (digitalRead(TOETS) != LOW) {};                 //Zolang er geen toets gedrukt wordt.
    if (doel == SERVO_MIN) {                              //Stel de nieuwe gewenste hoek in
      doel = SERVO_MAX;
      richting = 1;
    } else {
      doel = SERVO_MIN;
      richting = -1;
    while (huidig != doel) {
      huidig += richting;
      servo1.write(huidig);                               //Servo naar de volgende stap
      timer = millis();
      while ((millis() - timer) < staptijd) {};           //Wacht de berekende tijd voor de volgende stap
    while (digitalRead(TOETS) != HIGH) {};                //Zolang de toets nog gedrukt wordt.

Hopelijk kun je hier wat mee.

7  Using Arduino / General Electronics / Re: Eagle autorouter fail on: January 02, 2014, 05:43:12 pm
When you assign the supply nets to a new net-class with specific (wider) minimum trace-width the autoroute takes that into account, if i remember correctly.

The autorouter needs a bit of cleanup indeed, but for quick layouts it does the job reasonably ok i think.

8  Using Arduino / General Electronics / Re: Eagle autorouter fail on: January 02, 2014, 06:08:14 am
Most likely your DRC rules specify a minimum clearance between pads and tracks which make routing the trace up and between those 2 pads (The one Through-holr on the left and the smd pad on the right) impossible.

You can check by manually routing the trace that way and then execute a DRC check.

Hope this helps,
9  Using Arduino / Programming Questions / Re: Completly stumped on why this will not work on: December 30, 2013, 05:29:10 am
Assuming you use a normal Arduino like a uno or so, there is a led and a resistor connected to PIN 13 on the pcb.
This makes it harder to use as input. I usually avoid using pin 13 as an input.

First thing i would do is move the button to another pin, define the new pin as input with pullup and have the button switch to ground (As you detect button == LOW).

See if that fixes things. (I did not look in detail at the rest of the code).

10  Using Arduino / Microcontrollers / Re: Code not functioning correctly (inputs toggling without change in voltage) on: December 26, 2013, 06:20:02 am
Sounds like the input pin is floating when the button is not pressed. I assume (as the code does not turn on the internal pullup on A5) that there is a external pull-down resistor on that pin?

Hope this helps,
11  Using Arduino / Sensors / Re: Current measuring problem using ACS712 - no change in readings when plug load on: December 14, 2013, 06:11:19 am
What readings do you get? Also, what load are you trying to detect?
As far as i can tell, you should get 2,5 volts (half Vcc) when no current detected.
According to the datasheet the reading should change ~185mV per A, so if you are drawing +1A, the reading should go to 2,685V.

12  General Category / General Discussion / Re: PCB with Eagle Cadsoft!! Help!! on: December 06, 2013, 03:50:15 pm
Can you answer me for another question please?
I want to cover all PCB bottom and Top with GND and to do this I cover the area with a polygon and rename it with GND name..but a warning occur and advise me that " Signal name 'GND' already exist! use the NAME command to combine signals" and then the PCB's area is cover but NOt connected to GND...How can I solve this?

I think you are changing the name of the polygon using the info (i symbol in the toolbar) tool? That indeed will generate this error.
To change the name of the polygon use the name (r2 over resistor symbol in the toolbar) tool , click on the polygon and change the name to GND. It may ask if you want to merge the net with the GND net, which we indeed want.

That you can use the ratsnets tool to show the ground-plane.

Hope this helps,
13  General Category / General Discussion / Re: PCB with Eagle Cadsoft!! Help!! on: December 06, 2013, 08:47:11 am
From the question i assume you are going to make the boards yourself, otherwise the holes would be through plated and you would only have to solder on the bottom.

You could place a restrict rectangle or polygon on the top of the board where you do not want any tracks. So this would be on top of the pins of the connector. This way the autorouter knows it cannot put a trace there on the top and is forced to use the bottom only.

See this picture, where i placed a top-restict (layer 41) rectangle on the top connector, which forces the auto-router to only place vias where i can reach them.

Hope this helps,

14  Community / Website and Forum / Re: New messages since last login on: October 05, 2013, 06:08:46 am
Seems i did overlook it, as far as i can tell it is now the 'unread posts' link in the main page. (Unless that does something else, but it looks to show the new posts since last login).
15  Community / Website and Forum / New messages since last login on: October 05, 2013, 05:53:37 am
Hello All.

I may be overlooking it in the new forum layout but the 'show all new posts since last login' feature seems to have gone? Is the feature still available?

I used this a lot to get a quick list of all new messages since last time, to scan to to see if anything catches my eye. Now it looks like i have to click each orange 'plus' to see the new posts per section.

Also, is there still no RSS feed for all posts? As this would solve the issue also.

Pages: [1] 2