Skip to main content


Showing posts from April, 2017

STM32 Nucleo HowTo

The Nucleo is not as popular as the Arduino, but here are some useful resources.

Excellent PDF to start with a STM Nucleo and a few components (Led, push button ...) Very basic, but very helpful.

The debug console On Linux just use Minicom. You only have to specify 9600 baud. Other default values should be OK.

Type this in a terminal: 'minicom -b 9600 -D /dev/ttyACM0'.
And you should see the  'printf("Bonjour !\r\n");'  in your C program.
The pins, where to plug stuff Of course it depends on your Nucleo board, but for the  L053R8, look at the Nucleo PinOut section. You have the Arduino and the Morpho headers, then focus on the PinNames.h file. Also keep in mind the warning about D0 and D1 that are not usable, because shared for the USB communication.
Problem is that ST web site is a bit cluttered with tons of informations and it is not easy to find the relevant ones to start.
Next I am still reading …

Midi keyboard AKAI LPK25 velocity problem

I have a cheap AKAI LPK25 MIDI keyboard. I it nice, but unusable due to unreliable sensibility. There is a utility: aseqdump that will dump MIDI messages. aseqdump -l will list the Midi client connected ; "-p client" will dump the specific client MIDI messages
ON PC, the plugin "MIDI velocity adjust" by Robin Gareus is excellent to compensate the poor physical MIDI keyboard.Android does not seem to feature such filter. Neither does Caustic: To measure the problem: $ aseqdump -p24 | tee lpk25.txt | sed --quiet -e 's/^.*Note on .*elocity //p'
 # Type some random string on the keyboard ... $ cat lpk25.txt | sed --quiet -e 's/^.*Note on .*elocity //p' > lpk25.dat $ cat   
  n=127 #number of intervals     max=128. #max value     min=1. #min value     width=(max-min)/n #interval width     #function used to map a value to the intervals     hist(x,width)=width*floor(x/width)+width/2.0  set boxwidth width*0.9     #cou…

March summary - 2017-03

03 Mars SocialRationalisation, Escalation of commitment "Escalade d'engagement"
Insisted both on "The Black Swan" and "Petit traité de manipulation a l'usage des honnêtes gens" Fair Grenoble excellent. TechTools
XFreeRDP very useful Remote Desktop Protocol (RDP) client. (I had connexion problems with Vinegar)
Can mount a drive!/usr/bin/xfreerdp /u:xxxx /p:XXX\! / +clipboard /size:1580x980 /drive:MY_DRIVE,/home/bruno/tmp & like there is a GTK+ GUI: Remmina Desktop extensions are great (Wayland integration not perfect yet.)
Integration with Chrome TCP/IP: IPTable connections differ from Kernel connections!!

Inspirational sites about IoT, DIY, makers ...

Continuing the quest for DIY components ...

Inspirational sites:ées

Excellent PDF to start with a STM Nucleo and a few components (Led, push button ...) Very basic, but very helpful.

Education about electrical motors I guess I should investigate the ST educational material. Looks like it is more in the spirit of what I want to do ...
There are also tons of YouTube video to explains all kind of electrical motors. Not only brushed, brushless, AC, DC, universal ...