New IP Camera OSHW board in design RFC

img2

We started recently new design with Allwinner S3 SOC.

The board have these features:

  • Allwinner S3 Cortex-A7 running at 1.2Ghz
  • AXP209 PMU with Lipo charger and step-up for UPS
  • internal 1Gb DDR3 RAM at 1333Mhz
  • 100Mb Ethernet interface with PoE option
  • NAND/eMMC/SPI Flash on socket
  • WiFi / BT module with RTL8723BS
  • Audio In and Out
  • UEXT connector
  • Lipo battery connector
  • Configuration EEPROM
  • LCD connector for LCD-OLinuXino
  • MIPI camera connector with RPi pinout
  • CSI camera connector
  • Dimensions: 60 x 50 mm

img1

S3 SOC is on bottom so heatsink could be add if overheating due to the small PCB area.

img3

We want to build intelligent camera solution which can be powered by PoE and can work with both wired and wireless Ethernet connection.

We add MIPI camera connector with RPi pinout as there are plenty of cheap 5Mpix cameras available.

We also will provide CSI camera with 5-8Mpix separately.

Why we do this board? We want to have intelligent IP camera among our tools and we put features which are necessary to fit our potential projects. This board have also potential for Voice over IP , Video over IP, Security, Home remote monitoring etc.

Initial upload on GitHub is with our schematic and components put on PCB locations, routing is ahead, so we would like to hear your opinion.

Did we forgot something?

Can we do something differently or better?

Let us know what do you think.

Video and Audio Streaming from A20SOM-EVB using crtmpserver

A20-SOM-EVB-2

Our A20-SOM-EVB had camera support only in Android for a long time. Now we got e-mail from Ariee Dzig who says:

I created IP Camera using your A20SOM-EVB.
Here you can find the tutorial .

 

We try this tutorial and it works great! Now we prepare new Linux images for A20-SOM-EVB which to include the hardware encoding support for the camera!

A20-SOM 2Mpix 30 fps camera finally works :)

Image

These who follow our blog know that we spent quite lot of time for A20-SOM module. We have it ready since September 2013 but the software support took quite a lot time.

Today the last component – the 2 Mpix 30 fps camera surrendered and works fine.

Here on this video you can see movie captured with A20-SOM camera, Dimitar is happy waveing middle finger to all bugs ūüôā

https://www.youtube.com/watch?v=Ix1EZyFxjHQ

So far the camera works only under Android as there is no working linux-sunxi camera support, but this may be fixed soon.

A20-SOM-EVB Camera experiments – it’s alive but still need love to start working correctly

Image

We have fun now with the camera on A20-SOM-EVB, first it was going in standby mode few milliseconds after we enable it, then Dimitar managed to fix this but the allocated memory was too small and the buffers were overflow and freezing the Android, after two days of fun tweaking this or that finally something like picture comes out, you can see above.

Still lot of noise, no focus, and some digital signals mixed in the video stream but at least we see the camera is alive ūüôā

There are tons of registers to initialize and hack so to be continued …

Connecting Web Camera to A13-OLinuXino for video streaming

Image

In our previous blog post we setup demo where A13-OLinuXino-WIFI both was running web server with MOD-RGB control and at the same time was streaming video from Web Camera so you can see the result from the MOD-RGB control https://olimex.wordpress.com/2013/02/27/a13-olinuxino-serving-mod-rgb-and-web-cam-for-live-stream/

Here is description how the video streaming was done:

USB video cameras use UVC driver which is not enabled by default in A13-OLinuXino kernel so have to be enabled additionally.

  1. Installing UVC
  • # git clone https://github.com/linux-sunxi/linux-sunxi.git
  • # cd linux-sunxi
  • # make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- a13_defconfig;make¬†ARCH=arm menuconfig
  • select in ¬†Device Drivers -> Multimedia support -> Video capture adapters -> ¬†V4L USB devices -> USB Video Class (UVC) (M)
  • # make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- -j5 uImage modules
  • # make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf-¬†INSTALL_MOD_PATH=output modules_install
  • # cp arch/arm/uImage /<sdcard mount point>/<FAT Partition>/.
  • # cp -aRv output/lib/modules/* /<sdcard mount point>/<EXT Partition>/lib/modules/.
  • # reboot
  • # modprobe uvcvideo

Now you have UVC support in your kernel and can use Web Camera for your Linux apps.

2.  Setup VLC Streaming

  • #¬†apt-get install vlc
  • #¬†chmod 777 /dev/video*
  • # adduser vlc
  • #¬†su vlc
  • # cvlc v4l2:// :v4l2-vdev=”/dev/video0″ :v4l-adev=”/dev/null” –sout
    ‘#transcode{vcodec=mpg1,vb=1024,vsize=320,hsize=240}:standard{access=http,mux=ogg,dst=:8080}’

last command is actually setting VLC streamer to stream mpg1 video 320×240 pixels at 8080 port, for more details check:¬†http://wiki.videolan.org/

A13-OLinuXino serving MOD-RGB and WEB-CAM for live stream

Image

In the previous post I wrote how A13-OLinuXino runs Apache server and you can control MOD-RGB strip over the internet, now the A13-OLinuXino service is available online at : http://94.156.100.85:8081/RGB/ you can open this URL and see actually web pages served by A13-OLinuXino

What’s new Dimitar Gmishev did is to connect USB web camera to A13-OLinuXino too, so now you can see the RGB stripe response to the web cntrol.

To see the MOD-RGB stripe via the web cam you need video player Рin our case this is open source Kantaris player with Ctrl-B you force it to play stream from internet URL and point it to : http://94.156.100.85:8080 and you will see the web cam video stream, so when you change the RGB color control you see the result on the camera!

Have fun and try it yourself