3
\$\begingroup\$

I am trying to connect arduino and usb lancard

In the datasheet, there is USB transceiver interface, containing symbol, type, pin number, description (usb D+ or D- signal).

However, the datasheet (about 20 pages) includes no information about what pin (out of 4) and what value to send to make anything work.

What reference should I refer to?

Thanks!

(I am a hardware beginner, sorry for dumb question)

\$\endgroup\$
  • \$\begingroup\$ its clear that English isn't your first language but your going to have to do some work to make this question answerable. \$\endgroup\$ – Mark Jun 2 '11 at 1:38
  • \$\begingroup\$ oh thank you for your advice. could you be more specify? such as 3rd sentence's grammar is broken or something like that. thanks! \$\endgroup\$ – kim taeyun Jun 2 '11 at 1:48
  • \$\begingroup\$ from my experience, if the datasheet doesn't have enough info to make it work then you should look for a different part. \$\endgroup\$ – Kellenjb Jun 2 '11 at 2:12
  • \$\begingroup\$ Are you talking about the datasheet for your lancard, or for the arduino? If it's the lancard, do you have a part number for it? \$\endgroup\$ – Jeremy Kerr Jun 2 '11 at 2:56
  • \$\begingroup\$ As I said in one of my previous comments, you'll need a card that can work with Arduino out of the box. If such cards aren't available in your area, you could try making one. You'll need a chip that's stand-alone or uses one of the popular microcontroller protocols such SPI or \$I^{2}C\$. \$\endgroup\$ – AndrejaKo Jun 2 '11 at 7:19
5
\$\begingroup\$

It sounds to me like you're going the wrong direction with the hardware you have available. If you're using a USB network adapter, it's probably one of those where you have to install drivers in the OS to make it work. And if you have to do this, then you've got your work cut out for you trying to interface an Arduino with such a USB device. It's not going to be as simple as an HID device (i.e. keyboard or mouse).

If you have an Arduino, why not stick with one of the tried-and-true solutions, like an Ethernet Shield? Or try the SPI device that Jeremy Kerr has mentioned in his answer.

\$\endgroup\$
2
\$\begingroup\$

As Kellenjb has said in a comment:

if the datasheet doesn't have enough info to make it work then you should look for a different part

I think that this is excellent advice, especially if you're a beginner. Much better to spend time and effort designing, rather than wondering what the (poorly documented) hardware requires from you.

If it's an ethernet device you're looking for, then the enc58j60 is a SPI 10baseT device, well documented, and has AVR libraries already available.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.