hello,
I'm using Arduino Pro mini as main board for my project.
The device case will be permanently glued, and for power +5V i'm using USB cable with standard A plug to put to computer or USB charger, and only cables connected are GND and +5V (D+ and D- are not connected to the board)
Now i was thinking how i would reprogram device if needed...
The best idea would be to add additional socket/connector for handling the serial for programming, but it would complicate the hardware design, and would be hard to get it waterproof in a cheap way.
So i was wondering what if I connect D+ and D- (data lines in USB cable) that are unused now , straight to the TX and RX (serial TTL) of arduino ?
I know that the connection would not be usable without USB/TTL converter, but the interface is only for my own service purposes, so i could build a "converter" with a USB socket and plug the device to that converter for programing.
The question is, if it is safe for USB HOST device, like computer port or USB charger, and for arduino board to that ?
Will it interfere with something, or maybe it will burn something ?
As far as i know there is a software solution to add USB 1.1 by emulating USB host on serial tel of arduino (LUFA) and the connection there is straight , so what if i'm not emulating nothing, and the D+D- lines are just serial TTL and connected to a computer USB port ? just for powering the device in normal usage, and for programming connected threw the USB to TTL adapter ?
Does anyone have got any idea ?
The arduino I'm speaking about is 5v 16mgz version.