Acer Aspire V3-531 camera pinout 

We have used a salvaged PK40000K300 camera in our robot for the 10th Applied sciences competition:



Pinout for reference:
GND: Orange
+3.3V: Black! Don't ask why.
D-: Brown
D+ Orange

It has pretty good quality compared to another notebook cams what I have seen before.

[ hozzászólás ] [ 0 trackbackek ] permalink ( 3 / 5 )
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 ] [ 0 trackbackek ] permalink ( 3.3 / 13 )
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!:


[ hozzászólás ] [ 0 trackbackek ] permalink ( 3.5 / 16 )
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 ] [ 0 trackbackek ] permalink ( 2.8 / 12 )
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 ] [ 0 trackbackek ] permalink ( 2.9 / 30 )

| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | Következő> >>

 
számláló