Skip to main content

Posts

May summary - 2017-05

05 May Productivity, GTDReadability chrome Extension has become Mercury: https://chrome.google.com/webstore/detail/mercury-reader/oknpjjbmpnndlpmnhmekjpocelpnlfdiLots of Workflowy clones!VimFlowy https://VimFlowy.bitballoon.com/Open Source https://github.com/WuTheFWasThat/vimflowy , but beware the synchroExcellent plugin system, very modularDynaList https://DynaList.io/Not OpenSource, but very active! SocialBlanche Gardin (French humorist, modern)Louis CK (US humorist, modern) via Blanche GardinLots of YouTube video, Really excellent !!"How the Self-Esteem Craze Took Over America" http://nymag.com/scienceofus/2017/05/self-esteem-grit-do-they-really-help.html (via Linda Rising) It is not what you are, but what you can be that is important.Funny, that even in France this "American confidence" is seen as a great driver of success."The Complacent Class: The Self-Defeating Quest for the American Dream", by Tyler Cowen http://www.EconTalk.org/archives/2017/05/…
Recent posts

April summary - 2017-04

04 AprilWe knew that ants were farming fungus https://en.wikipedia.org/wiki/Ant%E2%80%93fungus_mutualism. The news is that http://www.popsci.com/ants-farming-fungi it happened 65 millions years ago in dry climate. It is quite fascinating subject, that both species influenced each other, to the point of being dependent. (Via ScienceFriday)American maybe the most liberal, but they are also very critic of the "financial matter". Rana
Foroohar of the Financial Times talks about: "Makers and Takers: The Rise of Finance and the Fall of American Business".  http://www.econtalk.org/archives/2017/04/rana_foroohar_o.htmlNice Math tool: SageMath. It has command line and a web interface. http://www.sagemath.org/ (based on Python, R and TeX, install is about 2Go ...)Always nice from times to times "10 Mistakes That Spell Disaster for Your Career" https://www.linkedin.com/pulse/10-mistakes-spell-disaster-your-career-jan-johnston-osburn MusicA mashup of Coltrane's …

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 ...)  http://www.tamberg.org/fhnw/2015/LoRaWANIoTPrototyping.pdf 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: http://singlecellsoftware.com/node/13935 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 lpk25.gp   
  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" https://www.amazon.fr/Petit-trait%C3%A9-manipulation-lusage-honn%C3%AAtes/dp/2706118857Maker 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\! /v:xxxx.cloudapp.net +clipboard /size:1580x980 /drive:MY_DRIVE,/home/bruno/tmphttp://www.freerdp.com/ & https://github.com/FreeRDP/FreeRDPLooks like there is a GTK+ GUI: Remmina http://www.remmina.org/Gnome Desktop extensions are great (Wayland integration not perfect yet.)
Integration with Chrome https://wiki.gnome.org/Projects/GnomeShellIntegrationForChromeScreenCast https://github.com/EasyScreenCast/EasyScreenCastIn TCP/IP: IPTable connections differ from Kernel connections!!
http://www.SE-Radio.…

Inspirational sites about IoT, DIY, makers ...

Continuing the quest for DIY components ...

Inspirational sites:



https://HackADay.io/https://www.SparkFun.com/https://www.itead.cc/https://www.logre.eu/wiki/Commandes_groupées

Excellent PDF to start with a STM Nucleo and a few components (Led, push button ...)  http://www.tamberg.org/fhnw/2015/LoRaWANIoTPrototyping.pdf 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 ...

Components for toy car hacking

What to do with a Nucleo board STM32 L053R8 (Ultra-low-power ARM Cortex-M0+ MCU with 64 Kbytes Flash, 32 MHz CPU, USB) ... Some toy car robots ??

Searching for components:
the keywords are: DIY, Starter kit, Robotics kit, Breadboard kit, learning kit ...OM electronique http://www.omelectronique.fr/ (Grenoble)Competitive eBay shop and nice 48h shipmentAmazon, eBay, banggood aliexpress dealextreme ... Motor About 130 models at DigiKey.fr.  Lego Lego has a nice collection of motors:
M fast but not powerful (15€)X well suited to propulse a car (25€)XL slow and too powerful? (20€)Servo Moteur quart de tour a gauche, quart de tour a droite (30€)Finally the pack (32€) piles, inter, lamp and a motor, but which one?Battery box for 6 AA (13€) Well, might be easy ... too easy? Will it be adapted to the power control shield on the Nucleo?? For the record Lego has also a pneumatic kit (80€). Starter kits Complete car or robotsImpressive kit at just 70€: Elegoo Kit Smart Robot Voiture Car V1.0 avec T…