Apr 22, 2016

Hotel Bravo - The robot


Hotel Bravo One :
Mop Robot base with
arduino chip as motion controller and navigation module
 and Linked to Raspberry Pi ( I call it RasPI) for the communiction and intelligence framwork

For the first try

The first base that I bought is :
http://www.amazon.fr/gp/product/B00A5T3D8W?psc=1&redirect=true&ref_=oh_aui_detailpage_o01_s00

but may be I should buy
http://www.amazon.fr/Provac-RV-2-Aspirateur-Robot/dp/B005EPNUBW/ref=aag_m_pw_dp?ie=UTF8&m=A29AAHUA1K1PCK


On the Intelligence and Communication Level
There is
The RasPI


Wifi Dongle for RasPI
SAMTECH Wireless 802.11b/g/n 150Mbps USB Adapter WiFi LAN Dongle Network
A nano Blutetooth dongle for the raspi
Univers GSM Super NanoTooth Mini Clé USB Bluetooth pour Nokia/HTC/Samsung/Motorola/Sony Ericsson Noir

I bought a combo wifi+ bluetoo doogle ( a bit too big , may be 2 seperate nano dungle are better)
2 in 1 USB2.0 USB 2.0 to Bluetooth v3.0 3.0 + WiFi 150Mbps 150M Wireless LAN Network Ethernet Card Adapter Converter Dongle
Also for the communication a sim reader to be tested on Raspi
SODIAL(R) Lecteur USB de carte Sim du t¨¦l¨¦phone portable Pour SMS vers PC

Hadware Level aka Motion controlor;

either a Nano Arduino

I bought a cheap verion of Nano Arduino for testing
2 de JMT Nouvelle version améliorée Pro Mini Atmega328P 5V / blocs de 16MHz For Electronic Media interactif

And Of couse in order to program the Nano Arduino a chip loader ( to tansfer your file / image / binary) from the pc to the chip
XINTE FT232RL Downloader USB au câble Serial Télécharger câble USBTO232 USB vers USB MODULE TTL Module FT232

For the Arduino distance mesuremeant ultrasound , to test if they have interferance issue
3 de 4-Pin Module à ultrasons HC-SR04 Capteur de mesure de distance pour Arduino


Also on the hardware level , temp and Humidity detection( however it seems that the motion can alter those result to be tested
DHT22/AM2302 Capteur Numérique Température Humidité DC 3.5V-6V

I also in case I want to bypass the communication level , I bought bluetooth  chip for Arduino. I should provide  a wireless access to the motion conrol level
2 de JMT Bluetooth sans fil en forme de série module esclave HC-06 pour Arduino

Apr 15, 2016

C'est bizarre comment certain article chère sont placés a la place produit moins chères et en oubliant de remplacer l'étiquettage



Cas :Leader Price A gardanne - Je crois que ce magasin peut être considéré comme la reference de la mal gestion. S'il faut apprendre la mal gestion il faut que venir pendre des leçons la-bas, des choses a ne pas faire. ( Il chasse les clients un quart d'heure en avance pour qu'ils puissent quitter les lieux a l'heure de fermeture, l’étiquetage c'est optionnel pour eux, il ya de moins en moins de clients mais les file d'attente devant les caisses sont interminables)


C'est systémique il faut se méfier des prix affiché chez eux, s'ils existent déjà.

Le cas de crème de vinaigre balsamique chez Leader Price a gardanne est ( Le prix affiché est de 0€96 mais c'est pour un ancien produit, il fallait lire la description en petite lettre minuscule) mais le  prix payés est de plus que 3 euros et si vous regarder il n'ya aucune etiquette pour un produit a 3 euros.
Meme presque après un mois, toujours c’était le même prix de l'ancien article similaire..



Cas GIFI - Plan de campagne

Et caisse pliante chez Gifi. (prix affiché 3 euros mais ils facturent 4 euros pour les colorés meme si il n'y a pas de prix affiché pour les colorés, il faut deviner que ce n'est pas le meme code barre et peut etre deviner que c'est 4 euros)





Je n'ai pas prix de photo de derriere parce que ce jour , mais quand je suis venu avec la dame qui travaille la bas il n avait rien. ( Et bien sur elle ne voulait rien remboursé, ou accepter que c'est une tromperie de leur part)

Rappel des lois qui concernant étiquetage

Les prix doivent etre affiché, soit un lecteur existe. Mais rien n'est indiqué pour l'etiqutage portant à l'erreur
http://www.cliquedroit.com/l-obligation-de-vendre-au-prix-affich-c20-f76.html


association de consomateurs

https://fr.wikipedia.org/wiki/Organisation_g%C3%A9n%C3%A9rale_des_consommateurs

liste asso

http://www.economie.gouv.fr/dgccrf/Associations-de-consommateurs-des-Bouches-du-Rhone


Sanctions
 la direction de la concu peuvent sanctionner avec des amendes administratives publiés.
http://www.economie.gouv.fr/dgccrf/sanctions-protection-economique-des-consommateurs

Tromperie ( 300k + 2 ans de prison)
http://www.economie.gouv.fr/dgccrf/Publications/Vie-pratique/Fiches-pratiques/Tromperie

Mar 12, 2015

Remote controlled servo

To do link to the components 
 2 atmega or arduino ....
2 RF24 for sending And receiving Data packets
A servo
And a potentiometer 


I experimented with different version, the version with a separated files one for the transceiver and one for the receiver is the one that is working properly.


The uno used as transmitter 

Tho pro mini used as a receiver , powered by a Usb backup

Mar 31, 2012

you are killing your grandchildren

comments on the bbc video on nice
" Old Ladie wanted an extramly expensive treatement in order to gain 6 months with her grandchildren , saying that she paid taxes all her life
TBD


----------U S case ---------------

Worst case sytem and less effective and the most expensive.

the us is nb one in responsiveness:

-- or resphnsive of usual care that is not used coz it's too expensive , hence most of the people

The goverment for dummies ( the police on a intersection)

game theory , ( nash / selfish ) vs optimal vs worst

perto or something similar example.

- nash = liberal , socialism = introsive gove , communism = optimal , dictatorship = only to one part of the

Diamonds in a pile of shit vs shit warped with a fancy golden paper

Neverthe lesss tThere is different types of bullshit:

pure shit in a systematic way ( ISO of of the protein milk factories)

part of the data without of anallysis ( data without analysis.., whats the usua care, what is the intervention.., money wasted for nothing)

bla bla bla for nothing ( how to lie with statistics

---
my self : put the diamonds link them with shit


Mar 22, 2012

Copy a pdf table into excel

In the last couple of weeks, I was searching for some evidence in the literature related to resource usage in telemonitoring. And part of this job consisted on copy pasting table from PDF(I recommend using Foxit reader instead of Adobe reader ) to word. And believe me it’s not that as easy as you might think. In some cases, MS word can do most the work by converting the text into a table ( option 1), but in some cases the formatting of the original data is so distorted that even word cannot sort it. That why, I have written the following VBA code (option 2) to be added to excel (It could be useful in certain circumstances, and easily tweaked according to the original data).


Option 1 : use word convert text to table option :


Option 2
: Add this vba script replacing the space by comma ( from the end of the line)

Function TestingRev(inputStr As String) As String

Dim nbCol As Integer
nbCol = 4

Dim revInputStr As String
revInputStr = StrReverse(inputStr)

Dim ret As String

ret = Replace(revInputStr, " ", ";", 1, nbCol - 1)

TestingRev = StrReverse(ret)

End Function

- Copy paste the result in notepad and save it as *.csv file
- Open the csv file in excel and save it as