Using a Raspberry Pi to Program an AVR and Python SPI Tutorial

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

*UPDATE*: You no longer need to manually install avrdude. You can use _sudo apt-get install avrdude_. See my website for updated instructions.

rdagger
Автор

I was going to use an arduino Nano, but I will have an atmel chip on a custom made hat for the pi so this works better as I can reprogram anytime while it is attached to PCB

micah
Автор

Helped me a have tested the same n its working thanks

AmitAnand
Автор

All I have are 10k resistors. Would they do?

wingedrhinotv
Автор

Are the 1K resistors really necessary?

I’ve connected to SPI with no resistors before. What is the risk?

micah
Автор

Have you pwm a LED using both high and low? I have a switch that has 2 built in LED, one Green and one red. They are wired in opposing directions and I have a small transistor circuit to swap polarity based on one signal from an avr. If high, then one color, if low, the other color. Is it possible to program the AVR to pwm both at high and at low? These AVR also float the output yes if not wanting to illuminate correct. Very nice video
Thx

scottcox
Автор

As of now you can download avrdude using "sudo apt-get install avrdude". The configure file is in /etc/avrdude.conf. It allows the linuxgpio.

calvinjarrod
Автор

This looks great! I've never used a microcontroller before, though, so I feel I must ask this: Can I do that to a new chip? Or does it need some kind of code in it before?

felipeattanasio
Автор

I'm in the process of making a circuit for controlling a relay based on an input signal that will hold the relays on for 10 minutes after the signal is removed. Any insight on the code? I'm using the attiny13a. Pin3 for the 3v3 sense and pin2 to drive the relay transistor. Thanks for the tutorial. I'll be watching a few more times

RainbowLogic
Автор

What if I want to use an attiny85 and also use an arduino code to program it?Is it possible?

shawnlee
Автор

i read that you should use a 100nF capacitor on each VCC to keep the current/voltage stable. Any reasons why you didn't do that?

marcodoe
Автор

hi im trying to programe an atmega16a pu with latest avrdude 6.3 and it doesnt find linuxgpio at nano search...I did all the steps on the video what might be the problem?

dimitrisatsamagos
Автор

Is it possible not to use MISO line or set/change its pin to diferrent GPIO?

avb-
Автор

Does reset pin have to go to a pwm Chanel? Or can it be any GPIO?

micah
Автор

What do you use to compile the c into hex? Is atmel studio too complex? Had some code written for me for a project and need to convert it into hex. Thx

scottcox
Автор

bruh just use ArduinoISP... can you make a tuto on how to program I2C chips like pic10f206 without a programmer?

fares
Автор

what kind of language did you use in sample avr testing program?

jackyli
Автор

How come your gpio pins are numbered in this random way?
All the pinout maps I could find have those pins marked in sequential order.

Harlequin
Автор

Hi i am getting "cant export to gpio 12, already exported/busy?: device or resource busy" as an error can anyone help me with this ? Thanks

lancekraakman
Автор

can i use this method on atmel at89s52 because i can use arduino as a programmer for it and how can i program and creating .hex file in raspberrypi
Thanks

gursimransinghk