Loading...
  Show Posts
Pages: [1]
1  Using Arduino / Microcontrollers / Re: mega32u2 with Leonardo on: April 30, 2013, 07:12:49 pm
Hi,
thank you for the link, it is a goo hint!
But the U2 have a ADC:

From the datasheet:
Port D serves as analog inputs to the analog comparator.

greetings
Michael
2  Using Arduino / Microcontrollers / mega32u2 with Leonardo on: April 29, 2013, 04:58:16 pm
I build a alternative Arduino Leonardo clone with the mega32u4.....

Everything works fine, but I like to replace the mega32u4 with a mega32u2, because I dont have only a small area on the PCB and the mega32u2 is cheaper.
The question is: Will the IDE load the program on a mega32u2 and do I have to expect any other incompatibility?

greetings
Michael
3  Using Arduino / Installation & Troubleshooting / Re: Windows 7 IDE problem on: April 12, 2013, 06:08:58 pm
so I answer myself:

go to control panel> trouble-shooting> Aero Desktop effects
Let windows search for problems.
Thats it.
4  Using Arduino / Installation & Troubleshooting / Windows 7 IDE problem on: April 12, 2013, 06:16:12 am
Hi all,

I see since today at my windows 7 installation all Arduino IDE versions have a black menu (0.23/1.01/1.5)....
(see pic)
Other programs dont have. Maybe it is a Java problem?
Anyone have a idea, what it is???

greetings
Michael
5  Products / Arduino Due / Re: Arduino Due - Serial speed? on: December 13, 2012, 06:48:00 pm
OK,
but what have it to do with the handshaking?
6  Products / Arduino Due / Re: Arduino Due - Serial speed? on: December 12, 2012, 07:55:16 pm
how it works with handshaking?
xon/xoff is possible??
Which settings in Putty?
7  International / Deutsch / Re: Time Library kalibrieren on: June 05, 2011, 12:18:31 pm
Einen extra chip wollte ich eben vermeiden.
Es muß doch eine Möglichkeit geben, die Zeit z.B. einmal am Tag zu korrigieren?

8  International / Deutsch / Re: Platinen Ätzen, Laser-drucker-Methode on: April 22, 2011, 06:10:06 pm
hallo,

bal eine Bemerkung zur "Laserdrucker Methode":
bei dünneren Leiterbahnen funktioniert das nicht wirklich zufriedenstellend,
ich mabe deshalb vor einiger Zeit mit Freunden zusammen einen Laserbelichter gekauft, der absolut hochauflösende Filme belichtet, in Industriequalität.
Wer Interesse hat kann mal eine PM schreiben, wir machen einen Film A4 zum Selbstkostenpreis von 15 EUR incl. Versand....

Gruß
Michael
9  International / Deutsch / Re: Bibliothek für das Touch Display MI0283QT-2 von Watterott on: April 22, 2011, 05:55:00 pm
hallo Manfed,

gute Idee, sowas wollte ich auch schon mal machen.
Das Watterott Display ist wirklich nur zu empfehlen, gerade zudem Preis gibt es nichts besseres.
Ich werde die lib demnächst mal ausprobieren!
Schön wäre eine kleine Dokumentation der Funktionen....


gruss
Michael
10  International / Deutsch / Time Library kalibrieren on: April 22, 2011, 05:43:39 pm
hallo zusammen,

ich benutze die Time Library, habe aber eine Zeitabweichung von mehreren Sekunden pro Tag.
Nun würde ich gern eine Kalibrierung durchführen, an welchem wert muß ich schrauben?
Ich habe ein VB Programm geschrieben, das die synchronisierung mit der PC Zeit durchführt, der Arduino soll aber längere Zeit unabhängig laufen.
Ich möchte eine Funktion basteln, die in Abhängigkeit der Zeit der letzten Synchronisation und der ab da aufgetretenen Zeitabweichung den Timer kalibriert.
Hat da jemand eine Idee?

Gruss
Michael
11  Forum 2005-2010 (read only) / Deutsch / Grundsätzliches Problem... on: January 19, 2011, 05:57:44 pm
Guten Abend!
Ich würde gern mal fragen, welche Meinung die Gemeinde hier über die grundsätzliche Qualität der Programmierumgebung Arduino hat.
Vorneweg: Ich habe bislang 8 Jahre PICs programmiert, was immer recht problemlos geklappt hat. Seit einigen Wochen beschäftige ich mich mit dem AVR und dachte Arduino wäre ein guter Einstieg, weil Plattformunabhängig, einfaches C++ Konzept und so.
Irgendwie geht aber garichts so einfach:
Mal läuft ein Progamm nur auf dem PC und nicht auf dem MAC (OSX), dann nicht mal mehr auf dem PC, durchwühle ich Google: 1000x das selbe Problem, aber keine Lösung.....  :-/
Lange Rede, kurzer Sinn: Arduino schent mir seeeehr "buggy" zu sein.
Spaß macht das nicht....
Wie sind denn eure Erfahrungen?

12  Forum 2005-2010 (read only) / Deutsch / Re: MAC serielles Problem... on: January 19, 2011, 05:40:46 pm
Ja, mache ich doch gern, aber ist wirklich nur die unveränderte Demo-Datei.... kann man hier eigentlich auch eine Datei anhängen, oder geht das immer nur über copy/past????

// DateTime.pde
// example sketch for the DateTime library

#include <DateTime.h>
#include <DateTimeStrings.h>

#define TIME_MSG_LEN  11   // time sync to PC is HEADER followed by unix time_t as ten ascii digits
#define TIME_HEADER  255   // Header tag for serial time sync message

void setup(){
  Serial.begin(19200);
  pinMode(13,OUTPUT); // we flash the LED each second
}

void  loop(){
  unsigned long  prevtime;
  if( getPCtime()) {  // try to get time sync from pc
    Serial.print("Clock synced at: ");
    Serial.println(DateTime.now(),DEC);
  }
  if(DateTime.available()) { // update clocks if time has been synced
    digitalWrite(13,LOW);  // first flash the LED
    prevtime = DateTime.now();
    while( prevtime == DateTime.now() )  // wait for the second to rollover
        ;
    DateTime.available(); //refresh the Date and time properties
    digitalClockDisplay( );   // update digital clock

    // send our time to any app at the other end of the serial port
    Serial.print( TIME_HEADER,BYTE); // this is the header for the current time
    Serial.println(DateTime.now());
    digitalWrite(13,HIGH);
  }
  delay(100);
}

boolean getPCtime() {
  // if time sync available from serial port, update time and return true
  while(Serial.available() >=  TIME_MSG_LEN ){  // time message consists of a header and ten ascii digits
    if( Serial.read() == TIME_HEADER ) {        
      time_t pctime = 0;
      for(int i=0; i < TIME_MSG_LEN -1; i++){  
        char c= Serial.read();          
        if( c >= '0' && c <= '9'){  
          pctime = (10 * pctime) + (c - '0') ; // convert digits to a number    
        }
      }  
      DateTime.sync(pctime);   // Sync Arduino clock to the time received on the serial port
      return true;   // return true if time message received on the serial port
    }  
  }
  return false;  //if no message return false
}

void digitalClockDisplay(){
  // digital clock display of current date and time
  Serial.print(DateTime.Hour,DEC);
  printDigits(DateTime.Minute);
  printDigits(DateTime.Second);
  Serial.print(" ");
  Serial.print(DateTimeStrings.dayStr(DateTime.DayofWeek));
  Serial.print(" ");
  Serial.print(DateTimeStrings.monthStr(DateTime.Month));
  Serial.print(" ");
  Serial.println(DateTime.Day,DEC);
}

void printDigits(byte digits){
  // utility function for digital clock display: prints preceding colon and leading 0
  Serial.print(":");
  if(digits < 10)
    Serial.print('0');
  Serial.print(digits,DEC);
}

13  Forum 2005-2010 (read only) / Deutsch / Re: MAC serielles Problem... on: January 17, 2011, 12:33:57 pm
Ja,
richtiges Board, richtige schnittstelle...
14  Forum 2005-2010 (read only) / Deutsch / MAC serielles Problem... on: January 16, 2011, 04:44:35 pm
Hallo zusammen,
mein erstes posting hier... :-)

Bin Anfänger mit Arduino und habe das DateTime Beispiel Sketch ausprobiert, tagelang rumprobiert, die Zeit lässt sich mit dem Processing Sketch nicht aktualisieren, auch über den Serial Monitor gehts nicht. Arduino UNO stürzt ab. Nun habe ich mal einen Test mit einem Win XP Rechner gemacht. Geht auch nicht... ABER NACH NEUEM PROGRAMMUPLOAD ÜBER XP: Läuft..!
Auch auf dem MAC.
Programm noch mal mit MAC geflasht: Selber Fehler.
Ansonsten läuft es aber, auch keine Fehlermeldung beim upload.
Was ist das???
Ich weiß nicht mehr weiter...  :-/

Gruß
Michael
Pages: [1]