Society of Robots - Robot Forum
|
Robot Tutorials
|
FAQ
|
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Squirrels have fuzzy tails.
Home
Help
Search
Login
Register
Society of Robots - Robot Forum
»
Electronics
»
Electronics
»
Data Processing LED's
Print
Author
Topic: Data Processing LED's (Read 2026 times)
0 Members and 1 Guest are viewing this topic.
galannthegreat
Supreme Robot
Posts: 615
Helpful? 4
Blue-Lensed Blue LEDs?! What?! Impossible!!
Data Processing LED's
«
on:
December 01, 2009, 02:41:18 PM »
Can I tap into MISO and MOSI on an AVR for data processing LED's? I just need confirmation on if those are the places to see what's going on.
Logged
Kurt
SmAsH
Supreme Robot
Posts: 3,959
Helpful? 75
SoR's Locale Electronics Nut.
Re: Data Processing LED's
«
Reply #1 on:
December 01, 2009, 02:56:45 PM »
Yup, do you mean straight on the line with an led or using a transistor?
Logged
Howdy
galannthegreat
Supreme Robot
Posts: 615
Helpful? 4
Blue-Lensed Blue LEDs?! What?! Impossible!!
Re: Data Processing LED's
«
Reply #2 on:
December 01, 2009, 02:57:51 PM »
Not inline, but in parallel with. Or should I just put it inline?
Logged
Kurt
SmAsH
Supreme Robot
Posts: 3,959
Helpful? 75
SoR's Locale Electronics Nut.
Re: Data Processing LED's
«
Reply #3 on:
December 01, 2009, 03:06:07 PM »
yeah, i know what you mean but are you going to use a transistor or just an led?
Logged
Howdy
galannthegreat
Supreme Robot
Posts: 615
Helpful? 4
Blue-Lensed Blue LEDs?! What?! Impossible!!
Re: Data Processing LED's
«
Reply #4 on:
December 01, 2009, 03:13:07 PM »
LED with a current limiting resistor, if needed.
Another question, which side is 5V on MOSI and MISO and which side is 0V? (ie. anode to controller or anode to programmer side)
Logged
Kurt
chelmi
Supreme Robot
Posts: 496
Helpful? 15
Re: Data Processing LED's
«
Reply #5 on:
December 01, 2009, 03:36:14 PM »
What the hell are you trying to do here?
MOSI and MISO are SPI (Serial Peripheral Interface). If you just want to switch a led on and off, any GPIO will do.
Chelmi.
Logged
galannthegreat
Supreme Robot
Posts: 615
Helpful? 4
Blue-Lensed Blue LEDs?! What?! Impossible!!
Re: Data Processing LED's
«
Reply #6 on:
December 01, 2009, 03:40:47 PM »
I am trying to put LED's in my circuit to show data processing, more simply put, when my programmer is programming the chip I want the LED's to light when data is being transfered to the chip. Flicker, stay on, whatever is happening, I want to see it.
«
Last Edit: December 01, 2009, 03:42:50 PM by galannthegreat
»
Logged
Kurt
chelmi
Supreme Robot
Posts: 496
Helpful? 15
Re: Data Processing LED's
«
Reply #7 on:
December 01, 2009, 03:48:20 PM »
Woops, sorry I really didn't mean to be rude! English is not my first language and it's sometimes hard to communicate the right expression...
I re-read your first message and it's clearer now. What confused me was the data processing part. There is no data processing, only data transfer.
When programming a device, I think that the programmer is the Master and the device the slave.
MOSI is Master Out/Slave In. Since programming is essentially sending data from the programmer to the slave, this is the pin your are interested in.
Check the datasheet to be sure.
And regarding the "tapping", I don't see why you couldn't but I might be wrong...
«
Last Edit: December 01, 2009, 03:56:37 PM by chelmi
»
Logged
galannthegreat
Supreme Robot
Posts: 615
Helpful? 4
Blue-Lensed Blue LEDs?! What?! Impossible!!
Re: Data Processing LED's
«
Reply #8 on:
December 01, 2009, 04:02:21 PM »
No worries there. So, just anode to MOSI for one LED and the other LED's anode to MISO with current limiting resistor then to ground?
Logged
Kurt
SmAsH
Supreme Robot
Posts: 3,959
Helpful? 75
SoR's Locale Electronics Nut.
Re: Data Processing LED's
«
Reply #9 on:
December 01, 2009, 11:39:58 PM »
Yep, both leds should have their own resistor though.
Logged
Howdy
galannthegreat
Supreme Robot
Posts: 615
Helpful? 4
Blue-Lensed Blue LEDs?! What?! Impossible!!
Re: Data Processing LED's
«
Reply #10 on:
December 02, 2009, 11:47:58 AM »
Perfect, that's what I assumed, just wanted to be %100 sure. Thanks.
Logged
Kurt
Print
Society of Robots - Robot Forum
»
Electronics
»
Electronics
»
Data Processing LED's
data_list