Go to advanced search

by DPaul
Sun Dec 10, 2017 8:37 am
Forum: Beginners
Topic: battery pack question
Replies: 7
Views: 773

battery pack question

Hi, Hardware wiring finished, started on the Python logic. To do this i have a keyb, a mouse and a hdmi link to my Eizo screen (also powering itself of course). The whole setup is connected to an elderly logilink power bank of 6000 mah. This works fine, and i can monitor power consumption via a smal...
by DPaul
Sun Dec 03, 2017 10:20 am
Forum: Beginners
Topic: severe booting probs [solved]
Replies: 13
Views: 1416

Re: severe booting probs [solved]

Hi all, With so many helpful comments, i felt obliged to give it one last try: 1. Checksum: this "certutil" Dos command does indeed not feature in my 1991 DOS reference guide, :D but it can tell you, it works: it gave the right checksum for the raspbian download, so that was not the problem. 2. Micr...
by DPaul
Sat Dec 02, 2017 6:55 pm
Forum: Beginners
Topic: severe booting probs [solved]
Replies: 13
Views: 1416

Re: severe booting probs

Tried 3 new downloads of raspbian stretch on 3 separate new SD cards. Etcher gives the same error every time (" possible corruption detected during verification etc..."). Whether it's the download or the writing doesn't matter, the first stage goes wrong and i know of no alternatives. Giving up on t...
by DPaul
Fri Dec 01, 2017 2:28 pm
Forum: Beginners
Topic: severe booting probs [solved]
Replies: 13
Views: 1416

Re: severe booting probs

Continued...


It would seem that both files i had to create in the windows partition have now disappeared. (ssh.txt and wpa...)
The pi did something.....

Paul
by DPaul
Fri Dec 01, 2017 2:09 pm
Forum: Beginners
Topic: severe booting probs [solved]
Replies: 13
Views: 1416

Re: severe booting probs

Your help is much appreciated. I did all of the above. Used etcher to write the flash, Created 2 files as described. I used a brand new -out of the box 16GB micro SD (sandisk): still etcher said that there are "potential corruption signs" while verifying in phase 2. But seems to end the process. Onc...
by DPaul
Thu Nov 30, 2017 4:17 pm
Forum: Beginners
Topic: severe booting probs [solved]
Replies: 13
Views: 1416

severe booting probs [solved]

Hi, In the middle of development, i am confronted with unexpected boot probs on the RPi 3 How it came about : dunno What was the symptom: nothing happened when powering on What i did: - Read the sticky about boot probs - Took micro Sd out of RPi3 and into win 10 - Seemed "corrupted", no format no no...
by DPaul
Thu Nov 23, 2017 10:26 am
Forum: Beginners
Topic: Building into chassis
Replies: 3
Views: 435

Re: Building into chassis

Thanks, this is what i was looking for...

Paul
by DPaul
Thu Nov 23, 2017 7:19 am
Forum: Beginners
Topic: Building into chassis
Replies: 3
Views: 435

Building into chassis

Hi, It seems to me that building a project into a chassis or housing is no small potatoes. A lot of the time you are confronted with chicken and egg situations, like : If you screw the buttons into the chassis, you have to solder them later, or solder them first and you'll never get them into the ch...
by DPaul
Tue Nov 21, 2017 8:24 am
Forum: Beginners
Topic: Callback function
Replies: 2
Views: 398

Re: Callback function

OK, very interesting.
Need to implement this!

thx,
Paul
by DPaul
Tue Nov 21, 2017 7:27 am
Forum: Beginners
Topic: Callback function
Replies: 2
Views: 398

Callback function

Hi, I have been experimenting with the callback function on a button press detect: def callback_16(channel): print('16') ... and GPIO.add_event_detect(16, GPIO.RISING, callback=callback_16) It basically works, but what i find is that the system executes the print('16') not once but 3 or 4 times. Is ...
by DPaul
Sat Nov 18, 2017 7:12 am
Forum: Beginners
Topic: while loop question
Replies: 16
Views: 3226

Re: while loop question

Thanks all. GPIO edge detection i have, and i have seen something about a GPIO "wait" function. That, i think, will be useful to replace a while loop, to start the who thing up. The completed assembly will be good enough for it's purposes, i don't need 1/100 of a second accuracy. Maybe i'll post a p...
by DPaul
Fri Nov 17, 2017 4:34 pm
Forum: Beginners
Topic: while loop question
Replies: 16
Views: 3226

Re: while loop question

Thanks for all this advice. I did implement the GPIO edge-detection instead of the GPIO high and low stuff. Without being able to prove it, i do feel the whole thing is more responsive. There are many sample scripts to be found, but none seem to catch the essence of a true stopwatch. It's not just s...
by DPaul
Fri Nov 17, 2017 8:11 am
Forum: Beginners
Topic: while loop question
Replies: 16
Views: 3226

Re: while loop question

Hi David, You say "scientifically", what i suspected was happening. I did notice that sometimes a button responded fast, and other times slower. As you can read above, i am trying to eliminate everything possible out of the timer loop that would be (processor) tiime consuming. (If statements ...) On...
by DPaul
Thu Nov 16, 2017 4:21 pm
Forum: Beginners
Topic: while loop question
Replies: 16
Views: 3226

Re: while loop question

Thanks, no idea what you are talking about.
Got some reading to do.

Paul
by DPaul
Thu Nov 16, 2017 3:37 pm
Forum: Beginners
Topic: while loop question
Replies: 16
Views: 3226

Re: while loop question

Hi, Bottom Line, it is a catch 22, and i'll have to implement IF statements inside a loop, wether in a function or directly. The reason for the fuss is, that i am a little disappointed with the response times, between pressing the button, getting GPIO input and python realizing that it has to do som...
by DPaul
Thu Nov 16, 2017 6:49 am
Forum: Beginners
Topic: Rpi 3 Shutdown button
Replies: 17
Views: 29544

Re: Rpi 3 Shutdown button

Very interesting.
About the power switch, i have read that you can solder your own to the board?

If i can find a supplier with reasonable delivery times (like 24 hrs), i'm in :D
Paul
by DPaul
Thu Nov 16, 2017 6:39 am
Forum: Beginners
Topic: while loop question
Replies: 16
Views: 3226

Re: while loop question

The if statement inside the loop, is what i am trying to avoid, because i need many, for different situations. I seem to observe that inside a loop, response to button-presses is not so snappy. The "break" idea is something that i am going to follow-up on, because i can get the different events to p...
by DPaul
Thu Nov 16, 2017 6:33 am
Forum: Beginners
Topic: Raspberry pi3 Spa timer temperatur control
Replies: 1
Views: 263

Re: Raspberry pi3 Spa timer temperatur control

Hi,

I came across some code that monitors, with date timer, an external event.
Maybe a start?
https://computers.tutsplus.com/tutorial ... -mac-52875

Paul
by DPaul
Wed Nov 15, 2017 8:58 pm
Forum: Beginners
Topic: while loop question
Replies: 16
Views: 3226

Re: while loop question

OK, i thought of that too, but not too sure if it would do the trick. ;)

But what if there are 4 buttons ?

"Or" statement?

thx,
Paul
by DPaul
Wed Nov 15, 2017 6:37 pm
Forum: Beginners
Topic: while loop question
Replies: 16
Views: 3226

while loop question

Hi, I ran into a catch 22 situation, trying to structure my python script running on the Rpi 3. It boils down to this question: Can i stop a While ... loop following an event outside the loop ? (in an elegant fashion) e.g. A timer is running in a while... loop. Meanwhile the Pi detects a signal, per...
by DPaul
Tue Nov 14, 2017 4:58 pm
Forum: Beginners
Topic: Rpi 3 Shutdown button
Replies: 17
Views: 29544

Re: Rpi 3 Shutdown button

Hi, I am inclined to repeat what i said in post #1. Why is it so seemingly difficult ? To use a (handheld) device, you need to switch it on and then off again. (Completely off) I am currently looking at the pimoroni shim: https://shop.pimoroni.com/collections/everything/products/onoff-shim For a beg...
by DPaul
Sun Nov 12, 2017 3:49 pm
Forum: Beginners
Topic: Rpi 3 Shutdown button
Replies: 17
Views: 29544

Re: Rpi 3 Shutdown button

OK, it's running from battery!
I need to disconnect the battery too, i understand now;
I'll look into these options,

thx,
Paul
by DPaul
Sun Nov 12, 2017 11:27 am
Forum: Beginners
Topic: Rpi 3 Shutdown button
Replies: 17
Views: 29544

Rpi 3 Shutdown button

HI, I find it very strange that i can find so little info the most elementary of things : Provide a on/off button with script to my Rpi. So the RPi is out there, performing it's functions (handheld), and now it's time to stop. What i would like: There is a switch (tumbler?) that says on/off, it "bre...
by DPaul
Sun Nov 12, 2017 8:23 am
Forum: Beginners
Topic: Timer questions !
Replies: 4
Views: 600

Re: Timer questions !

Measurements seem to be OK.
Decibels are not an issue at the moment.

Thx,
Paul
by DPaul
Sat Nov 11, 2017 3:32 pm
Forum: Beginners
Topic: Timer questions !
Replies: 4
Views: 600

Re: Timer questions !

OK, I checked the specs: operating voltage: 3-24 VDC rated voltage: 12 VDC current consumption: 25 mA oscillation frequency: 2.5 kHz sound level: at 12 VDC: 95 dB at 30 cm at 3.3 VDC: 85 dB at 10 cm 25mA : It seems i need to do something. Add a 330 ohm resistor, between buzzer and ground, just like ...

Go to advanced search