Skip to main content

Questions tagged [attiny]

An 8-bit, low power AVR microcontroller from Atmel.

Filter by
Sorted by
Tagged with
-1 votes
2 answers
106 views

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. ...
aud098's user avatar
  • 107
-1 votes
1 answer
76 views

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 ...
LesRhorer's user avatar
  • 113
2 votes
2 answers
145 views

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 ...
Milos's user avatar
  • 121
1 vote
1 answer
139 views

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 ...
Don's user avatar
  • 21
0 votes
2 answers
139 views

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 ...
user113684's user avatar
0 votes
1 answer
86 views

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. ...
Sean's user avatar
  • 1
0 votes
1 answer
215 views

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 ...
NickF_93's user avatar
  • 109
0 votes
1 answer
133 views

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 ...
Patrick Voorhoeve's user avatar
2 votes
1 answer
87 views

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 ...
Patrick Voorhoeve's user avatar
0 votes
2 answers
153 views

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 ...
LesRhorer's user avatar
  • 113
1 vote
1 answer
160 views

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 ...
LesRhorer's user avatar
  • 113
1 vote
3 answers
946 views

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 ...
LesRhorer's user avatar
  • 113
2 votes
2 answers
752 views

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 ...
mfusco's user avatar
  • 21
3 votes
1 answer
398 views

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 ...
hmf's user avatar
  • 31
1 vote
0 answers
189 views

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 ...
Sudras Elagor's user avatar
2 votes
1 answer
444 views

I have recently created a sketch for an ATTiny85. My project consists of: 1x ATTiny85 IC only 1x 433MHz RF module => using data pin 2 2x input digital pins => using pin 3 and pin 4 Running at ...
Jonas's user avatar
  • 141
0 votes
1 answer
100 views

Suppose I enable USB tethering (internet) on my laptop. Will it be possible to use that internet on an ATTINY 85 connected to USB.
manish.mandal's user avatar
1 vote
1 answer
297 views

Disclaimer: I have asked questions about this project before but this is yet another issue I'm facing. What I really want to do: Build a battery powered device with 6 colored buttons. When you press ...
boop's user avatar
  • 191
0 votes
2 answers
545 views

I want to communicate over serial to another device (dfplayer) and also set the microcontroller into sleep mode. The ATtiny85 does not have a hardware serial pin so I need to use a virtual serial (...
boop's user avatar
  • 191
0 votes
1 answer
133 views

I have two functions that return an int16_t but I need to convert the ints to char* is for an attiny13 It would be something like this const char* msg = "value1()"+','+"value2()"+',...
jota mauel's user avatar
0 votes
1 answer
772 views

I was successfully compiling sketches and uploading to various MCUs, including the ATTiny88. Suddenly the IDE quit compiling and complained of various missing compilers. I found and corrected an ...
Leslie Rhorer's user avatar
1 vote
0 answers
140 views

Just starting with external EEPROM and ATTiny's. I am successfully writing and reading to the 24LC64 chip using the following code with TinyWireM (thanks to other help on the forums). However, I ...
VinnyP's user avatar
  • 11
1 vote
1 answer
116 views

Everything in this code seems to work as expected except the subroutine speedcw at the bottom. It should change the time_delay variable. #define ENA 2 //pin 2 on chip #define in_A 0 //pin 0 on chip ...
benjamin nikkel's user avatar
2 votes
1 answer
692 views

I am suddenly getting an error every time I try to compile code in the IDE, even though every one of the sketches previously compiled just fine: Arduino: 1.8.13 (Windows 7), Board: "MH-ET LIVE ...
Leslie Rhorer's user avatar
2 votes
0 answers
142 views

OK, I have a little hardware issue I need to fix in software for the time being. I say, "For the time being," because I already have the PC Boards printed, and I need to make do for this ...
Leslie Rhorer's user avatar
0 votes
1 answer
146 views

I have been given to understand the ATTiny88 is very similar to the Arduino Uno / ATMega328 MCU. There does not seem to be a tag for the ATTiny88, so that is why I chose the tags I did. I do not ...
Leslie Rhorer's user avatar
-3 votes
1 answer
383 views

i am using 3.7~4.2V lithium battery. I am using internal voltage reference to read constant battery voltage as we know that the battery voltage level depletes overtime. The problem is that my sensor (...
electro_nooobbbb's user avatar
-3 votes
1 answer
281 views

there i am working on a project in which my system is connected to 3.7v~4.2V lithium battery, I have to read constant battery voltage irrespective of the current battery voltage and to do that I am ...
electro_nooobbbb's user avatar
2 votes
1 answer
682 views

As follow-up of my former question: Hi, I want to know how I can access PB3 reset pin of ATtiny44 IC. I ran out of pins so I am using it as I/O pin, but I am unable to declare it in the code. This ...
electro_nooobbbb's user avatar
1 vote
1 answer
609 views

I want to read my lithium battery voltage. I WANT TO CREATE A FUNCTION TO READ MY 3.7~4.2V,1200mAH BATTERY VOLTAGE THROUGH A MICROCONTROLLER (ARDUINO OR ATTINY44). THEN I WANT TO CALL THE CREATED ...
electro_nooobbbb's user avatar
0 votes
1 answer
1k views

I was looking for a cheap MCU solution for a project, apart from being compact, ATTiny doesn't seem to provide much value. I was hoping it is cheaper but nope, They are mostly above 1.5 USD in any ...
Anil Maharjan's user avatar
0 votes
1 answer
361 views

I'm currently working on a project using the ATTINY85 for USB communication. After some research, it turns out that the V-USB library only supports usb 1.1, which only supports a 125hz polling rate. I ...
Victor's user avatar
  • 3
1 vote
1 answer
763 views

I have ATTiny85 that I want to drive a servo. Burned bootloader to the ATTiny85 and I am using HW-260 development board to program and to test the code. While the ATTiny85 works perfectly on the HW-...
aceschwartz's user avatar
0 votes
2 answers
318 views

I am programming an attiny202 which as per datasheet can run up to 20Mhz, but after compiling/uploading this simple code to the attiny202 and watch the PA2 pin on the oscilloscope, I see that the pin ...
Joe Cabezas's user avatar
2 votes
1 answer
210 views

I am getting back into programming with Arduino and built a POV fidget spinner inspired by an instructable by MakersBox. I am using the SparkFun AVR Pocket Programmer and an ATTiny84 (8MHz internal ...
fmarquet's user avatar
0 votes
0 answers
714 views

I bought a bunch of Attiny12's from Digikey without checking if I can even program them with an Arduino. I've looked around a bunch, and I've only ever found ways to program Attiny13 and Attiny10. ...
explodingfilms101's user avatar
0 votes
1 answer
198 views

When I call the delay() function on the ATtiny84 micro, it delays for the expected time, until I call the init() function on an RH_ASK object. After this, the micro seems to freeze. #include <...
Nick Bolton's user avatar
1 vote
2 answers
115 views

I tried to do a simple program using the ATmega16 microcontroller, the program is to toggle two LEDs the first one by using timer0 interrupt and the other using timer2 interrupt.
Ebraheem Ali Abd Al-Maksod's user avatar
7 votes
4 answers
1k views

I'm trying to squeeze code onto an ATtiny10, but I'm just not getting there. I'm using 1060 bytes and only have space for 1024 bytes. The code is simple enough; I need to read a button pin. If high it ...
Earthbound Ruben's user avatar
-1 votes
1 answer
294 views

I have an AtTiny85 that I would like to move a servo on I/O "4" for this project. I can't seem to get it to work, no matter what I do. I had tons of issues getting it to program, but I've ...
Perplexing Pies's user avatar
1 vote
1 answer
168 views

I recently wrote a simple script to...we'll say, "flash some LED's" and uploaded it to an attiny45. In short, the script cycles through 3 LED's and turns them on for a specified frequency, ...
JoeBro391's user avatar
1 vote
1 answer
1k views

I'm programming an ATTiny 85 using the Arduino IDE and an Arduino Nano as "Arduino as ISP" to program the ATTiny. I succeeded a week ago and now I want to program a second chip but get the '...
Transistor's user avatar
2 votes
2 answers
513 views

I'm trying to compile my code but i keep exceeding my global variable memory by 12%. Is there anything i can do in my code to further reduce RAM usage? Or do i have to do modifications to the ...
Boyfinn's user avatar
  • 245
1 vote
0 answers
94 views

I have been trying to get a servo to sweep using an attiny13A. And i managed to get the servo to (kindoff) work by the help of a previous thread. But i'm now getting an issue. The servo only goes to ...
Earthbound Ruben's user avatar
0 votes
1 answer
300 views

Trying to program an ATTTYIN1614 with jtag2updi. https://github.com/ElTangas/jtag2updi I was able to use this tool to program an ATTINY1626-XFR and ATTINY807-MNR, but I'm getting an error with ...
EdHayes3's user avatar
  • 160
-1 votes
1 answer
339 views

So I want to connect multiple LED Panels with dynamic addressing to a Master Controller. Seems like SMBus should be able to do that, however I don't find any Library for the Arduino framework. Does ...
Christopher's user avatar
2 votes
1 answer
162 views

I messed up when designing my PCB and just assumed that I could use software slave I2C with ATTiny84. The reason I did so is - I needed to use all of the analog inputs. The pins I have on my ...
Antonín Gazda's user avatar
1 vote
2 answers
807 views

i have some trouble to use i2c and the other pins at the same time. im tring to control the attiny over i2c with a arduino and the attiny should control a 28byj-48 stepmotor. i started to setup the ...
Kim's user avatar
  • 11
2 votes
0 answers
751 views

I am getting an error while trying to upload programs to the Attiny85 through a USBTinyISP programmer, found here. Unfortunately, it isn't working. Following this tutorial for connecting the board and ...
user76915's user avatar
1 vote
0 answers
273 views

Prelude I haven't done a lot of work in programming chips. The ATTiny85 is the first chip I've programmed, and I have the hang of the basics I think, but I don't have an in-depth understanding of it's ...
Devin Carpenter's user avatar

1
2 3 4 5
7