As if one Speeduino wasn’t enough, I built another.
Like all good geeks, I just can’t help myself when it comes to playing with things. When I purchased my original Speeduino i actually purchased a few of the o.3.3 boards, and enough components to build a pair of them. I sold a couple of the boards, spreading the Speeduino love, and decided that instead of building another identical 0.3.3 board, I should go the other way, build the other model, a 0.4.1.
Most people wouldn’t bother, they would build one, or the other and be done with it. Not me, I had to have both.
On paper they look kinda similar, and they share the majority of their components, but the 0.4.1 board has some added features the 0.3 doesn’t have. It’s smaller so is easier to fit into cases, all IO is moved to a single 40 pin connector which is much cleaner, and it has a space to fit a stepper motor driver for stepper idle valves. These features were enough to make me want one.
What an experience it was too!
So obviously i started with a lovely, clean board. This one is black. Flash.
And then start adding bits to it. With my latest shipment of components from Digikey I also picked up a couple of new tools. One was a set of nice needle nose pliers, something I have been missing for a while, another was this awesome component leg bending tool. Makes all your components nice and uniform, and it takes piss all times to bend the legs.
And from there, I stuck more and more bits on until the board was populated.
And then it all went wrong.
Upon initial testing it was obvious something was wrong. Tunerstudio was reporting the voltage as 24v, even when only being fed 5v from USB! It also wasn’t responding to Ardustim input, and LED5 and LED6 were constantly lit. It wasn’t happy.
I posted on the Speeduino official forums about my issues, and a helpful chap whose very first post was to tell me what the issue was and how to fix it, come to my aid. As it turns out there was a bad batch of boards, where the ground plane wasn’t connected correctly, leading to a whole bunch of grounds on the board, not grounded. Josh, the project dev gave me a couple of things to test as well.
After work I got cracking on it. Testing what I was asked to, with no change. I decided to bite the bullet, check all my grounds, and then add in bridge links to join them up.
This was my test “bench”
And this is what I was working on. Every red spot is a ground point. All of them should tie back into the main ground point. Only some of them did.
Once I tested them all, this is what I was left with. Every blue box is a ground that wasn’t connected.
Needless to say, that wasn’t good. It’s no wonder it was throwing a wobbly. The next job was to link them all back up. I got stuck in, using scrap hookup wire, where I stripped out a few strands, twisted them and soldered them to the relevant points on the board.
Its ugly, but its functional. It won’t be seen under the Arduino, and in the case anyway. I’ll probably hot glue them when I put it in the case, just to protect and insulate them.
So with the bridges installed, I went back to testing. First issue was that it appeared I had ground continuity on the 5v points in the proto area. Upon discussion with Josh via IRC chat, we worked out that it all must be working OK, as I was getting the right voltages, so we decided to overlook that. The other issue was that when Ardustim was connected, LED7 would light up and stay lit. That turned out to be a complete fail on my part, the IDC 40 pin breakout cable I was using was labelled wrong.
Removed that cable, wired direct to the correct pins on the IDC connector, and nothing. No RPM or LEDs. Oh well, I guess it’s better than the solid lit LEDs I had before. This also turned out to be a complete fail on my part. At some point during testing, or building, I installed the trigger setting jumper on JP3 instead of JP2. Once the jumper was moved over, it all fired into life and was doing as it should. I guess I should really stop troubleshooting things when im tired.
So all in all it was a success. Bit of a faff around, but Josh made a huge effort to make sure I could get the board going, even if most of the faults were user error. Having direct contact with the main developer of the project is one thing that really makes this project special.
Oh yeah, and how much smaller is the 0.4? Small.
So, for now, that’s it. I don’t have a car to fit anything to, and I can’t proceed any further without one.
Stay tuned, things are happening in the background and progress will happen soon.
Discover more from Tastes Like Petrol
Subscribe to get the latest posts sent to your email.
Could you please point
Could you pease tell me what type of ribbon cable you went for and the id of the plastic bend tool at digi-key? thanks a lot!
-alessandro
Hi, this is the cable I used. https://www.modmypi.com/raspberry-pi/gpio-and-breadboarding/40-pin-ribbon-cables/raspberry-pi-40-pin-gpio-socket-connector-to-labelled-pins-female-150mm and I’m sorry I dont know what you mean by “id of the plastic bend”.
Sorry for some reason my keyboard was broken yesterday. 🙂
I meant the digikey product id of the plastic bend tool. I wasnt able to find it by using the term bend.
Thanks a lot!
Regards
Alessandro
I still have a lead bending tool I got with Everyday Electronics back in the ’70’s!!
hi there – great post, excellent help with the grounds that were giving you hassles, i just finished my build now too, and will be using the same guidelines to check my board. Thanks for the that.
Just a quick question – how do you program the arduino with all the files? I have never had to write so many files to the arduino before, and i have no idea where to start – any guidance on this please?
Hi, Thanks. I hope my posts can help. There will be more on Speeduino once I start work on fitting it to the car next month. In terms of programming the Arduino, all the info needed is on the Speeduino Wiki, http://speeduino.com/wiki/index.php/Compiling_and_Installing_Firmware and its a good guide to use. I believe the new 0.4.2 boards have fixed the issue with the grounds, but its certainly worth checking anyway.
Hi Kelvin, with the later revisions of 0.4.x boards presumably all the ground faults have been sorted out?
Apart from the 0.1″ pirch connector misgivings, its there any other reason to stick with the 0.3.7 board?
I see the 0.4.x board also has a prototyping area which interest me as I could add stuff there.
Hi Adam, yeah the ground issue was only on the early revision of the board I have. Later ones should be fine. I like the screw terminals of the 0.3 boards but I have a new breakout board to try with my spare 0.4 board at some point. The 0.4 board has the advantage of people able to drive stepper motor idle valves too.
Thanks for the information. Ive been scratching my head for a while trying to figure out what’s wrong with my Speeduino, but all my errors seem to line up with what you have described in your article above. There are grounds and VDD that short circuit, and evidently the PCB is not right. Thanks for the detailed explanation on how to do the repair. I’ll go grab my soldering iron and get started !
That’s interesting, unless it’s really old, I would have expected if it’s an official V0.4 board that all the faulty ones like mine would’ve been long gone or fixed since. The next revision of the board which came out shortly after I bought mine fixed the ground issues. Hopefully yours is nothing too major and you can get up and running smoohtly.
I’m based in NZ and im looking for a good place to source the components. but more importantly why is it so hard to find the component list? do you have a list of all the components required to populate an empty Speeduino? Cheers
Hi there. I purchased all my components through digikey.co.nz, who ship via The States. Regarding the component list, the BOM is available on the Speeduino Wiki, https://wiki.speeduino.com/en/boards/V04 near the bottom of the page. This is what I used to compile the list of components to purchase. Hope that helps, Cheers.
Thank you for the information you have put up, do you know of a circuit diagram please that shows the parts required and where they go please.
Hi, all the information you require is available on the wiki.Speeduino.com pages