Buy Pleo from Denmark

I found Pleo at this site:

UK Shopudland.dk – This site links to the UK Amazon. Price ca 2100 kr with standard shipping included. (I was so lucky that they shipped Pleo with UPS and with a UPS Express saver service level, which means next day delivery also in Denmark)

Since Pleo is in the UK I needed a main power supply converter form the standard used in UK to a standard European connector.

I found one at this site:Ekektronik lavpris

My new toy – Pleo

Pleo is a robot hidden inside a cute little dinosaur. The robot comes from Amazon Scotland since it are not sold in Denmark yet. It was shipped by UPS and delivered in Denmark the day after it had left the shop.

IMG_8351  IMG_8356

 

Here are some pictures of the dinosaur before birth. I shall mention that you don’t doubt that the robot is new is smells like new paint.

IMG_8369 IMG_8370 IMG_8372 IMG_8374

Since the robot is from Scotland it comes with a English power connector and it doesn’t fit into a standard Danish power socket so a converter is of cause needed. Its maybe also one of the causes that it isn’t sold in Denmark and Germany yet.

And some of the dinosaur after power on. After the initial birth Pleo becomes active and will of cause play like a dog with a stick.

IMG_8385 IMG_8388
IMG_8387

IMG_8392 IMG_8403
IMG_8412 IMG_8422
IMG_8420

The fun part is of cause that it is possible to update the software running the robot. With new updates from UGOBE but also with your own custom software. UGOBE plans to release a PDK later this year, but there are already some third party applications available now to ease the development.

UGOBE development site.

MySkit Performance Editor for PLEO

YAPT

Pleo are a well equiped robot Pleo inside

Python programming on windows

To programe python on windows you need the python source files:
Python download

 And a IDE here you can use ActiveState Komodo IDE

Linksys WRT150N v1 Serial mod

Overview

 

  • Locate a serial port on the main board
  • Convert the serial port signals from 3.3 Vcc to 5 Vcc to enable communication with a standard PC
  • Create a small test circuit with the parts required to convert the signals from 3.3Vcc to 5 Vcc

Locate serial port on main board

The WRT150N has a serial port located on the front of the circuit next to the security button. When the router is open and seen from top front the pins are located as follows (left to right)

  1. Ground
  2. Not used
  3. Rx
  4. Tx
  5. Vcc 3.3v

The connecter mounted to the main board are shown below. The other wires on the board should be ignored they are from a previous SD mod.

IMG_7872 - Copy
Serial port pins added to WRT150N v1 circuit.

Converting the serial port on the main board to a PC compatible serial port

To use the serial port with an ordinary PC the voltage has to be raised to 5 Vcc which the RS232 operate on. This can be done by using a MAXIM 3232CPE IC which has support of converting two serial ports from 3.3 Vcc to 5 Vcc.

 l7258l7259

Description from www.elfa.se/dk/

3,0 till 5,5 V RS232-sändare/mottagare Fabr Maxim Transceiver för +3,3 och +5 V-system. Behöver endast 4 st 0,1 μF kondensatorer. Pinkompatibel med MAX 232
MAX3232CPE

Creating a small test circuit with the MAXIM 3232 IC

Here a small print has been fitted with the required components, the MAXIM 3232 IC and the corresponding compensators. The IC is powered by the Gound and 3.3Vcc from the connector described above.

The serial port DB9 and connector from the main board is attached as shown:

  • PIN 11: T1IN to main board Tx
  • PIN 12: R1OUT to main board Rx
  • PIN 14: T1OUT to Rx on serial port connector
  • PIN 13: R1IN to Tx serial port connector

The rest of the PIN connection can be seen in the data sheet for the MAX3232CPE.

IMG_8350 IMG_8349

IMG_8348 IMG_8347 

You can now use the serial port with your PC. If you don't have a serial port on your laptop etc you can use a serial port to USB cable.

The serial port is used by the kernel to send debug information under startup and continues send log messages. The port setting is 115200 8N1.

References

Linksys WRT150N v1 SD Mod Guide

Content

  • Introduction
    • The SD card
    • Finding suitable IO points
      • Finding ground
      • Finding power, 3,3 volt
      • Finding general IO output points
      • Finding general IO input
    • The wiring layout
  • Implementing the modification
    • Wiring points
    • Setting up DD-WRT to support the modification
    • Editing files and folders on the card

Introduction

This blog post guides you through adding a SD card interface to a Linksys WRT150N router. This guide is guild upon the SD/MMC Mod guide found on the dd-wrt web site.

Adding a SD card to your router enables more space to store logs/files or install additional programs and since a standard edition of the dd-wrt fills up most of the space available on the router it leaves only a little space for you to play around with. Since you with the SD card are able to increase the storage available to 1-2GB or more you can host a little FTP or WEB server.

As an alternative to doing this mod of the router is sharing a folder on your computer so it can be used by the router. This can be done through the Samba shares which is supported by dd-wrt this is the standard used by windows. (Samba works only over a wired line) The Samba Filesystem

The SD Card

If we take a look at the SD card we want to add to the router we can see that only a small amount of the SD pins is needed to control it.

 

SD Pin SD function(SPI Mode) Direction
1 Chip Select (CS) IN
2 Data In (DI) IN
3 Ground
4 Vcc (3.3v)
5 Clock (CLK) IN
6 Ground
7 Data Out (DO) OUT
8 Reserved
9 Reserved

The SD card

WHR_G54S_SD_MOD-SD_Card

From this we can se that we need the following pins

  • Ground
  • Power 3,3 volt
  • 2-3 output pins (We can just ground to Chip select, then we need the Clock and DI)
  • 1 input pin (The data out from the SD card)

 

Finding suitable IO points

The SD card operate at 3,3 volt there fore wee first need to find a ground and Vcc connection point on the circuit board. When the SD card are powered up it needs some way of communicating with the rest of the router; we need to find at least 2 output pins and one input pin.

Finding ground

We need to find a grounded point this is very easy since it is present all over the PCB. Normally all metal housings are fore example connected to ground.

Finding power, 3,3 volt

Since the power supply on the router is 12 DC we can not use it directly we need another power source from the circuit board where we can measure 3,3 volt DC.

Finding general IO output points

Output means some way we can control the SD card. Here the LEDs are the most obvious choice. You can find out which LEDs are software controlled by loggin into the router by telnet or SSH and using the gpio command to test the IO ping from 0 to 9 looking for a LED shifting from on to off-on-off and so on.

  • gpio enable <IO pin number> # to enable a IO pin, which switches the LED off
  • gpio disable <IO pin number> # to disable a IO pin, which switches the LED on
  • gpio poll <IO pin number> # to read the status of a switch

Here are a little script to make the pin switch between 0 and 1:

  • while true; do gpio disable 1; sleep 3; gpio enable 1; sleep 3; done

 

Finding general IO input

To find an input pin use:

  • gpio poll <IO pin number>

Then you will se a 00 or 01 when it goes on and off.

The wiring layout

Now the important part. I made the IO tests as described above and found the following:

GPIO PIN Usage on WRT150N v1
GPIO 0
GPIO 1 OUT: Power LED
GPIO 2
GPIO 3 OUT: Security LED Orange
GPIO 4 IN: Security Switch
GPIO 5 OUT: Security LED Green
GPIO 6 IO: Reset – don’t set this pin high your router will reset it self.
GPIO 7
GPIO 8
GPIO 9

Here are how I decided to wire the SD card:

SD Pin SD function(SPI Mode) Router IO Router PIN description Wire color
1 Chip Select (CS) Ground   Black
2 Data In (DI) GPIO 5 Security LED Green Yellow
3 Ground Ground   Black
4 Vcc (3.3v) Vcc 3,3 v   Red
5 Clock (CLK) GPIO 3 Security LED Orange Green
6 Ground Ground   Black
7 Data Out (DO) GPIO 4 Security Switch White
8
9
         

 

Implementing the modification

Wiring points

WRT150N_basic_SD_MOD_wiring_half

Remember to solder to on the negative side of the LED the other side is not lowered enough to change to logical zero.

I tool the power and ground from JP2 (listed from right to left):

  • Ground
  • Vcc 3,3 v

Now you have to solder the SD card to your print. I took a socket from an old USB 7 in 1 card reader.

IMG_7916 IMG_7895 IMG_7894

Here are some pictures of the soldering of my router

IMG_7888

IMG_7889 IMG_7872

07052008(004) 07052008(005) IMG_7873 IMG_7875

Now we have to get this new par (the SD card socket) fit nicely inside the plastic box.

IMG_7897 IMG_7899
IMG_7900 IMG_7902
IMG_7904 IMG_7907
IMG_7908 IMG_7910
IMG_7912

Setting up DD-WRT to support the modification

Now login to the dd-wrt web GUI and set the GPIO pins

dd-wrt_web_gui_mmc_gpio

If you want to use the SD card for storing JFFS/IPKG then you have to mount it.

  • Turn on jffs in the web admin
  • Execute this command: mkdir /mmc/jffs
  • Put this line in the startup script: –bind /mmc/jffs /jffs

The SD card will be formatted as EXT2 on startup so be patient it has to format it at first start. But you can see the interaction with the card on the LEDs.

 

Editing files and folders on the card

You can use WinSCP to access the cart from your computer. Remember to use SCP.

Installing packages on the router:

Guide

Preparing /jffs for /opt

  • ~ # mkdir /jffs/opt
  • ~ # mount -o bind /jffs/opt /opt

Installing ipkg-opt and uclibc-opt

Search PATH

  • ~# export PATH=/opt/bin:/opt/sbin:$PATH
  • unset LD_LIBRARY_PATH

Search

  • ~ # /opt/bin/ipkg-opt list ‘*ftp*’

Source material

DD-WRT site

sd mmc mod.pdf (1.43 mb)

ipkg-opt.pdf (177.48 kb)

Wireless network discovery and visualization

Here I will list some use full tools for setting up your wireless network properly. There are a lot of tools for Linux and Windows xp for discovering wireless networks and their settings and signal strength but they usually does not support Windows Vista.

Here are the tools I discovered:

  • Vistumbler
  • Inssider

Vistumbler

Vistumbler is a tool for Vista like the NetStumbler. It is an AutoIt script that uses the netsh to get wireless information.

Vistumbler provides information like, SSID, Encryption, signal strength etc. Below are some screen shouts shown

vistumbler

The program supports also GPS location tracking, this means that you can collect the GPS coordinates belonging to the AP’s you discover and export them to NetstumblerToKML as shown below

NetstumblerToKML[1] image_preview[2]

Vistumbler is free and can be downloaded here

More info about Vistumbler can be found here

Inssider

Inssider is a simple free tool that allows you to visually see all wireless traffic. It graphs the signal strength along a timeline of each WLAN in a visual, simple-to-understand format.

Each network will be listed with the information discovered about it.

chart-networks.preview[1]

It is also possible to se a graph of the signal strength over time.

graph-timeline.preview[1]

Download Inssider here

More about inssider

Zell Am See – Skiferie billeder af hotellet

Her er nogle billeder af kælderen på hotellet.

Først ses saunaen og tørrerummene.

IMG_0966IMG_0965 
 IMG_0967 IMG_0963
IMG_0964

Herefter har vi opgangen og vaske rummet. Og informationen fyldt med oprydnings poser som dem vi fik til at pakke vores ting i da vi forlod hotellet.

IMG_0971 IMG_0962
IMG_0968 IMG_0969
IMG_0970 IMG_0972

HyperTerminal Private Edition

In Windows Vista have the well known HyperTerminal been removed which is a bit annoying when working with ex. Serial communication. But I found this free program, it looks like the usual hyperterminal.

Download

Free Serial Port Monitor

I have been working on refactoring a protocol for communicating with a blood glucose measurement device since the manufacture haven’t released any. To make it possible to reconstruct a protocol I observed the program delivered with the device with this Free Serial Port Monitor. It enables you to se what is been send and received on a Serial Port at different levels of details.

10592_small

Main site: Download

Morrow: Download

Free CD/DVD burn program DeepBurner – no install needed

DeepBurner is available in a portable version. It can be used without install. Just unzip.

Link.

 

Top