Eagle PCB Library Atmega8 TQFP32

The Atmega8 TQFP32 package that is mostly available, for Eagle PCB, has the pins too thick to be handled in DIY or Homemade PCBs. The Atmega8-AI package in the attached library has been modified such that the pins are wide enough for proper placement/soldering of the chip and thin enough so that there is sufficient room between two adjacent pins while soldering the chip by hand.

Atmega8 TQFP32

 

 

Eagle Library for XC6210 LDO Voltage Regulator SOT-89-5 Package

XC6210 is a LDO Voltage regulator from Torex Semiconductor. It is available for various preset voltages starting from 0.80V to 5.00V at 0.05v increments. It is capable of delivering 700mA. The 3.3v version has typical drop of 70mV at 100mA. Here is the datasheet attached.

The chip is a bit delicate, I damaged two chips while soldering back after desoldering. And strangely in both cases the same pin broke.

The attached eagle library is for the SOT-89-5 package – XC6210 SOT-89-5 Eagle Library

Eagle PCB Library for MCP1826 SOT-223-5 Package

MCP1826 is a LDO Voltage Regulator from Microchip. Here is the datasheet attached. It comes in various packages. It comes in various configurations. The attached Eagle Library is for the SOT-223-5 package. That package has 6 pins including the tab and has “Chip Enable” and “Power Good” function. It is capable of delivering 1A. And at 1 amp the drop will be typically 250mV.

MCP1826 Eagle Library

Arduino and Cayenne using USB

If Cayenne library is not available in your Arduino IDE library list then update your Arduino IDE.

The steps for connection and setting up are available in the Cayenne (mydevices.com). After connecting the Arduino using USB, a batch/script file needs to be run on the system, otherwise Cayenne will not be able to connect to Arduino.

Windows: 
> cd C:\Users\<uername>\Documents\Arduino\libraries\Cayenne\extras\scripts\
> cayenne-ser.bat -c COM21  // Replace COM21 with your Serial Port number to which Arduino is connected.

Linux:
I haven't tried this on Linux system yet.
The script file name for linux is cayenne-ser.sh

The script needs to be stopped before transferring binary (codes) to the Arduino else, Arduino IDE will complain – port busy or not accessible.

 

DHT 22 or AM2302 – Temperature and Humidity sensor

Mostly made by Aosong. Here is the datasheet. The library from Adafruit on GIT works  fine.  The library has been attached here also in case the GIT one is not available for any reason.

There are example codes in the library. Wiring the module is pretty simple.

DH-11

The module works on 3.3v – 5v and uses I2C for communication.

As per the datasheets the module will malfunction under harsh conditions and contamination. But it may recover if left for sometime.

DHT 11 – Temperature and Humidity sensor

Mostly made by Aosong. Here is the datasheet. Libraries are little rare and seems to be bit old. But this one on GIT is working fine.  The library has been attached here also in case the GIT one is not available for any reason.

There are example codes in the library. Wiring the module is pretty simple.

DH-11

The module works on 3.3v – 5v and uses I2C for communication.

As per the datasheets the module will malfunction under harsh conditions and contamination. But it may recover if left for sometime.