Go Down

Topic: Leonardo clone circuit check (Read 3767 times) previous topic - next topic

CrossRoads

SS - if you're not short on IO pins than what you have is fine.

Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

niekwoo10

So my schematic should be okay now?

s-light

#17
Aug 23, 2013, 11:43 am Last Edit: Aug 23, 2013, 11:46 am by s-light Reason: 1
your right - in the examples they use the 'pull down' method so you get 'Normal Logic results':
when you push the button the pin goes high.
if you look in other projects normally you use the buttons the other way:
normally the portpin is hold hi with the internal or an external PullUp . and the Button shorts to ground -
so it pulls the portpin low. so in sw you have a inverted logic.
i don't know why - i think the second is the common way...
(+you can use the internal PullUp)

its the same way with the LED / Blink Example.
as fare as i know you normally use the Port to sink current - and if i remember right this comes from history-
older uC could only sink current..
pleas correct if iam wrong..

has someone a recommendation for an tutorial on 'bootloader / leonardo / atmel VID PID / how to compile / windows *driver* inf ' ??
i just also want to use the orig. bootloader but use the atmel vid pid s for my clone...

sunny greetings stefan

0miker0

I have pin33 connected directly to ground but your goes through a 10k resistor. Not sure if it matters so you should check the data sheet. I think it has something to do with the bootloader on power up. Other then the VUSB to ground mentioned way back your schematic looks good. Sorry for leading your post in a different direction but it's started some interesting discussions.

Go Up