Go to advanced search

by bloodline
Sat Aug 19, 2017 8:38 am
Forum: Other projects
Topic: Putting a Pi in a keyboard...
Replies: 11
Views: 10100

Re: Putting a Pi in a keyboard...

Just an idea, but maybe find a broken A600 or A1200 and rip out the motherboard, and then hook up the keyboard using Keyrah? Not sure how the USB would be routed internally. http://www.vesalia.de/e_keyrahv2.htm Yes, I have done this (as have many others). The Keyrah and Raspi fit neatly inside an A...
by bloodline
Sat Aug 19, 2017 8:33 am
Forum: Gaming
Topic: Uae4arm: Amiga emulator with JIT and DispmanX
Replies: 591
Views: 141358

Re: Uae4arm: Amiga emulator with JIT and DispmanX

I think MiDWaN has been very busy with real life recently. But it does look like the Amiberry is still being actively developed! :)

I'm hoping someone will get the Num Lock and Scroll Lock LEDs working even when X isn't started... Perhaps we will get that with the SDL2 version?
by bloodline
Mon Dec 23, 2013 11:19 am
Forum: Other
Topic: AROS (AmigaOS API-compatible)
Replies: 106
Views: 31449

Re: AROS (AmigaOS API-compatible)

I'm greedy! I want both native an hosted ARM versions of AROS :)

I really should figure out why my AROS build keeps failing and see if I can work on Raspi Native :-/
by bloodline
Sun Oct 06, 2013 9:25 pm
Forum: Automation, sensing and robotics
Topic: Child's Quad Bike speed limiter...
Replies: 62
Views: 8709

Re: Child's Quad Bike speed limiter...

Just the sensor signal... The power supply only needs a decoupling cap... Find something big and put it across the supply ;) -edit- Also, for convention, it is helpful to see the the power supply as a positive potential and a ground, rather than +ve and -ve. So the arduino is supplied with +12v from...
by bloodline
Sun Oct 06, 2013 6:55 pm
Forum: Automation, sensing and robotics
Topic: Child's Quad Bike speed limiter...
Replies: 62
Views: 8709

Re: Child's Quad Bike speed limiter...

One core will be your 5v, the other is your signal line, the ground will be the braid.

Perhaps filter everything above 10Hz... So perhaps a resistor of 160 ohm and a cap of 100uf. Put the RC filter in the aluminium box with the arduino.
by bloodline
Sun Oct 06, 2013 9:22 am
Forum: Automation, sensing and robotics
Topic: Child's Quad Bike speed limiter...
Replies: 62
Views: 8709

Re: Child's Quad Bike speed limiter...

A ground Shielded cable between the arduino and the sensor will reduce the noise on the line. I would also use a simple RC low pass filter to reject all the HF produced by the engine.
by bloodline
Fri Oct 04, 2013 7:23 am
Forum: Automation, sensing and robotics
Topic: Child's Quad Bike speed limiter...
Replies: 62
Views: 8709

Re: Child's Quad Bike speed limiter...

Sorry, the relay will be driven via a 2N2222 with a 1k resister on the base. It's a standard automotive relay. 120ma I thnk. Steve Ahh, good. The 2N2222 will easily drive a relay. You might need a lower resistance resistor on the base, but 1k will be a very good and safe starting point. And yes you...
by bloodline
Wed Oct 02, 2013 10:13 pm
Forum: Automation, sensing and robotics
Topic: Child's Quad Bike speed limiter...
Replies: 62
Views: 8709

Re: Child's Quad Bike speed limiter...

Link to the relay you are using? I doubt the arduino could drive a relay directly from a single pin.
by bloodline
Sat Sep 28, 2013 7:38 am
Forum: Beginners
Topic: How2 Install & Use SDL2 on Raspbian PI
Replies: 12
Views: 9081

Re: How2 Install SDL2 on RPI

Does this use OpenGLES directly or X? Does the event handling work?
by bloodline
Thu Sep 26, 2013 7:33 am
Forum: Automation, sensing and robotics
Topic: Child's Quad Bike speed limiter...
Replies: 62
Views: 8709

Re: Child's Quad Bike speed limiter...

Maybe if I use a usb charger cable between the quad and UNO that will tame the supply somewhat? Really could do with a 'scope, been wanting one of those handheld jobbies for a while now.... Steve I use a DSO Nano for when I'm out and about, at home the DSO Quad is a bit more useful. In my opinion i...
by bloodline
Wed Sep 25, 2013 7:19 pm
Forum: Automation, sensing and robotics
Topic: Child's Quad Bike speed limiter...
Replies: 62
Views: 8709

Re: Child's Quad Bike speed limiter...

cyrano wrote:Much simpler: drill a hole in the air intake between carburetor and cylinder. Attach relay controlled valve. Open valve if speed exceeds limit.

Hardly any moving parts. Mostly error free. Easily tuned.

You could salvage a valve like that from a digital blood pressure meter.
This is a good idea!
by bloodline
Wed Sep 25, 2013 4:35 pm
Forum: Automation, sensing and robotics
Topic: Child's Quad Bike speed limiter...
Replies: 62
Views: 8709

Re: Child's Quad Bike speed limiter...

@Mortimer, the magnet on the wheel will have no relationship to the engine phase, once the clutch is released the engine will idle independently etc :) I'm not sure, but I think you miss my point... I know the magnet has no relationship to the engine RPM. The technique I have used in the past for d...
by bloodline
Wed Sep 25, 2013 9:54 am
Forum: Automation, sensing and robotics
Topic: Child's Quad Bike speed limiter...
Replies: 62
Views: 8709

Re: Child's Quad Bike speed limiter...

Mortimer raises a very good point, if the coil is in dwell, it will fire as soon as you break the circuit. It should be simple enough to monitor the coil and not cut the ignition if it is in a dwell state. Then there is also the problem that if you cut the ignition, the engine might bounce off compr...
by bloodline
Tue Sep 24, 2013 9:06 pm
Forum: Automation, sensing and robotics
Topic: Child's Quad Bike speed limiter...
Replies: 62
Views: 8709

Re: Child's Quad Bike speed limiter...

// Pin 2 triggers interrupt 0 everytime the signal meets the state change flag... // in our case we want to run the interrupt everytime the signal goes from Low to High. int halleffectPin = 2; int relayPin = 13; volatile int maxms = 400; long firstPress = 0; long countingTime = 5000; int presses = ...
by bloodline
Mon Sep 23, 2013 10:29 pm
Forum: Automation, sensing and robotics
Topic: Child's Quad Bike speed limiter...
Replies: 62
Views: 8709

Re: Child's Quad Bike speed limiter...

You need to put your hall sensor on pin 2 and then attach an interrupt handler to int0 (hint: use the RISING flag). The interrupt handler will simply be a fuction that increments a counter everytime the magnet passes the sensor: volatile int counter; void interruptHandler() { counter++; } Then in yo...
by bloodline
Fri Sep 13, 2013 10:08 pm
Forum: Automation, sensing and robotics
Topic: Child's Quad Bike speed limiter...
Replies: 62
Views: 8709

Re: Child's Quad Bike speed limiter...

Ordered! How about incorporating a distance detector like this too.. http://www.ebay.co.uk/itm/5-Pcs-DC-5V-Detector-Distance-Sensor-Ultrasonic-Sound-Module-HC-SR04-For-Arduino-/251331520646?pt=UK_BOI_Electrical_Components_Supplies_ET&hash=item3a8486a886 My son some times forgets to let go of the th...
by bloodline
Tue Sep 10, 2013 9:37 pm
Forum: Automation, sensing and robotics
Topic: Child's Quad Bike speed limiter...
Replies: 62
Views: 8709

Re: Child's Quad Bike speed limiter...

Yeah, that should get you started :)
by bloodline
Tue Sep 10, 2013 12:25 pm
Forum: Automation, sensing and robotics
Topic: Child's Quad Bike speed limiter...
Replies: 62
Views: 8709

Re: Child's Quad Bike speed limiter...

A prototyping breadboard, a bunch of male to male jumper wires and a various selection of passive components; resistors and capacitors can usually be bought by the 1000s assorted. A few LEDs would be good to help debug the circuit (if you have a Mac you can download iCircuit to design your setup wit...
by bloodline
Mon Sep 09, 2013 8:10 pm
Forum: Automation, sensing and robotics
Topic: Child's Quad Bike speed limiter...
Replies: 62
Views: 8709

Re: Child's Quad Bike speed limiter...

It's time to stop worrying and learn to love the Hall effect sensor:


A3144 A3144E 44E/938 Hall Effect Sensor Switch Magnetic Detector - UK Brand New

http://bit.ly/17RvbOf

Only a couple of quid :)
by bloodline
Mon Sep 09, 2013 4:14 pm
Forum: Automation, sensing and robotics
Topic: Child's Quad Bike speed limiter...
Replies: 62
Views: 8709

Re: Child's Quad Bike speed limiter...

Happy to go Uno, if I get some help from your guys;-) Thanks for all the advice. I recon an easy way to 'throttle back' would be to create a break in the throttle cable under the tank maybe and use a solenoid to add slack to the cable when over speed is detected. Just need 3 pulley wheels and a sol...
by bloodline
Mon Sep 09, 2013 12:31 pm
Forum: Automation, sensing and robotics
Topic: Child's Quad Bike speed limiter...
Replies: 62
Views: 8709

Re: Child's Quad Bike speed limiter...

If it was me, I think I would stick a small magnet to the wheel, hub or axle in a location that be picked up by a reed switch or hall effect sensor. The logic would be a counter, that counts continuously. Every time the wheel comes around the counter value is compared to a fixed value, which can be...
by bloodline
Mon Sep 09, 2013 7:07 am
Forum: Automation, sensing and robotics
Topic: Child's Quad Bike speed limiter...
Replies: 62
Views: 8709

Re: Child's Quad Bike speed limiter...

I am not aiming to sense the rpm of the engine, only the rpm of the axle, and control speed by the rather rudimentary method of cutting the voltage to the ignition. Arduino was my first thought, but as I have zero knowledge of them I chose the RPi. I have a remote kill switch already. If arduino is...
by bloodline
Sun Sep 08, 2013 10:28 pm
Forum: Automation, sensing and robotics
Topic: Child's Quad Bike speed limiter...
Replies: 62
Views: 8709

Re: Child's Quad Bike speed limiter...

This is an Arduino project not a Pi one. The Arduino will survive the environment better and be easier to interface with the bike electronics (which will be 6v, where the arduino is a 5v system)... The pi is all 3.3v, the IO is a bit complex and due to the over head of the OS means that you can't do...
by bloodline
Sun Sep 08, 2013 9:51 pm
Forum: C/C++
Topic: Learning
Replies: 10
Views: 1690

Re: Learning

I personally don't like Python... My preferred language is C (specifically Objective-C), but C++ is excellent: I suggest these free books called "Thinking in C++" which will help you: http://www.mindviewinc.com/downloads/TICPP-2nd-ed-Vol-two.zip There is also thinking in C... Which is only worth re...
by bloodline
Sun Sep 08, 2013 7:16 pm
Forum: C/C++
Topic: GPIO access in C++
Replies: 2
Views: 1420

Re: GPIO access in C++

Cheers!

Go to advanced search