ATtiny is a family of small, low-power 8-bit RISC microcontrollers from Atmel. Commonly found in smaller Arduino prototyping platform boards and projects.

learn more… | top users | synonyms

0
votes
1answer
35 views

Servo control with 555 timer

first of all this is for an assignment so I have certain limitations, mainly cost. The problem I'm having is I have run out of PWM inputs on my ATtiny45 but I still want to drive a servo. The two PWM ...
0
votes
1answer
36 views

AtTiny85 reading from PIN

First, I'm kinda new to this AVR world, please don't be too hard. I'm running into a very simply problem. I'm trying to use the ATTiny85 inside the Arduino framework, but without the Arduino ...
0
votes
1answer
22 views

Digispark Attiny85 dev-board - Program via USB or UART/serial converter?

How do I program those Chinese ATtiny85 Digispark clones? Are they programmable via USB or do I have to use a USB to serial converter to program them? For example, this unit.
0
votes
4answers
79 views

Side effects of running an attiny13a directly on 9v

I'm doing a simple children's workshop in which they will build a small musical instrument on a breadboard with an attiny13a, ldr and a led. Right now it's powered by a 9v block and a regulator. ...
1
vote
1answer
40 views

ATtiny26l won't work without programmer

I'm running a simple program on an ATtiny26l but if i disconnect my AVRISP MK2 programmer it stops working completely. I'm supplying 5.4v to both VCC and AVCC pins (chcecked voltage).If i reconnect ...
0
votes
2answers
166 views

Difference and compatibility between AVR xxxA and xxx/xxxV series [duplicate]

This is kind of two questions(difference & compatibility), but since an extensive answer to the latter will probably include an answer to the former, I think it's okay. Anyway, on to the ...
2
votes
1answer
72 views

How many mV ripple in DC is okay for powering an ATTINY?

I need to power an attiny85 from an MC3306A, and in order to calculate the values for the circuit I need to know the ripple I desire, what ripple mV is alright for an attiny to happily chug along?
0
votes
1answer
137 views

What is needed to store readable/writable data to flash/eeprom [closed]

I am wanting to add some readable/writeable memory to my ATmega8/attiny project where I can store data, recall the stored data, then overwrite the stored data. The stored data must be able to be ...
0
votes
1answer
56 views

Build remote wireless Wake-Up with Attiny85

I'm building a ultra-low-power system (mainly composed by an attiny85) that's in sleep state most of the time in order to extend battery life. I was wondering if there was any hack to wake up the ...
2
votes
7answers
138 views

No batteries power method (induction, motion, heat etc)

I am using an ATtiny85 to sleep for a long period of time, collect some data, send it over radio, and go back to sleep, after disabling everything possible. The ATtiny is currently powered by a coin ...
0
votes
2answers
77 views

Should I use an LP2953 to power an ATTiny85 with a 12v battery?

Like a lot of people I'm building a little transmitter unit with one of those cheap 433mhz transmitters and an ATTiny85, and I am having a problem with the power supply. Actually it is only the power ...
0
votes
1answer
69 views

Please review my board design

This is a follow up to my question from yesterday about my schematic Please review my RGB Controller I've fixed the incorrect DC jack component that was present in my previous question, along with ...
1
vote
2answers
81 views

What to do with USB power and ground when you have an external power supply?

I have a externally powered USB device. (It's actually my old VIC-20 computer, sort of) USB data is handled by an ATTiny85. The USB interface is based upon the V-USB easylogger. The ATTiny85 ...
-2
votes
1answer
70 views

Writing fuse-bits with HV programmer doesn't work

I bought 40 attiny13a chips from china but after receiving them, I couldn't program them with my USBasp programmer. I tried all of them with the same result - chips did not respond to the programmer. ...
1
vote
1answer
172 views

Getting ADC readings after waking a ATTiny85

I have this little project of mine that involves putting a ATTiny85 to sleep to save power. The main idea is to: 1- Putting ATTiny85 to sleep, including deactivation of the ADC 2- Wake-up MC on pin ...
0
votes
1answer
60 views

Controlling a servo with Attiny85 OCR1B

I currently have a project where I need to control a servo using OCR1B. I already figured out how to use one with Timer0, but I can't use that for this project though. So, my questions are: - How ...
2
votes
1answer
46 views

Best method of packet transmission between an array of sensor nodes?

Currently I'm working on a project where I'll have an array of four sensor nodes, each with three sensors. These sensor nodes need to send their data back to an ATMega controlled board for processing, ...
2
votes
3answers
126 views

DIY Christmas Tree LED Ornament – Adding SMD Switch to power on ATTiny45 and Wiring Tag Connect to Attiny

I have taken the Open Source Christmas Tree Ornament project from Brian Schulteis and put it on GitHub under newmatik/Weihnachtsbaum (please Fork!) with a couple of modifications: Added 20mm cell ...
0
votes
1answer
80 views

In-place programming of ATtiny85

I've been playing around with an idea for a little hand-held gaming device using a Nokia 5110 screen and an ATtiny85. The ATtiny is programmed using my Genuino UNO as ISP. I was wondering if it's ...
0
votes
2answers
99 views

Running Nokia 5110 with 3 pins

I recently received a Nokia 5110 LCD screen and have hooked it up to my Uno and got it displaying stuff. I'd like to try using it in a project with an ATtiny85 and found some resources to that ...
0
votes
2answers
136 views

“If” wrong interpreted when ADC=1023?

My code on ATtiny13A: ...
0
votes
2answers
33 views

RFM only works if i touch power supply line

I have a small system with a ATtiny84 and an RFM12B module that transmits data. The thing is it only transmits when i touch both GND and +VCC.. no matter what component it is on. Do i need mere caps ...
1
vote
2answers
73 views

Applying 2 x 12V to same component

The fan in my car dosen't turn on automatically anymore when the car gets too hot, but it will turn on when i switch on the A/C. So what i had in mind was to place a temperature sensor in the coolant ...
3
votes
3answers
110 views

How to avoid Attiny84 being powered on by a pulled up data line?

I've developed a simple sensor board based on the Attiny84a microcontroller which is able to communicate over a serial connection. I'm using an arduino bootloader and the SoftwareSerial library on ...
2
votes
1answer
85 views

ATtiny measuring voltage for battery charger

Would it be possible to use adc with the reference voltage at ground, to determine the voltage of say a battery? I was thinking of creating a battery charger with the attiny for automatic cutoff and ...
1
vote
0answers
106 views

Debounce a wake from sleep switch & long press registration AVR

Working on an ATTINY85 project which sends wall switch triggers over RF to a home automation server. They are battery powered, so I have them in sleep mode with the ...
3
votes
1answer
88 views

AVR PWM timer frequency

I'm learning how to use an Attiny84. I've generated a fast pwm signal. I managed to understand how to do this: ...
1
vote
2answers
243 views

Attiny85 (Pin 5 / reset) is always high

I have a couple Attiny85 based USB development boards (or rather, cheap Digispark clones from Ebay). The pin 5 seems to be always at high, no matter what I do. I am suspecting the manufacturer didn't ...
0
votes
1answer
211 views

Using an Adafruit Trinket 3.3v with a TIP120?

I'm new, so please go easy! I'm trying to use a TIP120 transistor as a switch in conjunction with an Adafruit Trinket Pro 3.3v. According to the documentation for the Trinket, the GPIO pins should be ...
1
vote
4answers
132 views

Read AVR watchdog timer

AVR Watchdog timers. Is there any way to read the watchdog timer from within the code? Intended use case: To get an approximate idea (very rough, +/- 1sec) of how long it has been since the ...
3
votes
0answers
50 views

Can Two Or More ATTinys Share One External Crystal? [duplicate]

I've got two I2C Slave ATTiny85 chips both running at 16MHz with external crystals. Can they both share a single crystal with the 22pf caps? Is there anything wrong with this? I don't have any free ...
3
votes
2answers
293 views

Subtle difference between ATtiny parts?

I want to purchase 20 MHz ATtiny85 chips in SOIC-8 on a full reel from Mouser. I found these two variants: ATtiny85-20SUR ATtiny85-20SHR I have studied the specifications but cannot for the life ...
0
votes
1answer
228 views

ATTiny85 Not responding to anything (Arduino UNO as programmer)

I'm trying to program 8 ATTiny85's I purchased from ebay but I can't seem to get any response from them. I have tried following several guides and even tried to use High Voltage Serial Programming ...
1
vote
1answer
309 views

ATTiny 841 PWM at 450kHz

I have managed to output 500kHz PWM at 50% duty cycle on PA2 TOCC1 of ATTiny841. ...
0
votes
1answer
50 views

ATtiny861A: ADC reference voltage should be 1 Volt under AVcc?

I just faced with that ATtiny861A datasheet forcing me to use analog reference voltage to be at least 1 Volt under analog supply voltage: Let me doubt this datasheet statement for two reasons: ...
1
vote
1answer
177 views

Customized torch/flash light using a perfboard with an attiny

I am currently working on customizing the flashing frequency of a torch light (customized intervals between on&off). To program the individual frequency I have made use of an attiny 85 ...
1
vote
2answers
132 views

AtTiny84 with USB

I am having some problems with the ATTiny84 and USB. I am creating an "arduino clone" but I want a simple (and especially compact on the board) way to implement a USB serial interface. This will only ...
1
vote
1answer
262 views

ATTiny45, LED strip, MOSFET, touch interface, but Vcc drops and tiny resets

I've developed a very little board with the ATTiny45 and mosfet (STD35NF06LT4 - http://www.farnell.com/datasheets/1689946.pdf ) to drive a high power LED strip at 24V. I have a 5V dc/dc converter ...
3
votes
1answer
100 views

How to issue the SLEEP command in Attiny

I want to put an Attiny13 to sleep. In short chapter 7 of the datasheet says you have to do the following: set sleep mode sleep enable (set SE bit) issue SLEEP command Generally this is ...
0
votes
2answers
133 views

How to program via ICSP when chip is in-circuit with interfering chips?

My Circuit is: USBTinyISP <-usi/icsp-> ATTiny85 <-usi/i2c-> MCP4725. That is, the USI pins used to program the t85 are also used for i2c in the final circuit. When I try to flash-program the ...
0
votes
2answers
123 views

I2C programming ATTiny88

I am beginner at programming uC's. I have read all the tutorials on what is I2C and how it works, but I couldnt find any help specific on how to create a connection between my sensor and ATTiny88 ...
1
vote
1answer
397 views

Low-Pass filter on AVcc pin for ATtiny

The datasheet for the ATtiny861a states that "If the ADC is used AVCC should be connected to VCC through a low-pass filter". The datasheet doesn't specify what values I should use or what style of ...
2
votes
1answer
64 views

Finding the Pull-up Resistor Value

I am designing a wireless sensor node that will be operating off of 1.8V. I am using an Atmel ATtiny861a MCU with a CC2520EMK radio and a 23A1024 External memory chip. I have a chip select pin for ...
0
votes
1answer
28 views

ATtiny861 pin change interrupt on PA.2: error in datasheet?

I faced with some confusion in subject datasheet: In one section PA.2 should be masking by PCIE1 bit as PA.2 is PCINT2 input and it should be within PCINT[7:0] and PCINT[15:12] range: On the other ...
0
votes
1answer
72 views

CS/SS pin configuration

I am using an ATtiny861a and I want to enable it to use SPI. In doing this I need to assign not one, but two CS/SS pins in order to communicate with a radio and an external memory. Does the CS/SS pin ...
0
votes
1answer
85 views

CC2520/ATtiny861A pin configuration

I am looking to hook up a radio with an ATtiny861A microcontroller. The radio that I will be using is the CC2520 from Texas Instruments. The RESETn pin(on the CC2520) will allow me to put my circuit ...
0
votes
1answer
128 views

For a 'customized' arduino consuming less energy making use of Attiny85 vs PCB Fabrication?

Currently I am working on a prototype project where I try to move a servo (6V) according to the level of light that is recognized by a photodiode making use of the ISR function. A torch light is used ...
3
votes
2answers
250 views

ADC calibration in ATTiny88

I'm writing an embedded app for ATtiny88 - one of its task is to measure voltages of serial connected two 12 V car batteries. The microcontroller is powered from around 4.5-5 V (LM317), measured ...
0
votes
1answer
136 views

Controlling dc motor in arduino with and without a load

I wonder if there is an alternative solution to this problem: I have a 3v water pump being controlled by an arduino, which pumps water out of a bucket. I would like the pump to turn off once the ...
3
votes
2answers
242 views

433 Mhz + Attiny85 improve range

I want to send information from my Attiny85 to my Raspberry. For the moment. Attiny and Emitter work on 5V Emitter have a 433 Mhz 1/2 waveform antenna I'am using virtual wire Raspberry receiver work ...