Vinculum chip

Hi,

I´ve been tinkering with Vinculum chip (VDIP1 board).
http://www.vinculum.com/prd_vdip1.html
At the moment, without flow control....
I´ve based on:
http://www.arduino.cc/playground/Main/UsbMemory
http://www.vinculum.com/downloads.html#vutilities

The pin out of VDIP is:

Pin 1.- 5 volts
Pin 6.- TXD
Pin 7.- GND
Pin 8.-RXD
Pin 10.- GND

My code example with Mega is here. it´s quite fool... only to start with the device => http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1247331076/0#0

When I connect a pendrive, the device is trying to see any firmware update inside before to start. Is it possible avoid this? Because it´s a long time...

Thank you

Kind Regards,

Igor R.

Dear Igor R,
I am currently thinking about a datalogger which would need to have an external datalogger. So your code with some comments would be highly appreciated to understand how to apply this to my specific application.

Unfortunately my spanish is too bad to read and understand the post you have linked... :-[

Hi,

It´s based on Hello world example from vinculum, which it´s good commented for a PIC microcontroller.

Basically:

  • VNC1_Confirmation()=> returns 1 if D:>+CR has been received.
  • VNC1_Sync()=> returns 1 if the sync method was ok. This means send and receive the echo characters ("e" and "E").
  • VNC1_FindDisk()=> return 1 if there is a pendrive connected to the device.

The command while (VNC1_Confirmation()==0); waits until D:>+ CR has been received. First, I tested with hyperterminal what the vinculum device answer after the commands.

The objetive it´s expand it with flow control (CTS and RTS signals). I´ve used long commands and Serial 3 of Arduino Mega.
When a button connected to pin 9 is pushed, first sync, after look if there is pendrive and open to write igor.txt. The data saved is IGOR and millis() time + CR.
It´s very basic and fool example.

I hope this help you. :wink:

Regards,

Igor R.

Hi there Igor, thanks alot for that example code! I just purchased the VDIP2 and been experimenting.

I'm curious, have you gotten any other devices to work? Other than the flash drive (pen drive)? And also, I read that "the drive may become un-readable" have you had any problems with drives not working after playing with them? I just don't want to issue some wrong commands or something and render the flash drive un-readable, that would be a waste! :smiley:

Thanks again, and that project looks pretty nifty! :slight_smile: I'm going to be using mine as a datalogger, and hopefully if I can figure out how to work with other devices, read data from a GPS unit and display it real time on an LCD and record it to the flash drive. :smiley:

Hi,

If you want to use as datalogger, I recommend you to use flow control (RTS and CTS lines). To avoid problems with buffers.
And with DIP2, to test my example, pin 18 is equivalent to pin 10 of VDIP1 (mine). This means, connect it to gnd if you aren´t using flow control.
At the moment, I´ve only done this example. I haven´t problems with the device, but it´s true that I´ve read what you say.

Regards,

Igor R.