Posts Tagged: ‘DIY’

Add a console to Cisco Small Business SLM2008

02/27/2013 Posted by admin

I recently opened a SLM2008 and noticed the unpopulated header with two signal lines : looked like a RS232 header.

Browsing the web (Maxim Integrated’s website) , I found a device that could be used for the unpopulated U11 : Max3243 (exact part could be another one, as I am not sure for pins 21/22 & 23, but I only really care about the TX/RX pins). On this part, there is a RS232-to-TTL between pins 6&17 and opposite TTL-to-RS232 between 13&10.

I quickly added wires on those pins :

 

And the ‘bus pirate’ on the header.

(Lire la suite…)

DS18B20 / 1-wire via Little Wire (USB) / OpenWrt on TL-WR841ND

09/15/2012 Posted by admin

I wanted to interface something to my WR841, without too much hassle.
But also some cheap way to do so, to keep advantages of the WR841 price…

Luckly, I already had an AVR-USB based platform, based on ‘Little Wire’ : http://littlewire.cc/

With its latest v1.1 firmware, 1-Wire is available via the Little Wire : that’s my perfect candidate to
add a DS18B20 and to make some temperature measures.

I have quickly cross-compiled the onewire.c example given in the C computer interfacing sources
(Openwrt buildroot, linking the source with libusb-0.1.12) and here is the result :


root@OpenWrt:~# cat /etc/openwrt_release
DISTRIB_ID="OpenWrt"
DISTRIB_RELEASE="Bleeding Edge"
DISTRIB_REVISION="r33276"
DISTRIB_CODENAME="attitude_adjustment"
DISTRIB_TARGET="ar71xx/generic"
DISTRIB_DESCRIPTION="OpenWrt Attitude Adjustment r33276"
root@OpenWrt:~# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
Bus 001 Device 003: ID 1781:0c9f Multiple Vendors USBtiny
Bus 001 Device 004: ID 1e3d:8246
root@OpenWrt:~# /root/onewire
> Little Wire firmware version: 1.1
> Address search ...
> Addr#0: 28 4F 4F 7E 2 0 0 3B
> End of search with 1 device(s) found
> Start the talking with the last device found
> 64 1 4B 46 7F FF C 10 1
> 63 1 4B 46 7F FF D 10 15
> 63 1 4B 46 7F FF D 10 15
> 64 1 4B 46 7F FF C 10 1

 

Update 20/03/2013 :

Created an OpenWrt source package and an ipkg (not tested)

Hack a USB Reader/adapter to use Cheap SDCard DIY Connector

12/18/2011 Posted by admin

Or how-to add a SIL support to a USB Reader/adapter for breadboard modified SDCards :

I really like the idea that I found somewhere (found it back here) of using a single pin header to connect MMC/SdCard to breadboards

Then using it on a breadboard is easy and convenient

 

But it is no more usable on the USB card reader/adapter … Unless you are hacking the adapter too !

(Lire la suite…)