Convert Optical Mouse into Arduino Web Camera

Posted on by

Optical mouse uses a small camera that records surface to calculate movements of the mouse.
In this tutorial I will show you how to display video signal of this camera in your browser.

The mouse I took apart was an old Logitech RX 250 which contains ADNS-5020 optical sensor.
This sensor records 15x15 pixel images in grayscale. It also calculates X-Y movements of the mouse.

Arduino Web Camera

Continue reading...


Fast analogRead with Arduino Due

Posted on by

Since the day that I got my Arduino Due I had an idea to use it as a cheap oscillosope.
84MHz main clock was very promising but when I tried analogRead I was dissapointed to see that it needs 40uS for one conversion.

I guess It could be useful for signals up to 1kHz:

arduino due analogread

I knew there must be a better way so I went digging...

Continue reading...


Remote logging with Arduino and Node.js

Posted on by

In this tutorial I will show you how to save sensor data remotely with Arduino and Node.js. We will accomplish this with Arduino, Ethernet Shield and computer/server.
The basic idea is to set up UDP stream from arduino to remote computer where we have Node.js udp server writing data into a file.

Continue reading...