Questions tagged [attiny]
An 8-bit, low power AVR microcontroller from Atmel.
319 questions
-1
votes
2
answers
93
views
ATtiny402-SSNR minimum hardware requirement
I am using an ATtiny402-SSNR in a project. I have never used AVR MCUs before, so I need a minimum hardware requirement schematic for this chip. I could not find a schematic for this on the internet.
...
0
votes
1
answer
68
views
Replace bootloader in ATTiny88
There are other threads about replacing the bootloader on Arduino boards, but the ATTiny88 seems to be rather a different beast. Instead of creating a serial port and sending the compiled code to the ...
2
votes
2
answers
129
views
Problem sending serial data between Arduino and ATtiny back and forth
I am working on communication between a Arduino and ATtiny13, and I need to get this bare-bone communication to work. There is a Arduino Nano powered by USB cable from the PC, and there is ATtiny13 ...
1
vote
1
answer
137
views
Problem with ATTiny85 sketch to start and stop firing a camera on a PWM signal from RC receiver
I am trying to start a camera firing at a fixed interval on a long servo pulse, stop it firing on the next long pulse, start it again on the next long pulse, etc. I use an interrupt to detect if the ...
0
votes
2
answers
137
views
ATTiny84 and Shift Register not working
I know this isn't exactly an Arduino question, but I'm using the Arduino IDE and feel it's close enough. So I'm working on a project that uses an ATTiny84, two SN74HC595N SIPO shift registers, and a ...
0
votes
1
answer
79
views
ATTiny85 PWM on PB2 not working - only on/off, no fade
I have a custom ATTiny85 PCB with LEDs connected to GPIOs (PB0-4) through current-limiting resistors. All ports fade LEDs smoothly except PB2, which only switches on/off with no intermediate states.
...
0
votes
1
answer
202
views
Trouble Programming ATTINY1616 with Arduino Nano via UPDI: No Communication
I'm trying to program a board I designed with an ATTINY1616. The schematic is shown in the photo. I'm trying to connect an Arduino Nano. +5V and GND are shared, while the UPDI pin is connected to the ...
0
votes
1
answer
130
views
Extra 0x00 sent with RS485 message
I am currently trying to use an arduino to send an RS485 via an SP3078EEN RS485 transciever. I have my arduino code set the DE pin high, wait 1ms, then write and flush a data buffer to the serial ...
2
votes
1
answer
87
views
UART Transmission Incorrect on ATTiny826
I'm currently trying to test an extremely simple circuit where I use an ATTiny86 to output some arbitrary values via serial to an Arduino micro. The problem I am facing is that all of the values being ...
0
votes
2
answers
151
views
Can the ATTiny88 be programmed via I2C from a Raspberry Pi?
This is similar to Is it possible to program an AVR chip (atmega328p) via i2c?, but not exactly, and that thread is a little shy on details.
I have an ATTiny88 attached via I2C to a Raspberry Pi, with ...
1
vote
1
answer
152
views
Does changing the prescale for Timer 0 or Timer 2 affect the micros() function?
I am using an ATTiny88 to drive a PWM device. First of all, digging through the literature, it's hard to tell what the differences between the ATTiny85 and ATTiny88 are, and the vast majority of ...
1
vote
3
answers
907
views
Confusing Pinouts on MH-ET ATTiny88
I am a little bewildered about the analog pins on the Arduino ATTiny88.
First of all, am I correct in thinking the functions analogRead() and analogWrite() can use either the string A0 - A7 or a ...
2
votes
2
answers
738
views
Programming ATtiny1616 error: A programmer is required to upload
I have this ATtiny1616 breakout board, and I'm attempting to upload an Arduino sketch to it following this documentation, but I'm getting the error "A programmer is required to upload" upon ...
3
votes
1
answer
390
views
Increase in power consumption after brown-out detection (BOD)
I'm working on a low-power energy harvesting project, where I'm considering using an ATtiny85 to perform some minor tasks. The ATtiny is put in Power Down mode most of the time and does not consume ...
1
vote
0
answers
186
views
Bluetooth (HC_06) on the Attiny85
I'm trying to make a hc_06 Bluetooth controller work on the attiny85-20pu.
In the end, I want to control a stepper motor through Bluetooth.
But for now to keep it simple I'm searching for a working ...