Use UART/SPI/I2C to control another device

BryanBarbosa
 
Posts: 12
Joined: Fri May 14, 2021 2:40 am

Use UART/SPI/I2C to control another device

Wed Aug 25, 2021 4:46 pm

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.

Vonger
 
Posts: 896
Joined: Sun Oct 19, 2014 6:00 am

Re: Use UART/SPI/I2C to control another device

Tue Sep 21, 2021 12:40 am

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

Tue Sep 21, 2021 1:44 am

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

Wed Jan 12, 2022 1:48 pm

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.

Vonger
 
Posts: 896
Joined: Sun Oct 19, 2014 6:00 am

Re: Use UART/SPI/I2C to control another device

Sat Jan 22, 2022 12:19 pm

Because they are all Linux, use standard interface :)

Return to VoCore2/Lite/Ultimate

Who is online

Users browsing this forum: Google [Bot] and 41 guests