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
0answers
49 views

ATTiny84 blink mystery [migrated]

Novice mode, please. I programmed my ATTiny84 using Arduino Ethernet (Arduino IDE 1.6.7) using https://github.com/damellis/attiny branch - ...
0
votes
0answers
43 views

NRF24l01 as Active RFID?

I just need little advice. Thinking about Swimming Pool Lap Counter. It might sound silly, but for me it should be very convenient to have receiver with big LED display which shows number of passed ...
2
votes
7answers
105 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
1answer
36 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
61 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
66 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
58 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
98 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
37 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
38 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
89 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
61 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
75 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
127 views

“If” wrong interpreted when ADC=1023?

My code on ATtiny13A: ...
0
votes
2answers
32 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
72 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 ...
2
votes
3answers
97 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 ...
0
votes
0answers
35 views

RC demultiplexing circuit

since few weeks I'm working at a toy I have in my mind since a while. The toy is essentially a password manager composed by an attyny85 which simulates a keyboard, two buttons and a display. Counting ...
2
votes
1answer
58 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 ...
0
votes
0answers
68 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
64 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
136 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
114 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
116 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 ...
0
votes
0answers
53 views

ULN2803 acting really strange when changing Vsupp from 9V to 5V

So I'm trying to replicate a camera flash for a model camera, I'm using an atTiny, pushbutton, some bright white leds and a pushbutton. My sketch is very similar to the ButtonStateChange Example in ...
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
278 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
191 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
208 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
40 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
156 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
111 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
216 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
70 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
99 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
107 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
286 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
58 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
23 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
70 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
79 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
117 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
211 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
124 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
183 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 ...
0
votes
1answer
67 views

No output from programmed attiny2313

I flashed a simple led blink program to an attiny2313 with a usbasp type programmer. Avrdude confirmed that the chip was programed, but the led is not blinking. I tried switching the led, varying ...
1
vote
1answer
116 views

Powering ATtiny85 for temperature sensing

I have been working on a miniature temperature sensing module which buzzes once the temperature crosses a threshold using ATtiny85, lm35 and a pico buzzer. When I power the whole circuit using an ...
2
votes
1answer
298 views

Attiny10 not triggering timer overflow interrupt while simulation (Atmel Studio 6)

I have problems simulating the timer overflow in Atmel Studio 6. The code is for an Attiny10 and looks like below. As far as I know I set all the neccessary bits to enable the counter (which works in ...
1
vote
1answer
306 views

Using ATtiny 45/85 with HC-05 (Not arduino)

I am working on a project that requires me to use an ATtiny microcontroller with bluetooth module HC-05. I have used the module with Atmega 8 in the past using UART protocol. Can anyone help me in ...
0
votes
1answer
47 views

LPM equivalent for ATtiny10?

I would like to load some data from the program memory (e.g. a sine table) on my t10. Like on other AVRs the lpm command is for that purpose but it seems not to exist on the t10. I saw this crazy ...