4 ms·
does anyone how the android phone is interfacing with the rest of the car hardware ? i did not know that android phones could do realtime i/o like this. Is thi
by sandGorgon 6y ago
does anyone how the android phone is interfacing with the rest of the car hardware ?
i did not know that android phones could do realtime i/o like this. Is this the "Android Things" or "Android Accessory Protocol" ?
- lucasmerlin 6y agoMaybe via bluetooth? I'd imagine that would be the easiest way.
- deleted 6y ago[deleted]
- izacus 6y agoIt doesn't quite say in the article but I'd guess that they're using USB connection with accessory protocol based on: - Their chosen controller doesn't have Bluetooth. - The images show phone cradle having cable connection to the phone. - There's an off remark in the motor segment that they made the external board power the phone implying they were connected before. - It's the easiest way and supported by Android APIs. Android Things as a project is dead and it never ran on phones - it was always meant to power IoT devices with screen.
- donquichotte 6y agoIt's in TFA: "the Pixel 4 also controls the motors and other electronic components via USB-C". There's an STM32 micro-controller which presumably acts as an USB slave and controls the servos.
- sandGorgon 6y agowhat SDK is this ? i have hunted and not found any easy way to do serial I/O over usb-C in the android SDK