Go to advanced search

by krebera
Tue Apr 30, 2019 3:43 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Arduino Serial Code to RPi Serial Code
Replies: 6
Views: 796

Re: Arduino Serial Code to RPi Serial Code

Ah I see no why that wasn't enough information. I am using the pi with a 3v3 logic level 32u4-based microcontroller running SoftwareSerial for pins 10 and 11. I have pin 11 (Software Tx) going to RPi Rx (BCM 15). I have the setup configured correctly, have the serial console disabled and get accurat...
by krebera
Tue Apr 30, 2019 4:20 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Arduino Serial Code to RPi Serial Code
Replies: 6
Views: 796

Re: Arduino Serial Code to RPi Serial Code

Okay. So as the msgToHover is written to, the typedef union is automatically creating a byte array alongside it! That makes a lot of sense. Thank you for the explanation. That's a pretty cool way to get the data formatted. As for the setup, I just had the arduino Tx into the RPi Rx, and had it write...
by krebera
Mon Apr 29, 2019 10:16 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Arduino Serial Code to RPi Serial Code
Replies: 6
Views: 796

Arduino Serial Code to RPi Serial Code

Hi, all! I've been working with the lovely https://github.com/p-h-a-i-l/hoverboard-firmware-hack project on github. The host of the repo graciously supplied some Arduino C code to interface with the overridden hoverboard over a UART connection. I'm trying to get the code to run on a raspberry pi, wh...

Go to advanced search