ATtiny Arduino

Used the MIT instructions

Initially I was using the barebones arduino I built as a programmer but was getting error such as

arduino avrdude: please define PAGEL and BS2 signals in the configuration file for part ATtiny45 
avrdude: stk500_initialize(): programmer not in sync, resp=0x15 
avrdude: please define PAGEL and BS2 signals in the configuration file for part ATtiny45 
avrdude: verification error, first mismatch at byte 0x0000          0x26 != 0x00 
avrdude: verification error; content mismatch

The barebones arduino I created is not currently meant to do this kind of stuff so I used a regular arduino board and followed the intructions and it worked however there a were few errors on the upload such as

arduino avrdude: please define PAGEL and BS2 signals in the configuration file for part ATtiny45 

I used the attiny45-20pu

In the arduino IDE under Tools->Board
I selected ATtiny45(internal clock 1MHZ clock) because the other speeds worked but the blinking led time was off.

I created an ATtiny programmer arduino breakout board off this project which can be purchase here on this site or on ebay.

attiny13a chip tutorial

Arduino on Breadboard troubleshoot, the importance of Capacitors

I have an Arduino on a breadboard and having an issue with the voltage on the digital pin 13 outputing an low voltage when connect to a volt regulator.  Why is this happening? because when the breadboard is connected to an Arduino UNO power that is connected to the same power supply it works perfectly fine.  See images and descriptions below.  Thank you for the help.

Notes:
Power wires are connected at the bottom of the breadboard
Components:

Arduino on breadboard
Power Jack
9v – 300mA Power
L7805CV 5voltage regulator

Arduino Code:
Set to output LIGHT ON on digital pin 13

DSC02219
The voltage on the rails when breadboard is connected to power is 5 volts

DSC02221
The voltage on digital pin 13 when connected to power is 0.370 volts (why?)

 

DSC02222
The voltage on the rails when connected to arduino power is 5 volts

 

DSC02223
The voltage on digital pin 13 when connected to arduino power is 4.74 volts

Why is the voltage on digital pin 13 not the same when connected to an Arduino Uno Power to an Power supply using a voltage regulator?

 

Answer:
Its very important to add a electrolytic capacitor to the input and output caps of the voltage regulator because this will help SMOOTH out the ripple the battery pack/regulator is putting out.

I only added a 22uF electrolytic capacitor to the rails and it worked.  See picture below.

DSC02224 copy

Reference

Include in Arduino IDE

I navigated the web and could not find where to put my custom libraries for it to work in the Arduino IDE. I kept getting the error message “No such file or directory”

After long head smashing I was able to locate the directory path in windows.

C:\Program Files\arduino-1.0\hardware\tools\avr\avr\include

By putting your header.h file in this directory all you need to do is call it in your script like

#include “hearder.h”
or
#include <header.h>

or for much easier method have the the script located in the same folder as the arduino sketch and when the arduino sketch is open so does the script in the IDE

or import thru gui

To import library put in the folder
C:\Program Files\arduino-1.0\libraries

Start of ecommerce

Today I finally setup my ecommerce site.  The home page takes you directly to my first product sale the ATMEGA328-PU with Arduino bootloader.  Its quite simple page because I wanted to launch it ASAP and update frequently.  If you interested in buying an ATMEGA328-PU for your Arduino go to the home page and click the buy now button.  Its the cheapest price in the world guaranteed, $2.00 per chip with free shipping.

Setting up driver for Breakout Board for FT232RL USB to Serial

Read the explanation
http://www.ftdichip.com/FTDrivers.htm

I picked VCP Driver
http://www.ftdichip.com/Drivers/VCP.htm

Download the Windows* driver .zip
http://www.ftdichip.com/Drivers/CDM/CDM%202.08.24%20WHQL%20Certified.zip

extracted the zip to my desktop

Went to my device manager
Location: Control Panel\System

Found the device under “Other devices”

Right clicked on “USB Serial Port”

Selected “Update Driver Software”

Selected “Browse my computer for driver software”

Browsed to the extracted folder on my desktop
C:\Users\Desktop\CDM 2.08.24 WHQL Certified

Clicked next

Then wala, your done, its installed

tags:
step by step, installing drivers, arduino, breadboard, bearbones