IBM Thinkpad T420 camera USB pinout 

I have salvaged a builtin camera from an IBM Thinkpad T420 notebook.
After some DMM peek-poke I have managed to figure out the USB pinout:



VUSB: Yellow
GND: White
D-: Green
D+: Orange

The rest of the wires are for the MICs I think.
[ hozzászólás ] ( 7 megtekintés ) [ 0 trackbackek ] permalink ( 3 / 1868 )
Noname ("Made In China" ) 320A brushed car ESC from EBAY teardown and reverse engineering 

Some time ago I have bought a low cost ESC for my Tamiya Thundershot from Ebay. Something like this one:


I was always curious about the internal of these stuffs, but I never find any documentation about things like this.

MCU: EM788P153 (OTP)
FETs: 6 IRL3803 (2x2 parallel in forward direction, 1x2 in reverse).
Holtek HT7150 LDO for servos in SOT-89 package. In some ebay shots I can see modifications around that area with a DPAK LDO.


Update: revenged power stage.
Looks like it has a 20V step up converter, an using an LM339 in comparator mode to drive the FETs.
Also notice that it has a dedicated direction where 4 FETs are used while in reverse only 2 but this operation mode is when you drive the negative to the red motor cable and the positive to the black one!:


[ 1 hozzászólás ] ( 34 megtekintés ) [ 0 trackbackek ] permalink ( 3 / 1887 )
CASCON Galaxy: E: Access to measure image is not allowed in parallel programs.. 

Just to feed google with Göepel CASCON error messages:
If you face this error even if
Go to advanced options -> Generate untick -> Test Execution/parallel


[ hozzászólás ] ( 10 megtekintés ) [ 0 trackbackek ] permalink ( 3 / 1988 )
Cakephp 3.x CounterCache on the same model 

I have a model in a CakePHP app where I refer to the parents.
The tree behaviour seems to be an overkill for this purpose, but I needed the children's count for each random node. (For feeding this to a jstree widget through AJAX.)

My model was called ItemTypes and until I have not added the className => __CLASS__ to the belongsTo association the generated SQL query tried to refer to the parent_item_types which does not exists.


public function initialize(array $config)
{
parent::initialize($config);

$this->table('item_types';);
$this->displayField('name';);
$this->primaryKey('id';);

$this->addBehavior('Timestamp';);

$this->belongsTo('ParentItemTypes', [
'foreignKey' => 'parent_item_type_id',
'class' => 'ItemTypes',
'className' => __CLASS__
]);

$this->addBehavior(
'CounterCache',
[
'ParentItemTypes' => [
'child_item_type_count' => function ($event, $entity, $table) {
return $this->find('all', ['conditions' => ['ItemTypes.parent_item_type_id' => $entity->parent_item_type_id]])->count();
}
],
]
);
}


Many kudos to jose_zap!
[ hozzászólás ] ( 8 megtekintés ) [ 0 trackbackek ] permalink ( 3 / 2048 )
[cygwin] error while loading shared libraries: ?: cannot open shared object file: No such file or directory 

When you are facing at this error message open up the dependecy walker from here:

http://www.dependencywalker.com/

and you will realize that some of your linked libraries dependencies are missing from your system.
[ hozzászólás ] ( 5 megtekintés ) [ 0 trackbackek ] permalink ( 3 / 1715 )

<< <Előző | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | Következő> >>

 
számláló