Go to advanced search

by Hove
Mon Jan 30, 2017 10:12 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: RPi.GPIO default PULL_UP / DOWN resistor value
Replies: 2
Views: 694

Re: RPi.GPIO default PULL_UP / DOWN resistor value

Do you mean the internal pulls? They are circa 50k. Yep, the internal pullups the RPi.GPIO can optionally set up for inputs to up / down / off. The fact the RPi.GPIO 50k only pulls down to 2.5V suggests the Garmin LiDAR has a ~17k pull-up. I'll stick a 10k pull down between the GPIO input and groun...
by Hove
Mon Jan 30, 2017 9:03 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: RPi.GPIO default PULL_UP / DOWN resistor value
Replies: 2
Views: 694

RPi.GPIO default PULL_UP / DOWN resistor value

I couldn't find the value from a quick google; any idea what the value is? It's not enough to control the interrupt from a Garmin LiDAR-lite V3 which is only pulled down to about 2.5V; rising edges to 3.3V are not detected as a result. More details, scope output etc here: http://blog.pistuffing.co.u...
by Hove
Fri Jan 27, 2017 3:55 pm
Forum: Raspberry Pi OS
Topic: Detect brown out on headless Jessie lite?
Replies: 4
Views: 1828

Re: Detect brown out on headless Jessie lite?

ShiftPlusOne wrote:

Code: Select all

vcgencmd get_throttled
Could be useful
Thanks, that'll definitelybe useful while trying to track this down; I've used similar to check the CPU wasn't overheating - it only went up by 2 degrees to 42 while my code was running.
by Hove
Fri Jan 27, 2017 3:52 pm
Forum: Raspberry Pi OS
Topic: Detect brown out on headless Jessie lite?
Replies: 4
Views: 1828

Re: Detect brown out on headless Jessie lite?

pcmanbob wrote:Hi.

Have a read of this post page 4 mikerr posted so code to read the relevant GPIO.
viewtopic.php?f=29&t=82373&start=75
link should take you to page 4 just scroll down
Perfect, thanks, that's just what I needed.
by Hove
Fri Jan 27, 2017 7:54 am
Forum: Raspberry Pi OS
Topic: Detect brown out on headless Jessie lite?
Replies: 4
Views: 1828

Detect brown out on headless Jessie lite?

Is there a software way to detect a power brownout (yellow lightning bolt on top right of screen) on a headless (i.e. no screen) Raspian Jessie Lite? I'm trying to track down sensor I2C problems on a V1.2 B2 (i.e. B3 chipset without the built-in WiFi / bluetooth), and power is currently the best gue...
by Hove
Thu Jan 12, 2017 8:57 am
Forum: Automation, sensing and robotics
Topic: Autonomous Quadcopter lateral flight plan...
Replies: 1
Views: 546

Autonomous Quadcopter lateral flight plan...

Was a success: http://blog.pistuffing.co.uk/first-lateral-flight-plan/ She's running a Pi Zero, Jessie, python as the flight controller; IMU provides short term tracking; longer term, a Garmin LiDAR lite provides vertical tracking, and a RaspiCam horizontal, hence the bright LEDs and the play mats. ...
by Hove
Mon Jan 09, 2017 7:48 am
Forum: General discussion
Topic: Need help in making a quadcopter
Replies: 7
Views: 1465

Re: Need help in making a quadcopter

It's possible to do - here's mine http://blog.pistuffing.co.uk/blog/ along with code here https://github.com/PiStuffing/Quadcopter . It's the sort of thing you often see as university engineering projects so might be too expensive or difficult as a high school project. Have a look at Quadcopter.py f...
by Hove
Sun Oct 30, 2016 3:01 pm
Forum: Raspberry Pi OS
Topic: RPIO library issues
Replies: 30
Views: 6054

Re: RPIO library issues

Thanks
by Hove
Sun Oct 30, 2016 2:13 pm
Forum: Raspberry Pi OS
Topic: RPIO library issues
Replies: 30
Views: 6054

Re: RPIO library issues

@VecH - to be clear, what doesn't work here is the rpio-curses tool used for managing RPIO config in a curses GUI tool. This is not necessary for writing python code using the RPIO and RPIO.PWM python library. They work fine: I use them in my A+ and B2. I also know someone using it on a B3. As I men...
by Hove
Sun Oct 30, 2016 1:13 pm
Forum: Raspberry Pi OS
Topic: RPIO library issues
Replies: 30
Views: 6054

Re: RPIO library issues

If you do it online at http://github.com/metachris then the website will generate the fork for you. When the code is written and tested you can do a pull request to get metachris to merge your changes with his repo. There's nothing you can do to destroy the original version unless you're added as a...
by Hove
Sun Oct 30, 2016 1:12 pm
Forum: Raspberry Pi OS
Topic: RPIO library issues
Replies: 30
Views: 6054

Re: RPIO library issues

I do not understand what want from me? what data to put to get a working rpio-curses I have RPi B, RPi 2B There's a bug in the rpio-curses code meaning it doesn't recognise Raspberry Pis later than a B+. The fix should be simple, but I'm not confident with Git code management. Dougie has pointed me...
by Hove
Sun Oct 30, 2016 12:55 pm
Forum: Raspberry Pi OS
Topic: RPIO library issues
Replies: 30
Views: 6054

Re: RPIO library issues

The problem is in RPIO/source/RPIO/__init__.py line 150 onwards where there is missing information about newer models of RPi's for the GPIO code. I could fix this relatively easy IFF I knew how to update someone else Git repository. I only ever add, commit and push on my own. If someone could tell m...
by Hove
Sun Oct 30, 2016 12:16 pm
Forum: Raspberry Pi OS
Topic: RPIO library issues
Replies: 30
Views: 6054

Re: RPIO library issues

OK, so it seems the rpio-curses script needs updating to recognise newer models of the Raspberry Pi. What model of Raspberry Pi are you running this on?
by Hove
Sun Oct 30, 2016 11:29 am
Forum: Raspberry Pi OS
Topic: RPIO library issues
Replies: 30
Views: 6054

Re: RPIO library issues

VecH wrote:rpio-curses will work?
I don't see why not, but I've never tried it.
by Hove
Sun Oct 30, 2016 6:39 am
Forum: Raspberry Pi OS
Topic: RPIO library issues
Replies: 30
Views: 6054

Re: RPIO library issues

VecH wrote:These steps will overwrite package
Yes, as I said above, it will overwrite the old faulty RPIO package with the new working RPIO package. Why's that a problem?
by Hove
Sat Oct 29, 2016 6:28 am
Forum: Raspberry Pi OS
Topic: RPIO library issues
Replies: 30
Views: 6054

Re: RPIO library issues

How to iunstall alternate version ? In order to establish what commands please You don't need to uninstall the previous version, just installing the new version overwrites the old version. To install it goto https://github.com/metachris/RPIO/tree/v2 Click the green "Clone or Download" button Click ...
by Hove
Fri Oct 28, 2016 2:38 pm
Forum: Raspberry Pi OS
Topic: RPIO library issues
Replies: 30
Views: 6054

Re: RPIO library issues

Get RPIO from the original source which now has a beta version supporting all new RPi's using the mailbox API to determine DMA addresses. https://github.com/metachris/RPIO/tree/v2 . It's only beta because metacris hasn't made it the master yet. I've been using it since I made those changes and it wo...
by Hove
Tue Oct 04, 2016 1:39 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: RPIO import failed
Replies: 5
Views: 6781

Re: RPIO import failed

@DougieLawson: There is one situation where pigpio or RPIO are mandatory: if you need high resolution PWM signals (i.e. up to 1us), then RPi.GPIOs PWM can't achieve this as the PWM is software. The other two options use the hardware PWM via DMA. RPIO for me provides 300Hz pulses of 1ms - 2ms at 1us ...
by Hove
Tue Oct 04, 2016 9:30 am
Forum: Troubleshooting
Topic: RPIO PWM Problems
Replies: 4
Views: 1077

Re: RPIO PWM Problems

There's now a Beta branch in the RPIO GitHub which deals with this: https://github.com/metachris/RPIO/tree/v2

Download this latest version (you can see it's the right version as it contains mailbox.c in the PWM source files), and install as before; you'll then find everything works fine.
by Hove
Sun Oct 02, 2016 6:51 am
Forum: General discussion
Topic: sudo apt-get disk-upgrade
Replies: 4
Views: 1287

Re: sudo apt-get disk-upgrade

In general, it does _not_ change your configuration, just updates the apps themselves to the latest version - bug fixes generally. the dist- means it also installs new packages that are new to the distribution that you don't yet have. However, if you really want to be sure, take a backup of your ima...
by Hove
Fri Sep 30, 2016 5:50 pm
Forum: Official Foundation Display
Topic: PIXEL font size for DSI screen
Replies: 0
Views: 459

PIXEL font size for DSI screen

PIXEL is up and running beautifully on my piPad (RPi 3 + official display) except for one thing: The main menu is too long (vertically), and drops off the bottom of the screen. There is a 'scroll' but it's so small only someone with very small fingers or a stylus can manoeuvre accurately enough. Is ...
by Hove
Sat Sep 17, 2016 6:35 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Raspberry Pi 3 & Wiimote?
Replies: 4
Views: 7529

Re: Raspberry Pi 3 & Wiimote?

Not quite answering your direct question, but I had problems recently with cwiid and the latest pizero. It turns out cwiid only supports the original genuine Nintendo Wii controller but none of the newer ones with motion. With the original controller it worked perfectly: http://blog.pistuffing.co.uk...
by Hove
Tue Sep 06, 2016 7:18 pm
Forum: Camera board
Topic: RESOLVED: Macro-block buffering
Replies: 26
Views: 4737

Re: Macro-block buffering

waveform80 got in touch via e-mail and there's an existing solution: So, in your case instead of this: camera.start_recording( '/dev/null', format='h264', motion_output="/dev/shm/motion_stream", quality=23) You want something like this (this assumes Python 3's variant of open; if you're on Python 2,...
by Hove
Tue Sep 06, 2016 12:40 pm
Forum: Camera board
Topic: RESOLVED: Macro-block buffering
Replies: 26
Views: 4737

Re: Macro-block buffering

Do give the raspivid line a quick try - at least that is easy to do compared to rebuilding PiCamera. I can confirm raspivid is working perfectly as the source for the macro-blocks - the 1680 byte macro-blocks per frame are delivered at 10 fps intervals as required. So this is a viable solution, tha...
by Hove
Tue Sep 06, 2016 12:15 pm
Forum: Camera board
Topic: RESOLVED: Macro-block buffering
Replies: 26
Views: 4737

Re: Macro-block buffering

Do give the raspivid line a quick try - at least that is easy to do compared to rebuilding PiCamera. Will do and I'll report back later - it should be a trivial change to my motion.py code. http://unix.stackexchange.com/questions/25372/turn-off-buffering-in-pipe/25376#25376 implies the pipe will al...

Go to advanced search