Go to advanced search

by tenochtitlanuk
Mon Oct 21, 2013 9:20 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Monitoring mains (AC) voltage with the Pi
Replies: 70
Views: 39326

Re: Monitoring mains (AC) voltage with the Pi

The 'electronic' way is to isolate with a transformer; also converting down to some lower value. Now rectify with a diode and smooth with a capacitor; then feed to your AtoD & read. Store an array of readings and/or detect max, min and/or graph. Quite a lot of electronics and programming. And to mon...
by tenochtitlanuk
Wed Oct 09, 2013 11:03 am
Forum: Troubleshooting
Topic: USB peripherals stop working - unless Pi on it's side!
Replies: 5
Views: 1359

Re: USB peripherals stop working - unless Pi on it's side!

Also consider possible overheating- a vertical orientation gives better convective cooling. Your USB load may be pushing the polyfuses into tripping. Is yours the early model with three fuses ( USB power in; 2 x USB out)??
by tenochtitlanuk
Wed Oct 09, 2013 10:55 am
Forum: Automation, sensing and robotics
Topic: OCR optical character recognition of seven segment displays
Replies: 17
Views: 24316

Re: OCR optical character recognition of seven segment displ

Fantastic- one of those really useful jbeale replies!
I'm off to play. Can always do some pre-processing with ImageMagick...
Thanks again.
by tenochtitlanuk
Tue Oct 08, 2013 9:39 pm
Forum: Automation, sensing and robotics
Topic: OCR optical character recognition of seven segment displays
Replies: 17
Views: 24316

OCR optical character recognition of seven segment displays

The representation of number outputs on displays via 7 bars SHOULD be easy to recognise as numbers. This allows interfacing all sorts of existing instrumentation, including for instance bathroom weighing scales; electricity meters; etc. I have previously written my own routines to detect the bars & ...
by tenochtitlanuk
Thu Sep 26, 2013 12:02 pm
Forum: Graphics, sound and multimedia
Topic: OCR exam board Singing Jelly Baby
Replies: 5
Views: 1475

Re: OCR exam board Singing Jelly Baby

The audio file la.mp3 is at https://raw.github.com/Rob-Bishop/Raspb ... ter/la.mp3
AS I said, save it to the directory you are putting your Python files in..
by tenochtitlanuk
Thu Sep 26, 2013 10:57 am
Forum: Automation, sensing and robotics
Topic: Optical character recognition (OCR) and Tesseract'
Replies: 0
Views: 1707

Optical character recognition (OCR) and Tesseract'

There have been several posts about OCR on the Pi and its camera. Several have been about recognising number output on instruments with a seven-segment display but no interface to link directly to a Pi. ( I've posted before about reading pixels at appropriate locations in a BMP to get this data as a...
by tenochtitlanuk
Wed Sep 25, 2013 4:31 pm
Forum: Graphics, sound and multimedia
Topic: OCR exam board Singing Jelly Baby
Replies: 5
Views: 1475

Re: OCR exam board Singing Jelly Baby

Dug out another pi. Using command line ( ie no X window) I saved la.mp3 into a folder and moved into that folder. Doing 'sudo mpg321 la.mp3' indeed worked fine, so I presume the GPIO section will work.. ( Don't know if Rob changed the mp3, or a pi upgrade has made it able to read & sound out...) Sug...
by tenochtitlanuk
Wed Sep 25, 2013 10:13 am
Forum: Graphics, sound and multimedia
Topic: OCR exam board Singing Jelly Baby
Replies: 5
Views: 1475

Re: OCR exam board Singing Jelly Baby

Can't check 'til tomorrow. The only Pi I have here is doing a timelapse film until tomorrow!
The MP3 needs to be in the same folder/directory as the ( saved) SingingJellyBaby.py file.
I don't know if the MP3 file has been changed since I reported the problem.
Will report back asap!
by tenochtitlanuk
Fri Sep 20, 2013 11:54 am
Forum: Camera board
Topic: USB cameras (webcams) on Raspberry Pi
Replies: 73
Views: 38800

Re: Consider a USB camera as an alternative

Go, jamesh! I'm one of the very happy people who got a Pi camera as soon as we could and are VERY happy with its ease-of-use and performance. Worked first-time and software has been improved. And most Pi-fans realise that the Pi developers & the Foundation are doing a fantastic job while holding dow...
by tenochtitlanuk
Thu Sep 19, 2013 9:23 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Attaching Weight scale or Force resistive sensor to PI
Replies: 13
Views: 31979

Re: Attaching Weight scale or Force resistive sensor to PI

. . . and the one I ordered online ( see earlier) turned out NOT to have the advertised USB connection. So I have all the hassle of returning it, and of course they DON'T have the higher spec model on their stock list. At least I've got them to correct their product description... and won't mention ...
by tenochtitlanuk
Fri Sep 06, 2013 11:11 am
Forum: HATs and other add-ons
Topic: how to sense 220v input -solved- I hope
Replies: 59
Views: 60156

Re: how to sense 220v input -solved- I hope

Yes- as I implied.
The idea is to avoid losses- hence a series cap. is easiest. No resistors. Cheap diode paralleled across LED to catch the 'reverse' phase. Cheaper than a lossy zener..
by tenochtitlanuk
Fri Sep 06, 2013 10:52 am
Forum: HATs and other add-ons
Topic: how to sense 220v input -solved- I hope
Replies: 59
Views: 60156

Re: how to sense 220v input -solved- I hope

Must say that the general level of electrical knowledge of many users of the Pi forums is abysmal. Most seem convinced a 5V 2A psu will somehow push 2A through anything connected... I recently took the trouble to disassemble a mains ( 240V) LED lamp. Instead of a resistive current limiter with atten...
by tenochtitlanuk
Tue Sep 03, 2013 10:54 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Attaching Weight scale or Force resistive sensor to PI
Replies: 13
Views: 31979

Re: Attaching Weight scale or Force resistive sensor to PI

I've just ordered a USB weighing scale to experiment with.
Google 'postal scales usb'. It cost around 20ukp.

If Linux works with it I'll report back. If not, it'll be run under XP!
by tenochtitlanuk
Sat Aug 17, 2013 2:48 pm
Forum: Advanced users
Topic: Raspberry Pi, a real world work for the microcomputer
Replies: 2
Views: 1656

Re: Raspberry Pi, a real world work for the microcomputer

Neat application. I hadn't heard of Beautiful Soup before... and good use of resources. Para los hispanohablantes, http://patolin.com/blog/2013/08/16/poniendo-a-trabajar-al-raspberry-pi/ I'm always on the lookout for technical Spanish articles for my language classes. Otherwise it's all news or lite...
by tenochtitlanuk
Wed Aug 07, 2013 9:50 am
Forum: General discussion
Topic: Challenge: Bitmap comparison
Replies: 24
Views: 6781

Re: Challenge: Bitmap comparison

Anyone happening on this thread would find helpful advice on the ImageMagick -al way of doing this kind of thing. You can script a direct compare; mask area of interest; do a difference- or do from a terminal command line. http://www.imagemagick.org/Usage/compare/ Given that my flicker-example was a...
by tenochtitlanuk
Tue Aug 06, 2013 9:27 am
Forum: General discussion
Topic: Challenge: Bitmap comparison
Replies: 24
Views: 6781

Re: Challenge: Bitmap comparison

Flicker comparison is certainly going to be easiest. Lighting, alignment etc are much less critical. See this quick example. http://www.diga.me.uk/comp2.gif If you go the image-processing route I concur with the comments of others- fixed camera position to near-pixel accuracy is needed unless you'll...
by tenochtitlanuk
Thu Jul 25, 2013 9:59 am
Forum: Automation, sensing and robotics
Topic: Homemade Spirometer (ADC issue)
Replies: 10
Views: 3078

Re: Homemade Spirometer (ADC issue)

This seems an interesting project- lots of on-line references. But the only price I've found was about 180ukp for a 25mm square piece so I won't be joining in and playing with it! ( unless you can give me details of somewhere cheaper) If you have access to a CRO ( oscilloscope) or computer-based equ...
by tenochtitlanuk
Mon Jul 22, 2013 12:19 pm
Forum: Automation, sensing and robotics
Topic: Connect load cell to Pi
Replies: 32
Views: 34582

Re: Connect load cell to Pi

If I wanted to measure the slow small changes in the weight of a hive I'd hang it on a spring ( probably preloaded to the empty hive weight) and measure the extension by a variable resistor or optically. Since Hooke's Law says stress proportional to strain, PI could easily read it. Gert board, PiFac...
by tenochtitlanuk
Thu Jul 18, 2013 8:51 pm
Forum: Troubleshooting
Topic: pi camera = no picture....
Replies: 8
Views: 2849

Re: pi camera = no picture....

When I first got my PiCam I had similar experience until I twigged. Are you preceding the command with 'sudo'- otherwise it can't write the output file unless you've changed directory to ./home/pi. Or try specifying that output file is in a directory you have write permission for, eg '-o ./home/pi/s...
by tenochtitlanuk
Sun Jul 14, 2013 8:56 am
Forum: Other projects
Topic: Convert stepper motor rotation to linear movement?
Replies: 2
Views: 1522

Re: Convert stepper motor rotation to linear movement?

If you have access to Lego kit, use its 'rack and pinion' parts. A spur gear ( 'pinion') engages with the linear toothed parts ( 'rack'). I've used this several times- the rack sections stack to make what length you want. The screw thread/nut method works, but gives a huge gear ratio- it takes as ma...
by tenochtitlanuk
Sat Jul 13, 2013 11:37 am
Forum: Camera board
Topic: Cosmic Ray Detector
Replies: 10
Views: 6658

Re: Cosmic Ray Detector

Could be interesting. I've got on order the Elektor radiation detector kit ( special offer two more days) which has a small-area sensor but useful accompanying article. Hope to add a Pi interface at some stage. I've also got at least one Geiger tube around. I suppose ANY webcam sensor could be used ...
by tenochtitlanuk
Wed Jun 26, 2013 8:30 pm
Forum: General discussion
Topic: Picamera's problems
Replies: 7
Views: 1693

Re: Picamera's problems

If raspistill -o ./home/pi/ashurpanibal.jpg does not turn camera ( red LED) on & take a picture at the location spelled out for the output then you've either a bad camera or connection- or haven't updated software.
raspistill if typed alone in a terminal will give all the options.
by tenochtitlanuk
Wed Jun 26, 2013 3:07 pm
Forum: Automation, sensing and robotics
Topic: Using a Pi as a Photo Finish Camera
Replies: 17
Views: 7154

Re: Using a Pi as a Photo Finish Camera

I started on something similar & then was hung up waiting for the camera. See http://www.raspberrypi.org/phpBB3/viewtopic.php?f=43&t=33912&p=297329#p297329 The camera happily takes long narrow horizontal images. ( I turn the camera 90 degrees to make this sensible) & ImageMagick happily appends thes...
by tenochtitlanuk
Sat Jun 22, 2013 9:15 pm
Forum: User groups and events
Topic: Exeter raspberry jam
Replies: 16
Views: 4847

Re: Exeter raspberry jam

Thanks for the hospitality- an interesting group of people, ages & projects.
Look forward to your next.......

Go to advanced search