Go to advanced search

by MarkHaysHarris777
Wed Jul 06, 2016 1:43 am
Forum: Python
Topic: play a specific frequency using usb speakers
Replies: 5
Views: 1031

Re: play a specific frequency using usb speakers

You can use Sonic PI to turn your code, into sound; that sound can be internal (hdmi, or stereo jack) or using 'jack' it can be piped to usb audio device (like your headset). If you are new to the PI, start with Sonic PI and play around a bit. Sometimes getting the commands right for jack to use usb...
by MarkHaysHarris777
Wed Jul 06, 2016 1:04 am
Forum: General discussion
Topic: RPI3B 5v GPIO specs
Replies: 7
Views: 3138

Re: RPI3B 5v GPIO specs

The output current limit on the 5v pin2 & pin4 is 2A; that's assuming the PSU is able to provide it.

marcus
by MarkHaysHarris777
Mon Jul 04, 2016 8:16 pm
Forum: General discussion
Topic: Gertboard and Arduino mega
Replies: 1
Views: 484

Re: Gertboard and Arduino mega

Please forgive, but your question is not specific enough to make much sense. ... please ask what it is you would like to know, and be as specific as possible. I'm guessing here, but yes the Mega can be used with the Gertboard... you will need male-female jumpers! The outputs from the Mega plug into ...
by MarkHaysHarris777
Sun Jul 03, 2016 9:19 pm
Forum: Other
Topic: Q4OS for Raspi
Replies: 9
Views: 4002

Re: Q4OS for Raspi

Does the Q4OS team (community) have an irc channel ?

tnx
marcus
by MarkHaysHarris777
Sun Jul 03, 2016 9:17 pm
Forum: Graphics, sound and multimedia
Topic: Usb Mic, no sound cards found. Alsa driver issue
Replies: 6
Views: 2946

Re: Usb Mic, no sound cards found. Alsa driver issue

Its best to use the latest Raspbian, if you can, when trying to resolve problems like this...

... update to Jessie (the the most, all you need to do is invest in another SD card and get the latest Raspbian, apt-get update, apt-get upgrade... and go from there.

marcus
by MarkHaysHarris777
Sun Jul 03, 2016 9:14 pm
Forum: Troubleshooting
Topic: Issues adding thermal printer to Rasp2
Replies: 4
Views: 854

Re: Issues adding thermal printer to Rasp2

Try connecting the Tx-->1000-->Rx Rx-->1000-->Tx comm lines with 1000 ohm resistors.

Have you tried measuring the voltage at the printer Tx pin? (if its 5v, you're done)

marcus
by MarkHaysHarris777
Sun Jul 03, 2016 9:08 pm
Forum: General discussion
Topic: Python does not control GPIO pins
Replies: 10
Views: 2105

Re: Python does not control GPIO pins

The way I imported the library allows me to not have to call the name of the library. (from RPi.GPIO import *) The way you coded the import for RPi.GPIO is not correct; you will end up with namespace conflicts that you are not aware of... ... follow the examples on this site that are proven to work...
by MarkHaysHarris777
Sun Jul 03, 2016 9:05 pm
Forum: Beginners
Topic: Printing with the Pi
Replies: 8
Views: 1920

Re: Printing with the Pi

I really don't want a paper copy of the output. I usually setup folder(s) on my system for print-outs (pdfs). Are you aware that you can print to pdf from almost everything? ... web, libreoffice, what-have-you... Then, if you need to share, you can upload them to your google drive, dropbox, or past...
by MarkHaysHarris777
Sun Jul 03, 2016 7:13 pm
Forum: Beginners
Topic: raspberry pi 2 alimentation
Replies: 3
Views: 749

Re: raspberry pi 2 alimentation

No.

... there are many ways (electrically) that you may connect a battery to the PI. I plan to use 12v gel cells on my robot; w/ dc-dc converter and switching PSU to the PI-- I will create my own 5v rail and the robot's three (3) PIs will feed off of that...
by MarkHaysHarris777
Sun Jul 03, 2016 1:52 am
Forum: Beginners
Topic: Printing with the Pi
Replies: 8
Views: 1920

Re: Printing with the Pi

I have not printed with the PI... I don't really believe in printing in a paperless world... which I am trying to help to build. ... that said, you ought to be able to install cups (common unix printing system) on the PI and use that to print to any network printer. Also, you ought to be able to plu...
by MarkHaysHarris777
Sun Jul 03, 2016 1:49 am
Forum: Camera board
Topic: does plugging a camera into the DSI port kill the camera.
Replies: 3
Views: 840

Re: does plugging a camera into the DSI port kill the camera

Pie_man wrote:Yeah, I powered up before I noticed :oops:
Well, if it's pretty certain to bead dead, at least I can move on. I'll have to order a new camera.
Thanks.
It may have damaged your PI too...

<sorry>

Uffda
by MarkHaysHarris777
Sat Jul 02, 2016 6:46 pm
Forum: General discussion
Topic: sudo does not work
Replies: 9
Views: 1684

Re: sudo does not work

Sounds like your system got hacked, and sudo was replaced with a generic pipe command...

... if sudo stops working the solar system would collapse.

Seriously, sudo has not stopped working, but you need to find out why 'your' sudo cammand is not sudo anymore?!?

marcus
by MarkHaysHarris777
Sat Jul 02, 2016 6:38 pm
Forum: Troubleshooting
Topic: Hardware PWM accuracy
Replies: 24
Views: 3641

Re: Hardware PWM accuracy

unfortunately, it was designed as a pwm circuit not as a precise signal generator; I was able to make my PI play music (it is accurate enough to tune it to the chromatic scale using the twelfth root of 2) but its not accurate enough to play in the symphony, and its way out at the high end. <sorry, ...
by MarkHaysHarris777
Sat Jul 02, 2016 2:59 pm
Forum: General discussion
Topic: Reading state of GPIO OUT
Replies: 6
Views: 2580

Re: Reading state of GPIO OUT

I use flags to keep track of the state of output pins and I make sure that my code does not allow the output state of the pin to get out-of-step with the flag (they are always synched up). You can read an output with with another input pin. But, if a pin is defined as output, you cannot use it for i...
by MarkHaysHarris777
Sat Jul 02, 2016 2:51 pm
Forum: Troubleshooting
Topic: Hardware PWM accuracy
Replies: 24
Views: 3641

Re: Hardware PWM accuracy

unfortunately, it was designed as a pwm circuit not as a precise signal generator; I was able to make my PI play music (it is accurate enough to tune it to the chromatic scale using the twelfth root of 2) but its not accurate enough to play in the symphony, and its way out at the high end. <sorry, t...
by MarkHaysHarris777
Sat Jul 02, 2016 2:47 pm
Forum: Automation, sensing and robotics
Topic: newbie needs help to ensure im on the right track
Replies: 8
Views: 1306

Re: newbie needs help to ensure im on the right track

oh, go ahead and bust me in the chops... ... you do need to have consistent python indents in your code; I'm surprised it runs at all. Get the indents consistent (I use an indent of 4 spaces) and do not combine spaces with tabs (in fact, don't use tabs). I think your idea is sound; what are you doin...
by MarkHaysHarris777
Sat Jul 02, 2016 2:44 pm
Forum: Troubleshooting
Topic: Unable get LED to turn on
Replies: 6
Views: 1057

Re: Unable get LED to turn on

At least you have the cathode going to ground; but you're kinda missing the point of a bread-board, aren't you? Are you sure your solder connections are good at the LED, and that you didn't overheat the LED when you soldered it? Please post your code, and use a code block... code button at the top o...
by MarkHaysHarris777
Sat Jul 02, 2016 2:32 pm
Forum: General discussion
Topic: Hello world program not running in Embedded Pi
Replies: 5
Views: 977

Re: Hello world program not running in Embedded Pi

hi, i've not had much luck with cross compiling; you can compile right on the PI. ... you're treating the PI like a micro-controller (Arduino) which is completely unecessary. If you must have an embedded system 'without' a compiler on-board, at least do your compiling off board using the 'same' syst...
by MarkHaysHarris777
Fri Jul 01, 2016 9:16 pm
Forum: General discussion
Topic: how do I start a process sooner than cron @reboot ?
Replies: 18
Views: 2952

Re: how do I start a process sooner than cron @reboot ?

I was suspicious. ... don't power off the PI. I know, its radical... my PIs are never powered off (well, almost never)... Just let your PI run. It can run all day, all month, all year, for years and years and years... just let it run. Then you don't have to worry bout the silly boot sequence taking ...
by MarkHaysHarris777
Fri Jul 01, 2016 6:03 pm
Forum: General discussion
Topic: how do I start a process sooner than cron @reboot ?
Replies: 18
Views: 2952

Re: how do I start a process sooner than cron @reboot ?

Forgive me please, but what in the world are you trying to do?

... there has to be a better way. Other folks here might be able to help better if we understood exactly what it is that you are trying to accomplish... there is probably a better solution.

marcus
by MarkHaysHarris777
Fri Jul 01, 2016 6:01 pm
Forum: Python
Topic: How to install rospy
Replies: 2
Views: 7174

Re: How to install rospy

... looks about right, did you try it/ what were the results?

(did you go to the site/)
?
by MarkHaysHarris777
Fri Jul 01, 2016 2:59 pm
Forum: Advanced users
Topic: How do I check the WiFi module of PI 3 ?
Replies: 3
Views: 791

Re: How do I check the WiFi module of PI 3 ?

You can disable wifi in the device tree with an overlay... in /boot/config.txt
by MarkHaysHarris777
Fri Jul 01, 2016 2:57 pm
Forum: Compute Module
Topic: Need help in starting a custom Raspberry PI compute module
Replies: 2
Views: 802

Re: Need help in starting a custom Raspberry PI compute modu

Hi, I started working on compute module this week and seeking help in adding custom features like projection mode, camera, PWM etc. What's the best approach to start this project. Is there any specific schematic software that can be used or i should go for online designing tools(that are pretty exp...
by MarkHaysHarris777
Fri Jul 01, 2016 2:52 pm
Forum: Python
Topic: How to install rospy
Replies: 2
Views: 7174

Re: How to install rospy

supra wrote:How do I install rospy for RPI 3? :oops:
rospy is a pure python client API for ROS.

The source is on github... see the site/

marcus
by MarkHaysHarris777
Fri Jul 01, 2016 2:49 pm
Forum: Windows 10 for IoT
Topic: USB to jack output
Replies: 4
Views: 1112

Re: USB to jack output

As you discovered, Win10 IoT core is not a desktop... ... the PI has no audio recording capability (directly). You can of course add that using an ADC chip like the mcp3002 or other. If you're trying to leverage Windows cloud services for IoT, then Win10 IoT core is for you (maybe). If you just want...

Go to advanced search