I was looking for a cheap USB to Serial TTL cable that would have a 3,5mm audio plug on its end. Such a cable can easily be found on Amazon for 23,27€ which is just a road robbery. Having an old audio plug the same cable can be constructed for only 6€ and here is the algorithm:
Thoughts and ideas about programming, scripting, automation, electronics, gadgets, web and technology
Showing posts with label USB. Show all posts
Showing posts with label USB. Show all posts
Saturday, January 5, 2013
USB to Serial TTL cable
I was looking for a cheap USB to Serial TTL cable that would have a 3,5mm audio plug on its end. Such a cable can easily be found on Amazon for 23,27€ which is just a road robbery. Having an old audio plug the same cable can be constructed for only 6€ and here is the algorithm:
Saturday, November 13, 2010
IR control for your router
There are no buttons on my router but very often I need to start some task without accessing the shell. For example I want to switch wireless interface off if I don't need it and the problem here is that I cannot switch it on again wirelessly because wireless interface is off. So I thought I need some kind of a one button USB keyboard or mouse but there is no such thing. Second thought was to use some kind of IR receiver with a remote control. As far as I already have a universal remote control Logitech Harmony 885 I only needed an IR receiver that is supported by Linux. So I bought one manufactured by TechniSat for 15,20Euro with delivery (just google for - TechniSat USB IR receiver)
Monday, September 3, 2007
AVCLan (IEBus) sniffer and device emulator project
Purpose: to be able to simulate different devices attached to the IEBus.
Complete schematic of the emulator is here.
Toyota uses the IEBus standard for internal equipment to communicate. As far as it is almost impossible to buy the IEBus driver IC it is possible to simulate it on a uController. The uController shall be fast enough to process the bus signal impulses that are less then 3 uSec. And at the same time the uController shall be fast enough to send received and processed data to the host computer in less then 120-130 uSec so the next message on the bus is not lost.
The uController of choice is pic18f2550. It contains the USB 2.0 module which supports full speed communication mode and can principally work up to 48MHz. It also contain 2 internal comparators that can be used to receive signal from the bus (though it was decided to use an external comparator to separate the uController from the bus). Device is supported by the PICmicro 18Cxx C compiler so it is possible to write the firmware in C. I'm using compiler version 2.40.
Complete schematic of the emulator is here.
Labels:
IEBus,
pic18f2550,
sniffer,
USB
Subscribe to:
Posts (Atom)
![[Image]](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgAf412GH4gw-y52Td70VFpRTdiBmQqsGl4AdIRJdtdV_2bmytygQSOzfjx4X8ELp4d4HbdF4eqKgHlqQVDpHOj8Um_aUFKfbVGZ52AsR0hjKrFFHPAsLipPO4pZdG3Exgrxy5wOOzUfeY/s320/usbttl.jpg)
![[Image]](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOkuYGklbJp9kkP6v_LwPDNoc2zjauRhAouB-sn4KmbsmyiNqHxOYLrlX_MbErhDicOMa36mtTc6_0X3axsuMWxwH_YnuQeT1Jzwt3eiQL6SMyNd_e8qntumVY9sjxt05DoapaEQwq8V8/s1600/TechniSat.jpg)