MobileRelays – enc28J60 and Arduino (21)

Today’s project, as always based on the enc28j60 ethernet controller, allows to toggle relays (or, generally, digital PINs) using a responsive web page, that is a page that automatically adapts its layout to devices with different screen sizes (for example your smartphone and your PC). Video presentation Web site The web site, stored on an SD card and…

Yún – Toggle a LED via web

In my previous tutorial you learned how a sketch, running on the Arduino Yun’s ATMega chip, can execute processes (commands, scripts…) on Linino thanks to the Bridge library. In this tutorial you’ll learn how to do the opposite: send commands from Linino to the sketch that runs on the microcontroller. YunServer & YunClient In my sketch I’ll use two objects from the Bridge library: [checklist] YunServer,…

Yún – SMS alarm

This tutorial will explain a way to communicate between the sketch running on the ATMega and the Linino (Linux) OS running on the Yun’s SoC: the ability to execute Linux processes from a sketch. I’m going to build a simple SMS alarm: A microswitch is connected to the Arduino when the microswitch is pressed, an SMS is sent using Skebby gateway…

Piccolo, a tiny CNC bot

Piccolo is an opensource project, by Diatom Studio, that consists of a small CNC bot (working area about 5x5cm); the official site is http://www.piccolo.cc. I built one unit; the required components are: [checklist] the frame, laser cut by Vectorealism 3 micro servos, brought from HobbyKing screws, nuts… the PCB (manufactured by SeeedStudio) and one Arduino Pro Micro from SparkFun [/checklist]   the…

AmbientMonitor – W5100 client

Some time ago, I published my AmbientMonitor project: a thermometer and hygrometer based on Arduino and an AJAX web interface. To connect Arduino to the network I chose a shield based on the ENC28J60 chip; Danny Kimbler sent me a sketch that instead uses the official shield (W5100 chip) and the DS18B20 temperature sensor: I published his sketch in my Github’s repository, let’s describe some code:…

SDWebServer – enc28J60 and Arduino (20)

In the previous blog post, you learned how to send big files (html pages, images…) with your ENC28J60 shield. Today I’m going to show you a complete webserver! Description The user’s browser sends a request, through the network, to the ENC28J60 module. The request is analyzed by the sketch that is running on the Arduino, which also prepares the…

Inno-hit tablet repair

A colleague asked me to try to repair his tablet, an Inno-hit IHA C0707A. The tablet had a problem with the power switch, moreover the internal speaker wasn’t working. After having opened it, I noticed that the speaker’s wires were disconnected from the main board and the power switch was broken:   First I tinned the wires…

FTDI drivers and counterfeit chips: warning!

FTDI are widely used in electronic devices, in particular for USB-serial adapters. In the past some blogs reported that on the market there were many counterfeit chips, that are chips labeled as FTDI but manufactured by other companies. A deep analysis shows several differences between the original and the fake chips. In the last few days on different forums (Arduino, EEVBlog, Hack’a’Day…)…