2014-03-30

Arduino 1.5 does not start on Java 7

After updating to OSX 10.9.2 Mavericks and also update to Java 7 64 bit the Arduino app does not start any longer.
$ java -version
java version "1.7.0_45"
Java(TM) SE Runtime Environment (build 1.7.0_45-b18)
Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)

When I try to start it the icon flash up in the dock but nothing else happens. Further on no useful messages appears in log - just:
30.03.14 12:36:48,231 com.apple.launchd.peruser.501[279]: (cc.arduino.Arduino.86448[1902]) Exited with code: 1

To solve the problem I have to reinstall Java 1.6. An forum post in the Microchip forum give some further information about the installation.

2013-10-26

LED RGB Strip with Web Interface - Update

After some iterations (I hope) I reach a "done" state. The current version contains the following features:
  • Web page content depends on current mode - different pages when strip is on or off 
  • Web page to configure some runtime values (see right screen shot above)
  • Fav-Icon(s)
I mounted the LED strip on backsite of a strip of wood and mounted it on the wall with magnets. On the front side I mounted the PIR module.
 

Here you can see the mounted wooden strip in our hallway.

For the electronic part of the project please look at the project site.

2013-07-26

LED RGB Strip with Web Interface

Project site

Current issue: As you can see in the video there is a small delay between clicking the button and changing the light. This only appears when using a mobile device, on my mac the delay disappears. Any hint is welcome.

2013-07-25

Wattuino - erste Schritte

Bei Watterott gibt es einen kleinen Arduino Clone: Wattuino. (Im Bild schon bestückt mit Stiftleisten.)


Für die Entwicklung/Programmierung mit der Arduino Umgebung wird noch ein Programmieradapter benötigt, z.B. FTDI-Breakout. Beim FTDI-Breakout handelt es sich um einen USB-Seriell Wandler, damit kann der Wattuino (fast) wie ein normaler Arduino in der IDE verwendet werden. Update: Ggf. muss noch ein FTDI Treiber installiert werden.


Die Verwendung in der Arduino Entwicklungsumgebung gestaltet sich mit der genannten Kombination denkbar einfach.
  • Board: Arduino Pro or Pro Mini
  • Serial Port: /dev/tty.usbserialA1017RLQ (Nummer kann ggf. variieren)


Und das war es auch schon. Die ersten Tests mit den Arduino Beispielen "Blink" und "ReadASCIIString" liefen bei mir dann auf Anhieb.




2013-07-05

LED Matrix - Part 2

Es hat mehr als 4 Jahre gedauert, bis die LED Matrix wieder zum Leben erweckt wurde (vgl. LED Matrix - Erste Versuche). Angestachelt durch weitere Versuche mit Kollegen, konnte ich die Matrix jetzt von Processing aus ansteuern.

Zum Aufbau

Der Code

Arduino/Avr-Net-Io Code

Processing Code

Ergebnis

2012-12-22

AVR NET-IO: Receive UDP packets

Some month ago I post an article about sending UDP - now it's time to write about receiving UDP.

Again my equipment is:
  • Pollin AVR NETIO Board
  • Arduino 1.0.3
  • avr-netino (Project)

Patch tcpip.cpp

To enable UDP receiving a patch of the tcpip.cpp file is needed. The patched file can be found here. You need to overwrite the original file libraries/EtherCard/tcpip.cpp with the patched one.

Arduino program

Arduino program to receive UDP packets:

Example script to send UDP

Here is a small example how to send UDP packets to avr-netio board:

2012-12-16

Stabiler Vogelhausständer

Die "dunklen" Jahreszeiten sind immer auch eine Zeit, in der ich verstärkt zum Heimwerken komme. Dieses Jahr wünschte sich meine Frau ein Vogelhaus und das brauchte natürlich auch einen entsprechenden Ständer.
Beim Vogelhausdesign habe ich mich an Anregungen aus dem Baumarkt orientiert - da mag jeder selber schauen. Fehlte noch der Ständer - der sollte entsprechend stabil sein und wegen der hiesigen Katzenpopulation eine gewisse Höhe haben.

Zum Aufbau:
  • Basismaterial: 4 Kantholz (54mm x 54mm) - in Summe ca. 4m Länge
  • daraus dann 
    • 6x Fuß bzw. Stabilisierungsstrebe (Länge ca 43cm)
    • 1x zentraler Pfosten (Länge nach Bedarf)
  • Für das Stabilisierungskreuz dann entsprechende Aussparungen einarbeiten.
  • Alles verschrauben und verkleben.

  • Schließlich noch das Holz imprägnieren.
Zeitaufwand (ohne Streichen): 2-3h

Jetzt müssen nur noch die Vögel kommen ...