EcoModder.com

EcoModder.com (https://ecomodder.com/forum/)
-   OpenGauge / MPGuino FE computer (https://ecomodder.com/forum/opengauge-mpguino-fe-computer.html)
-   -   iDuino MPGuino (https://ecomodder.com/forum/showthread.php/iduino-mpguino-4215.html)

wyatt 07-31-2008 01:58 PM

iDuino MPGuino
 
I have been in talks with Kevin at Fundamental Logic for a while. We have talked about the possibility of making a kit specifically for the iDuino MPGuino that would be exceedingly simple to put together (for people like me that really have no background in electrical engineering). You can buy almost everything you need from them, and it is WAY less expensive than going to RadioShack. I opted to use the 8 pin female headers as a way of making the iDuino easily removable should I ever need to. I have spent a lot of time working with the diagram from another thread, so it will be much more "plug and play" for me when everything comes in.

Parts you can get from Fundamental Logic's site:Parts you will need from elsewhere:
  • 1 LCD
    16x2 LCD Module While Characters Blue Backlight
    Or a green one from sparkfun or mouser
  • 1 220 ohm resistor (RadioShack, 5 for $0.99)
  • 2 100K resistors (RadioShack, 5 for $0.99)
  • 1 7805 voltage regulator (RadioShack, $1.59)
  • Solderable Breadboard (RadioShack, $3.49)
  • Wire (free if you can - seriously, watch in parking lots for wire!, $1.00 for phone line or ethernet cable at a dollar store, or new at Wal-Mart or RadioShack)
  • 1 Quick-Disconnect (if desired, free from old devices like computers/printers/phones/phone jacks, or $3.99 for a 4 wire quick-disconnect from RadioShack)
  • 1 Enclosure (Hobby Lobby, 4 for 1.99)
I stole the original schematic from dcb's thread, so hopefully he doesn't hate me for it! That thread has been going for a lot longer than this one, so it may contain lots of information that people would find useful.
http://i378.photobucket.com/albums/o...her/iDuino.gif

I built my iDuino using the instructions from Fundamental Logic's web site (v2, v3). Then I got it all programmed up, but being a novice I didn't realize that I had to have the 55+ MB file downloaded and ready to go... that took a while! I wound up finding a good page for help on the Arduino. Here is the page for "how to" install the programs on it. Really easy. Here is a link to Post #46 of this thread. cmags does a good job of describing the process for installing the software onto the iDuino.

The iGuino is all wired up in the car. I am currently running v0.71 of the software, and have been able to confirm that it is in working order. Here are picutres of the build.

The basic design I tried to follow. I think I actually switched things around a bit so the 7805 would have it's large metal side facing out (maybe it will reject heat better?).
http://i378.photobucket.com/albums/o...r/iGuino_2.jpg

The board I used from RadioShack, sectioned to match the size of the LCD screen.
http://i378.photobucket.com/albums/o...r/DSCN0052.jpg

I started by soldering the "small things" in place.
http://i378.photobucket.com/albums/o...r/DSCN0057.jpg

I then used the iDuino to keep the 8 pin female headers vertical and soldered it all in place. I had to sand the edges of the female headers to make them able to butt up to each other.
http://i378.photobucket.com/albums/o...r/DSCN0058.jpg

Then I attached the "large components", the 7805 and the large capacitor. I used a 470uF cap, but the recommended is a 330uF.
http://i378.photobucket.com/albums/o...r/DSCN0060.jpg

With everything in place be sure to clip all your leads down close. You don't want them shorting out to each other do you? (correct answer "No.")
http://i378.photobucket.com/albums/o...r/DSCN0061.jpg

I then wired up the screen and the buttons. I used some of the left over board to attach my buttons to, works great.
http://i378.photobucket.com/albums/o...r/DSCN0066.jpg

After attaching my "quick disconnect" (I would really like something better than this cable, it really is quite a pain), I used some string to hold it all together. Here's a couple pictures of how it currently looks.
http://i378.photobucket.com/albums/o...r/DSCN0067.jpg
http://i378.photobucket.com/albums/o...r/DSCN0069.jpg

The whole mess of wires between the display and the iShield will be moved so they connect on the other side. This will save some thickness and allow me to use the large channel that the female headers leave.
http://i378.photobucket.com/albums/o...r/DSCN0064.jpg

Before installing in your car, it may be useful to check out the MPGuino Tests wiki by dcb. He shows different readings you should get between different posts, which may save some significant headaches.

With the wires moved to the other side of the iShield, it is possible to fit the iGuino into a small interlocking storage box! These 3.25" x 1.5" x 1.5" boxes are from Hobby Lobby. It is a tight fit, but perfect for the iGuino!
http://i378.photobucket.com/albums/o...r/IMG_2900.jpg

Here are some more pictures, lots of angles. The clearness of the box could be fixed if you don't like it... mine is held closed with packaging tape, can't even see it.
http://i378.photobucket.com/albums/o...r/IMG_2903.jpg
http://i378.photobucket.com/albums/o...r/IMG_2904.jpg
http://i378.photobucket.com/albums/o...r/IMG_2906.jpg
http://i378.photobucket.com/albums/o...r/IMG_2912.jpg
http://i378.photobucket.com/albums/o...r/IMG_2914.jpg
http://i378.photobucket.com/albums/o...r/IMG_2909.jpg

cmags 07-31-2008 02:44 PM

Sweet, good call with the "shield". I'm planning on an iGuino myself, and have all the parts inbound. I liked the fact that the iDuino is bread-board-able so that means the pins will line up with a solder-board too. I'll be sure to post in here with pics of my progress once I've got all the parts together. Probably sometime next week.

I'm thinking if I do this right, I could triple-stack the boards - iDuino, 'guino' and LCD as plug-in modules and drop the whole thing in a box. Right now my prototype includes a v1.0 Serial Freeduino, and a non-backlit LCD connected by lengths of wire and I'm getting interference issues (I think) on my LCD causing garbage. Hopefully cleaning up the circuits into a single module will help me out here.

wyatt 07-31-2008 03:04 PM

Quote:

Originally Posted by cmags (Post 49660)
I'm planning on an iGuino myself...

That's hilarious! I was going to call the thread iGuino instead of iDuino MPGuino, but I thought it may be confusing to people.

cmags 07-31-2008 03:55 PM

Haha nice. I thought it was an appropriate term. :thumbup: Hopefully we don't get issued a cease-and-desist from Apple for using it. ;)

SVOboy 07-31-2008 06:39 PM

It'll be really nice if they can do something custom for us, eliminate some of the parts scrounging and all that, :thumbup:

Spiffed 08-06-2008 02:19 AM

Hi, I'm Kevin from over at Fundamental Logic.
Here's a quick update on what we've been working on:

The backside (notice the LCD Display is missing ... extrapolate from it's silkscreen)
http://www.spiffie.org/kits/mpguino/...ino_back_a.jpg

The front side (notice the large cap is missing, the V+I- header will be a right-angle floppy-power style connector and the connector in the lower right is for an optional FTDI-Cable style connector)
http://www.spiffie.org/kits/mpguino/...no_front_a.jpg

Schematic
http://www.spiffie.org/kits/mpguino/...no_schem_a.png

Board
http://www.spiffie.org/kits/mpguino/...no_board_a.png


To the best of my knowledge, this incorporates all of the original circuitry, plus a MAX232 powered serial interface for code downloads or logging.
The plan is to create a kit containing everything required except the wire and splice connections. (There are export and production restrictions to deal with if the automotive hook-up section is included. Plus the autoparts store is more likely to carry the correct stuff.)

I'm not sure on a price point yet, but I would expect in the $30-40 range.

dcb 08-06-2008 03:20 AM

Hey Kevin, glad you are here. I have been thinking about the packaging quite a bit so hope you don't mind if I consolidate some of those thoughts here.

It looks promising, but I think a ftdi chip (USB) might enjoy a larger audience. My feeling is that I initially underestimated the footprint of legacy free machines out there when this project started.

Another option I'm considering recommending for the DIY PCB version is get an iduino and an extra atmega168 and pcb and do a chip swap AND be left with an iduino to play around with :thumbup:

Or possibly just a kit with the software already loaded (need to wait for more stable software on that one). Pre-Programmed would probably have the largest audience though, and there wouldn't be a "whoops I forgot to spend another $20 on a usb cable" surprise to lay on folks.

The other option that comes up frequently is a shield of some sort, lots of arduino layout boards out there but if there was a board that soldered to the back of a lcd that held the extra components/buttons that an iduino could plug into, that would likely have some appeal.

Last options would be a separate kit (similar to your ftdi adapter) that should cost a lot less than a ftdi cable but have the same pinout. Could also make a rs232 with the same ftdi cable pinout (and a power plug/voltage regulator) so the buyer picks which one they want (assuming they get plenty of warning that they will need one or the other), and it plugs right into the ftdi connector and a usb or serial cable/power adapter.

I've pretty much written off rs232 though, especially since a programming adapter can be improvised with a couple transistors (crib off of serial 1.0).

Buttons, on all my versions I put the buttons in the upper right in the LCD border, so I press down on them, and so there is a left and right and middle. It is a PITA to translate that to a simple PCB though, I wind up making them a bit like making jewelery ( see this post ) but I have a couple things I still want to try in that department. The less profile this has, the better it will work in front of your instrument cluster where you don't have to go looking for it.

The vehicle pins should be as low as possible. Again, this helps with the profile, so you aren't hiding important warning lights or something with your mpg gauge.

LCD, currently trying out some newhaven display ones from mouser. The consensus is that the blue ones suck. The green ones are much better especially if you crank up the contrast. Also keeping temperature performance in mind. Here is the display number I'm currently trying: NHD-0216K1Z-FL-YBW They have less expensive ones from newhaven with the same specs except they have side and bottom pinouts, the side pinouts are a bust, they interfere too much with the vehicle interface location options.

And FWIW, here are the zener part number: 1N4733A-TR (same as radioshack stocks), might matter.

Also, just curious, The Schottky isn't a bad idea, but where'd you get the idea from? Also FYI, I haven't had any trouble with nothing connected to the reset pin for the chipswap versions (left agrnd and avcc alone as well).

The pinout to the buttons and the LCD is the same, correct?

Sorry if it's long winded :) I'm sure you have thought about a lot of this stuff more than I have. But there it is, open for discussion.

Yoshi 08-06-2008 04:55 AM

It looks very nice PCB.
I would like to recommend to place approx 18 pF capacitors instead of 0.1 uF for C7 and C8.

Yoshi

wyatt 08-06-2008 10:13 AM

Wow, it looks good Kevin! Hopefully dcb and Yoshi's responses will help. I don't know much about electronics, that's why I throw in the "hopefully".
I got all my parts from Kevin in the mail, so I am hoping to put together my MPGuino by this weekend. I think I will breadboard it first to make sure everything is working before I solder things in place. I may be trying the "buttons on the side" thing that Kevin shows in his drawings, and I can move them later if I decide it is taking up too much space... but to be honest, these things are about half the size I expected them to be!

cmags 08-06-2008 10:28 AM

Hey Wyatt, when did you place your order from Kevin? I'm still (eagerly) waiting for my iDuino kit to start my "production" build.

A word of warning: I tried prototyping on a solderless breadboard and had issues with the LCD - turned out to be too much capacitance in the breadboard. After soldering everything together (crappy LCD and big serial Freeduino v1.0), things were working a lot better but still not perfectly. That's probably attributable to the 9" leads from my Freeduino to the LCD.

Definitely try it out via breadboard to get comfortable with the design, but if you run into strange problems, don't immediately assume you were wrong in your build. Took me days on end to figure it out.

wyatt 08-06-2008 11:56 AM

Quote:

Originally Posted by cmags (Post 51358)
when did you place your order from Kevin?

It looks like I have a message in my inbox from 7/24. I don't know if that is the day I placed the order, since Kevin and I have been in communication before / during / after my purchase... but it would have been somewhere in that timeframe.

Oh, and thanks for the heads up about the breadboard. I am planning on borrowing a breadboard and getting everything setup, so it is nice to know there may be problems that aren't 100% related to me involved.

cmags 08-06-2008 12:38 PM

^^ Great, mine was shipped on the 25th, meaning it should be here today. :)

KJSatz 08-07-2008 02:18 AM

I just wanted to put in a word that there's maybe a 75% probability I'd buy that assembled product. I still need to get it straight in my head if this will void my warranty....

dcb 08-07-2008 08:10 AM

Can you install a trailer wiring plug without voiding your warranty? This isn't any mopre difficult than that.

MetroMPG 08-07-2008 08:23 AM

KJsatz: if you're worried about installation of the Guino, why not just buy a plug 'n' play ScanGauge? I assume that if you can make payments on a new car, financial duress isn't the reason. Just curious...

SVOboy 08-07-2008 12:23 PM

SWEET! I've already bought my second iduino, but I'd buy this in a heartbeat (and use the other two for other tasks, ;);).

I echo most of dcb's statements, but especially USB! Thanks for your work kevin.

KJSatz 08-07-2008 12:34 PM

A well-crafted argument, Metro. But there's psychology involved. Plus I have a specific place in mind where the MPGuino would fit perfectly but a scangauge would not.

MetroMPG 08-07-2008 09:29 PM

Anyway, very exciting thread. Pre-assembled or as a complete kit with a custom board, either is a great step forward for the project.

Vince-HX 08-07-2008 09:50 PM

Pre-assembled, sweet:thumbup:

electronics scare me, lol

wyatt 08-08-2008 03:26 PM

^^ Some of those holes on the iDuino are pretty small, but it was the first time I ever really attempted to do precision soldering, and I didn't screw anything up. Just make sure your soldering iron has a good point to it, and take your time! By the end of the iDuino, you will really be getting pretty good at soldering!

Axaday 08-09-2008 12:40 AM

I just noticed that since I ordered the iDuino computer I need more parts. So I clicked over here for specifics. I see that you suggest a 470 uf capacitor instead of 330 uf. If I'm going to Radio Shack tomorrow for as much as I can find, should I go ahead for 330?

Also, the tactile switches I got were chrome toggles, but now that I look at the wiring diagram I see them called "buttons" there. Are what I got going to work or do I need to get something that doesn't have a hard 2-way?

dcb 08-09-2008 12:50 AM

The 470 is probably fine, I havent crunched the numbers but if you power it from your battery (it was designed to be powered from the battery and not intermittent power) the diode will probably survive the additional current.

You will have much difficulty navigating the menus with toggle switches for buttons :) the shack should have a couple smd tactile switches that can be made to work by soldering leads to them or whatever.

XyKo 08-10-2008 12:07 AM

Just when I was about to place an order for all the parts, Fundamental Logic have to changed their shipping price. 4 days ago, it was around $3 ship. Now it's $16 for fedex ground. And that's the cheapest shipping price. Almost the price of my entire order, and I know that these parts shouldn't weigh more than 1 lb.

dcb 08-10-2008 02:30 AM

Damnit, that sucks. Kevin? Is your shipping calculator on the fritz? I just ordered a month ago and it was less than $3 for shipping and now it is reporting that it is over $16?

KJSatz 08-10-2008 12:25 PM

I just added those items to my cart, and first class mail to Missouri would be $2.27 shipping.

XyKo 08-10-2008 10:20 PM

It's showing the correct shipping options now.

wyatt 08-10-2008 11:16 PM

Quote:

Originally Posted by wyatt (Post 51354)
I got all my parts from Kevin in the mail, so I am hoping to put together my MPGuino by this weekend.

So the weekend comes and goes... I breadboarded it and got stuff lined up for my car (not installed). I got some prepunched perfboard, and I found that I can't solder as well without the metal to tie to... it really makes all the difference as far as me being a novice is concerned. I will be picking up the perfboard that is setup with the stringers like on a breadboard tomorrow so I can get this all pulled together. I am really anxious to get this up and running in my car!

Axaday 08-12-2008 10:55 AM

Okay, I just got what I could at RadioShack since it is close to my house, but it left me with a question. I see that I can't get the solderable breadboard at the online store recommended above. I saw a lot of breadboard at RadioShack, but I didn't know how big of one I need and I also didn't know for sure what made one solderable and none of them said. All I've ever soldered was repairs of circuits, so having never scratchbuilt anything, I don't know anything about breadboard.

starquestPilot 08-12-2008 11:36 AM

Quote:

Originally Posted by Axaday (Post 52762)
Okay, I just got what I could at RadioShack since it is close to my house, but it left me with a question...

Maybe something like: Model 276-150 or 276-148 or 276-168 or 276-149A?

Axaday 08-12-2008 11:45 AM

Also...I bought a 470 uf 35V Capacitor because it was the only voltage they had and I was thinking that going OVER 25 didn't matter. But then I wasn't so sure. Is it okay or do I need to order a 25V?

starquestPilot 08-12-2008 02:30 PM

Quote:

Originally Posted by Axaday (Post 52771)
...Is it okay or do I need to order a 25V?

You should be OK with a 35v rated cap...

wyatt 08-12-2008 06:23 PM

Quote:

Originally Posted by starquestPilot (Post 52810)
You should be OK with a 35v rated cap...

The reason for the 470/25v was because Kevin had one on hand when I was placing my order... he didn't know if we should go under 15v (or there abouts) because of the voltage of the battery

wyatt 08-13-2008 11:07 PM

I have a long weekend coming up... unfortunately not to work on pet projects, but to travel back home where there will be NO working on pet projects. It looks like the iGuino will have to be hooked up after I get back... kind of sad... expecially since I will be using a whole tank this weekend... I will get over it.

Axaday 08-14-2008 01:01 PM

Quote:

Originally Posted by starquestPilot (Post 52769)
Maybe something like: Model 276-150 or 276-148 or 276-168 or 276-149A?

How big does it need to be?

cmags 08-19-2008 03:34 PM

As suggested earlier, this one should be big enough:

RadioShack.com - Cables, Parts & Connectors: Component parts: Breadboards & IC sockets: Multipurpose PC Board with 417 Holes

Anything larger and you can always cut the board down to size (and have leftover board for other projects). I'm fitting my additional circuitry all in the same footprint as the iDuino and stuffing it in the RatShack 4x2x1 box like show in the Workspace thread. The first post in this thread has pictures with the size of board and layout if you want to follow them exactly.

What makes a breadboard (easily) solderable is the copper traces around all the holes on the bottom side. Solder sticks to these and the component. If you get the ones with multiple holes connected, you don't have to worry about trying to bridge the solder from one trace to another, but you're limited in your layout freedom. I recommend getting a larger board than you think is necessary (maybe twice as large), and use a corner to practice your soldering techniques. Then you can build the circuit in the other corner and cut it to size. A small coping saw or band saw work great on these boards.

wyatt 08-19-2008 04:04 PM

Quote:

Originally Posted by cmags (Post 54541)
What makes a breadboard (easily) solderable is the copper traces around all the holes on the bottom side.

I will echo that one! I can't do the soldering without something for it to stick to. Mine is constructed, and I used this board (the fourth picture on the first post). My board is sized to the LCD, not to the iDuino, but that really shouldn't make a big difference.

slogfilet 08-19-2008 08:08 PM

Is the pinout on an RBBB the same as the iDuino?

cmags 08-20-2008 01:10 PM

Quote:

Originally Posted by slogfilet (Post 54605)
Is the pinout on an RBBB the same as the iDuino?

Doesn't seem so, especially on the bottom row:

http://moderndevice.com/Images/RBBA.png
http://moderndevice.com/Images/RBBB_800.jpg
http://store.fundamentallogic.com/ec...91b250f253.jpg

XyKo 08-22-2008 12:29 AM

How long does it takes for fund-logic package to arrive via first class? Was hoping to see it here after returning from a 4 days trip. Package was shipped out on the 14th to Boston, Ma.

wyatt 08-22-2008 10:07 AM

Quote:

Originally Posted by XyKo (Post 55284)
How long does it takes for fund-logic package to arrive via first class?

I went with the cheapest shipping option, and I seem to remember it took just under 2 weeks (not positive). Remember, you are placing an "international" order, it comes all the way from Canada!


All times are GMT -4. The time now is 07:05 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Content Relevant URLs by vBSEO 3.5.2
All content copyright EcoModder.com