Posts | Comments

Planet Arduino

Archive for the ‘Fedora’ Category

[Mike]’s hacks aren’t breathtaking in their complexity, but they got a good chuckle out of us. [Mike], the CEO of The Useless Duck Company, lives in a hub of innovation somewhere in Canada, where he comes up with useful gadgets such as a Fedora that tips itself, or a door that locks when you’re shopping for gifts for your wife and you’re in incognito mode.

It all started when he was trying to learn the Arduino, and he put quite a few hours into making a device that could wirelessly squeak a rubber bath duck from the bathroom. The whole project reminded us of our first clumsy forays into the world of electronics, with entirely too many parts to complete a simple function. The Arduino being the gateway drug it is, it wasn’t long before he was building a bartending robot.

We hope he continues to construct more entertaining gadgets.


Filed under: Arduino Hacks

Node.js ist eine gute Alternative zur Benutzung von Breakout unter Fedora. Seit letztem August wurde das Ganze stetig verbessert (ich habe ein Kommandozeile-Interface beisteuert) und funktioniert sehr einfach, wenn node.js installiert ist.

Zuerst in das Verzeichnis Breakout/node_server wechseln und die benötigten Komponenten installieren.

$ npm install

Mit dem gewünschten seriellen Port und dem Pfad zum Wurzelverzeichnis der Beispiele starten:

node server.js -p /dev/ttyACM0 -d ../
   info  - socket.io started
Server is running at: http://localhost:8887 -> CTRL + C to shutdown

und ein lauffähiges Beispiel, Hello World für node, ansehen.

Leider brauchen die anderen Beispiele eine Änderung, damit sie mit node funktionieren. Folgendes muss eingefügt werden:

<script src="../../socket.io/socket.io.js"></script>

May
27

Breakout.js und node.js

arduino, Fedora, General Comments Off on Breakout.js und node.js 

Node.js ist eine gute Alternative zur Benutzung von Breakout unter Fedora. Seit letztem August wurde das Ganze stetig verbessert (ich habe ein Kommandozeile-Interface beisteuert) und funktioniert sehr einfach, wenn node.js installiert ist.

Zuerst in das Verzeichnis Breakout/node_server wechseln und die benötigten Komponenten installieren.

$ npm install

Mit dem gewünschten seriellen Port und dem Pfad zum Wurzelverzeichnis der Beispiele starten:

node server.js -p /dev/ttyACM0 -d ../
   info  - socket.io started
Server is running at: http://localhost:8887 -> CTRL + C to shutdown

und ein lauffähiges Beispiel, Hello World für node, ansehen.

Leider brauchen die anderen Beipiele eine Änderung, damit sie mit node funktionieren. Folgendes muss eingefügt werden:

<script src="../../socket.io/socket.io.js"></script>


  • Newsletter

    Sign up for the PlanetArduino Newsletter, which delivers the most popular articles via e-mail to your inbox every week. Just fill in the information below and submit.

  • Like Us on Facebook