Questions tagged [attiny13]

The high-performance, low-power Microchip 8-bit AVR RISC-based microcontroller combines 1KB ISP flash memory, 64B SRAM, 64B EEPROM, a 32B register file, and a 4-channel 10-bit A/D converter. The device supports a throughput of 20 MIPS at 20 MHz and operates between 2.7-5.5 volts.

Filter by
Sorted by
Tagged with
0
votes
0answers
32 views

Error compiling for board Attiny13. #error Internal code configuration error, no timer functions implemented for this AVR CPU / board

I keep getting the error shown below while uploading the code shown to the Attiny13a microcontroller. I am using the arduino UNO. Error messages Arduino: 1.8.15 Hourly Build 2021/05/31 10:33 (Windows ...
4
votes
1answer
434 views

ATTiny13 Interrupt Issue

I have recently been working on a project that I had initially been designing with an Arduino Nano, and I was able to create functioning code for my application, but for cost / space reduction I ...
2
votes
2answers
689 views

How to create a 1 hour timer with ATtiny13A microcontroller?

I want to control an AC load such that it powered on for 1 minute, then off for 1 hour, then on again for 1 min, and so on, in a loop. I just modified the blink sketch to do: Turn A1 on Then delay ...
1
vote
1answer
875 views

How to control the power of attiny13a via pin change interrupt?

I'm trying controll the power of attity13a and turn off/turn on the led. I'm going to goals: After to click on the button0 led will blicking 5 second nad then the attiny13a going to sleep. After to ...
0
votes
1answer
69 views

Which pins are represented by these constants from ABR library?

The following code comes from AtTiny serial library that I want to use: #include <avr/io.h> #include <avr/interrupt.h> #include <util/delay.h> // change these to use another pin #...
0
votes
1answer
352 views

AtTiny analog read always 1023

I am trying to replicate Low power LED firefly project. So what I'm trying to do is to do an analog read from a LED, to detect light. To simplify it a bit, I am using different pins and different leds ...
1
vote
0answers
497 views

Can 2 or more LED strobe Lights Flash in Sync?

I'm trying to build a strobe light that has at least 1 mode that can sync with another unit. The strobe light has 2 colors, white and red which are driven by 2 qlite drivers which are controlled by ...
2
votes
1answer
297 views

Can I connect a voltage, higher that the 1.1V bandgap voltage, to an ADC pin

Can I (attempt to) measure a voltage that is higher that the ADCs Vref, without damaging my IC? I'm trying to measure the battery voltage using a resistive divider, and using the internal 1.1V ...
1
vote
2answers
611 views

Making a 7-hour timer-based relay

I want to make a very small 7-hour timer circuit that can turn on a relay after 7 hours. I am trying to make the first prototype with an Arduino Nano but I can't understand how to program it for such ...
2
votes
0answers
999 views

Attiny13 analogread() not working on all pins

I am new here and perhaps you could help me. I am trying to program Attiny13 with the following short sketch which uses ADC (analogread()) function, that is supposed to work like this: reads voltage ...
3
votes
2answers
2k views

Low Power Pin Change Detection (ATtiny)

I want to use an ATtiny as data logger for the opening and closing of a door/window. For that I am using a reed-switch. Since I want to run it from a 3V coin battery, long term power consumption is ...
0
votes
2answers
1k views

How to add Attiny13 to Attiny board profile in Arduino IDE 1.6?

Several months ago, I asked how to add (or where to get) Attiny13 to the list of boards in the Attiny package available in github: https://github.com/damellis/attiny In post 1.5 IDE, the package is ...
0
votes
1answer
435 views

Can I create a serial.read command with the arduino code alone?

I am trying to manipulate a project and the simplest way to do what I am trying to do would be to use the existing code. This code is designed to take an input from the serial monitor using serial....
2
votes
1answer
2k views

Uploading .hex to ATTiny13 using Arduino

I would like to upload a .hex to ATTiny13V (or '13A) using Arduino Uno R3. I think I know everything to do, but ATTiny13 ISP support and Arduino IDE is a bit search-and-find, and I have some grey-...
0
votes
2answers
142 views

Where are the chip configurations stored in IDE 1.6.x? How to modify them?

With the new 1.6.x version of the Arduino IDE, obscurity of adding new chips has gained new level. It now seems you have to add HTTP links to some JSON files in single-line edit field in settings. I ...