Tuesday 4 December 2018

FLOW binding cable replacement

after few years(ok really after almost 8years :D ), of improper using of back part of flow binding to stop or stay in place on slope, cable deside that is time to go .....  so I have 2option befor this season kick in, new binding or fix this one, and as it is, old product = no support, i accepted chalange to fix this one! cose i can!

first what binding i have: it's old NXT-AT SE.

this is what left of cable, I mange to ride for almost 6days with broken cable, with just cable hold down by adjustment screw at the lock part and sort of nut of calbe and plus cable ties.




PROBLEMS:

- cable need to by crimped on binding, or after its go trough some parts of binding (2metal strips, which connect cable to base, locking part), this is due the size of end ball which did not fit through lock or metal strips, which is of course logical ...

- size of crimped end piece with ball is no standard size, commercially available parts (http://www.vazaci-technika.cz/category.php?id_category=419) are around 50mm long and original was like 20mm. This will change radius of bend, which mean putting foot in binding can be dificult, but i have to check on hill.

SOLUTION:

here are 2 solutions:

- if your binding is not like nxt, and you have cable attached just by one screw on end, you can simply order 3/5 or 3/4mm - 3mm stainless cable, 4 or 5mm outer diameter (http://www.vazaci-technika.cz/product.php?id_product=2719, http://www.vazaci-technika.cz/product.php?id_product=2478) with this end piece (http://www.vazaci-technika.cz/product.php?id_product=1164)

length should be exact as your original cable, this is how will look:




- if you have old style of binding, you need to cale with this end piece (http://www.vazaci-technika.cz/product.php?id_product=1165) I buy my cale as 3/5 + this end piece which has M6 thread at the end, so I have to enlarge holes in metal strips to 7.5mm. End piece need to by cut, threaded part, I cut my just to fit 2 screw nuts, at the end only one nut was used(with threadlock, and I also smashed threads), otherwise cable did not bend properly for foot to be inserted into binding. I place order for my cable as length of original cable between end-balls and specified that length of cable between threaded part must be this number, in my case 40cm( I have XL binding).




I was thinking about upgrading my binding to "1 screw" type, but I was not comfortable with cutting plastic. Also I have in mind other possibilities of fixing this if current solution did not work:

- end piece with inside thread (http://www.vazaci-technika.cz/product.php?id_product=3494) problem is, that technical information on this site are minimal, so I cant tell how deap thread, so how strong screw can be used, also screw head must by grind to half ball shape to allow proper movement in metal strips.

- through hole end piece + new metal strips. This cable will be ile 20mm shorter, and new metal strips will be shaped like bicykle link. one pin goes over through hole end piece and second one on original screw in binding plate. This will allow for other bending point, so more flex for whole solution. But new metal strips need to be fabricated.

here are some other pictures of current fix:













Wednesday 3 October 2018

HOW TO change PSkey configuration on OVC3860 based module


Hardware required:


- USB2serial converter
- cables to connect it
- breadboard (optional)
- adapter for BT Module

Software required:


- OVC3860_revd_config_tool.exe
- dump of PSKey (if you want to flash complete dump)

(my dumps are in this repository - *.dat files)

How to connect it all together:

BTmodule    USB2serial
    RX                TX
    TX                RX
  GND             GND
  VBAT          5V through diode

RX to TX, TX to RX

powering module from 5V via a diode to drop it to safe ~4.3V

When usb2serial adapter is connected to the computer, it must by configured (under windows) as COM1, so go to device manager, find your usb2serial device and change it to COM1, then start OVC3860_revd_config_tool.exe , (for info, I run it with wine on Linux, symbolic link from /dev/ttyUSB0 to com1 at ~/.wine/dos_devices), then when software is running, reset module (connect RESET to ground). Software will state to "Connected" with green dot.

Connected module
Module will stop blink leds
Then you can read/write PSKeys by selecting exact PSKey and red it by selecting "Read Selected" or write it by "Write Selected" after you change it to desired value.

You can also upload full PSKeys dump by selecting "Open file", selecting dump and then hit "Write All".

Select "Open file" for selecting dump file.

Select dump file

Values from dump file are read. "Write all" will write them.

Thursday 27 September 2018

new breadboard adapters




while I was playing with new BT modules I create few breadboard friendly adapters for them, I also sell these at tindie store, not for profit but to make programing and playing with these module easy so other can contribute to OSS comunity (libraries, HW designes, etc..)
  • F-6188 based on BK8000L
  • F-6888 based on BK3254
  • BM20 module based on IS2020 from Microchip
  • BM23 module based on IS2030 from microchip
  • updated version for F-3188 module based on CSR8645
  • update version for blk-md-spk-b based on OVC3860 chip

 

 Adapter for F-6188 (BK8000L) module

https://cdn.tindiemedia.com/images/resize/fEGc1fAxpvfZg9wegQHBN3z-X24=/p/full-fit-in/2400x1600/i/96343/products/2018-07-04T20%3A11%3A48.023Z-20180704_184142.jpg

 

Documents for this module:
https://github.com/tomaskovacik/kicad-library/tree/master/library/datasheet/F-6188_BK8000L

Kicad schemtics library for this module:
https://github.com/tomaskovacik/kicad-library/tree/master/library

Kicad PCB module:
https://github.com/tomaskovacik/kicad-library/tree/master/bluetooth.pretty

Repository with Kicad project for F-6188 module
https://github.Dcom/tomaskovacik/hw/tree/master/kicad/F-6188_breakout_board

Arduino library:
https://github.com/tomaskovacik/BK8000L/


 You can buy this adapter at my tindie store and support my work:

I sell on Tindie

Adapter for F-6888 (BK3254) module



https://cdn.tindiemedia.com/images/resize/GYEfjRISEkgZPFpK7mbqeLmboSI=/p/full-fit-in/2400x1600/i/96343/products/2018-09-13T14%3A48%3A48.873Z-20180913_164130.jpg
Documents for this module:
https://github.com/tomaskovacik/kicad-library/tree/master/library/datasheet/F-6888_bk3254

Kicad schemtics library for this module:
https://github.com/tomaskovacik/kicad-library/tree/master/library

Kicad PCB module:
https://github.com/tomaskovacik/kicad-library/tree/master/bluetooth.pretty

Repository with Kicad project for F-6188 module
https://github.com/tomaskovacik/hw/tree/master/kicad/F-6888_breakaout_adapter

Arduino library:
https://github.com/tomaskovacik/BK3254

You can buy this adapter at my tindie store and support my work:
I sell on Tindie

Adapter for BM-20 (IS2020) module

https://www.tindie.com/products/tomaskovacik/bm20-breadboard-adapter/




Documents for this module:
https://www.microchip.com/wwwproducts/en/BM20
https://www.microchip.com/wwwproducts/en/IS2020

Kicad schemtics library for this module:
https://github.com/tomaskovacik/kicad-library/tree/master/library

Kicad PCB module:
https://github.com/tomaskovacik/kicad-library/tree/master/bluetooth.pretty

Repository with Kicad project for F-6188 module
https://github.com/tomaskovacik/hw/tree/master/kicad/BM20_breadboard_adapter

Arduino library (in early stage of devel)
https://github.com/tomaskovacik/IS2020

You can buy this adapter at my tindie store and support my work:

I sell on Tindie

Adapter for BM-23 (IS2023) module

Documents for this module:
https://www.microchip.com/wwwproducts/en/BM23
https://www.microchip.com/wwwproducts/en/IS2023
 
Kicad schemtics library for this module:
https://github.com/tomaskovacik/kicad-library/tree/master/library

Kicad PCB module:
https://github.com/tomaskovacik/kicad-library/tree/master/bluetooth.pretty

Repository with Kicad project for F-6188 module
https://github.com/tomaskovacik/hw/tree/master/kicad/BM23_breadboard_adapter

Comming soon to my store at tindie.com.

Updated adapter for F-3188 (CSR8645) module

https://cdn.tindiemedia.com/images/resize/AcZpUczzFUifLIHfAyE_ZvYiAXw=/p/full-fit-in/2400x1600/i/96343/products/2018-07-04T18%3A48%3A25.232Z-20180615_184342.jpg


update: buttons, leds

Documents for this module:
https://github.com/tomaskovacik/kicad-library/tree/master/library/datasheet/F-3188_CSR8645_bluetooth
 
Kicad schemtics library for this module:
https://github.com/tomaskovacik/kicad-library/tree/master/library

Kicad PCB module:
https://github.com/tomaskovacik/kicad-library/tree/master/bluetooth.pretty

Repository with Kicad project for F-6188 module
https://github.com/tomaskovacik/hw/tree/master/kicad/F-3188_CSR8645_breadbord_Adapter

You can buy this adapter at my tindie store and support my work:

I sell on Tindie

Updated adapter for blk-md-spk-b - OVC3860

https://cdn.tindiemedia.com/images/resize/sYXtx09GiWzP6fC8OVSz6Yvt0pY=/p/144x72:2932x1929/full-fit-in/2400x1600/i/96343/products/2018-10-02T16%3A23%3A45.755Z-20181002_174427.jpg

update: buttons, mic jack

Module as is shipped from china, is not capable of calling (at least not on my S9, after picking up phone, phone will disconnect from module), but there is solution: - upload this PSkey data dump with this software, here is how-to connect it and how to change name also.

Documents for this module:
https://github.com/tomaskovacik/kicad-library/tree/master/library/datasheet/OVC3860_based_modules
 
Kicad schemtics library for this module:
https://github.com/tomaskovacik/kicad-library/tree/master/library

Kicad PCB module:
https://github.com/tomaskovacik/kicad-library/tree/master/bluetooth.pretty

Repository with Kicad project for F-6188 module
https://github.com/tomaskovacik/hw/tree/master/kicad/blk-md-spk-b_breadboard_adapter

Arduino library for modules based on OVC3860:
https://github.com/tomaskovacik/OVC3860/

You can buy this adapter at my tindie store and support my work:

I sell on Tindie








You can buy these adapters at my store on tindie to support my work, options are, with/without pasive components(leds, buttons etc..) suldered/unsoldered.

Libraries for BT modules based on OVC3860,BK3254 and BK8000L chips

while ago I created this libraries, for bluetooth modules based on chips:


Library for OVC3860 based modules

For more info about library for OVC3860 based modules check wiki where I wrote about PSkey configuration mode and how you can change name, pin using example provided with library.  Library also support fallback to PSKey mode when module is not supporting standard AT command for change name nad pin, but be aware this will restart module.
Library require getNextEventFromBT() function to be call periodicly from main loop.
 
List of functions is in README.md in repo.

All documents and SW which I use as source of knowledge (AT commands, PSKey config mode) are in this repository.



Library for BK3254 based modules

This library is less complicated, supporting only AT commands, some of them did not work for me, so ...

List of functions is in README.md in repo.

All documents which I use as source of knowledge (AT commands) are in this repository.


Library for BK8000L based modules

This library is less complicated, supporting only AT commands, some of them did not work for me, so ...

List of functions is in README.md in repo.

All documents which I use as source of knowledge (AT commands) are in this repository.


These are opensource under GPL3, so any contributions are welcome.

Links:


[1] https://github.com/tomaskovacik/OVC3860/

[2] https://github.com/tomaskovacik/BK3254/

[3] https://github.com/tomaskovacik/BK8000L/

https://github.com/tomaskovacik/kicad-library/tree/master/library/datasheet

Tuesday 10 April 2018

full fis over 3lb







extended lib(work in progress, we can say) from https://github.com/arildlangseid/vw_t4_tcu_temp_to_fis

with support for fullscreen, everything is on github as always :)

please push any updates, patches to github

https://github.com/tomaskovacik/VAGFISWriter

https://github.com/tomaskovacik/arduino/tree/master/VWFIS/FIS_protocol_emulator_with_lib


Friday 2 February 2018

analysis of volume fix adapter from ebay by tomsad

so friend has problem with volume on his audi concert, I know what is problem, and also that there are at least 2 adapters on ebay which should fix this [1], [2] (second one is also here: [3])

second one is smaller and cheaper so I go for this one.

.... adapter arrived at postbox, so I was curious how it's works. So i take closer look at traces on PCB and realize that mcu is STM32, and is only grabbing SPI from display and send I2C to audio controller (TDA7342), so they recreate complete audio control stack, nice, lets check it how well it works ;).

 I made simple arduino sketch to get i2c data on this radio [4], and here are my observations:

input selector is not working,

changing bass/treble/fade/balance can by set different from what is showed on display, check my github for output from arduino i2c sniffer links to files [5],[6],[7] are from "modul from ebay/programatory.com" and file in link [8] is output of reprogrammed Motorola MCU which I buy like 3-4years back.

so, what to do? return it and try first one(from ebay) or implemented volume rewrite in my code??

so after while I write few lines of code to fix this, code is on my github [9]
schematics will be there in few days

[1] https://www.ebay.com/itm/152875338212

[2] https://www.ebay.com/itm/142651501685

[3] https://www.programatory.com/index.php?p1106

[4] https://github.com/tomaskovacik/arduino/tree/master/audi_volume_fix

[5] https://github.com/tomaskovacik/arduino/blob/master/audi_volume_fix/fix_module_by_tomcad.txt

[6] https://github.com/tomaskovacik/arduino/blob/master/audi_volume_fix/fix_module_by_tomcad2.txt

[7] https://github.com/tomaskovacik/arduino/blob/master/audi_volume_fix/fix_module_by_tomcad3.txt

[8] https://github.com/tomaskovacik/arduino/blob/master/audi_volume_fix/newchip.txt

[9]  https://github.com/tomaskovacik/audi_concert1_chorus1_volume_fix

Wednesday 17 January 2018

support

if you want to support my work, here are few of my wallet addresses:

ETH: 0x17c0e8c2a312908ee4e6aacd20563422dff9622e

BTC: 1F82BPbnZ5nZVWa89bNKPPikSq2XE7wVcD

LTC: LMHUz6UniJp2xZcuzScJwZ313q2VtHCgpG

thx!