0
\$\begingroup\$

I want to upload code using an Arduino to an ATtiny828, is this possible?

I saw on YouTube you can upload code to an ATtiny85.

Thank you in advance. I want to use this for a PCB design that implements a sequential LED light.

\$\endgroup\$
6
  • \$\begingroup\$ yes. Youtube is arguably not a great source to learn how to work with hardware when you can have the documentation of the folks building the hardware (in fact, a lot of technical content on youtube is outright bad, confusing and often wrong). In this case, you'd simply want to read the Attiny828 data sheet about In-system programming and implement that on your arduino. I'm a bit confused what this has to do with led or sequentioal-logic, and I'd ask you to be more selective with the tags you use. \$\endgroup\$ Commented Dec 5, 2021 at 19:27
  • \$\begingroup\$ Thank you and sorry about my mistake. Can you please help me with a diagram, what pins must be connected or some instructions? Is first time for me when i use a ATtiny. I searched on internet but anyting fit my project. Again, sorry for mistake and have a good day! \$\endgroup\$ Commented Dec 5, 2021 at 19:41
  • \$\begingroup\$ sorry, that's a bit too broad; it's a custom design for you, and we're not a free design house. \$\endgroup\$ Commented Dec 5, 2021 at 19:44
  • \$\begingroup\$ Don't search randomly on the internet - instead find the manufacturer's website, then search that site for documents/data sheets on the ATtiny828. There may be an ATtiny family manual as well as ATtiny828-specific documents that will provide the information you require. \$\endgroup\$ Commented Dec 5, 2021 at 19:52
  • \$\begingroup\$ I don't wanna a free design, just some information. But nevermind, have a good day and thank you for your time for answering me. \$\endgroup\$ Commented Dec 6, 2021 at 6:00

1 Answer 1

2
\$\begingroup\$

ATtiny828 can use casual SPI programming interface. So yes, you can flash sketch named ArduinoISP to your Arduino board and later use avrdude software (or some sort of GUI for it, there are many) to program ATtiny828 target with it.

You can even use this Arduino core, which supports ATtiny828, to program your ATtiny828 target from Arduino IDE. You need to install that core in your Arduino IDE, and flash a bootloader via ArduinoISP. Then you can write Arduino sketches for ATtiny828 and program it via UART bootloader (you will need a some sort of USB-UART converter for it). But this is optional.

\$\endgroup\$
2
  • \$\begingroup\$ Thank you sir! I will do a research. Just to my knowledge: i create a arduino sketch, and "upload" it on my 828 with avrdude? \$\endgroup\$ Commented Dec 6, 2021 at 5:58
  • \$\begingroup\$ Open up Arduino IDE, find an ArduinoISP in the default examples - this is a firmware for your Arduino, to turn it into AVR ISP programmer. Once you program this sketch to your Arduino you can use it to flash your attiny part. Next you either use it as a casual AVR part from Microchip (ex. Atmel) Studio for example. Or use the core I've mentioned to turn it into Arduino IDE supported part. \$\endgroup\$ Commented Dec 6, 2021 at 6:58

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.