Louisville, CO
Offline
Full Member
Karma: 2
Posts: 173
Arduino rocks
|
 |
« on: April 29, 2009, 11:31:58 pm » |
I want to port Maxim MAX3421E USB host controller code to Arduino. The code is [censored] here; in addition to that there is some short description on my site( and link to the code). The code is being developed for Microchip 8-bitters, however, the only hardware-specific part of it is SPI peripheral initialization, the rest is written in plain C. I have the following questions: 1. Does it make sense? The MAX3421E is very nice controller for small micros - it does all the timing, acknowledgements, etc., even I/O buffers are not necessary since it has its own. However, it's 3.3V part and as far as I can see, there is not too many 3.3V Arduinos. 2. What 3.3V Arduinos are available? So far I can only find one called Pro from Sparkfun. I need something full-size to be able to wear a protoshield.
Thank you, Oleg.
|
|
|
|
|
Logged
|
/felis
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 44
Arduino rocks
|
 |
« Reply #1 on: April 30, 2009, 02:30:10 am » |
seeeduinos 5V/3.3V selectable by a switch
|
|
|
|
|
Logged
|
|
|
|
|
Bristol, UK
Offline
Edison Member
Karma: 0
Posts: 1197
Exhibitor at UK Maker Faire
|
 |
« Reply #2 on: April 30, 2009, 04:10:56 am » |
Could you use a 5V to 3.3V level shifter chip such as the MAX3370?
|
|
|
|
|
Logged
|
|
|
|
|
Louisville, CO
Offline
Full Member
Karma: 2
Posts: 173
Arduino rocks
|
 |
« Reply #3 on: April 30, 2009, 11:35:28 am » |
There is quite a bit of signals to level shift, about 10. It's not a big deal by itself since there will be plenty of space left on the shield board anyway. However, I'd like to avoid extra soldering during prototyping and use 3.3V, at least for now.
|
|
|
|
|
Logged
|
/felis
|
|
|
|
0
Offline
Faraday Member
Karma: 6
Posts: 2504
|
 |
« Reply #4 on: April 30, 2009, 07:38:28 pm » |
I'd guess (since I couldn't find the datasheet) only 5 are required (4 for SPI plus the interrupt).
One of the 3.3V arduinos should do nicely.
Looks like a nice way to add a USB keyboard to an arduino. Be sure to let us know when you succeed!
-j
|
|
|
|
|
Logged
|
|
|
|
|
Louisville, CO
Offline
Full Member
Karma: 2
Posts: 173
Arduino rocks
|
 |
« Reply #5 on: April 30, 2009, 09:13:00 pm » |
Be sure to let us know when you succeed! I'm soldering a shield already. It pays to live close to Sparkfun :-).
|
|
|
|
|
Logged
|
/felis
|
|
|
|
Left Coast, CA (USA)
Online
Brattain Member
Karma: 283
Posts: 15443
Measurement changes behavior
|
 |
« Reply #6 on: May 01, 2009, 02:59:51 am » |
It pays to live close to Sparkfun . No, it would cost me a fortune if I lived close to Sparkgap  Lefty
|
|
|
|
|
Logged
|
|
|
|
|
Louisville, CO
Offline
Full Member
Karma: 2
Posts: 173
Arduino rocks
|
 |
« Reply #7 on: May 01, 2009, 12:52:48 pm » |
|
|
|
|
|
Logged
|
/felis
|
|
|
|
Louisville, CO
Offline
Full Member
Karma: 2
Posts: 173
Arduino rocks
|
 |
« Reply #8 on: May 01, 2009, 08:04:59 pm » |
|
|
|
|
|
Logged
|
/felis
|
|
|
|
Louisville, CO
Offline
Full Member
Karma: 2
Posts: 173
Arduino rocks
|
 |
« Reply #9 on: May 13, 2009, 10:35:16 am » |
|
|
|
|
|
Logged
|
/felis
|
|
|
|
SF Bay Area
Offline
Edison Member
Karma: 6
Posts: 1215
Arduino Ninja
|
 |
« Reply #10 on: May 14, 2009, 05:12:19 pm » |
I may have to stand on your shoulders pretty soon, have been kicking around an idea for a while. Lots of cameras can be controlled over USB using PTP, including most Nikon DSLRs, many Canons, etc. The USB interface allows you to control pretty much every aspect of the shot. End goal is very portable device (instead of a laptop) that allows you to make fine-tuned bracketed exposures with no limits on number of shots or adjustment, interval shots, etc. The libgphoto2 project has done most of the work figuring out what cameras support which functions.
|
|
|
|
|
Logged
|
|
|
|
|
Louisville, CO
Offline
Full Member
Karma: 2
Posts: 173
Arduino rocks
|
 |
« Reply #11 on: May 14, 2009, 05:35:42 pm » |
What is "standing on my shoulders"? I am from Russia originally and have difficulties understanding idioms:-). Is it good or bad?
|
|
|
|
|
Logged
|
/felis
|
|
|
|
SF Bay Area
Offline
Edison Member
Karma: 6
Posts: 1215
Arduino Ninja
|
 |
« Reply #12 on: May 14, 2009, 07:17:40 pm » |
It means that I would use your work (which you have been so kind as to document thoroughly) as a foundation to build up a higher level application. You are standing on the shoulders of the Arduino development team, who are standing on the shoulders of the Wiring team, who are standing on the shoulders of AVR-GCC team, and so on. 
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
Dallas
Offline
Shannon Member
Karma: 129
Posts: 10402
|
 |
« Reply #13 on: May 14, 2009, 07:38:22 pm » |
|
|
|
|
|
Logged
|
|
|
|
|
Louisville, CO
Offline
Full Member
Karma: 2
Posts: 173
Arduino rocks
|
 |
« Reply #14 on: May 14, 2009, 08:22:03 pm » |
It means that I would use your work Please do. I'll be glad to help; hoping to have some time on a weekend to continue porting the code. My biggest problem is lack of C++ knowledge, but I'm working on it.
|
|
|
|
|
Logged
|
/felis
|
|
|
|
|