8devices Community
https://www.8devices.com/community/

Connect Atmega644 or ATmega32
https://www.8devices.com/community/viewtopic.php?f=13&t=853
Page 1 of 1

Author:  hanhoe [ 23 Dec 2014, 12:25 ]
Post subject:  Connect Atmega644 or ATmega32

Hello!

What is the easiest way to connect an ATmega Controller to the Carambola?
I need a lot of I/O´s and it must work "outside" of the carambola.

Thank you!

Author:  Giedrius [ 23 Dec 2014, 12:43 ]
Post subject:  Re: Connect Atmega644 or ATmega32

With wires

Author:  hanhoe [ 23 Dec 2014, 12:59 ]
Post subject:  Re: Connect Atmega644 or ATmega32

Hello!

:D sure with wires, but with which protocol?
Serial or I2C possible?

I need also some example but did´n found right now.

Author:  Giedrius [ 23 Dec 2014, 14:06 ]
Post subject:  Re: Connect Atmega644 or ATmega32

Carambola 2 has SPI and I2C protocols, but both of which are software simulated and can only work in master mode. USB is also a viable option, but neither I, nor anyone else could answer which is the best/easiest way as that is very skill-set and application dependent.

As for examples you could read viewtopic.php?f=13&t=833, viewtopic.php?f=13&t=782, viewtopic.php?f=13&t=832, search for older posts and also on other (especially OpenWRT) forums.

Author:  pigster [ 09 Jan 2015, 14:56 ]
Post subject:  Re: Connect Atmega644 or ATmega32

I did I2C - very simple

grab this https://github.com/devthrash/I2C-slave-lib/ and hook up I2C (two wires + 2 pull up resistors)

You can get this solution running very quickly

Author:  nikko [ 25 Jan 2015, 22:36 ]
Post subject:  Re: Connect Atmega644 or ATmega32

Hello,

With daughter board like arduino 32u4 easy way is USB ?

You can check this to upload AVR over php. viewtopic.php?f=19&t=633#p3624

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/