Search found 347 matches
- Sun Apr 24, 2016 4:30 pm
- Forum: Python
- Topic: Break error
- Replies: 6
- Views: 900
Re: Break error
Are you indented correctly?
- Sat Apr 23, 2016 3:38 pm
- Forum: General discussion
- Topic: Choosing the correct DIGI+ Board. HifiBerry interrupting.
- Replies: 22
- Views: 4058
Re: diy powersupply interrupting
It's NOT the power supply dropping out!
I don't understand why everyone is focused on that - if the power supply was dropping out, the Pi would reboot or hang.
The OP has already stated that this isn't happening.
I don't understand why everyone is focused on that - if the power supply was dropping out, the Pi would reboot or hang.
The OP has already stated that this isn't happening.
- Fri Apr 22, 2016 11:49 pm
- Forum: Advanced users
- Topic: How is 3V GPIO usable?
- Replies: 13
- Views: 3915
Re: How is 3V GPIO usable?
You need to use a transistor or a FET to drive the relay from the port pin.
There are a million posts on this subject - search for it.
There are a million posts on this subject - search for it.
- Fri Apr 22, 2016 7:41 pm
- Forum: General discussion
- Topic: Choosing the correct DIGI+ Board. HifiBerry interrupting.
- Replies: 22
- Views: 4058
Re: diy powersupply interrupting
Ive had off-the-shelf 5V 2A psu, and it did the same. Thats why I tried the DIY way. The pi has a HiFiBerry Digi+ connected and its streaming to DAC via coaxial connection. The interruptions last maybe 1 seconds, and then it resume playing music. no reboot. The pi is playing from USB stick atached ...
- Thu Apr 21, 2016 10:20 pm
- Forum: General discussion
- Topic: Choosing the correct DIGI+ Board. HifiBerry interrupting.
- Replies: 22
- Views: 4058
Re: diy powersupply interrupting
Does the Pi actually reboot?
- Mon Apr 18, 2016 11:04 pm
- Forum: Python
- Topic: Why is python loop so slow comparing to arduino main loop?
- Replies: 15
- Views: 3408
Re: Why is python loop so slow comparing to arduino main loo
You shouldn't be using a loop for precise timing anyway...
- Sun Apr 17, 2016 7:22 pm
- Forum: C/C++
- Topic: C programming Language before C++
- Replies: 19
- Views: 2959
Re: C programming Language before C++
What do you want, exactly?
- Fri Apr 15, 2016 6:29 pm
- Forum: Advanced users
- Topic: Cross-compiling the Kernel from Mac
- Replies: 9
- Views: 3185
Re: Cross-compiling the Kernel from Mac
A friend of mine has developed an Xcode cross-complier toolchain for the Pi,. which I am using to do my Pi Compute Module development on.
It works great, but I'm not sure what wrinkles compiling the Kernel throws in.
It's based on the this:
http://www.jaredwolff.com/toolchains/
It works great, but I'm not sure what wrinkles compiling the Kernel throws in.
It's based on the this:
http://www.jaredwolff.com/toolchains/
- Fri Apr 15, 2016 12:49 pm
- Forum: Compute Module
- Topic: Making a custom 'motherboard'
- Replies: 19
- Views: 5163
Re: Making a custom 'motherboard'
I really doubt it.sonium wrote:Are there also any through-hole mounted ZIF connectors for the camera cable?
- Thu Apr 14, 2016 4:44 am
- Forum: General discussion
- Topic: Shift register
- Replies: 14
- Views: 2737
Re: Shift register
Just read the data sheet:
https://www.nxp.com/documents/data_shee ... HCT595.pdf
A rising edge on STCP with /OE low and /MR high clocks the data in the shift register to the outputs.
https://www.nxp.com/documents/data_shee ... HCT595.pdf
A rising edge on STCP with /OE low and /MR high clocks the data in the shift register to the outputs.
- Thu Apr 14, 2016 4:29 am
- Forum: General discussion
- Topic: Shift register
- Replies: 14
- Views: 2737
Re: Shift register
Just look for a shift register with a strobe, like so:
http://www.ti.com/lit/ds/symlink/tlc6c5912-q1.pdf (they call it a "Register Clock" here).
http://www.ti.com/lit/ds/symlink/tlc6c5912-q1.pdf (they call it a "Register Clock" here).
- Thu Apr 14, 2016 3:32 am
- Forum: Beginners
- Topic: How does some one become a competent programmer?
- Replies: 73
- Views: 11098
Re: How does some one become a competent programmer?
Depends on what you are doing. Honestly, you've raised so many threads about what language go learn etc., just do it! Learn Python. I have nightmares when these trisisters get put in CPU's . ?10 how the heck do you program that? Only thing I can think of would be a 3 option case statement in assemb...
- Thu Apr 14, 2016 1:46 am
- Forum: Compute Module
- Topic: HELP! RPi-Compute won't boot after downgrading Firmware!
- Replies: 6
- Views: 1694
Re: HELP! RPi-Compute won't boot after downgrading Firmware!
Only if you know exactly what you are doing. Right now, the standard way of getting an OS onto the Compute Module is to use 'dd' to copy if block-by-block. If you knew exactly where the OS ended (and none of your apps/data resided in those low blocks), you could just dd that amount of data onto it. ...
- Thu Apr 14, 2016 12:46 am
- Forum: Compute Module
- Topic: HELP! RPi-Compute won't boot after downgrading Firmware!
- Replies: 6
- Views: 1694
Re: HELP! RPi-Compute won't boot after downgrading Firmware!
Firmware?
The compute module gets flashed with an OS, like Raspbian.
Just download a suitable OS, and flash it to the CM - I use Minibian (it's lightweight, so it doesn't take forever to download or flash).
The compute module gets flashed with an OS, like Raspbian.
Just download a suitable OS, and flash it to the CM - I use Minibian (it's lightweight, so it doesn't take forever to download or flash).
- Tue Apr 12, 2016 6:04 pm
- Forum: Raspberry Pi OS
- Topic: No such File directory (MAC os)
- Replies: 4
- Views: 2669
Re: No such File directory (MAC os)
OP - Did you know that the Terminal supports drag-and-drop in OS X?
If you can SEE the file, just drag and drop it onto the terminal window after "if=" and it will fill the path in for you.
If you can SEE the file, just drag and drop it onto the terminal window after "if=" and it will fill the path in for you.
- Tue Apr 12, 2016 5:30 am
- Forum: General discussion
- Topic: Pressure Detection System
- Replies: 3
- Views: 832
Re: Pressure Detection System
You need an Analog to Digital converter. There are many of them. One that is popular around here is the MCP3008: https://www.adafruit.com/product/856 The simplest way to convert 4-20mA to a voltage that the A/D can read is to pass it through a resistor - 100Ω will give you .4V-2.0V, which is a reaso...
- Mon Apr 11, 2016 2:58 am
- Forum: Automation, sensing and robotics
- Topic: Land line call log
- Replies: 5
- Views: 2112
Re: Land line call log
Make your own caller ID decoder:
https://www.maximintegrated.com/en/app- ... vp/id/5004
https://www.maximintegrated.com/en/app- ... vp/id/5004
- Mon Apr 11, 2016 2:54 am
- Forum: Advanced users
- Topic: Detecting power down sequence end
- Replies: 15
- Views: 4894
Re: Detecting power down sequence end
For Jessie put an executable file in.. /lib/systemd/system-shutdown/ It will get executed at the end of a system shutdown. The shutdown 'type' will also be passed as the first argument to this script.. "poweroff" or "halt" etc... if needed by your script. I use this method to tr...
- Sun Apr 10, 2016 5:28 pm
- Forum: General discussion
- Topic: stepup vs stepdown regulators?
- Replies: 4
- Views: 1508
Re: stepup vs stepdown regulators?
That's only because the batteries have less capacity.
In general, buck converters are slightly simpler and more efficient than boost converters, but the choice will depend on your situation.
In general, buck converters are slightly simpler and more efficient than boost converters, but the choice will depend on your situation.
- Sun Apr 10, 2016 4:55 pm
- Forum: Troubleshooting
- Topic: Lirc problem
- Replies: 18
- Views: 3206
Re: Lirc problem
create rc_log in root (touch /root/rc_log) then try adding echo "About to start irexec\n" > /root/rc_log before /etc/init.d/lirc irexec -d /root/.lircrc and echo "Finished launching irexec\n" > /root/rc_log after and see if both commands end up in the log. You can also add: exec ...
- Sun Apr 10, 2016 4:20 pm
- Forum: Troubleshooting
- Topic: Lirc problem
- Replies: 18
- Views: 3206
Re: Lirc problem
Hang on.
Is your listing of rc.local a full listing?
Because, if so, it's not a valid script.
It's missing
#! /bin/sh -e
as the first line.
Is your listing of rc.local a full listing?
Because, if so, it's not a valid script.
It's missing
#! /bin/sh -e
as the first line.
- Sun Apr 10, 2016 3:53 pm
- Forum: Troubleshooting
- Topic: Lirc problem
- Replies: 18
- Views: 3206
Re: Lirc problem
Are you sure rc.local is being executed?
Test it.
Is it marked as executable (chmod +x)?
Test it.
Is it marked as executable (chmod +x)?
- Sun Apr 10, 2016 3:13 pm
- Forum: Troubleshooting
- Topic: Lirc problem
- Replies: 18
- Views: 3206
Re: Lirc problem
is 'root' an actual directory? (Neither of my Pis have a /root directory)
Where is .lircrc located?
Where is .lircrc located?
- Sun Apr 10, 2016 2:23 am
- Forum: Troubleshooting
- Topic: Lirc problem
- Replies: 18
- Views: 3206
Re: Lirc problem
What does your rc.local look like?
- Sat Apr 09, 2016 4:59 pm
- Forum: C/C++
- Topic: One thread got stuck
- Replies: 12
- Views: 2257
Re: One thread got stuck
is readWifi() thread safe?
Where is this defined?
Where is this defined?