查看: 2594|回复: 2

Teensy 3.2 with Chinese version USB HOST MINI

[复制链接]

该用户从未签到

发表于 2018-8-25 15:17 | 显示全部楼层 |阅读模式
I have brought a USB HOST Mini a few years ago. It’s really cheap (29.5 Yuan/$4.6964). But there is no document for it and very hard to use. And I began to study it this month. At last, I make a covert board for it. You can use it with Teensy 3.2.
Before start, we should know below things:
1.        All the pins use on this USB Host Mini is 3.3V, it can be connected to Teensy directly(and don’t do it on your Arduino Micro Pro which is 5v)
2.        You should know the difference between original board [pic1] and Chinese version[pic2], I have marked in red and green cycles. I think that’s the only difference between them.
image001.png
Pic1
image002.gif
Pic2

3.        Before using the USB Host Shield you have to make some rework on it.
3.1 cut the wire in the red circle. Reason:it’s the power pin for USB device. And if we don’t cut it, the USB device will only get 3.3v. We cut the wire and send 5V power from outside(green in the below picture)
image003.png
3.2        Connect the reset pin directly to the 3.3v pin. In this way, reset pin is always high.
image004.gif

4.        The pin on this board is as below. DON’T trust the pins naming on backward board side[ref:1]
5.        I think there is something wrong with SPI4Teensy Library. Please make changes in \libraries\USB_Host_Shield_2.0-master\settings.h  to disable SPI4Teensy Lib
#if defined(CORE_TEENSY) && defined(KINETISK)
//move this #define USING_SPI4TEENSY3 USE_SPI4TEENSY3
#else
#define USING_SPI4TEENSY3 0
#endif
//Add++
#define USING_SPI4TEENSY3 0
//Add++

I have make a simple table for Teensy to UHS connections. You can connect them directly.
Teensy        UHS       
GND        GND       
D13        SCK       
D12        MISO       
D11        MOSI       
D10        SS       
D9          INT       
VIN         5V        It’s for USB device.
3.3V         MAX_RST        As you can see, I have connect 3.3V to the MAX_RST on the board, but I don’t know why it’s not work (too thin?). That’s the reason why you should make 3.2 rework.
PCB:
image006.gif
Schematic:
image007.gif

Note:as you can see, I have connected the Reset Pin of UHS to 3.3V, but I don’t know why UHS doesn’t. But after I connect theses pin with a wire, it works well.
image009.png
Teensy is much faster than Adruino.


image008.gif
image010.png
image005.png
打赏作者鼓励一下!

该用户从未签到

 楼主| 发表于 2018-8-25 15:25 | 显示全部楼层
USBHOST2Teensy.zip (112.65 KB, 下载次数: 5)
打赏作者鼓励一下!
  • TA的每日心情
    开心
    2019-9-18 00:08
  • 签到天数: 2 天

    [LV.1]初来乍到

    发表于 2018-10-10 22:54 | 显示全部楼层
    that is great.
    i also have one.
    we can chat more via my emal 15339875231@163.com
    您需要登录后才可以回帖 登录 | 立即注册  

    本版积分规则

    热门推荐

    【Arduino】108种传感器模块系列实验(55)---DHT11温湿度传感器
    【Arduino】108种传感器模
    37款传感器与模块的提法,在网络上广泛流传,其实Arduino能够兼容的传感器模块肯定是
    【Arduino】108种传感器模块系列实验(40)---旋转编码器模块
    【Arduino】108种传感器模
    37款传感器与模块的提法,在网络上广泛流传,其实Arduino能够兼容的传感器模块肯定是
    基于机器视觉的智能分拣机械臂
    基于机器视觉的智能分拣机
    本作品是一个基于机器视觉的智能机械臂操作平台,其采用atmega32单片机作为主控制系统
    请问HMC5883L的三个数据到底代表什么,如何做成指南针?
    请问HMC5883L的三个数据到
    或者哪位朋友有资料给个连接?网上愣是没找到。都只介绍了如何读取数据。我想做成图
    关于atmega328p-pu 地的问题
    关于atmega328p-pu 地的问
    请问图中ADC的地和VCC的地在单片机内部有连接吗?本人初学者,因为需要控制模拟电路,
    Copyright   ©2015-2016  Arduino中文社区  Powered by©Discuz!   ( 蜀ICP备14017632号-3 )
    快速回复 返回顶部 返回列表