Posts | Comments

Planet Arduino

Archive for the ‘Mac’ Category

Need to hook a classic Mac mouse up to your modern machine with the help of a DIY USB adapter? [John Floren] has you covered. [John]’s solution uses a board with an ATmega32U4 microcontroller on it to connect to the Mac mouse on one end, and emulate a USB HID (Human Interface Device) on the other. A modern machine therefore recognizes it like it would any other USB input device.

Why is this necessary? The connector on the classic Mac mouse may look like a familiar DE-9 connector, but it is not an RS-232 device and wouldn’t work if it were plugged into a 9-pin serial port. The classic Mac mouse uses a different pinout, and doesn’t have much for brains on the inside. It relies on the host computer to read its encoders and button states directly.

This project is actually a bit of an update to a piece of earlier work [John] did in making a vintage Depraz mouse work with modern systems. He suspected that it wouldn’t take much to have it also work with a classic Mac mouse, and he was right — all it took was updating the pin connections and adding some pull-up resistors. The source code and design files are on GitHub.

Even if one does not particularly want to use a classic Mac mouse for daily work, there’s definitely value in this kind of thing for those who deal in vintage hardware: it allows one to function-check old peripherals without having to fire up a vintage machine.

Dec
22

Generare chiavi SSH

keypair, Linux, Mac, Programmazione, RSA, Software, ssh, terminal Comments Off on Generare chiavi SSH 

In questa breve guida vi illustrerò brevemente come generare delle chiavi SSH per utilizzarle sui vari servizi on-line oppure sui vostri server nel caso vogliate aumentare il grado di sicurezza nella comunicazione. Generare una chiave SSH su GNU/Linux, MAC OSX o altri *nix based è un processo semplice se si seguono attentamente questi piccoli passi: [...]
Dec
13

Python e la linea di comando

command, execute, Linux, Mac, popen, Programmazione, python, shell, system Comments Off on Python e la linea di comando 

Scrivo questo breve post spinto dalla voglia di provare ciò che ho appena scoperto sul blog di WordPress e cioè come formattare meglio il codice postato, speriamo che funzioni. Tornando al post, come da titolo, sicuramente vi sarà capitato di lanciare dai vostri script qualcosa sulla linea di comando, e chissà quante volte avreste voluto [...]
Dec
05

Apple Mail – Organizzare i Feed RSS in cartelle

Apple, Feed, Leopard, Mac, mail, Mailbox, RSS, Software Comments Off on Apple Mail – Organizzare i Feed RSS in cartelle 

Finalmente dopo non so quanto tempo ho deciso di riorganizzare i miei Feed RSS, che al momento erano buttati a casaccio in Mail. Ho provato a cliccare qua e là ma alla fine mi è toccto cercare in Google e l’ho trovato. In Leopard (10.5) possiamo organizzare i nostri Feed in cartelle come nella sezione [...]


  • 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