BIFFERBOARD + VSTONE NANO

Custom built or hacked Electronic boards and sensors
37 postsPage 1 of 31, 2, 3
37 postsPage 1 of 31, 2, 3

BIFFERBOARD + VSTONE NANO

Post by Zacohk » Tue Aug 03, 2010 11:38 pm

Post by Zacohk
Tue Aug 03, 2010 11:38 pm

I am experimenting with the Bifferboard since few weeks; it is a very interesting platform.
I installed Debian without too many troubles; you need to have some basic knowledge in Linux still.
Here are my finds:

- BIFFERBOARD
- USB hub: I had some troubles with several hubs (Kernel panic or some adapter not working well with certain hub, the UVC camera in particular). I am using a cheap hub without brand.
-Wifi : working fine (rt73) but adapter big for my project and also is getting quite hot – I wish I can install a smaller Wifi Dongle (rtl8187 based) but I cannot compile the driver.
-Camera: UVC is working fine, I can stream video smoothly, the camera chip is also getting very hot – what a waste of power… I am doing some tests with 2 cameras
-Serial: FTDI (PL2302) working fine –(note: I didn’t obtain good results with a CP2101)
- Sound: working fine with a cheap &small USB audio adapter – can play wav files or Text to speech but not enough power for MP3. Sadly the sound quality is deteriorating if I have video streaming at the same time, I don’t know if it is a lack of power or noise generated by the camera
- Display: I am experimenting with a USB 1.8’ keychain picture display (see: http://picframe.spritesserver.nl). The small display purpose is to show a live stream from a remote webcam (or from the onboard webcam)

I tried to use the Bifferboard without the support board (with only 4 cables: 1.8 v, 3.3v and USB data). It is working but the supply power must be very well stabilized or the board will fail to complete the boot.

-BIFFERBOARD + NANO ROBOT
The Bifferboard fit nicely in the Nano back, between the servo connectors.
I stuffed the 4 ports USB hub+ 4 Go Micro SD card reader + Usb Serial inside the board. A wifi stick and a camera are connected thanks to light plugs. (note: I get rid of the erthernet + USB board to save weight and space)

The Bifferboard is powered by 1 single Lipo (1000Mah) . A LVBoost step up a steady 5V . The Board + the USB adapters are consuming around 1A, I can stream video for 40 min at least, maybe more.
A Python script takes handle the communication between the Nano serial port and a TCP/IP socket.

I am remotely controlling the Nano from a Flash interface. The Vstone controller serial communication is very well documented and allow master/slave control of the servos, command control, battery power feedback,…
I am experimenting with the Bifferboard since few weeks; it is a very interesting platform.
I installed Debian without too many troubles; you need to have some basic knowledge in Linux still.
Here are my finds:

- BIFFERBOARD
- USB hub: I had some troubles with several hubs (Kernel panic or some adapter not working well with certain hub, the UVC camera in particular). I am using a cheap hub without brand.
-Wifi : working fine (rt73) but adapter big for my project and also is getting quite hot – I wish I can install a smaller Wifi Dongle (rtl8187 based) but I cannot compile the driver.
-Camera: UVC is working fine, I can stream video smoothly, the camera chip is also getting very hot – what a waste of power… I am doing some tests with 2 cameras
-Serial: FTDI (PL2302) working fine –(note: I didn’t obtain good results with a CP2101)
- Sound: working fine with a cheap &small USB audio adapter – can play wav files or Text to speech but not enough power for MP3. Sadly the sound quality is deteriorating if I have video streaming at the same time, I don’t know if it is a lack of power or noise generated by the camera
- Display: I am experimenting with a USB 1.8’ keychain picture display (see: http://picframe.spritesserver.nl). The small display purpose is to show a live stream from a remote webcam (or from the onboard webcam)

I tried to use the Bifferboard without the support board (with only 4 cables: 1.8 v, 3.3v and USB data). It is working but the supply power must be very well stabilized or the board will fail to complete the boot.

-BIFFERBOARD + NANO ROBOT
The Bifferboard fit nicely in the Nano back, between the servo connectors.
I stuffed the 4 ports USB hub+ 4 Go Micro SD card reader + Usb Serial inside the board. A wifi stick and a camera are connected thanks to light plugs. (note: I get rid of the erthernet + USB board to save weight and space)

The Bifferboard is powered by 1 single Lipo (1000Mah) . A LVBoost step up a steady 5V . The Board + the USB adapters are consuming around 1A, I can stream video for 40 min at least, maybe more.
A Python script takes handle the communication between the Nano serial port and a TCP/IP socket.

I am remotely controlling the Nano from a Flash interface. The Vstone controller serial communication is very well documented and allow master/slave control of the servos, command control, battery power feedback,…
Zacohk offline
Savvy Roboteer
Savvy Roboteer
Posts: 38
Joined: Wed Jul 02, 2008 9:54 am

Post by limor » Wed Aug 04, 2010 12:38 pm

Post by limor
Wed Aug 04, 2010 12:38 pm

Hi Zacohk
Your post made my day!
This is exactly the kind of functionality I would like to see evolving for hobby robotics.
You may have seen the thread about a new bifferboard interface board we are working on. Your experience with attaching camera, wifi, sd card and sound via usb, will help in defining a working solution set for all hobby robots.
Please upload some pictures (use the file manager link on the left)
Hi Zacohk
Your post made my day!
This is exactly the kind of functionality I would like to see evolving for hobby robotics.
You may have seen the thread about a new bifferboard interface board we are working on. Your experience with attaching camera, wifi, sd card and sound via usb, will help in defining a working solution set for all hobby robots.
Please upload some pictures (use the file manager link on the left)
limor offline
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 1845
Joined: Mon Oct 11, 2004 1:00 am
Location: London, UK

Post by Zacohk » Wed Aug 04, 2010 3:18 pm

Post by Zacohk
Wed Aug 04, 2010 3:18 pm

Hi Limor,

I am following I-bot post with high interest, this is just what I need.

Here are some first pics:

Image

Image
Image
Image
Image
Image
Hi Limor,

I am following I-bot post with high interest, this is just what I need.

Here are some first pics:

Image

Image
Image
Image
Image
Image
Zacohk offline
Savvy Roboteer
Savvy Roboteer
Posts: 38
Joined: Wed Jul 02, 2008 9:54 am

Post by i-Bot » Thu Aug 05, 2010 10:56 am

Post by i-Bot
Thu Aug 05, 2010 10:56 am

Do you know what chip is inside the USB hub which works ?

I have used a hub with GL850G chip which works OK so far, but I have not done video. The plan is to incorporate the hub IC to the board, so save space and avoid hub problems. (unless I choose the wrong device !) I am also suspicious if this device has been cloned.

Also interested how you get on with smaller WLAN modules. I have an LM-006 based on the RTL8188 which I would like to get working.

I will put up first pass schematics by weekend, so interested on you feedback.
Do you know what chip is inside the USB hub which works ?

I have used a hub with GL850G chip which works OK so far, but I have not done video. The plan is to incorporate the hub IC to the board, so save space and avoid hub problems. (unless I choose the wrong device !) I am also suspicious if this device has been cloned.

Also interested how you get on with smaller WLAN modules. I have an LM-006 based on the RTL8188 which I would like to get working.

I will put up first pass schematics by weekend, so interested on you feedback.
i-Bot offline
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 1142
Joined: Wed May 17, 2006 1:00 am

Post by Zacohk » Fri Aug 06, 2010 1:21 pm

Post by Zacohk
Fri Aug 06, 2010 1:21 pm

I tried 8 different cheap hubs in my quest to find the slimmest/lightest one. Some were giving me Kernel panic, some worked fine except for the UVC camera (MJPG streamer would not start).
The most stable for my config. is the one advised in the Bifferboard group, similar to the pic below:

Image

The smallest USB PCB I found is from the one below but I cannot start MJPG Streamer with it.

Image

I am in holidays now and cannot check the chips, I will doing more tests next WE and will note all the details , I will aslo do some tests with OpenWRT this time.

So far it seems that nobody succeed to compile the RTL8188/RTL8187 drivers, there is a post about it in the newsgroup.
I tried 8 different cheap hubs in my quest to find the slimmest/lightest one. Some were giving me Kernel panic, some worked fine except for the UVC camera (MJPG streamer would not start).
The most stable for my config. is the one advised in the Bifferboard group, similar to the pic below:

Image

The smallest USB PCB I found is from the one below but I cannot start MJPG Streamer with it.

Image

I am in holidays now and cannot check the chips, I will doing more tests next WE and will note all the details , I will aslo do some tests with OpenWRT this time.

So far it seems that nobody succeed to compile the RTL8188/RTL8187 drivers, there is a post about it in the newsgroup.
Zacohk offline
Savvy Roboteer
Savvy Roboteer
Posts: 38
Joined: Wed Jul 02, 2008 9:54 am

Post by Zacohk » Sun Aug 22, 2010 3:51 pm

Post by Zacohk
Sun Aug 22, 2010 3:51 pm

Here are some videos:


phpBB [media]




phpBB [media]
Here are some videos:


phpBB [media]




phpBB [media]
Zacohk offline
Savvy Roboteer
Savvy Roboteer
Posts: 38
Joined: Wed Jul 02, 2008 9:54 am

Post by nunogato » Mon Sep 20, 2010 6:45 pm

Post by nunogato
Mon Sep 20, 2010 6:45 pm

Hi Zacohk
How's the progress with the bifferboard humanoid?
have you identified the perfect smallest usb hub, webcam and wifi dongle?
Hi Zacohk
How's the progress with the bifferboard humanoid?
have you identified the perfect smallest usb hub, webcam and wifi dongle?
nunogato offline
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 86
Joined: Mon Mar 15, 2010 3:48 pm

Post by Zacohk » Sun Jan 23, 2011 6:41 am

Post by Zacohk
Sun Jan 23, 2011 6:41 am

USB HUB:
I tried 10 new more usb hub, hoping to use some with small footprint PCB
For all of them I have the same problems: I cannot telnet or SSH to the board and I cannot launch Mjpeg streamer, I cannot launch CGI scripts.
Everything else seems working, I can ping from and to the bifferboard.
I am puzzled, some of the new USB Hub I tried are supposed to have the same chip as the working one (fe1.1).
I have no clues about why I only have one USB hub fully working. Any tips or help to solve this issue are warmly welcome.

USB WIFI:
My D-Link DWL-G122 (rt73 driver) works well but it is too big.
I bought 2 different small ( stamp size) USB wifi dongles (For Ralink RT2070 & RTL8188SU) and tried for weeks to build and install the drivers but I still cannot succeed to compile them for my Debian (I have some basic Linux skills).
However, somebody succeeded to make these dongles working on Slackware:
http://sites.google.com/site/bifferboar ... kware/wifi

Note: I successfully compiled and installed the RT2070driver for my Roboard (with Debian) following this steps:
http://ubuntuforums.org/showthread.php?t=1285828
The same steps are not working for my Bifferboard .
Actually I cam compile but the dongle fail to start:
Error message: bifferboard:~# lsmodphy0: Failed to select rate control algorithm.

I would also greatly appreciate any help to make these dongles working on a Debian Biff.
USB HUB:
I tried 10 new more usb hub, hoping to use some with small footprint PCB
For all of them I have the same problems: I cannot telnet or SSH to the board and I cannot launch Mjpeg streamer, I cannot launch CGI scripts.
Everything else seems working, I can ping from and to the bifferboard.
I am puzzled, some of the new USB Hub I tried are supposed to have the same chip as the working one (fe1.1).
I have no clues about why I only have one USB hub fully working. Any tips or help to solve this issue are warmly welcome.

USB WIFI:
My D-Link DWL-G122 (rt73 driver) works well but it is too big.
I bought 2 different small ( stamp size) USB wifi dongles (For Ralink RT2070 & RTL8188SU) and tried for weeks to build and install the drivers but I still cannot succeed to compile them for my Debian (I have some basic Linux skills).
However, somebody succeeded to make these dongles working on Slackware:
http://sites.google.com/site/bifferboar ... kware/wifi

Note: I successfully compiled and installed the RT2070driver for my Roboard (with Debian) following this steps:
http://ubuntuforums.org/showthread.php?t=1285828
The same steps are not working for my Bifferboard .
Actually I cam compile but the dongle fail to start:
Error message: bifferboard:~# lsmodphy0: Failed to select rate control algorithm.

I would also greatly appreciate any help to make these dongles working on a Debian Biff.
Zacohk offline
Savvy Roboteer
Savvy Roboteer
Posts: 38
Joined: Wed Jul 02, 2008 9:54 am

Post by Zacohk » Sun Jan 23, 2011 6:51 am

Post by Zacohk
Sun Jan 23, 2011 6:51 am

I made some progress with the Bifferboard single board computer (running Debian /linux 2.6.33.2-bifferboard):

LCD :
I installed a cheap 1.5” color USB LCD (Copy DP-152, you can find some as low at 5 usd on Ebay) following http://picframe.spritesserver.nl/wiki/i ... /Main_Page
Without the body and Lipo, the screen is less than 10 g, and very compact. I could save 1-2 g and 2 mm in thickness by removing the mini usb.
I also removed the screen buttons, they are not necessary as it start automatically in USB update mode
The driver is easy to compile, as long as you have installed the libgd2 library.

I can display any picture with the command. /septic /dev/sdb /pic.png.
The little script provided by Spritesmods to display a webcam stream allow me to either to display the stream from the onboard camera or from any ip camera (mjpeg stream) .

The frame rate is slow, ~1f/s, as the script is basically graping a jpeg and converting to a .png, which is quite heavy work for the Biff..

It took me more time to compile lcd4linux (ton of dependency pbs), but it is a neat application thanks to I can display the processor speed, ram left, wifi traffic, system message, batteries status…

I can simultaneously run lcd4linux and the webcam script but I will have to fine tune the font color,& size to make everything more readable with a changing background.

Here are some pictures:

[img]pic23-1.JPG[/img]

[img]pic23-3.JPG[/img]

[img]pic23-4.JPG[/img]

[img]pic23-5.jpg[/img]

[img]pic23-6.JPG[/img]

[img]Screen1.jpg[/img]

[img]pic23-2.jpg[/img]
I made some progress with the Bifferboard single board computer (running Debian /linux 2.6.33.2-bifferboard):

LCD :
I installed a cheap 1.5” color USB LCD (Copy DP-152, you can find some as low at 5 usd on Ebay) following http://picframe.spritesserver.nl/wiki/i ... /Main_Page
Without the body and Lipo, the screen is less than 10 g, and very compact. I could save 1-2 g and 2 mm in thickness by removing the mini usb.
I also removed the screen buttons, they are not necessary as it start automatically in USB update mode
The driver is easy to compile, as long as you have installed the libgd2 library.

I can display any picture with the command. /septic /dev/sdb /pic.png.
The little script provided by Spritesmods to display a webcam stream allow me to either to display the stream from the onboard camera or from any ip camera (mjpeg stream) .

The frame rate is slow, ~1f/s, as the script is basically graping a jpeg and converting to a .png, which is quite heavy work for the Biff..

It took me more time to compile lcd4linux (ton of dependency pbs), but it is a neat application thanks to I can display the processor speed, ram left, wifi traffic, system message, batteries status…

I can simultaneously run lcd4linux and the webcam script but I will have to fine tune the font color,& size to make everything more readable with a changing background.

Here are some pictures:

[img]pic23-1.JPG[/img]

[img]pic23-3.JPG[/img]

[img]pic23-4.JPG[/img]

[img]pic23-5.jpg[/img]

[img]pic23-6.JPG[/img]

[img]Screen1.jpg[/img]

[img]pic23-2.jpg[/img]
Zacohk offline
Savvy Roboteer
Savvy Roboteer
Posts: 38
Joined: Wed Jul 02, 2008 9:54 am

Post by Zacohk » Sun Jan 23, 2011 7:11 am

Post by Zacohk
Sun Jan 23, 2011 7:11 am

Here are the pictures:

Image

Image

Image

Image

Image

Image

Image
Here are the pictures:

Image

Image

Image

Image

Image

Image

Image
Zacohk offline
Savvy Roboteer
Savvy Roboteer
Posts: 38
Joined: Wed Jul 02, 2008 9:54 am

Post by Zacohk » Sun Jan 23, 2011 7:16 am

Post by Zacohk
Sun Jan 23, 2011 7:16 am

More updates:

USB SOUND
A USB sound adapter with the chipset CM119 give much better result than the first one I firstly used (with chipset 6911).
I can now play sound (.wav or text to speech with flite) simultaneously with the webcam streaming and doesn’t experience anymore sound quality issues.

It can also nicely play web streaming radio with the command:
wget -O - http:/ip address :port number | madplay - -m -o wave:- | aplay

SERIAL (TTL)
I get rid of the USB- SERIAL (FTDI) adaptor, I now simply connect my serial device to the bifferboard serial port . I didn’t deactivated the console messages, there are not posing any pbs with my serial communication.
I connect to the console terminal by SSH through WIFI.
More updates:

USB SOUND
A USB sound adapter with the chipset CM119 give much better result than the first one I firstly used (with chipset 6911).
I can now play sound (.wav or text to speech with flite) simultaneously with the webcam streaming and doesn’t experience anymore sound quality issues.

It can also nicely play web streaming radio with the command:
wget -O - http:/ip address :port number | madplay - -m -o wave:- | aplay

SERIAL (TTL)
I get rid of the USB- SERIAL (FTDI) adaptor, I now simply connect my serial device to the bifferboard serial port . I didn’t deactivated the console messages, there are not posing any pbs with my serial communication.
I connect to the console terminal by SSH through WIFI.
Zacohk offline
Savvy Roboteer
Savvy Roboteer
Posts: 38
Joined: Wed Jul 02, 2008 9:54 am

Post by Zacohk » Sat Jan 29, 2011 3:29 pm

Post by Zacohk
Sat Jan 29, 2011 3:29 pm

The body is almost finish.

I am now using a 1300 mah single Lipo to power the Bifferboard.
It gives me 1hr of autonomy with the webcam streaming.
The LCD is supposed to take 100~200 ma that I could decrease by changing the backlight led with a low power one.


New picture and new video:
Image


phpBB [media]
The body is almost finish.

I am now using a 1300 mah single Lipo to power the Bifferboard.
It gives me 1hr of autonomy with the webcam streaming.
The LCD is supposed to take 100~200 ma that I could decrease by changing the backlight led with a low power one.


New picture and new video:
Image


phpBB [media]
Zacohk offline
Savvy Roboteer
Savvy Roboteer
Posts: 38
Joined: Wed Jul 02, 2008 9:54 am

Post by Zacohk » Sat Feb 05, 2011 4:28 pm

Post by Zacohk
Sat Feb 05, 2011 4:28 pm

I recompiled Debian from scratch (2.6.32) and installed the header.
There was lot of try and error and tuning involved but the output is looking good.
I can now compile the module for my stamp size Wlan adapter below:

Image

it is surprisingly working very well , signal quality is excellent, power consumption is lower (thanks to less chips and components, also less heat I guess)
My issues with USB hubs are gone, I found some new small hub pcb (3 x 4 cm) that better fit inside the Bifferboard.

Now working:

- Wlan with mini USB adapter: working (compilled and tested 8192cu.ko and 8712u.ko)
- Mini webcam (uvc): working
- Stream video: working (Mjpg Streamer)
- Receive web video and display it on a 1.5” lcd: working
- Display system information on the lcd: working (lcd4linux)
- Cgi scripts: working
- Usb sound adapter: working
- Stream web audio: working
- Synthesise speech: working (espeak) - some new pb with Flite
- I2c sensors (accelerometer, distance, digital/analog): working
- Gpio: working
- Serial (TTL) control (motion and master/slave) of Robovie CPU board VSRC003: working
- Bluetooth usb: working

In progress:

- Reduce boot time (messing up with startup daemons now)
- Recompile Flite
- Speech recognition (http://www.kiecza.net/daniel/linux/cvoi ... .html#toc2)

I will soon post a link to my distro.
I recompiled Debian from scratch (2.6.32) and installed the header.
There was lot of try and error and tuning involved but the output is looking good.
I can now compile the module for my stamp size Wlan adapter below:

Image

it is surprisingly working very well , signal quality is excellent, power consumption is lower (thanks to less chips and components, also less heat I guess)
My issues with USB hubs are gone, I found some new small hub pcb (3 x 4 cm) that better fit inside the Bifferboard.

Now working:

- Wlan with mini USB adapter: working (compilled and tested 8192cu.ko and 8712u.ko)
- Mini webcam (uvc): working
- Stream video: working (Mjpg Streamer)
- Receive web video and display it on a 1.5” lcd: working
- Display system information on the lcd: working (lcd4linux)
- Cgi scripts: working
- Usb sound adapter: working
- Stream web audio: working
- Synthesise speech: working (espeak) - some new pb with Flite
- I2c sensors (accelerometer, distance, digital/analog): working
- Gpio: working
- Serial (TTL) control (motion and master/slave) of Robovie CPU board VSRC003: working
- Bluetooth usb: working

In progress:

- Reduce boot time (messing up with startup daemons now)
- Recompile Flite
- Speech recognition (http://www.kiecza.net/daniel/linux/cvoi ... .html#toc2)

I will soon post a link to my distro.
Zacohk offline
Savvy Roboteer
Savvy Roboteer
Posts: 38
Joined: Wed Jul 02, 2008 9:54 am

Post by billyzelsnack » Sun Feb 06, 2011 4:19 am

Post by billyzelsnack
Sun Feb 06, 2011 4:19 am

Where did you get that Wifi dongle?

Edit: Found one. http://www.newegg.com/Product/Product.a ... 6306&nm_mc
Where did you get that Wifi dongle?

Edit: Found one. http://www.newegg.com/Product/Product.a ... 6306&nm_mc
billyzelsnack offline
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 618
Joined: Sat Dec 30, 2006 1:00 am

Post by Zacohk » Sun Feb 06, 2011 6:24 am

Post by Zacohk
Sun Feb 06, 2011 6:24 am

Search "Edup" on Ebay. They are as low as 2.99 usd! These mini adapters work with 8192cu.ko. Most of the other ones work with the 8712u.ko.

Note: the module 8192cu.ko is spitting some frequent console messages ("issue nulldata to keep alive") . It is not a problem but can become annoying if you often use to the serial console .
To deactivate these messages, comment out the lines 2790 & 1507 from core/rtl871x_mlme_ext.c
Search "Edup" on Ebay. They are as low as 2.99 usd! These mini adapters work with 8192cu.ko. Most of the other ones work with the 8712u.ko.

Note: the module 8192cu.ko is spitting some frequent console messages ("issue nulldata to keep alive") . It is not a problem but can become annoying if you often use to the serial console .
To deactivate these messages, comment out the lines 2790 & 1507 from core/rtl871x_mlme_ext.c
Zacohk offline
Savvy Roboteer
Savvy Roboteer
Posts: 38
Joined: Wed Jul 02, 2008 9:54 am

Next
Next
37 postsPage 1 of 31, 2, 3
37 postsPage 1 of 31, 2, 3
cron