Wednesday, July 2, 2014

Sensor shield for Arduino





Because i want to connect multiple sensors and servo motors to an Arduino, i make myself a shield that allow me to do that.
This shield board plugs on top of an Arduino and makes it easy to connect to all the digital and analog inputs and outputs.
This shield is compatible with:
-analog and digital sensors,
-servo motors,
-serial displays,
-ultrasonic sensors,
-serial bluetooth modules,
-i2c sensors and module,
-GPS receiver,
-growe modules,
-buttons, potentiometers, ...




Parts list:
homemade pcb,
2 pcs. 6 pin stackable connectors,
2 pcs. 8 pin stackable connectors,
12 pcs. 4 pin pinhead connectors,
8 pcs. 3 pin pinhead connectors,
20 pcs. 100nF smd ceramic caps (optional, not required to place all)

Arduino compatible Attiny85 USB Stick



This board is compatible with Digispark and Trinket version of arduino software
.
For this I upload micronucleus tiny85 bootloader using an usbasp programmer before I soldered attiny cip on the board.For connecting and programming see: http://digistump.com/wiki/digispark/tutorials/connecting
For uploading bootloader you can use arduino as programmer.

Parts list:
Attiny85 microcontroller,
2 pcs 3.6v zenner diode,
2 pcs 27 ohm resistors,
1.2 k ohm resistor,
2 pcs 100nF capacitors,
1 low dropout schottky diode,
2 pcs 6 pin female connector,
USB a male connector.

All pins can be used as Digital I/O
Pin 0 → I2C SDA, PWM
Pin 1 → PWM
Pin 2 → I2C SCK, Analog
Pin 3 → Analog In (also used for USB)
Pin 4 → PWM, Analog (also used for USB)
Pin 5 → Analog In ( if reset is disabled)