Which IC to make Pen drive interfacing with Microcontroller

Go To Last Post
26 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

1. I have to interface a pen-drive with a microcontroller for data logging purpose.
task is to create a FAT based text file in which data will be appended.

 

2. Is there any usb host like IC available so that it can be interface with any MCU over uart to write data.
Like equivalent of FTDI232 is usb slave which can be interfaced with any MCu to connect it to any computer.

 

3. i had checked for vnc1l , it has two ports.
Any other IC with single port or cheaper alternative?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

search for an: On The Go (OTG) host.

I think there are a number of atmel processors that can do it, but we never use it, so have no idea which ones then would actually qualify, but googling the above should get you a long list of processors that can do the trick.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

The more economical solution is to chose a microcontroller with the USB/USB ONTHEGO host on chip. There are a number to chose from.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

MAX3421

'This forum helps those who help themselves.'

 

pragmatic  adjective dealing with things sensibly and realistically in a way that is based on practical rather than theoretical consideration.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Vindhyachal Takniki wrote:
I have to (sic?) interface a pen-drive with a microcontroller

Why does it have to be a pen-drive?

 

Why not an SD-Card?

 

 

Vindhyachal Takniki wrote:
Is there any usb host like IC available

Yes.

 

And, as others have said, many microcontrollers these days have USB Host (or OTG) capability.

 

Microchip currently have a 25%-off offer on the AT90USBKEY2:

 

http://www.microchipdirect.com/product/search/all/AT90USBKEY2

 

 

Ready-made modules are available; eg,

 

HobbyTronics USB Flash Drive Reader/Writer

http://www.hobbytronics.co.uk/usb-host-flash-drive

 

 

Vindhyachal Takniki wrote:
i had checked for vnc1l

That's been superseded by VNC2. With that, you wouldn't need any other microcontroller.

VNCII IC

http://www.ftdichip.com/Products/ICs/VNC2.htm

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

When the OP wrote "pen drive", I imagined a plotter pen. Could not figure how that would be involved with USB or text file.

 

Jim

Jim Wagner Oregon Research Electronics, Consulting Div. Tangent, OR, USA http://www.orelectronics.net

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 1

awneil wrote:
Why does it have to be a pen-drive? Why not an SD-Card?
+10

 

If you want to add storage to a small micro it is astronomically easier to use SD/MMC than USB-MSD

 

If you want to continue with USB-MSD then among AVR the two models that can do it are AT90USB647 and AT90USB1287

 

Beyond that look for micros with "USB Host" which means various ARM Cortex or Atmel UC3 etc.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

clawson wrote:

awneil wrote:

Why does it have to be a pen-drive? Why not an SD-Card?

+10

If you want to add storage to a small micro it is astronomically easier to use SD/MMC than USB-MSD

 

Except that once you move away from nice clean desktop environments, USB sticks are a lot more robust, are easier to transport and store, and don't get lost so easily.

'This forum helps those who help themselves.'

 

pragmatic  adjective dealing with things sensibly and realistically in a way that is based on practical rather than theoretical consideration.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Perfect example...

 

 

...along with my car/house/workshop/store keys I keep a USB stick. That same stick has been on the keyring for 5 or more years. I have yet to find any way to keep an SD card so reliably.

'This forum helps those who help themselves.'

 

pragmatic  adjective dealing with things sensibly and realistically in a way that is based on practical rather than theoretical consideration.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Brian Fairchild wrote:
 USB sticks are a lot more robust, are easier to transport and store, and don't get lost so easily.

No problem:

 

The 'Lexar' thingy has a micro SD-Card in one end, and USB at the other.

 

I have been using this to transport the data from a recording device every week for many years now.

 

(I actually alternate 2 SD Cards - so one is in the recorder while the other is in the USB adaptor)

 

EDIT

 

The card & adaptor actually came together in a pack - at about the same price as just a card.

 

Something like this:

Last Edited: Tue. Nov 21, 2017 - 11:21 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Nice to see that’s there’s some keys that can be copied........

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

clawson wrote:
Beyond that look for micros with "USB Host" which means various ARM Cortex or Atmel UC3 etc.

Or, as we are now all part of the Microchip family, various PICs.

 

I believe the the module I posted earlier is a PIC ...

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

ka7ehk wrote:
When the OP wrote "pen drive", I imagined a plotter pen

Ha ha - you're thinking of an old-school data logger:

Image result for chart recorder

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

awneil wrote:
Ha ha - you're thinking of an old-school data logger:

Indeed -- attached to the circuit output of your analog computer.

 

Still a very important concept to represent/display information vs. time -- regardless how gathered.  EKG, for example.

 

For border collie aficionados "pen drive" is part of trials; driving the sheep to the pen...

You can put lipstick on a pig, but it is still a pig.

I've never met a pig I didn't like, as long as you have some salt and pepper.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Brian Fairchild wrote:
Except that once you move away from nice clean desktop environments, USB sticks are a lot more robust, ...
Industrial micro-SD cards have been ruggedized.

Brian Fairchild wrote:
... are easier to transport and store, ...
Could consider a micro-SD sleeve or carrying case.

Note: some (most?) recent notebook PC have only USB type-C; some of those have a micro-SD slot.

 


https://swissbit.com/data/view.php?q=S-46u/S-46u_fact_sheet.pdf

...

 

High reliability

...

SIP (System In Package) process for extreme dust, water and ESD proof

 

(bottom of page 3)

 

Durability

...

via https://swissbit.com/products/nand-flash-products/cards/micro-sd-memory-cards/#Download

https://www.ebay.com/sch/items/?_nkw=micro+sd+sleeve

 

Edit: typo

 

"Dare to be naïve." - Buckminster Fuller

Last Edited: Tue. Nov 21, 2017 - 04:49 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

gchapman wrote:
Industrial micro-SD cards have been ruggedized.

Various options for "rugged" removable storage; eg, http://www.nexusindustrialmemory.com/

 

 

 

some (most?) recent notebook PC have only USB type-C; some of those have a micro-SD slot.

Many (most?) PCs do have an SD slot.

 

micro SD are readily adapted to "full-size"

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

No, it was that I don't think I had ever heard "pen drive" used in that context. Always "USB (something or other)". USB memory, or maybe Thumb Drive. But never pen drive. 

 

Jim

Jim Wagner Oregon Research Electronics, Consulting Div. Tangent, OR, USA http://www.orelectronics.net

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Seriously?!

 

surprise

 

http://www.avrfreaks.net/search/site/%2522pen%2520drive%2522?filter_by=9631&so=1

 

EDIT

 

but I did have to scroll a surprisingly long way down the google image search results before finding one that did, actually, look like a pen:

 

Image result for "pen drive"

 

Last Edited: Tue. Nov 21, 2017 - 06:39 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Yes, seriously. The term has probably been used in a few postings here, but I probably ignored them and scrolled on past.

 

Jim

Jim Wagner Oregon Research Electronics, Consulting Div. Tangent, OR, USA http://www.orelectronics.net

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

What do you guys keep on your flash drives?

 

I used to carry one with some encrypted info, but now I have my phone with it all on.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I just use either USB-MSD or SD/MMC as a "big floppy"when I want to share some large data (usually videos from car cameras in fact) with colleagues. In the past I have connected a USB cable to my phone and used that as a "transport device" for such data but pen drives/memory sticks/memory cards are generally just "easier" to pass around.

 

(of course there's also corporate networks and wi-fi or CAT5 - I can copy "big files" to a network location and then my colleagues can pull it from there - but again a quick drag/drop to a memory card is usually just a quicker/easier option)

 

I have a 32GB USB-MSD in my pocket with my change (don't have "keys"), I have a 32GB SD/MMC almost permanently plugged into the card slot in my laptop.

 

At present most of my USB-MSD is filled with the complete installation of a card data and video recording system that I need to study from time to time. I just "stole" a complete image of the drives in the recorder's system.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I don't generally keep stuff on them - I principally use them for transferring stuff.

 

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

What do you guys keep on your flash drives?

Bootable OS.

"Experience is what enables you to recognise a mistake the second time you make it."

"Good judgement comes from experience.  Experience comes from bad judgement."

"When you hear hoofbeats, think horses, not unicorns."

"Fast.  Cheap.  Good.  Pick two."

"Read a lot.  Write a lot."

"We see a lot of arses on handlebars around here." - [J Ekdahl]

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

VNC2 or MAX3421 looks suitable for application.
http://www.ftdichip.com/Products...

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Did you consider:

 

In #5, I wrote:
Why not an SD-Card? 

 

 

In #7, clawson wrote:
If you want to add storage to a small micro it is astronomically easier to use SD/MMC than USB-MSD

 

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

A VNC1L Vinculum controller IC is used to provide the interface between the system controller and a USB 2.0 full-speed port. VNC1L also handles the FAT 12/16/32 file creation and data storage on the USB Flash drive.