Arduino Proto Board for Espruino? #445
Replies: 75 comments
-
Posted at 2014-03-01 by DrAzzy Per Kickstarter project faq, a passive adapter is possible. I haven't heard anything more about this since |
Beta Was this translation helpful? Give feedback.
-
Posted at 2014-03-03 by @gfwilliams Hi - yes, it should be very possible. Actually knocking one up using Fritzing should be trivial now there's a Fritzing component for it. The only reason not to is that a lot of Arduino boards are 5V boards and Espruino is 3.3v. Having said that, any pin not marked with The reason it hasn't been done is just that I'm insanely busy right now and nobody apart from you has asked since the KickStarter. If someone wanted to start making a board I'd be happy to post a link to it though - or at some point I'm thinking I might make a PCB with push-out adaptors for common things (NRF24, CC3000, Nokia LCD, etc) so they could be soldered straight on without messing around with wiring - I could try and include an Arduino adaptor in that. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2014-03-03 by mattbrailsford Hey Gordon, I spent the weekend learning how to use Eagle to design something and have sent it off to OSHPark to get it made (Design attached). I've based it purely on my needs at the moment, but it should be usable for other things too. I've basically created a large perf area in the middle which you can connect the Espruino to, then use jumper wires to connect the related pins of the Arduino headers to the ones of the Espruino. The design is currently private on OSHPark while I test it, but if you have any feedback, I'd be happy to tweak it and make it public for others to be able to order. Let me know what you think. Matt PS I'm hoping to connect the Espruino to this http://shop.technologywillsaveus.org/collections/frontpage/products/diy-gamer-kit-with-arduino which is why I want to make the adapter. Attachments: |
Beta Was this translation helpful? Give feedback.
-
Posted at 2014-03-03 by @gfwilliams Thanks! The game shield looks cool - I'd love to know how you get on. I didn't notice you were the same as the post on Twitter ;) Actually it'd be pretty awesome if others can try this - once you're happy it works it'd be good if you could make it public for others. I don't actually have any shields (I've tended to just wire everything up in the past), but I'd love to get a recommended Arduino connection (potentially your board could have solder jumpers for a set of connections that we know will work)... Just one comment... I guess this is more of a general purpose board, but the Espruino has some useful pins in the strip down the middle, and I guess at the moment some of them might be shorted. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2014-03-03 by mattbrailsford Hey Gordon, I am indeed one and the same :) I've gone ahead and made it public incase anyeone else wants to make one http://oshpark.com/shared_projects/LMezEYvb. Regarding your comment, I'm currently planning to connect the Espruino to the outer rails via some female headers so it will stand away from the board preventing shorting, so this won't be a problem for me, however it may cause problems for others if they do the same as it could then short the board on the attached shield (if you look at the diy gamer kit, the front board uses extra long legs, so there is some extra space between the boards). What would you suggest for making this better for everyone? (maybe a quick scribble on my image?) Thanks for the feedback and I hope this may help others out. Matt |
Beta Was this translation helpful? Give feedback.
-
Posted at 2014-03-03 by @gfwilliams Thanks! Yes, it won't be a big deal as far as shorting - it just might be that some peripherals on the middle strip might want wiring to Arduino headers... For instance the DACs are only available in the middle. What I'd wanted to do when I finally got around to an adaptor board was:
Just a thought anyway... |
Beta Was this translation helpful? Give feedback.
-
Posted at 2014-03-03 by mattbrailsford Cool, thanks Gordon. I was just looking through the pins earlier trying to get an idea of to map them, but not come up with anything yet. Good point about the pins not being v5 tolerant aswell, that wasn't something I'd thought about. Should it be possible to use a single divider for all inputs? or would each pin need one? (Sorry, I'm not much of an expert on this, I'm still learning as I go). Rgarding NRFC etc, wouldn't it be more of a case that they use existing shields and just stack them? rather than soldering them to the board direct? Matt |
Beta Was this translation helpful? Give feedback.
-
Posted at 2014-03-03 by @gfwilliams You'd have to use a separate divider for each input (although you can get chips which are resistor arrays). However I guess most Arduino shields don't use the analogs so you could just not connect them - all the rest should work fine with 5V. For NRF24, it's just that the module itself is tiny (and cheap!). Most people end up doing something like this: http://maniacbug.wordpress.com/2011/11/02/getting-started-rf24/ so if there's free space on the board then it makes sense to use it :) |
Beta Was this translation helpful? Give feedback.
-
Posted at 2014-03-03 by mattbrailsford The difficulty is how to put it all together, onto such a small board. Are we trying to match the Arduino footprint exactly? (ie, matching the board size and everything (I think we should)) as if you look at the attached, the green is essentially the space taken up by the Espruino, so it leaves you with very little around the edge for other things like DC jacks. I'd also try to avoid adding stuff to the back side so that you could also use any Arduino mounts you might have. I've attached how I was thinking of mounting the Espruino. So my idea is to add some female headers down the middle, and mount the Espruino facing down (so the main pokey out bits all face downwards). To give clearance between this and the attached shield, I was then thinking of using the stackable headers in the Arduino header positions with spacers to make them stand above the Espruino and thus preventing any shorts. What are your thoughts? Should we just aim for Shield comparability? and not worry about board shape? or should we try to match every element as closely as possible? MattAttachments: |
Beta Was this translation helpful? Give feedback.
-
Posted at 2014-03-03 by mattbrailsford PS As you can tell, I'm also trying to make it a non-permanent shield, so you could remove the the Espruino if you liked. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2014-03-04 by @gfwilliams Ahh, ok - yes, it'd be nice to keep the board the same footprint (so maybe no room for the DC jack). That space directly under the Espruino is effectively 'dead' though, so some of that could be used for NRF24/etc if you wanted? If you place Espruino upside-down (that was your plan?) then you could put two extra holes in the PCB so that you can poke the buttons from the underside if you need to? Making the Espruino unpluggable is a nice idea. I guess if you were to use pins (and solder socket onto the Espruino) then people could always solder on the Espruino if they wanted to do that though? Although if people can just buy the bare PCB then they have the choice :) |
Beta Was this translation helpful? Give feedback.
-
Posted at 2014-03-04 by mattbrailsford Oooh, I like your hole / button poking idea :) though we should have space to add buttons to the shield if we want to? Regarding the pins, I was thinking the same, as an option. Like you say though, if we just provide a board design, and document alternative setups, I guess people can implement however is best for them. Defo nice to have the option though. Regarding the outer headers (the ones pretending to be the arduino headers) do you know anywhere you can buy just plastic spacers from? As I say, what I'd like to do is use stackable headers (the ones with the long pins) and use spacers to pad them out, giving more room for the espruino vertically (something like the attached, but single rows obviously). MattAttachments: |
Beta Was this translation helpful? Give feedback.
-
Posted at 2014-03-04 by @gfwilliams Hmm, good plan. I'm afraid I don't... I can think of 2 options:
|
Beta Was this translation helpful? Give feedback.
-
Posted at 2014-03-04 by mattbrailsford Ok, so playing around with mapping arduino pins, so far the attached is what I have come up with (this is based upon the Espruino face down, with the micro USB port at the mount hole end of the Arduino (I do this for ease of routing)). The 2 central columns are the Arduino pinouts, and the outer columns are what I am currently mapping them to on the Espruino. The yellow blocks are un-mapped pins. I've been using the following diagram to help map them: http://jobs.arduinoexperts.com/wp-content/uploads/2013/03/ARDUINO_V2.png So, a few questions. With regards to Arduino pins 4 to 8, on the Arduino pin out diagram, they have a few labels in white boxes which I'm not sure what they mean. Would it be safe to assume, these could be mapped to just any regular pin? (with anything flagged as PWM being mapped to an Espruino pin supporting PWM). Secondly, should 5v just be mapped to 3.3v? or should I incorporate a voltage regulator? If I do that though, does that mean the inputs would need protecting against 5v input? Lastly, what should IOREF, AREF and RESET map to? Cheers MattAttachments: |
Beta Was this translation helpful? Give feedback.
-
Posted at 2014-03-04 by mattbrailsford Doh! Small problem. Thought I'd check the CC3000 adafruit shield as an example of a shield that should work with Espruino, but there is a problem with the mapping. As Espruino requires a specific pin setup, I remapped all the required pins so it would work, but there is one conflict. pin B8 which is used for ICQ with the CC3000, is needed to map to the SCL pin on the Arduino (I could use the other SCL pin, but this is also required by the Espruino CC3000 setup, so it's not available). Are there plans to make this configurable later on? Matt |
Beta Was this translation helpful? Give feedback.
-
Posted at 2014-04-02 by DrAzzy Hmmmm, that's not too bad, especially since they put the holes in it and everything. Pity eagle costs a stupid fortune :-/ |
Beta Was this translation helpful? Give feedback.
-
Posted at 2014-04-02 by mattbrailsford I made these with the free version. Can't remember what the restriction is. I think it's a max board size so guess it depends on the size of board you need to make. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2014-04-02 by DrAzzy Oh cool. I must have missed that there's a free version! |
Beta Was this translation helpful? Give feedback.
-
Posted at 2014-04-03 by @gfwilliams Looks great! Really good to see some Arduino shields on it. IIRC Eagle free maxes out at 2 side, 160x100mm - which is enough for pretty much anything :) |
Beta Was this translation helpful? Give feedback.
-
Posted at 2014-04-09 by mattbrailsford @gordon is it possible to wire up buttons to trigger button 1 / the rest button? With the espruino being upside down, it makes it tricky to push the buttons, so would be good if I could add some custom buttons on the edge to trigger them. From the reference diagram, it looks like Btn1 is pin B12 is that correct? I couldn't find anything for reset. Any pointers? Matt |
Beta Was this translation helpful? Give feedback.
-
Posted at 2014-04-09 by DrAzzy BTN1 is B12, as I understand it. Right next to C11, there's a hole on the Espruino where a pin could be installed, and "RST" is silkscreened next to it. I'd wager that that's the reset pin. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2014-04-09 by @gfwilliams Yep, @drazzy beat me to it :) |
Beta Was this translation helpful? Give feedback.
-
Posted at 2014-04-09 by mattbrailsford Cool! How did I not notice that :) |
Beta Was this translation helpful? Give feedback.
-
Posted at 2014-04-09 by @gfwilliams RST is pull-down IIRC though, and BTN1 is pull-up :) |
Beta Was this translation helpful? Give feedback.
-
Posted at 2014-04-16 by mattbrailsford @gordon does that mean I wire RST to the RST + 3.3V and BTN1 to B12 + GRND? |
Beta Was this translation helpful? Give feedback.
-
Posted at 2014-04-17 by @gfwilliams The other way around I think. When the button is pressed you want to short RST to GND, and BTN1 to 3.3v. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2014-04-17 by mattbrailsford Is that right? My inputs on the DIY Gamer are set to "input_pullup", and they are wired to ground. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2014-04-17 by mattbrailsford Seems you were right (used some jumpers and ran a quick test). I'll update the board accordingly :) |
Beta Was this translation helpful? Give feedback.
-
Posted at 2014-04-17 by mattbrailsford Ok, wadda we think to v2? I've added buttons, wired up the missing connectors, moved the terminal block to the other side, and made sure both sides of the boards are filled with copper (On the top side, the entire fill is used as the heat sink, I just expose the coffee cup shape to solder onto). MattAttachments: |
Beta Was this translation helpful? Give feedback.
-
Posted at 2014-04-20 by @gfwilliams Looks great! :) |
Beta Was this translation helpful? Give feedback.
-
Posted at 2014-03-01 by mattbrailsford
Hi Guys,
I'm just wondering, would it be possible to create a shield for the Espruino that would give it the same footprint as an Arduino, such that it could be connected to other Arduino shields?
What do you think? Should it be possible? or is there something about the Arduino/Espruino board layouts that would make this a bad idea?
Matt
Beta Was this translation helpful? Give feedback.
All reactions