The Shop > Electronics & IC Programing
Digital oscilloscope project/kit
RobWilson:
--- Quote from: raynerd on December 23, 2015, 02:12:02 AM ---Yes, Rob, that's the one.
I've also been considering building one of my own around a pic or arduino. There are a lot of plans online.
--- End quote ---
Interesting Chris ,
Do you have any links handy , no worries if you dont I could have a look over the holidays . I have PICAXE , GENIE and Arduino ,,,,,,,,,,,,,,,,to mess with .
I must say for the money the Bangood kits I have receved have all worked , the PCB's are cracking quality (well to my inexperienced eyes they are ) , no parts missing , probably not the best components but for the few quid they cost I am happy .
Rob
shipto:
--- Quote from: RobWilson on December 24, 2015, 03:50:43 AM ---
--- Quote from: shipto on December 22, 2015, 05:00:14 PM ---Mr Wilson please stop I only have 4 kids and my birthday isnt until June so will have to start buying myself if you keep posting these links :lol:
--- End quote ---
Or you could get busy and knock out a few more kids :lol:
Rob
--- End quote ---
Discussed it with wife and she threatened all sorts of nasty things to my bits :zap: :lol:
RobWilson:
--- Quote from: philf on December 23, 2015, 04:12:08 PM ---
Thanks Rob,
I spent hours looking at all the goodies available from Banggood.
I've ordered a little LCD Touch Screen for my Raspberry PI for just over £8.
Luckily I got both my scopes running again. I found an identical capacitor on eBay for just over £1 delivered. A couple of 20mm 125mA slow blow fuses cost more. I'm OK for a sine/square/sin wave generator 0.1Hz to 2MHz but yours takes a lot less space and tells you what it's doing.
Cheers.
Phil.
--- End quote ---
Hi Phil ,
I am pleased yoy have your scopes up and running :thumbup: , what are you making with a Raspberry pie and touch screen ?
--- Quote ---I'm thinking it's best to order only one thing at a time to keep the total cost below the £15 value when you may or may not be billed for VAT (and the £8 + VAT fee for collecting the VAT). (Or do they put fictitious values on the packages?)
--- End quote ---
They post everything separately , well all of my orders have come split so far and I dont think they can read Chinese at the sorting office :med:
--- Quote ---Are you going to tell us what other kits you bought or do we have to wait?
--- End quote ---
Classified Phil all very hush hush , mums the word :lol:
OK! , A real mixed bag , the kits above scope ,component tester ,power supply , signal generator . Then there is the programmable stuff , PICAXE ,GENIE and Arduino projects and development boards all very basic . some 555 projects , times that sort of stuff , a DC PWM motor controller .
All in an aid to get to grips with electronics lark , I must admit its fun messing with these kits :zap:
Rob
RobWilson:
--- Quote from: shipto on December 24, 2015, 04:11:57 AM ---
--- Quote from: RobWilson on December 24, 2015, 03:50:43 AM ---
--- Quote from: shipto on December 22, 2015, 05:00:14 PM ---Mr Wilson please stop I only have 4 kids and my birthday isnt until June so will have to start buying myself if you keep posting these links :lol:
--- End quote ---
Or you could get busy and knock out a few more kids :lol:
Rob
--- End quote ---
Discussed it with wife and she threatened all sorts of nasty things to my bits :zap: :lol:
--- End quote ---
:lol: :lol: :lol: :lol: :lol: spoil sport :lol:
Rob
philf:
--- Quote from: RobWilson on December 24, 2015, 04:21:43 AM ---
I am pleased you have your scopes up and running :thumbup: , what are you making with a Raspberry pie and touch screen ?
--- End quote ---
Hi Rob,
I'm using the Raspberry Pi for our Hydro Scheme.
You may regret asking me what I'm doing with it but here goes:
We currently have two grease pumps which supply biodegradeable grease to the bottom bearings of the Archimedes screws. Each top bearing has two Simalube grease cartdridges. These have a dry cell which generates hydrogen to pressurise the cartridge thus forcing the grease out into the bearing. These cartridges are expensive and cost around £250/year all to dispense around £5 worth of grease. I've ordered an SSVD which is a valve which will send a certain proportion of the grease pump output to each of the 6 grease points. I need 10gm of grease/day to each of the two bottom (submerged) bearings and 1gm/day to each of the ports on the top bearings. The SSVD has an indicator pin which moves in and out as grease moves through it. I'm detecting this movement with a proximity sensor. This connects to the Pi through an opto-isolator to keep 24v well away from the inputs of the Pi.
The grease pump will be set to run for approx 20 seconds every 40 minutes. When the Pi sees the pin move it will start timing. If it doesn't see the pin again within say 41 minutes it will sound an alarm in our power house and, more importantly as the power house is normally unmanned, send an email telling a few of us that the grease pump may be empty or may be faulty. This was my first venture into the world of Python programming.
Flushed with the success of this I set about trying to measure screw speed.
The system records screw speed but only once every 15 minutes. We think we've had some violent overspeeds but these have been missed by the log file. 6 tons of not well balanced screw spinning fast could have disastrous consequences. The screws normally run very slowly (max of about 30 rpm, min about 6 rpm) so I thought the Pi would have no problems looking at a proximity sensor which is set to detect big socket screw heads on a coupling between the screw and the gearbox. There are 12 bolts on the coupling so the max frequency I'd be looking at would be 6Hz. Not rocket speeds. I decide that the best way to get the speed would be just to get the time between the sensor seeing two bolt heads.
I soon found that, even at the pedestrian speeds I was looking at, the Pi is useless at real time stuff when using a multitasking operating system unless you use interrupts. This is where it got scary for me.
For GPIO control I was using pigpio which had a function something like wait_for_edge.fallingedge with timeout which I thought would work nicely and the timeout function would cope with a screw being stopped. The results I got were fairly promising but every now and then a spurious result. This is when I got the scopes out to look at the output from my pulse generator (which I was using to simulate the output I'd get from a running screw) as I thought it may be inconsistent - it wasn't.
I contacted the author of pigpio and emailed him my code. He very quickly replied telling me that the times returned by his wait_for_edge function could be up to 0.1sec out! He would change his documentation to make this clear. He suggested using callbacks (from interrupts) and within a couple of hours had emailed me some basic working code.
I then set about filtering the results to only show > 1% changes in speed and writing the results to a log file with a timestamp. Without the filter the files would grow to enormous proportions. I'm just getting the code right for starting a new log file at 00:00:00 every day and emailing myself the previous day's file.
The touch screen is so I can have a live screw speed display in the power house. Then I might think about drawing speed/time graphs.
You did ask! :lol:
Have a Very Good Christmas and a Happy & Healthy 2016.
:beer:
Phil.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version