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)






Monday, June 3, 2013

Arduino Web Server with ENC28J60


                         A simple page that displays the room temperature.






















 ..................................
 









Monday, May 20, 2013

Low cost Ethernet shield with ENC28J60



Microchip's ENC28J60 is a 28-pin, 10BASE-T stand alone Ethernet Controller with on board MAC & PHY, 8 Kbytes of Buffer RAM and an SPI serial interface. Target applications include VoIP, Industrial Automation, Building Automation, Home Control, Security and Instrumentation.
The ENC28J60 runs at 3.3V, while the ATmega328 runs at 5V. Normally this is a major problem,  but input are 5v tolerant . That means no level shifting is needed on the 5V lines controlled by the ATmega328 (CS, SCK, SI). The Tristate Buffer is used to shift the lines controlled by the ENC28J60 (SO, INT) from 3.3V to 5V. The lines never need to be put in a high impedance mode, so just tie the output enable line to ground."

Here is the schematic:


The PCB layout:



Here is the PCB fully populated with the parts all soldered in place:



Saturday, April 27, 2013

Component Tester

The last project that i built it is a component tester, which is based on AVR-Transistortester by Mark Frejek
And here is the modified version further developed by Karl-Heinz Kübbeler.
You'll find all firmwares and  documentation  at http://www.mikrocontroller.net/svnbrowser/transistortester/.

Here is the schematic:


 The PCB layout:

And here is the final result:



Here is a list of the parts used in this project:

PartValue
PackageDescription



C1100nF
C025_050-025X075CAPACITOR
C21nF
C2.5-2CAPACITOR
C310nF
C2.5-2CAPACITOR
C422pF
C2.5-2CAPACITOR
C522pF
C2.5-2CAPACITOR
C6100nF
C025_050-025X075CAPACITOR
C7100nF
C025_050-025X075CAPACITOR
C8100nF
C025_050-025X075CAPACITOR
C9100uF
E5-10,5POLARIZED_CAPACITOR
C1010uF
E2,5-6EPOLARIZED_CAPACITOR
D11N4148
DO35-7DIODE
D2SCHOTTKY
DO35-7Schottky Diode
D3SCHOTTKY
DO35-7Schottky Diode
D41N4148
DO35-7DIODE
DIS1TUXGR_16X2_R2
TUXGR_16X2_R2Tuxgraphics LCD display 16x2 characters reflective, with background light

IC1ATmega8/168/328
DIL28-3MICROCONTROLLER
IC3LM7805
78XXLVOLTAGE REGULATOR
ISPISP
ML6HARTING

J1POWER_JACKPTHPOWER_JACK_PTHPower Jack
JP1+9V
1X01PIN HEADER
JP2GND
1X01PIN HEADER
L110µH
0207/10INDUCTOR
L210µH
0207/10INDUCTOR
LED1green
LED5MMLED
Q1BC557C
TO92-EBCPNP Transistror
Q2BC547B
TO92NPN Transistor
Q3BC547B
TO92NPN Transistor
Q48,000 MHz
HC49/SCRYSTAL

R110K
0207/10RESISTOR
R210K
0207/10RESISTOR
R33K3
0207/10RESISTOR
R43K3
0207/10RESISTOR
R52K7
0207/10RESISTOR
R627K
0207/10RESISTOR
R7100K
0207/10RESISTOR
R8680R
0207/10RESISTOR
R9470K
0207/10RESISTOR
R10680R
0207/10RESISTOR
R11470K
0207/10RESISTOR
R12680R
0207/10RESISTOR
R13470K
0207/10RESISTOR
R1410k
PT-10SPotentiometer
R1533-270
0207/10RESISTOR
R1633K
0207/10RESISTOR
R172K7
0207/10RESISTOR
R1847k
0207/10RESISTOR
S1Start Test
B3F-10XXOMRON SWITCH


SV2TEST PINS
FE05-2FEMALE HEADER

SV3TEST
MA03-1PIN HEADER

VREF1LM336 / LM4040
TO92-VREFVOLTAGE REFERENCE
   

Software Version 1.07k Specifications:


Measurment Range: 
   -Resistor:0.5Ω - 50MΩ.   
   -Capacitor:25pF - 100000uF.
   -Inductance:0.01mH - 20H.
 Features:
  -Operates with ATmega8, ATmega168 or ATmega328 microcontrollers.
  -Automatic detection of NPN and PNP transistors, N-channel and P-channel MOSFET, diode (including dual diode),Thyristor,Transistors, resistors and capacitors.
  -Automatic detection of pin layout of the detected part.
  -Measuring of current amplifcation factor and Base-Emitter threshold voltage of bipolar transistors.
  -Detection of the protection diode of bipolar transistors and MOSFETs.
  -Measuring of the Gate threshold voltage and Gate capacity value of MOSFETs.
  -Resolution of resistor measurement is now up to 0:01 values up to 50M are detected.
  -For resistors below 2100 also the measurement of inductance will be done,
  -Capacitors with values from 25pF to 100mF. The resolution can be up to 1 pF .
  -For capacitors with a capacity value above 0:18 F the Equivalent Serial Resistance (ESR) is
measured with a resolution of 0:01Ω.
  -For capacitors with a capacity value above 5000pF the voltage loss after a load pulse can be
determined. The voltage loss give a hint for the quality factor of the capacitor.
  -Zener-Diodes can be detected, if reverse break down Voltage is below 4.5V. 
  -LED is detected as diode, the flux voltage is much higher than normal.
  -Selectable facility to calibrate the internal port resistance of port output and the zero of set
of capacity measurement with the selftest.
  -Display battery voltage

  Edit:
Component Tester schematic Eagle
Component Tester board Eagle
Component Tester bottom pdf
Component Tester top pdf
Component Tester top silkscreen pdf

Component Tester box silkscreen psd

Software