Hello people,
I've be wondering if I could use Vocore2 to control an ATmega328 and use its' analog reading pins. I was holping to use UART, SPI or I2C to do that.
Use UART/SPI/I2C to control another device
- BryanBarbosa
- Posts: 12
- Joined: Fri May 14, 2021 2:40 am
- Vonger
- Posts: 897
- Joined: Sun Oct 19, 2014 6:00 am
Re: Use UART/SPI/I2C to control another device
Of course, but recommend to use UART and I2C, more stable. Usage is same as use Linux computer.
- BryanBarbosa
- Posts: 12
- Joined: Fri May 14, 2021 2:40 am
Re: Use UART/SPI/I2C to control another device
Hello Vonger, the thing is: I would like to know how to do that. Could you help me?
- Chourizo
- Posts: 8
- Joined: Tue Jan 26, 2021 6:39 pm
Re: Use UART/SPI/I2C to control another device
You can pretty much use any tutorial for raspberri pi. It's the same usage. All linux devices/computers work in a similar way.
I am using it to read some i2c devices, as well as the gpios and it works fine, never had a problem with it.
I am using it to read some i2c devices, as well as the gpios and it works fine, never had a problem with it.
- Vonger
- Posts: 897
- Joined: Sun Oct 19, 2014 6:00 am
Re: Use UART/SPI/I2C to control another device
Because they are all Linux, use standard interface
5 posts
Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest