Go to advanced search

by error404
Thu May 03, 2012 4:58 pm
Forum: General discussion
Topic: Wiring for the Raspberry Pis GPIO
Replies: 20
Views: 8743

Re: Wiring for the Raspberry Pis GPIO

<t>At the risk of getting too off-topic, let me just justify myself, I don't want to get into an argument and definitely think the library you've created is valuable.<br/> <br/> GordonH said: <br/> <br/> <br/> I know it's not efficient but I have to say it's really not that important for initial tes...
by error404
Thu May 03, 2012 4:41 pm
Forum: Beginners
Topic: Tether to iPad 3
Replies: 6
Views: 2874

Re: Tether to iPad 3

<t>ipheth might work if Apple hasn"t intentionally broken it in recent devices, as is their standard practice. From the website it looks like it doesn"t support any iPads though, so I"d guess at least some modification will be required.<br/> <br/> Does Verizon actually charge extra just to tether? W...
by error404
Thu May 03, 2012 1:11 am
Forum: Beginners
Topic: OneWire Devices On GPIO
Replies: 2
Views: 1810

Re: OneWire Devices On GPIO

There's a 1wire GPIO driver in the kernel (see w1-gpio). It'll require some changes to the board definition file (ie. kernel source) and a correct kernel configuration, but should probably work.
by error404
Thu May 03, 2012 1:08 am
Forum: Other projects
Topic: Powering the Pi with MORE batteries, help
Replies: 21
Views: 8082

Re: Powering the Pi with MORE batteries, help

<r>Probably better to choose an isolated switcher for use in something like robotics. Large current loads can really screw with your grounds. It will complicate interfacing things across the isolation boundary, but should be much more reliable, and it'll protect your electronics side from high volta...
by error404
Thu May 03, 2012 12:51 am
Forum: Beginners
Topic: Tether to iPad 3
Replies: 6
Views: 2874

Re: Tether to iPad 3

<t>Break out of the Apple walled garden and buy yourself an Android device that the carrier hasn't crippled by disabling WiFi tether. Or buy your carrier's official device to do exactly this, I think most of them have one now. Or get a USB dongle and attach to a Pi (or dd-wrt router) and share it to...
by error404
Thu May 03, 2012 12:49 am
Forum: General discussion
Topic: Clean Debian
Replies: 18
Views: 10364

Re: Clean Debian

<r>Seems silly to download a bunch of crap just to purge it right away. I'd say A, B and C would be exactly what a Debian netinstall on x86 installs, ie. the Debian base system (see: <URL url="http://cdimage.debian.org/cdim.....st.list.gz">http://cdimage.debian.org/cdim.....st.list.gz</URL> for a co...
by error404
Thu May 03, 2012 12:40 am
Forum: General discussion
Topic: Wiring for the Raspberry Pis GPIO
Replies: 20
Views: 8743

Re: Wiring for the Raspberry Pis GPIO

Isn't this why the driver exports the /sys/class/gpio interface to userspace...? Seems friendlier for scripting, doesn't require root or suid binaries, and is not platform specific. I can see the appeal of an Arduino-like C++ interface, but scripts should use the standard Linux interfaces.
by error404
Thu May 03, 2012 12:32 am
Forum: General discussion
Topic: In-Car UPS-style power
Replies: 6
Views: 5858

Re: In-Car UPS-style power

<t>Unless you run the system read only, you really should give it a chance to shut down properly or eventually you'll probably screw it up enough that it won't boot when turned back on. There's a long thread on some ideas on how to do this gracefully somewhere.<br/> <br/> I'd use a transistor to saf...
by error404
Tue May 01, 2012 7:40 pm
Forum: Other projects
Topic: Report GPIO pins by SNMP
Replies: 23
Views: 23946

Re: Report GPIO pins by SNMP

<r>Writing a script to implement an SNMP agent is kind of a pain in the ass, parsing the OID and providing the correct response in a shell script is pretty awkward. There"s a good template for pysnmp though, so I"d start there <URL url="http://pysnmp.sourceforge.net/.....mdrsp.html">http://pysnmp.so...
by error404
Thu Apr 26, 2012 7:00 pm
Forum: Beginners
Topic: Battery Life
Replies: 24
Views: 15497

Re: Battery Life

<r>Work? Yes. It'll waste a ton of power and generate a lot of heat (you'll need a heatsink) though. You're much better off getting one of the previously mentioned buck converters from eBay for a couple bucks. They should be 80+% efficient.<br/> <br/> I got a stack of 10x KIS-3R33S modules (MP2307 b...
by error404
Thu Apr 26, 2012 6:40 pm
Forum: Troubleshooting
Topic: gpsd doesn't recognize GD-1201 gps dongle
Replies: 1
Views: 1510

Re: gpsd doesn't recognize GD-1201 gps dongle

<t>This GPS seems to output standard NMEA strings, so if the serial port is working properly, it should 'just work' with any version of gpsd. Are you sure the USB->serial converter is being detected and is working properly (maybe use minicom or something to check that you're getting sane output at /...
by error404
Thu Apr 19, 2012 11:14 pm
Forum: Troubleshooting
Topic: Trying to get an RTL8188CUS wireless USB NIC working.
Replies: 57
Views: 79960

Re: Trying to get an RTL8188CUS wireless USB NIC working.

<t>You probably need the firmware-realtek package installed. This is from the non-free Debian repository so it's often not installed by default. Can't tell you if it's in the Pi image, but I'd expect not, it seems to be missing a ton of kernel modules and such. You can download the .deb from package...
by error404
Thu Apr 19, 2012 11:08 pm
Forum: Off topic discussion
Topic: Large numbers in C#
Replies: 16
Views: 2909

Re: Large numbers in C#

<t>If it were the same, it should run the same, and the difference you see would be rather shocking. Computers are deterministic and if the code were identical, it should be executed identically. So there must be some difference.<br/> <br/> However as has been pointed out, the literal '1e9' is inter...
by error404
Thu Apr 19, 2012 7:47 pm
Forum: General discussion
Topic: ARM options for PCB design softare and sketchup
Replies: 6
Views: 1737

Re: ARM options for PCB design softare and sketchup

<t>KiCad can do most things EAGLE can do, including gerber export. It is quite different though, and the workflow took some getting used to for me (coming from a pirated copy of Altium). Also expect to make a lot more of your own libraries than you would with EAGLE, since it's less popular with hobb...
by error404
Thu Apr 19, 2012 7:40 pm
Forum: Off topic discussion
Topic: Large numbers in C#
Replies: 16
Views: 2909

Re: Large numbers in C#

<t>C# is a .NET language, which means it compiles to the Common Language Infrastructure (CLI) bytecode (which runs under the Common Language Runtime), which is basically an architecture on its own. It is matched to an 'assembly' language called Common Intermediate Language (CIL) that describes CLI c...
by error404
Thu Apr 19, 2012 7:24 pm
Forum: General discussion
Topic: ARM options for PCB design softare and sketchup
Replies: 6
Views: 1737

Re: ARM options for PCB design softare and sketchup

<t>KiCad is usable, and has a much better license than EAGLE. I'd say they're of about equivalent goodness, too. It is definitely not competitive with the leaders like Altium and Cadence, however, and there is a fair learning curve. But if you're after ARM options I'd say it's the best choice, I'm n...
by error404
Thu Apr 19, 2012 12:13 am
Forum: Other projects
Topic: Feasibility of video analyzer for RGB LED driver
Replies: 4
Views: 1797

Re: Feasibility of video analyzer for RGB LED driver

<t>Probably quite feasible. There is boblight that can analyze a v4l stream for this purpose, and I don't think it will be too CPU intensive for Pi. Just make sure your dongle works under v4l.<br/> <br/> As far as the second part, once (if?) SPI drivers are available, it should be fairly simple. bob...
by error404
Thu Apr 19, 2012 12:04 am
Forum: Off topic discussion
Topic: Large numbers in C#
Replies: 16
Views: 2909

Re: Large numbers in C#

<t>On my (x86, mono) machine the 1e9 version of your code is much slower (0.42 vs. 1.55), as I would expect. Looking at the generated CIL there is an additional type conversion before the comparison occurs (comparison becomes double < double).<br/> <br/> I have no idea why this would be faster on yo...
by error404
Thu Mar 29, 2012 11:31 pm
Forum: General discussion
Topic: Interesting Thing I found on eBay.
Replies: 16
Views: 4878

Re: Interesting Thing I found on eBay.

<t>Yes but. Batteries aren't a constant voltage source, when fully charged they'll be somewhat higher than their nominal voltage, and when empty they'll be below it. That changing voltage shouldn't be a problem for the Pi itself (within reason) as it doesn't actually run on the 5V, so its power regu...
by error404
Thu Mar 29, 2012 9:24 pm
Forum: General discussion
Topic: Attaching a RTC
Replies: 15
Views: 3919

Re: Attaching a RTC

<r>The Linux kernel does contain drivers for many I2C RTC devices. If you instantiate it properly in the kernel you shouldn't really have to write any code at all, just a custom kernel build. See: <URL url="http://lxr.linux.no/#linux+v3......rivers/rtc">http://lxr.linux.no/#linux+v3......rivers/rtc<...
by error404
Wed Mar 28, 2012 9:44 pm
Forum: Debian
Topic: Debian ARM on Raspberry Pi
Replies: 135
Views: 79690

Re: Debian ARM on Raspberry Pi

You may run into similar issues with other packages, as Debian default is to set a root password and use su, not sudo.
by error404
Wed Mar 28, 2012 8:46 pm
Forum: Other projects
Topic: GPIO Expansion Using Daisy chained Shift Registers....
Replies: 8
Views: 3595

Re: GPIO Expansion Using Daisy chained Shift Registers....

Agreed, either is cheap enough. Just enumerating the alternatives, and highlighting why you might not choose I2C, it has some significant disadvantages.
by error404
Wed Mar 28, 2012 8:43 pm
Forum: Other projects
Topic: Raspi streaming Netflix
Replies: 26
Views: 31641

Re: Raspi streaming Netflix

<t>Pretty sure NetFlix isn't using Silverlight on non-PC platforms, it's just closed-source and the protocol isn't open. Might be reverseable but given that it hasn't happened yet, I wouldn't get your hopes up.<br/> <br/> Running the Roku (or some other ARM device, probably) code on Pi might be feas...
by error404
Wed Mar 28, 2012 5:29 pm
Forum: Other projects
Topic: Using GPIO to make LED glow/dim with processor load
Replies: 1
Views: 1239

Re: Using GPIO to make LED glow/dim with processor load

<r>I don't think there's a standard Linux interface for generic PWM. There is one for LEDs that supports dimming, but you'd need to write a driver against the hardware to use it.<br/> <br/> So to do this you'll probably need to access the PWM registers directly. There's some information on this in t...
by error404
Wed Mar 28, 2012 5:16 pm
Forum: Other projects
Topic: GPIO Expansion Using Daisy chained Shift Registers....
Replies: 8
Views: 3595

Re: GPIO Expansion Using Daisy chained Shift Registers....

<t>Should work fine, and you can almost certainly leverage the SPI peripheral to do it. With DMA (I'm not convinced we have enough detail on it to actually implement it, but...) this is probably the fastest possible way to do GPIO beyond what's on the board, and I'd guess you can probably get it pre...

Go to advanced search