Tagged Questions
0
votes
0answers
44 views
Arduino turns off when connected to ATtiny85
When I plug my Arduino to my ATtiny85 like this:
As soon as both +5 and GND pins are connected the Arduino lights fade and turn off?
2
votes
1answer
273 views
Arduino Uno to ATtiny44A I2C communication
I tried to make I2C communication from Arduino Uno to ATtiny44A.
Uno as Master and Transmitter code:
...
5
votes
1answer
98 views
ATtiny84 resets on high load
I'm using a ATtiny84 and with three 74HCT595 serial to parallel converters to drive 24 LEDs. Every thing works fine, but when I try to light up more than 10 LEDs at the same time, the ATtiny84 program ...
2
votes
3answers
212 views
Attiny44A Arduino Multitasking
I am trying to blink a led as well as switch a motor on/off parallely using attiny44A below is my code:
Pump Controller:
...
1
vote
0answers
294 views
ATTiny85 to power two RGB LED strips
Currently I am trying to control two RGB LED strips with an ATTiny85 microcontroller that I programmed with an Arduino Uno. The program I have basically fades the two LED strips between blue and ...
0
votes
3answers
127 views
attiny44a 12 MHz external crystal
I am having this configuration set in my arduino uno: Programming ATtiny84 / ATTiny44 with Arduino Uno
I have even uploaded the blink LED program(using arduino sketchbook) and it works great at 8 ...
2
votes
1answer
127 views
Decoupling issue with DC Motor?
I have the following circuit :
That's basically everything, excepted a button on DC1 to turn on/off the motor, but shouldn't impact.
The problem is, I was prototyping with the DC Motor on the ...
0
votes
1answer
511 views
Program ATTiny45 with Atmel Studio and Arduino ISP
Is it possible for me to somehow upload the application I have written with C++ in Atmel studio with the Arduino ISP that I can use in the Arduino ide. I have no idea how to do this and I also have no ...
0
votes
1answer
491 views
Arduino-tiny Attiny45 PWM pins not working properly?
I am trying to use an Attiny45 as an Arduino such as here http://www.forkrobotics.com/2012/04/run-arduino-code-on-an-attiny/ using the Arduino-tiny cores. Now according to the diagram on the site pin ...
3
votes
2answers
1k views
Arduino as ISP for ATtiny
I am attempting to use an Arduino Duemilanove as a tool to program an ATtiny85 from the Arduino IDE.
I was using the instructions at ForkRobotics which are ...
Upload ArduinoISP sketch to Arduino
...
2
votes
2answers
1k views
Problem programming ATTiny85 “Invalid device signature.”
I am trying to program ATTin85 using Arduino
I used the hardware support file from "High-Low Tech"
here http://hlt.media.mit.edu/?p=1695
With this schematic:
After downloading the ArduinoISP ...
1
vote
0answers
1k views
How to wire a button for input on an Attiny85 using Arduino code?
I am trying to "shrink" my arduino project to an Attiny85. But for some reason I cannot get an input button to work on the Attiny85? To simply the circuit and to make sure I didnt make a mistake ...
3
votes
2answers
218 views
In search of a component or device that switches multiple lines based on input selection
Okay so the foundation for my curiosity is that in dealing with Arduinos, I found they can be used to program the similar but smaller ATtiny chips. This is the main hookup configuration that some of ...
6
votes
3answers
2k views
What can't the ATtiny do that the Arduino can?
Inspired by this Make Magazine youtube video, I would like use the ATtiny chips instead of the Arduino for most of my projects. The video author warns that some Arduino functions won't work on the ...
2
votes
2answers
2k views
How many external interrupts has attiny85?
The title is quite self descriptive. I ask this question because I found contradicting information in the atmel web page. I need two external interrupts to control one rotary encoder. One interrupt ...
1
vote
1answer
222 views
Alternative to Arduino tone() method
Is there any easy easy way to play tones on a piezo buzzer with the Arduino other than the built in tone() method? I only need to call it a couple of times, but I notice that when I use it there is an ...
2
votes
2answers
493 views
Memory management problems with ATTiny85
The setup is as follows:
I have a little program to drive single color 8x8 led matrix using 595 shift registers that are supplied with data by ATTiny85 through USI as SPI Master. I upload program to ...
1
vote
1answer
94 views
arduino-tiny: change TIMER_TO_USE_FOR_MILLIS from sketch
In the arduino-tiny core, is it possible to change TIMER_TO_USE_FOR_MILLIS in the sketch itself? I want to be able to leave my arduino-tiny install stock but swap the timers just for one sketch.
...
2
votes
2answers
1k views
How to connect ATTiny45 to Arduino via serial/spi/i2c and send data?
I am trying to create a smart alarm system for my house. I want to have one arduino as the master and several other AtTiny's as slaves to collect data as temperature, moisture, gas concentration, ...
3
votes
1answer
285 views
Using Prescaler above 64 on ATTiny45
I'm trying to setup Timer0 on an ATTiny45 using the arduino-tiny core. TIM0_COMPA_vect works fine for prescalers 1,8 and 64, but 256 and 1024 cause the ISR to not fire. I am running the chip at 1MHz.
...
2
votes
3answers
638 views
Short String overflows.text area on ATtiny85, Arduino IDE
I'm using the Arduino IDE with arduino-tiny (https://code.google.com/p/arduino-tiny/) on an ATTIny85. My code is maxing out the RAM, or so it seems:
Adding a ...
2
votes
2answers
538 views
ATtiny85, ARduino IDE, TinyDebug: Error sending int values
The setup:
An ATtiny85 is programmed using the Arduino IDE, it is supposed to read the ambient light from an LDR and turn on/off an LED accordingly. To get a better understanding of what my sensor ...
0
votes
0answers
31 views
avrdude - stk500_cmd(): programmer is out of sync [duplicate]
I am trying to upload a hex file using the ISP sketch on my Arduino to use it as a programmer to program my ATtiny85, but I keep getting error messages from avrdude. After some researching I figured ...
1
vote
0answers
1k views
avrdude error - stk500_paged_write() protocol error
I am using my Arduino Uno as a programmer to program my ATtiny85. I uploaded the ArduinoISP sketch to my Uno. I double checked my wiring, did some googling, but I still can't figure out why I get this ...
2
votes
2answers
2k views
avrdude error - stk500_getsync(): not in sync: resp=0xff
I am using my Arduino Uno as a programmer to program my ATtiny85. I uploaded the ArduinoISP sketch to my Uno. I double checked my wiring, did some googling, but I still can't figure out why I get this ...
1
vote
1answer
216 views
programming an attinya13 with arduino mega2560 (blink sketch load wrong, led stays on)
I'm trying to program an attiny13a with an arduino mega 2560I load the blink sketch, and avrdude says it uploads completely, but the led on the attiny13a doesn't blink, it just stays on (it's ...
5
votes
2answers
1k views
ATTiny85 not working after burning bootloader
I am having a problem with my ATTiny85. I should mention I use Arduino as an ISP to program it.
My ATTiny worked fine until I decided that I need to step up the clock speed from 1MHz to 20MHz so I ...
2
votes
3answers
892 views
AVR AtTiny84 is stuck on 128kHz clock, avrdude + Arduino as ISP can't reach it
While experimenting with the power consumption of different clock rates by setting fuse bits, I seem to have irreversibly programmed an ATTiny84 chip to the 128kHz internal oscillator, and now avrdude ...
5
votes
4answers
1k views
ATtiny2313 refuses to be programmed after setting CPU clock to 500kHz
The other day I was writing a program for an ATtiny2313. Once it worked I decided to test it at the various clock speeds that are available and programmed through setting the LFUSE as described on ...
1
vote
0answers
354 views
ATTiny Default AREF
I am trying to get the Adafruit Electret Microphone Amplifier to work with an ATTiny85 but am having some trouble with the reference voltage.
I am using a 5V circuit because I am also powering a strip ...
5
votes
2answers
3k views
SPI.h for ATTiny
Is there a different implementation of the Arduino SPI library that can be used for the ATTinyX5 series? I assume, partly because I believe the ATTiny SPI is provided via USI... I got the environment ...
3
votes
3answers
1k views
Ethernet shield-like functionality for ATTINY IC
I'm looking to shrink-ify my arduino project in the future, and I was wondering if there's anything like an all-in-one 'tiny' ethernet board that'll work with an attiny chip, preferably with the ...
1
vote
1answer
431 views
Multiple masters for i2c device
I have a DS1307 RTC chip that I want to interface with multiple masters.
One, an ATMega chip, will only ever really need to pull time data from the chip and the other (probably just an ATTiny) will ...
2
votes
1answer
672 views
Use unused SPI MISO pin for I/O on ATTiny
I want to use an attiny85 for a project that will be controlling some LEDs over a pseudo SPI that only needs to use SCLK and MOSI. Is there any way to reconfigure pin 6 (MISO) on the 85 to be used as ...
6
votes
2answers
1k views
Problem shrinking Arduino project to ATtiny 85 20MHz
This is a similar problem as this one: Programming an ATtiny 85 with Arduino
However the latter question refers to older software/arduino and did not reach a resolution.
I'm using Arduino 1.0.1 ...
8
votes
2answers
2k views
Need help understanding AVR ATMEGA / ATTINY timer mirrored output
I am trying to use Timer1 of Atmel AVR microcontroller, either AtMega328 as used in the Arduino, or the ATTiny85, to output two clock signals which are mirror images of each other. The frequency I am ...
2
votes
4answers
2k views
ATTiny25/45/85 as I2C master AND slave
I'm still trying to wrap my head around I2C as well as the ATTiny. I've found plenty of tutorials on how to use the tiny as an I2C slave as well as master, but is it possible to use it as both at the ...
1
vote
1answer
1k views
Programming ATtiny84 using Arduino (leonardo)
I am trying to program the Attiny84 using an Arduino(Leonardo). I have seen this Shrinkify video. -and I have been following this Programming tuturial.
I have connected everything. Using Arduino ...
5
votes
4answers
4k views
Programming an ATtiny 85 with Arduino
I followed this tutorial and got the following error when trying to compile upload the attiny85 sketch:
avrdude: usbdev_open(): did not find any USB device "usb"
...
5
votes
1answer
491 views
Safety of powering 5V circuit of 240V main outlet using adapter
I have created a circuit using an ATTiny that will need constant power. I was thinking of using one of the 240V to 5V USB adapters that come with many phones to power this circuit.
Will I need to put ...
6
votes
1answer
1k views
Why does my ATtiny13 report wrong device ID?
I am using an Arduino (with ATmega168) as an ISP programmer to program ATtiny13. When I try to do this, avrdude reports:
...
1
vote
3answers
2k views
Changed fuses on ATtiny85, now Invalid Device Signature
I changed the clock fuse bits on my ATtiny85. Now I can't flash anything to it or even change the fuse back. I get the error:
...
8
votes
1answer
1k views
Can an ATmega or ATtiny device signature be read while running?
While programming an ATtiny or ATmega, avrdude prints the device signature, in this example it is an ATtiny.
avrdude: Device signature = 0x1e910a
Can I read this ...
3
votes
2answers
250 views
Append source code to flash image when programming an AVR
Is it possible for Arduino / ATmega / ATtiny when programming the device to attach the C source code at the end the machine code flash image? That way if I have the device, I can always retrieve the ...
3
votes
4answers
390 views
Selecting the right microcontrollers for this project (Arduino based)
I'm thinking about buying some Arduino development kits to migrate from my actual development platform (picaxe) to Arduino. I want to buy just what I need to develop my next project, but taking in ...
3
votes
2answers
2k views
ATTiny85 and USB with Android?
I have developed an Android app which talks to an Arduino Mega through USB.
The C code is 1.8kb and will fit on an ATTiny85 chip in order to shrink the circuit to almost nothing. The problem is...
...
5
votes
5answers
9k views
Best way to send sensor readings over simple RF connection
I have bought a pair of simple 315MHz TX/RX modules. I want to use these to connect a battery powered ATTiny85 to an Arduino base station. The ATTiny needs to regularly wake up and send a sensor ...
0
votes
1answer
800 views
Correct way to wire an Alpha TX433S/RX433S
I would like to deploy some wireless, battery powered sensors around my house that will wake up regularly and send readings to an Arduino base station receiver. To keep the cost per sensor low I have ...
15
votes
6answers
10k views
How do I set the clock speed fuses on an ATtiny85 when using an Arduino as a programmer?
I'm following this tutorial, programming the ATtiny85 with an Arduino, using it to play some tones (through a piezo speaker). I'm struggling with getting the tones at the right pitch (I'm creating the ...
12
votes
2answers
6k views
Serial newbie: why can't I just hook the wires up?
I'm trying to transmit from an ATtiny85 to a PC using Arduino-esque code over a USB-Serial converter without understanding very much of anything. I was shocked and appalled that it did not work.
I ...