Go Down

Topic: Raspberry Pi Zero as horse power coprocessor for Due? (Read 193 times) previous topic - next topic

HermannSW

I have several ov7670 camera modules, some with Fifo. I have not started to get it working with my Arduino Due, but know the 790(!) posting thread on that subject:
http://forum.arduino.cc/index.php?topic=159557.0

Since I want to use camera for high speed autonomous robot control (Arduebot) I need high fps pictures sent to Due (the other Arduinos are no options because of lack of horse power). Pictures will be simple b&w, no high resolution is needed (80x60 or even 40x30 might be OK). Camera will be mounted sloped and take pictures from front of Arduebot (the "present") until a little ahead (in order to capture the "near future"):


I recently found this easier instruction on how to connect ov7670 with Arduino Due, and was able to understand what was stated there in Russian with the help of Google Translate:
http://privateblog.info/arduino-due-i-kamera-ov7670-primer-ispolzovaniya/

So I think that Due+ov7670 will do the job needed.


Recently I bought Raspberry Pi Zero for 5$(+5$ shipping). It has a camera connector, but only for >35$ cameras. Yesterday I googled and found this really simple instruction on how to use a simple USB webcam with Raspberry Pi:
https://www.youtube.com/watch?v=JnQh-o9aSD0

So I bought a 2$ USB webcam and a 0.31$ micro USB to USB connector yesterday, both with free shipping. This will give me a 1GHz 512MB memory camera "coprocessor" for less than 12.50$.

Pi Zero will only transmit the needed data to Arduino Due and that will use the data to decide on motor speed corrections.


I can think of other uses of Pi Zero as high performance coprocessor, and not only for Arduino Due. Transmitting the data should not be difficult given the 40 GPIO pins of Pi Zero.

Am I right with this "Pi Zero as coprocessor" approach, or do I miss some important fact?


Hermann.

HermannSW

#1
Jul 15, 2016, 04:30 pm Last Edit: Jul 17, 2016, 01:58 pm by HermannSW
Wow, just ordered another "coprocessor", this time a "Quad-core Cortex-A7 Up to 1.2GHz" for 8$ !!

The website of FriendlyARM seems to be totally overloaded by the big demand, it took me 40(!) minutes to complete an order of "NanoPi Zero", so you need to be very patient if you will visit that website (>30 "Gateway Timeout" and other browser errors):
http://nanopi.io/nanopi-neo.html

The "NanoPi NEO" features are unbelievable for 8$:
Code: [Select]
CPU: Allwinner H3, Quad-core Cortex-A7 Up to 1.2GHz
DDR3 RAM: 256MB[512MB sold out]
Connectivity: 10/100M Ethernet
USB Host: Type-A x 1, 2.54 mm pin x 2
MicroSD Slot x 1
MicroUSB: for data transmission and power input
Debug Serial Port: 4Pin, 2.54 mm pitch pin header
GPIO: 2.54mm pitch 36pin. It includes UART, SPI, I2C, IO etc
PCB Dimension: 40 x 40 mm
Power Supply: DC 5V/2A
OS/Software: u-boot and UbuntuCore


I did order two NanoPi Neo, with 7$ shipping for 23$ in total,

Hermann.


Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy