Author Topic: Stuffing Serial Bluetooth Module Inside C1k Casing  (Read 409315 times)

Boris

  • Newbie
  • *
  • Posts: 29
    • View Profile
    • http://
Stuffing Serial Bluetooth Module Inside C1k Casing
« Reply #225 on: April 03, 2006, 11:11:02 pm »
Quote
Code: [Select]
1.BT ground disconnected, +5V connected:                  59mA
Hmm, this is more than expected but proves my guesses.

BTW, I've completely forgot that we're talking about powering up USB module which should work even from 4.4V volts.  This allows one to use cheap PNP like 2N2907 or BC807 in place of MOSFET (looking at schematic "C": connect emmiter instead of source , collector instead of drain, add an 1k resistor between collector of VT4 and base of VT3).

albertr

  • Hero Member
  • *****
  • Posts: 535
    • View Profile
    • http://
Stuffing Serial Bluetooth Module Inside C1k Casing
« Reply #226 on: April 04, 2006, 06:58:13 am »
Well, I already found MOSFETs (no costs besides time spent on unsoldering), so for me the price is not a concern. But since we have space constraints, the number/size of the components is important.

Anyway, I'm going with schemantics "C" for both Wi-Fi and BT modules.
Thanks Boris for your help!
-albertr
« Last Edit: April 04, 2006, 07:05:13 am by albertr »

daniel3000

  • Hero Member
  • *****
  • Posts: 1003
    • View Profile
    • http://
Stuffing Serial Bluetooth Module Inside C1k Casing
« Reply #227 on: April 05, 2006, 10:38:52 am »
Hello Albertr,

finally I could make an USB BT dongle work which I bought (BTW: They are quite cheap here. 16.99 EURO or so I have paid for it and the internals look ike they could fit inside the Microdrive Zauri..)

I have read your zaurus wireless page and from hat I understand, it should be easy to connect just on eUSB device internally without great modifications (the first few pictures on your page).
Is this correct?

Now, if I connect the dongle that way, is the external USB port (host and client) usable as before?

Does the internal addition need some kind of driver patch, or does it work right away?

I'm looking for a quick and easy solution, even if I cannot stuff two modules inside but just one.


Thanks a lot!
daniel
SL-C3200 with weeXpc, based on pdaXrom 1.1.0beta3
HP 200LX with MS-DOS 5.0

albertr

  • Hero Member
  • *****
  • Posts: 535
    • View Profile
    • http://
Stuffing Serial Bluetooth Module Inside C1k Casing
« Reply #228 on: April 05, 2006, 12:05:31 pm »
Daniel,

Sharp's OHCI glue driver for PXA270 doesn't enable port#1. So, you'll need to either use the replacement I wrote, or write your own. I'd suggest you to get your build environment working first. For compiling the kernel you'll probably need old gcc 2.X and related tool chain. Once you can compile the kernel and modules and verify that it boots and works on your Z, then take a look at the Sharp's driver - it should be pretty easy to figure out what needs to be done to enable the port#1.

As far as schemantics go, you're correct that all you need to get it working is two usb data lines, since power control lines are not traced on the PCB. But I would suggest to use a software controlled power switch, i.e. one drawn by Boris in his schemantics "C". Otherwise the USB dongle will drain your battery even when not in use.
-albertr

albertr

  • Hero Member
  • *****
  • Posts: 535
    • View Profile
    • http://
Stuffing Serial Bluetooth Module Inside C1k Casing
« Reply #229 on: April 09, 2006, 08:57:16 pm »
http://www.iral.com/~albertr/linux/zaurus/wireless/

was updated with more pictures.

I guess that's pretty much it, and would conclude the ever first clamshell Z with internal wi-fi and bluetooth.

I'll probably keep updating the drivers from time to time, but as far as pictures/tracing/schemantics go, I consider it done.
-albertr
« Last Edit: April 09, 2006, 10:03:21 pm by albertr »

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3707
    • View Profile
Stuffing Serial Bluetooth Module Inside C1k Casing
« Reply #230 on: April 11, 2006, 05:35:49 pm »
AlbertR, you win the Zaurus hardware modder of the year award!

Now you'd built your first, here's the big question. How much would you sell me a brand new freshly modified C1000 which offered wifi & bluetooth built-in, with (say) a 3 month warranty?

Think carefully, 'cos you may end up with a new temporary career!
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

albertr

  • Hero Member
  • *****
  • Posts: 535
    • View Profile
    • http://
Stuffing Serial Bluetooth Module Inside C1k Casing
« Reply #231 on: April 12, 2006, 07:41:32 am »
Money-wise, I think that would only make sense if there's a small batch (maybe 10 or so) done at the same time. Otherwise, I'm afraid it could be way too expensive...
-albertr

Antikx

  • Hero Member
  • *****
  • Posts: 1147
    • View Profile
    • http://tyrannozaurus.com
Stuffing Serial Bluetooth Module Inside C1k Casing
« Reply #232 on: April 12, 2006, 11:35:51 am »
Great work Albertr! Is there any option of people sending you their SL-C1000's and having you do the work on them? I'm pretty shakey with a soldering iron.  If so, any ballpark figure for Parts + Labour + Shipping?
Kanpai,
-Antikx (Twitter, Mugshot and PodNova)
C1000 - pdaXrom R198 (Celestial Environment)
tyrannozaurus.com
[img]http://www.tyrannozaurus.com/files/category_pictures/general_1.png\" border=\"0\" class=\"linked-sig-image\" /]
Zaurus news/blogs feed from Zaurus users
Free Windows, Linux, or Web RSS readers.
Featured pages at tyrannozaurus:
Sharp Petition, ScummVM, Cacko, pdaXii13, and Celestial Environment

guylhem

  • Hero Member
  • *****
  • Posts: 577
    • View Profile
Stuffing Serial Bluetooth Module Inside C1k Casing
« Reply #233 on: April 13, 2006, 05:47:11 am »
Hello

Since there seems to be a demand, I will see if I can arrange that with a local soldering small business who does a very clean job.

What people who have to do is :
 - provide their Zaurus + the parts that must be fitted it, like the BT and WIFI usb dongles (it is your duty to check for compatibility !)
 - pay for the time spent and s&h costs

Additional components could be purrchased locally by the shop, but usb dongles compatibility may vary on a per batch basis, so I wouldn't want to hassle them before the venture is operationnal and running .

Guylhem

Antikx

  • Hero Member
  • *****
  • Posts: 1147
    • View Profile
    • http://tyrannozaurus.com
Stuffing Serial Bluetooth Module Inside C1k Casing
« Reply #234 on: April 13, 2006, 10:16:51 am »
Thanks guylhem!
Great idea.
Kanpai,
-Antikx (Twitter, Mugshot and PodNova)
C1000 - pdaXrom R198 (Celestial Environment)
tyrannozaurus.com
[img]http://www.tyrannozaurus.com/files/category_pictures/general_1.png\" border=\"0\" class=\"linked-sig-image\" /]
Zaurus news/blogs feed from Zaurus users
Free Windows, Linux, or Web RSS readers.
Featured pages at tyrannozaurus:
Sharp Petition, ScummVM, Cacko, pdaXii13, and Celestial Environment

Mjolinor

  • Full Member
  • ***
  • Posts: 227
    • View Profile
Stuffing Serial Bluetooth Module Inside C1k Casing
« Reply #235 on: April 15, 2006, 06:57:42 am »
Looking at this BT thing and figured that it's easier to put it on the processor side of the board. That being the case then the attached is needed to ge the TX RX CTS RTS lines right.

Picture shamelessly stolen from Albetr's excellent page.

albertr

  • Hero Member
  • *****
  • Posts: 535
    • View Profile
    • http://
Stuffing Serial Bluetooth Module Inside C1k Casing
« Reply #236 on: April 15, 2006, 09:38:49 am »
Good idea! Especially for ppl with soldering skills , since these point are really small. The reason I went with resistor array was it's easier to solder than four separate leads.
-albertr

Mjolinor

  • Full Member
  • ***
  • Posts: 227
    • View Profile
Stuffing Serial Bluetooth Module Inside C1k Casing
« Reply #237 on: April 15, 2006, 10:30:29 am »
OK, Now I'm stuck.

Fitted the BT module but have no idea what other signals I need or what to do about the SW. I have only connected the 4 RS232 lines and + - supplies. I commoned all the supplies at this stage rather than putting any kind of control on them to turn it on or off, that will come later when I have it working (confident aren't I). I took the supply from the point that feeds the existing tracks for BT under the CF. It is available just above where the resistor pack goes.

I used an Ericsson BT module which the guy who owns this site http://www.stelioscellar.com/eShop/other.html informs me is fully supported in Linux. He sent me a CD image with rakes of docs and source code on so now I need help. What is my next step.

Soldering to the 4 pads was an absolute pig. It's time I realised I'm too old for this.

albertr

  • Hero Member
  • *****
  • Posts: 535
    • View Profile
    • http://
Stuffing Serial Bluetooth Module Inside C1k Casing
« Reply #238 on: April 15, 2006, 01:11:53 pm »
So you do have +3V, ground, TX, RX, CTS & RTS  already connected to the module, right? If you don't have a software-controlled power switch, I would recommend to at least temporary use some small hardware switch on +3V line, it could be handly for testing. Or If you have RESET line on Ericsson module, you can connect it to some unused GPIO to be able to reset thru software.
Resetting the hardware sometimes could be very helpful when testing.

As far as software goes, just get the serial driver from my page, copy it over to Sharp's kernel tree and rebuild the kernel. Before rebuilding, make sure that it has the following options in its config:

CONFIG_SERIAL=y
# CONFIG_SERIAL_SL_SERIES is not set

You might also biuld it as a kermel module if you don't use the serial console.
-albertr
« Last Edit: April 15, 2006, 01:24:48 pm by albertr »

Mjolinor

  • Full Member
  • ***
  • Posts: 227
    • View Profile
Stuffing Serial Bluetooth Module Inside C1k Casing
« Reply #239 on: April 15, 2006, 01:27:13 pm »
There is a reset line on the BT module and there is also a reset line on the original connecitons for the internal module but I don't knwo if all the components are on the MB or not.

So I need some kernel source files or are these already on somewhere, this thing has cacko on at the moment. Where can I find the kernel source? I can feel a bricked Zaurus coming on here.

I think it better to build it as a module but I have no idea how.
« Last Edit: April 15, 2006, 01:37:47 pm by Mjolinor »