Go to advanced search

by hazza96
Tue Nov 22, 2016 12:59 am
Forum: General discussion
Topic: Found Malware
Replies: 58
Views: 9070

Re: Found Malware

johnb_summers wrote:Anyway thank you and I am sorry for thinking it was any of you, please forgive me.
Everybody makes mistakes, the smart people recognise when they have done so and admit it.
by hazza96
Mon Nov 21, 2016 9:57 am
Forum: General discussion
Topic: Dual power step down
Replies: 15
Views: 2565

Re: Dual power step down

Ok now I have no idea what to look for, how do I tell the difference between a linear converter and switching one?
by hazza96
Mon Nov 21, 2016 9:45 am
Forum: General discussion
Topic: Dual power step down
Replies: 15
Views: 2565

Re: Dual power step down

rpdom wrote:I wouldn't use a convertor like that for powering anything heavy. It's got linear regulators which work by dumping the excess voltage as heat. It is horribly inefficient.
Now he tells me....sigh... at least it was cheap.
by hazza96
Sun Nov 20, 2016 11:05 pm
Forum: General discussion
Topic: Dual power step down
Replies: 15
Views: 2565

Re: Dual power step down

This is the converter I am using, it has connections directly to the 12V input, 5v and 3.3v, I have also ordered 3x2 headers. I am going to place a switch on the 12v line. That way I can power up the Pi, wait until is has finished booting and then power on the motors. https://d3d71ba2asa5oz.cloudfro...
by hazza96
Sun Nov 20, 2016 11:00 pm
Forum: General discussion
Topic: Dual power step down
Replies: 15
Views: 2565

Re: Dual power step down

peterlite wrote:A previous similar discussion on reusing power supplies: viewtopic.php?t=162336&p=1050197
Yeah as I said the terms I was using to search were so generic I could not find what I wanted.
by hazza96
Sun Nov 20, 2016 7:38 am
Forum: General discussion
Topic: Dual power step down
Replies: 15
Views: 2565

Re: Dual power step down

I got a reply from the Adafruit people on their forum, it would be possible for the HAT to power the Pi but it doesn't.

I have ordered a 12v to 5v converter that I will wire in between the 12v input to the HAT and pin 4 and 6 of the GPIO. I have also ordered a 12v power supply.
by hazza96
Sun Nov 20, 2016 7:30 am
Forum: General discussion
Topic: Found Malware
Replies: 58
Views: 9070

Re: Found Malware

The said they won't post or look here again, in other words, your advice is wasted.
by hazza96
Sun Nov 20, 2016 4:17 am
Forum: General discussion
Topic: Bluetooth connection pi 3
Replies: 17
Views: 8018

Re: Bluetooth connection pi 3

Did you put the device into discovery mode?

With my Bluetooth headsets I hold down the power until the lights flash blue/red, then I get the Pi to do a search, finds them every time.
by hazza96
Sun Nov 20, 2016 3:51 am
Forum: General discussion
Topic: Dual power step down
Replies: 15
Views: 2565

Re: Dual power step down

I am going to using a Pi3 with a stepper motor HAT, specifically this one: https://www.adafruit.com/products/2348 Now I am wondering if the HAT already does the powering of the Pi. If it doesn't I might just buy a 12v to 5v convertor and wire it between the 12v input of the HAT and pin 4 and 6 of th...
by hazza96
Sat Nov 19, 2016 11:55 pm
Forum: General discussion
Topic: Dual power step down
Replies: 15
Views: 2565

Re: Dual power step down

Now here is a question, is there any other way to power the Pi apart from the micro USB input?

Could I buy a 5v converter and wire it directly to some pins on the Pi?
by hazza96
Sat Nov 19, 2016 11:41 pm
Forum: General discussion
Topic: Dual power step down
Replies: 15
Views: 2565

Re: Dual power step down

Why do you want to use the 19V converter, plus the two converters for lower voltages? "Because its there" is not a particularly good argument. You may be better off with two separate converters from mains, each designed for the job they would do, rather than tying three converters together in a "tr...
by hazza96
Sat Nov 19, 2016 11:34 pm
Forum: General discussion
Topic: Dual power step down
Replies: 15
Views: 2565

Re: Dual power step down

I looked at this. The Pi is too sensitive to voltage fluctuations. Use the 19 volts to supply 12 volts to motor and use separate stable 5 volts for the Pi. This will stop the motor startup sucking power and tripping up the Pi. The laptop power supply is 90W pack, pretty sure it can handle the Pi + ...
by hazza96
Sat Nov 19, 2016 4:32 am
Forum: General discussion
Topic: Dual power step down
Replies: 15
Views: 2565

Dual power step down

I have spare laptop 19V power supplies hanging around I want to use in a Pi project to control some 12V motors. What I am looking for is a power down converter that has a 12V output for the motors and a 5v output for the Pi. I know I am not the first to want to do this but the terms I use to search ...
by hazza96
Sat Nov 12, 2016 5:22 am
Forum: Python
Topic: Oracle and Python - Raspbeery Pi
Replies: 2
Views: 2109

Re: Oracle and Python - Raspbeery Pi

So how do you install cx_Oracle?
by hazza96
Tue Nov 08, 2016 10:51 am
Forum: Graphics, sound and multimedia
Topic: Comparing mic sound against reference
Replies: 6
Views: 1884

Re: Comparing mic sound against reference

Well I have it detecting a single frequency determining the difference between a single, double and triple beep: #!/usr/bin/env python # This program is for educational purposes only and should never be used in any production or safety system # Benjamin Chodroff benjamin.[email protected].com import py...
by hazza96
Mon Nov 07, 2016 10:31 pm
Forum: Graphics, sound and multimedia
Topic: Comparing mic sound against reference
Replies: 6
Views: 1884

Re: Comparing mic sound against reference

For those playing along at home, I finally found what I needed to change, I had to set the capture.pcm to hw:1:

Code: Select all

pcm.!default {
  type asym
   playback.pcm {
     type plug
     slave.pcm "hw:0,0"
   }
   capture.pcm {
     type plug
     slave.pcm "hw:1,0"
   }
}
by hazza96
Sun Nov 06, 2016 3:07 am
Forum: Graphics, sound and multimedia
Topic: The next step. How to detect sound from mic?
Replies: 4
Views: 4437

Re: The next step. How to detect sound from mic?

I found this and want to use it in my project. I have been able to set the USB webcam as the default sound card and I have been able to record a test using arecord but I cannot get your script to connect to the mic.

viewtopic.php?f=38&t=164838
by hazza96
Sun Nov 06, 2016 2:20 am
Forum: Graphics, sound and multimedia
Topic: Comparing mic sound against reference
Replies: 6
Views: 1884

Re: Comparing mic sound against reference

I found I already had ~/.asoundrc so I edited that, now when I run alsamixer the default is the webcam, yay progress!

I can run the command and record a test just fine:

Code: Select all

arecord -D plughw:1 --duration=10 -f cd -vv ~/rectest.wav
However when I run the python script it still gives the same error.
by hazza96
Sun Nov 06, 2016 1:32 am
Forum: Graphics, sound and multimedia
Topic: Comparing mic sound against reference
Replies: 6
Views: 1884

Re: Comparing mic sound against reference

I am pretty sure my problem is that the python connects to the internal sound card instead of the USB web cam. I want to change the default sound card to the hw:1,0 device The problem is that I am missing asound.conf in /etc Where is alsa getting the default sound card from and how do I change it? I...
by hazza96
Sat Nov 05, 2016 1:31 pm
Forum: Graphics, sound and multimedia
Topic: Is it possible to O/P 2 independent audio channels from RPi?
Replies: 8
Views: 2078

Re: Is it possible to O/P 2 independent audio channels from

I understand the desire to nut out an innovative solution in the most elegant way.

However I think you are over doing it trying to provide a solution with a single Pi.

Buy another and implement the same solution for the same required result.
by hazza96
Sat Nov 05, 2016 7:32 am
Forum: Graphics, sound and multimedia
Topic: Comparing mic sound against reference
Replies: 6
Views: 1884

Re: Comparing mic sound against reference

Well with a bit of searching I found this page https://github.com/benjaminchodroff/alarmBeepDetect/ I have connected an old web cam with a mic and when open Audacity I can record using it with this setting: screenshot_23.png When I try and start the pyton script however it looks like it can't connec...
by hazza96
Sat Nov 05, 2016 2:34 am
Forum: Graphics, sound and multimedia
Topic: Comparing mic sound against reference
Replies: 6
Views: 1884

Re: Comparing mic sound against reference

Since posting I have been able to get a copy of one of the reference beeps and analyse it with Audacity.

The main frequency is 929 Hz and a duration of 100ms.

I have messaged the developers to send me the rest of the beeps.
by hazza96
Fri Nov 04, 2016 11:51 pm
Forum: Graphics, sound and multimedia
Topic: Comparing mic sound against reference
Replies: 6
Views: 1884

Comparing mic sound against reference

I am creating a piece of test equipment controlled by a Pi, the Pi will control a motor to swing an arm into position, the equipment under test will then produce one of several possible beep combinations. The time between the arm being in position will vary. I want the Pi to detect the beep and comp...

Go to advanced search