Go to advanced search

by ewok2
Mon Dec 10, 2018 9:50 pm
Forum: Scratch
Topic: Rasp-Pi 3 + Scratch + GPIO problem
Replies: 8
Views: 3167

Re: Rasp-Pi 3 + Scratch + GPIO problem

Ok I have found my problem
The user pi is by default configured to have root access whitout entering a sudo password.
And my user did not!

So I have reinstalled the raspbian with a pi user on scratch 1.4 without gpioserver and it works

Thanks
by ewok2
Sat Dec 08, 2018 2:10 pm
Forum: Scratch
Topic: Rasp-Pi 3 + Scratch + GPIO problem
Replies: 8
Views: 3167

Re: Rasp-Pi 3 + Scratch + GPIO problem

Yes for the begining I want to do some simple things. But as describe I even do not succeed to make a led blinking. It may be a privilege problem... because when I launch "scratchgpio_handler8.py" with root privilege the led bink... Any Idee which user launch scratch and which file should be launch ...
by ewok2
Thu Dec 06, 2018 9:21 pm
Forum: Scratch
Topic: Rasp-Pi 3 + Scratch + GPIO problem
Replies: 8
Views: 3167

Re: Rasp-Pi 3 + Scratch + GPIO problem

Thanks ghp
I Try "scratchgpio8" with the probleme I put in the first post.
Any idee to solve it ?
Or do you recommand to use another solution ?
Wich one of the one you propose?
by ewok2
Thu Dec 06, 2018 9:54 am
Forum: Scratch
Topic: Rasp-Pi 3 + Scratch + GPIO problem
Replies: 8
Views: 3167

Re: Rasp-Pi 3 + Scratch + GPIO problem

Hello
Thanks for the reply
I am not sure to understand..
You mean I have to use the standard scratch in stead of the scratchgpio8?
All Tuto seems to recommande to use this scratchgpio8 when using to control io of the raspberry.
by ewok2
Wed Dec 05, 2018 8:12 pm
Forum: Scratch
Topic: Rasp-Pi 3 + Scratch + GPIO problem
Replies: 8
Views: 3167

Rasp-Pi 3 + Scratch + GPIO problem

Hello I am running Scratch 1.4 on Raspberry Pi 3 with the "scratchGpio8" version. I am trying to had some Led blinking. I put as on the exemple after the "if green Flag" : Broadcast gpioserveron Broadcast config11out Repeat 10 Broadcast pin11high wait 1 Broadcast pin11low wait 1 And nothing append.....
by ewok2
Sat Feb 03, 2018 5:28 pm
Forum: Troubleshooting
Topic: wiringPiISR segmentation fault
Replies: 5
Views: 634

Re: wiringPiISR segmentation fault

Hello it seems that in fact it is not link to my code or electronic part.
It work on a older raspian jessie and not on Stretch!
So it seem's link on a wiringpi compatibility (or a pakage missing ?)
by ewok2
Tue Jan 23, 2018 7:44 pm
Forum: Troubleshooting
Topic: wiringPiISR segmentation fault
Replies: 5
Views: 634

Re: wiringPiISR segmentation fault

Thanks for the advice
Its done
by ewok2
Tue Jan 23, 2018 7:38 pm
Forum: Français
Topic: wiringPiISR segmentation fault
Replies: 4
Views: 537

Re: wiringPiISR segmentation fault

Merci mais malheureusement, pas mieux....
by ewok2
Mon Jan 22, 2018 9:54 pm
Forum: Français
Topic: wiringPiISR segmentation fault
Replies: 4
Views: 537

Re: wiringPiISR segmentation fault

Je l'ai rajouté apres en penssant qu'il y avait trop de front montant desendant...
mais ca n'a pas retiré le segmentation fault...
by ewok2
Mon Jan 22, 2018 9:53 pm
Forum: Troubleshooting
Topic: wiringPiISR segmentation fault
Replies: 5
Views: 634

Re: wiringPiISR segmentation fault

Hello Thanks for reply Some information on my conf : model name : ARMv7 Processor rev 4 (v7l) Raspberry Pi 3 $ cat /etc/os-release PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)" NAME="Raspbian GNU/Linux" VERSION_ID="9" VERSION="9 (stretch)" ID=raspbian ID_LIKE=debian HOME_URL="http://www.raspbian.org/...
by ewok2
Mon Jan 22, 2018 8:03 pm
Forum: Français
Topic: wiringPiISR segmentation fault
Replies: 4
Views: 537

wiringPiISR segmentation fault

Bonjour Je tente de detecter un signal sinusoidale sur la pin 17 de mon raspberry (avec une raspbian). Avec le code suivant lancé depuis une invite python en root : import wiringpi,time pinCounter = 17 wiringpi.wiringPiSetupGpio() wiringpi.pinMode(pinCounter, wiringpi.INPUT) def countImpulse(): prin...
by ewok2
Mon Jan 22, 2018 7:58 pm
Forum: Troubleshooting
Topic: wiringPiISR segmentation fault
Replies: 5
Views: 634

wiringPiISR segmentation fault

Hi I am using a raspberry (with raspbian) to detect a signal on the Pin 17. The signal will be sinusaidal. I write a python script : import wiringpi,time pinCounter = 17 wiringpi.wiringPiSetupGpio() wiringpi.pinMode(pinCounter, wiringpi.INPUT) def countImpulse(): print "top" time.sleep(1) wiringpi.w...
by ewok2
Sat Jun 24, 2017 5:05 pm
Forum: Troubleshooting
Topic: wiringpi and trigger pb
Replies: 0
Views: 130

wiringpi and trigger pb

I am using wiringpi in a python scrip on a raspberry B connected to a electrical counter (pulse of 90ms). An electrical pullup is connected to the gpio I have the folowing code implemented : import wiringpi, time pinClimCounter = 17 def countImpulse(): print "Top" wiringpi.wiringPiSetupGpio() wiring...
by ewok2
Sat Nov 01, 2014 12:28 pm
Forum: Python
Topic: SNMP Oid persistent
Replies: 0
Views: 789

SNMP Oid persistent

Hello Small presentation of my domotic architecture : - Raspberry with snmp demon - Same raspberry with python agentx which allow me to extend the MIB with my own OID - an other PC with CACTI which send some get snmp on the raspberry MIB - a python program wich manage I/O of raspberry function of so...
by ewok2
Thu Oct 30, 2014 9:27 am
Forum: Français
Topic: Oid en Cache sur SNMP
Replies: 0
Views: 343

Oid en Cache sur SNMP

Bonjour Petite présentation de mon architecture domotique : - un raspberry qui a un demon snmp - sur le Raspberry un agentx en python qui m'a permis de customiser une MIB avec des OID perso - un autre PC avec un CACTI qui fait des get snmp - un programme en python qui gere le E/S du raspberry en fon...
by ewok2
Sun Jun 22, 2014 6:48 pm
Forum: Français
Topic: SRF02 changement d'adresse
Replies: 5
Views: 1037

Re: SRF02 changement d'adresse

Faut dire j'en ai mis 7 en parallèle donc augmentait les risques
J'ai du tout desouder car en parallèle le multimètre ne m'a pas été d'une aide folle :-)
by ewok2
Sun Jun 22, 2014 2:44 pm
Forum: Français
Topic: SRF02 changement d'adresse
Replies: 5
Views: 1037

Re: SRF02 changement d'adresse

Bon ben c'est resolu
un bete faux contact entre sda et sdc sur un des SRF02

merci
by ewok2
Sat Jun 21, 2014 4:36 pm
Forum: Français
Topic: SRF02 changement d'adresse
Replies: 5
Views: 1037

Re: SRF02 changement d'adresse

Super ca marche Merci Bizarre de mettrez la moitié de l'adresse dans la fonction python pour l'envoie et de mettre fois 2 pour la nouvelle adresse :-) Bon maintenant le pb c'est qu'avec 2 adresses differentes un i2cdetect ne renvoie plus rien alors que le changement a bien marché d'apres les diodes ...
by ewok2
Sat Jun 21, 2014 1:35 pm
Forum: Français
Topic: SRF02 changement d'adresse
Replies: 5
Views: 1037

SRF02 changement d'adresse

Bonjour J'ai 2 SRF02. Chacun fonctionne bien tout seul. Par contre impossible de changer d'adresse en suivant la doc... 1ere question : sur un i2cdetect -a 1 il m'affiche l'adresse 0x70 (Et non une adresse entre 0xE0 et 0xF0 comme la doc le dit..) le capteur repond bien a l'adresse 0x70. quel est la...

Go to advanced search