Printable Version | Subscribe | Add to Favourites
<<  1    2  >>
New Topic New Poll New Reply
Author: Subject: Rasperry Pi vs Megajolt
mikeb

posted on 21/3/12 at 11:00 AM Reply With Quote
Rasperry Pi vs Megajolt

I'm not aware of anyone making one into a cheap ignition controller... yet
Just wondered how they can make the Pi for £25 with a lot more functionality than we get for £200 megajolt.
I know some of it is down to large volumes but I doubt the pi will sell that many once hte hype has died down.

I'm not a electrical person, but would there be a way to conver the pi for use as a cheap ignition controller? I guessing any system that has to load a OS isn't going to be suitable.

[Edited on 21/3/12 by mikeb]

View User's Profile View All Posts By User U2U Member
blakep82

posted on 21/3/12 at 11:40 AM Reply With Quote
raspberry pi was developed for teaching kids computer programming in schools and colleges, so is probably sold at almost cost plus £1 or £2 for profits, where megajolt is a business, and their proifit margins are probably much higher, and probably much less demand than the the raspberry pi will get, at least initially anyway.
once all the schools and colleges have them, prices will probably creep up a bit





________________________

IVA manual link http://www.businesslink.gov.uk/bdotg/action/detail?type=RESOURCES&itemId=1081997083

don't write OT on a new thread title, you're creating the topic, everything you write is very much ON topic!

View User's Profile View All Posts By User U2U Member
matt_gsxr

posted on 21/3/12 at 11:41 AM Reply With Quote
Pi does seem to fit the revised national curriculum on IT so I suspect it might actually make it.

Pricing comes down to units shipped. If you ship a lot then the raw components also get cheaper.

Compare the cost of a mobile phone (GPS, screen, phone, wifi, memory, shiny case, battery, all ~£100) and a Megajolt.

View User's Profile Visit User's Homepage View All Posts By User U2U Member
FuryRebuild

posted on 21/3/12 at 11:57 AM Reply With Quote
There are other aspects to this as well.

it's all in the software - for most projects the price is by far and away the cost of the software: researching it, writing it, testing it, and then field testing it. This is real-time control software with aspects of closed-loop control as well, which requires a special set of skills, and a lot of run-of-the-mill software developers can't get their heads around it, or don't go there because the money's not there.

When you also factor in the fact that there's a lot of custom interfacing hardware involved as well (driving outputs at a certain level, isolating inputs so it doesn't go up in smoke when it's not wired correctly), finding out that it needs a separate supply to the battery than the coils because a dirty power signal causes it havoc, etc. then you can see where the money goes.

Then it has to be made rugged - cars are an awful environment for electronics.

I don't deny the Pi is a great little device, as are the arduino microcontrollers, and as is the megajolt. I think once you took the PI to the place the megajolt is, the costs would be similar. However, the advantage is that the pi (IIRC) is a linux machine, so there's lots of scope to extend it fairly painlessly.

when you look at the fact that a fully ready-to-go megaquirt only costs £400, I think it's a bargain.





When all you have is a hammer, everything around you is a nail.

www.furyrebuild.co.uk

View User's Profile Visit User's Homepage View All Posts By User U2U Member
RK

posted on 21/3/12 at 12:03 PM Reply With Quote
one day, we'll be programming our cars with our phones.
View User's Profile View All Posts By User U2U Member
mikeb

posted on 21/3/12 at 12:12 PM Reply With Quote
What about labour costs to build the units.
Assuming the pi is built somewhere cheap. where as megajolt is Uk cottage industry.
I thought megajolt was based on shareware so is any software cost actually included in the price?

I build a megajolt from bits for £85 only 3 years ago but sold it when I sold up my first build.
My only option now seems to be a £200 pre built unit from trigger wheels.
Why did they stop the supply of the cheap self build option? it seems to have moved on from its initial business concept of self built units which is a shame.

View User's Profile View All Posts By User U2U Member
David Jenkins

posted on 21/3/12 at 12:22 PM Reply With Quote
Megajolt is a commercial product from the USA - Autosport Labs. I don't believe any part of that is open-source.

You're not confusing MJ with Megasquirt (the fuel injection system) are you? That certainly does have open-source stuff in it.






View User's Profile Visit User's Homepage View All Posts By User U2U Member
MikeRJ

posted on 21/3/12 at 12:29 PM Reply With Quote
quote:
Originally posted by David Jenkins
Megajolt is a commercial product from the USA - Autosport Labs. I don't believe any part of that is open-source.

You're not confusing MJ with Megasquirt (the fuel injection system) are you? That certainly does have open-source stuff in it.


The EDIS based Megajolt up to V3 is open source; the hardware design, firmware source code and interface API are all published. The V4 doesn't seem to have source code available yet.

View User's Profile View All Posts By User U2U Member
mikeb

posted on 21/3/12 at 12:34 PM Reply With Quote
not really sure, at one point I thought megajolt and megasquirt were from the same place., but all seems to have moved on in the past couple of years.
My point was I'm looking for a cheap ignition controller, have settled for the fact I'm going to have to pay £200 from trigger wheels, but thought it made an interesting comparison that the Pi is £25 for something with very different spec processors memory etc.

[Edited on 21/3/12 by mikeb]

View User's Profile View All Posts By User U2U Member
MikeRJ

posted on 21/3/12 at 12:39 PM Reply With Quote
quote:
Originally posted by mikeb
I'm not a electrical person, but would there be a way to conver the pi for use as a cheap ignition controller? I guessing any system that has to load a OS isn't going to be suitable.


Rasberry Pi could potentially be used as an ignition controller, though I don't know what timer resources the Broadcom CPU has. However, even one of the embedded Linux versions is not really a suitable basis for the very hard real-time demands that an ignition controller demands. You might be able to use the Pi without Linux (i.e. a "bare metal" approach), though it would be an uphill struggle as Broadcom are notorious for withholding the kind of datasheets you would need to do this. Ultimately it would not be worth the effort.

A modern 8/16 or even 32 bit micro controller with plenty of timer resources would be a better platform for this. You can buy a basic STM32 development board for around £10 which gives you a 32 bit ARM Cortex based micro with loads of timers, UARTS, USB and numerous other peripherals. There are also free development tools available, either "lite" versions of commercial tools or properly free GCC based tools.

quote:
Originally posted by mikeb
not really sure, at one point I thought megajolt and megasquirt were from the same place., but all seems to have moved on in the past couple of years.
My point was I'm looking for a cheap ignition controller, have settled for the fact I'm going to have to pay £200 from trigger wheels, but thought it made an interesting comparison that the Pi is £25 for something with very different spec processors memory etc.



Megajolt and Megasquirt are two entirely separate projects, developed by separate people.

Don't forget that the microcontroller is a relatively small aspect of an ignition controller. You still need to provide all the signal conditioning for variable reluctance or hall based sensors, some form of load sensing (e.g. vacuum) and the coil drivers.

[Edited on 21/3/12 by MikeRJ]

View User's Profile View All Posts By User U2U Member
hughpinder

posted on 21/3/12 at 12:40 PM Reply With Quote
The Pi has no inputs/outputs (eg for crank position, to drive the spark etc) so can't be used. As said before the cost is the design/ancillary circuits, cases , warranty, advetising, marketing, low production count etc, not the hardware.
If you are really interested in some real time control, look at PIC18/24 microcontrollers (about £1 to 10 for the chip)
If you follow this link
http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=2846
You'll see a range of the sorts of things you can do with these controllers. There are free to download development environments and compilers etc there. The real cost/skill is not connecting up the chip and writing the code, but designing the peripheral drivers to send the pulse to the coil while not giving RF pulses etc etc..... There are real examples of circuits and code on the microchip site. If you get into it, you could certainly do spark control, gear indicators, displays, light controllers, security systems etc with this sort of kit. I use one to control my heating system!

Regards
Hugh

View User's Profile View All Posts By User U2U Member
dhutch

posted on 21/3/12 at 12:42 PM Reply With Quote
I found a secondhand but unused megajolt the owner kept as a spare, with hard cut limiter, which I bought for £80 and then bought the rest from scrapyards and a £15 trigger wheel of the bay.

In hinds sight i got a good price, that was two years ago, as you say, much more than that new now.


Daniel

View User's Profile View All Posts By User U2U Member
mikeb

posted on 21/3/12 at 12:44 PM Reply With Quote
Not really my bag to develop one.
Shame someone hasn't developed a replacement built it your self version around one of these £10 boards.

View User's Profile View All Posts By User U2U Member
MikeRJ

posted on 21/3/12 at 12:44 PM Reply With Quote
quote:
Originally posted by hughpinder
The Pi has no inputs/outputs (eg for crank position, to drive the spark etc) so can't be used.


Yes it does. They are made available on a GPIO connector and include a handfull of digital IO pins, an SPI bus, an I2C bus and a UART.

View User's Profile View All Posts By User U2U Member
coyoteboy

posted on 21/3/12 at 12:49 PM Reply With Quote
Pi does have general purpose IO and there's an interface board to deal with it too but as said it's linux based and so the hard real-time functionality of the core processor is going to be harder to access. I've got one on order and will be attempting to see if I can get RTAI onto it, if it can it's a pretty good fun project but it's simply not designed to do that job, end of story. The raw processing power required to run a car is pretty minimal, ignition timing only is even simpler, you could do it with about £15 of components, it's just the packaging and software devel that takes a bit of time. In reality the cost of the megasquirt parts don't even come close to the price of a kit (though the PCB is a hefty chunk of the cost), it's the time and effort people put in to develop code to do every possible engine etc that you're paying for.

[Edited on 21/3/12 by coyoteboy]

View User's Profile E-Mail User View All Posts By User U2U Member
mikeb

posted on 21/3/12 at 12:49 PM Reply With Quote
quote:
Originally posted by hughpinder
The Pi has no inputs/outputs (eg for crank position, to drive the spark etc) so can't be used. As said before the cost is the design/ancillary circuits, cases , warranty, advetising, marketing, low production count etc, not the hardware.

Regards
Hugh


I get all this but thought the orignal megajolt/megasquirt wasn't a proper commercial venture and was more open source orientated, from recollection the orginal design was a uni project etc so a lot of those factors don't count other than the low production cost.
I guess the increase in price is due to it now being a proper commercial venture.

View User's Profile View All Posts By User U2U Member
coyoteboy

posted on 21/3/12 at 12:53 PM Reply With Quote
TBH I'd quite happily fire up an open-hardware venture to work alongside megasquirt - I've found the massive recent increase in costs of the MS3 with all additional driver bits a bit staggering (putting it up there with other "proper" manufacturers, or at least out of the reach of the starter folk). I've got a specific use for the product and it lends itself to open-source solution. Not sure I really have the time though, to be fair.
View User's Profile E-Mail User View All Posts By User U2U Member
hughpinder

posted on 21/3/12 at 01:09 PM Reply With Quote
Oooh I didn't realise the PI was going to have an IO system, sorry for that misinformation - I will have to have a look at one in more detail. I suppose the io from a megasquirt/jolt for temperature/pressure/trigger input/condtioning and spark output could be fairly easily pinched and used on a PIC. The code to for a PIC to use that information wouldnt be too hard.

Regards
Hugh

View User's Profile View All Posts By User U2U Member
mcerd1

posted on 21/3/12 at 01:18 PM Reply With Quote
quote:
Originally posted by mikeb
My point was I'm looking for a cheap ignition controller, have settled for the fact I'm going to have to pay £200 from trigger wheels...

I'm not sure which one your looking at on the trigger wheels site, but as far as I can see your looking at £129.99 +P&P for the TPS version of the ECU itself:
http://www.trigger-wheels.com/store/contents/en-uk/d59.html

if you start buying all the other bits and bobs from them instead of doing the leg work yourself (scrapyards etc..) then that'll cost you a fair bit extra....


or get it from the states direct for $151.90 + $37p&p (approx. £119.20) thats the TPS version with no hard revlimiter
http://www.autosportlabs.com/megajolte-p-41.html

still more than your £85 DIY kit, but not £200!





Re: DIY MJ kits
there are a number of resons why they stopped selling them as DIY kits (discussed at length on the autosports lab forum), but mostly because they upgraded to more modern surface mount components that alot of folk had problems building at home


they deleted the link to the V4 assembly guide, but its still there if you know where to look
http://www.autosportlabs.net/MJLJ_V4_kit_assembly_guide

compare that to the old V3 one:
http://www.autosportlabs.net/MJLJ_V3_kit_assembly_guide


if you've got the time there is vast amounts of information on the autosports site along with lots of discussion about the development of the products

[Edited on 21/3/2012 by mcerd1]





-

View User's Profile View All Posts By User U2U Member
coyoteboy

posted on 21/3/12 at 01:22 PM Reply With Quote
The interface circuitry is pretty simple and would port across pretty much pin for pin, the biggest issue really is the code. The code to cover so many variations in sensor arrangements takes a lot of devel time and testing. Also the processor used by MS (particularly the MS3, multi-core, CAN enabled etc) is really quite nice - im sure microchip have an equiv but I've not hunted. We were looking at using the same processor as the MS3 and just writing our own code and throwing in some RF telemetry and electronic shift control and a few other bits and bobs into one case but alas the usual lack of time forces a re-think because B&G don't want the software running on non-B&G hardware and won't release the bootloader/monitor code.

[Edited on 21/3/12 by coyoteboy]

View User's Profile E-Mail User View All Posts By User U2U Member
mad4x4

posted on 21/3/12 at 01:39 PM Reply With Quote
someone above mentioned PIC what about Arduino - Onboard I/O can get a Nokia LCD screen with Joystick for £10 Software (c++) free.....

http://www.arduino.cc/

From £16 Quid for the CPU

------------->Basic Board
------------->LCD Screen

Currently Trying to Write a MicroDash for my landrover ( Speed/ Water Temp/ Oil Temp / Oil Press.

[Edited on 21/303/12 by mad4x4]





Scot's do it better in Kilts.

MK INDY's Don't Self Centre Regardless of MK Setting !

View User's Profile Visit User's Homepage View All Posts By User U2U Member
coyoteboy

posted on 21/3/12 at 07:06 PM Reply With Quote
Again the 'duino is a crippled processor. Cracking for learning and can do some neat stuff, but I'm not sure it's fast enough in it's standard form to operate as an ignition controller - you really need microsecond reliable control or you scrap your £1000 engine for a saving of £100. And learning C and programming a PIC isn't much different to arduino, maybe an extra nights learning and a few tutorials. Unless you want to write it in assembly, in which case you need about an extra months learning and you'll still get yourself tied in knots but it'll be the fastest damn ignition controller And ultimately the complexity of a project like this doesn't come from the actual unit itself, it comes from the tuning software. From my own position (diddle with embedded stuff all the time) making a GUI for a windows based system is remarkably hard. Not sure if I'm just retarded in that respect, but I can code most stuff but I struggle with GUI concepts

[Edited on 21/3/12 by coyoteboy]

View User's Profile E-Mail User View All Posts By User U2U Member
mikeb

posted on 21/3/12 at 07:56 PM Reply With Quote
£1000 engine , not in my car fella, it came with the donor pack so arguably about £50. So a saving of £100 is good!
Dont forget you can build a whole car for £250 quid
Again I thought all the megajolt tuning stuff was open source stuff, so I'm still not getting why the megajolt is now £200 when you could buy it as a bag of bits for £85. They changed the design to surface mount then stop selling the DIY kits.

View User's Profile View All Posts By User U2U Member
MikeRJ

posted on 21/3/12 at 07:57 PM Reply With Quote
quote:
Originally posted by coyoteboy
Again the 'duino is a crippled processor.



It's hardly crippled, it kicks the arse of many 8 bit microcontrollers.

quote:
Originally posted by coyoteboy
Cracking for learning and can do some neat stuff, but I'm not sure it's fast enough in it's standard form to operate as an ignition controller - you really need microsecond reliable control or you scrap your £1000 engine for a saving of £100.



I'm certain it would be fast enough - it's faster than the equivalent 18F PIC's in most situations (don't forget most instructions complete in 1 clock cycle compared to 4 on the PIC).

The main problem with the standard Arduino (Atmega168/328 based) for this application is that it has only one 16 bit timer with compare/capture which isn't ideal, but probably workable. The Arduino Mega uses the Atmega1280/2560 which is a newer and better version of the micro used in VEMS and the short lived MS AVR project. In VEMS this micro runs at the exact same clock rate as it does in the Arduino (16MHz) so you could implement a full engine controller on that.

quote:
Originally posted by coyoteboy
And learning C and programming a PIC isn't much different to arduino, maybe an extra nights learning and a few tutorials.



The Arduino is already programmed in C and/or C++, it just has a few subtle differences, like splitting up main() into an initialisation function and an endless loop function. It's trivial to revert back to full ANSI C however, it uses the same compiler underneath (GCC). Unless you are going straight to the 24F or 33F PIC's there's no significant advantages over the 8 bit Atmel parts, in the same way that if you are familiar with the 8bit PIC's there's probably not much incentive to move to the Atmel parts.

Personally I'm quite enamoured with the modern ARM Cortex devices - for the price of an 18F PIC you get a 72MHz 32 bit powerhouse, and debugging on them is a dream compared to the old 8 bitters. Even better the Cortex core is used by numerous vendors, so if you want to move to another part it's really only the peripheral differences you have to worry about.


quote:
Originally posted by coyoteboy
From my own position (diddle with embedded stuff all the time) making a GUI for a windows based system is remarkably hard. Not sure if I'm just retarded in that respect, but I can code most stuff but I struggle with GUI concepts



Me too. I can make functional GUI's, but I struggle to make them pretty as I just don't have that artistic flair.

View User's Profile View All Posts By User U2U Member
paulf

posted on 21/3/12 at 11:24 PM Reply With Quote
I used to build a lot of megajolts and sold them for about £75 towards the end of the earlier V3.0 units, I did build a couple of the surface mount V4 units as they were sold as kits when first introduced but then with drawn from sale as kits.The surface mount version does not really have any advantages over the earlier versions apart from it is not as easy to build at home and was a good reason to stop supplying kits, the software etc had no real advantages over the last V3.0 model.
The original processor became unavailable in a 16 pin DIL version but was still available in SOIC package and there were a couple of other options last time I looked, I considered designing a cut down version but with Edis units becoming rarer in the scrapyards never bothered, as I thought the way forward was to build a self contained controller but have never got around to it yet.
It would be possible to use a cut down mega squirt with the ignition firmware and no fuel support but it may not work out that much cheaper than a fully functioning MS.
I have even thought about producing a basic Edis version that just has a preloaded zetec ignition map and no facility to modify it and no extra outputs, I could probably do these for less than £50 but don't know if there would be enough demand?
Paul
quote:
Originally posted by mikeb
£1000 engine , not in my car fella, it came with the donor pack so arguably about £50. So a saving of £100 is good!
Dont forget you can build a whole car for £250 quid
Again I thought all the megajolt tuning stuff was open source stuff, so I'm still not getting why the megajolt is now £200 when you could buy it as a bag of bits for £85. They changed the design to surface mount then stop selling the DIY kits.

View User's Profile View All Posts By User U2U Member
<<  1    2  >>
New Topic New Poll New Reply


go to top






Website design and SEO by Studio Montage

All content © 2001-16 LocostBuilders. Reproduction prohibited
Opinions expressed in public posts are those of the author and do not necessarily represent
the views of other users or any member of the LocostBuilders team.
Running XMB 1.8 Partagium [© 2002 XMB Group] on Apache under CentOS Linux
Founded, built and operated by ChrisW.