IRC #olimex 2017-07-11

[08:59:44] <leon-anavi> morning
[09:12:16] <tbr> moaning
[10:40:53] <hoijui> hello! :-)
[10:41:25] <hoijui> i have an A10-Lime(1), and was wondering, how i would commonly use the GPIO's
[10:41:43] <hoijui> as in... how to connect stuff to it
[10:41:53] <hoijui> because normal dupont cables are too big of course
[10:43:02] <hoijui> i saw some kind of adapter that can be bought from the olimex store, but really what i woudl want is soemthing liek a cable converting 0.05" to 0.1" pitch
[10:43:21] <hoijui> i mean... how is it suppposed to be done? how do people use these in practise?
[10:43:25] <hoijui> i am lost
[11:13:31] <lukas2511> hoijui: for tinkering you would use something like this https://www.olimex.com/Products/OLinuXino/A10/A10-OLinuXino-LIME-UEXT/open-source-hardware
[11:14:21] <lukas2511> (please keep in mind: "There are no cables included. The board is compatible with CABLE-40-40-10CM and CABLE-IDC40-15CM.")
[11:14:48] <hoijui> lukas2511, ok... but i would still also need a cable, right? to connect this adapter to the lime
[11:14:50] <hoijui> .. ahhh
[11:15:29] <hoijui> is this a simple IDE cable?
[11:15:33] <hoijui> or floppy drive one?
[11:18:42] <lukas2511> i don't think so, i think it's way smaller
[11:19:01] <lukas2511> on the image is a perfect comparison
[11:19:02] <hoijui> ok :/
[11:19:05] <lukas2511> https://www.olimex.com/Products/OLinuXino/A10/A10-OLinuXino-LIME-UEXT/images/A10-LIME-UEXT-1.jpg
[11:19:10] <lukas2511> the BIG header is IDE sized
[11:19:33] <hoijui> ahhh i see
[11:19:34] <lukas2511> the tiny tiny header to the side is for the cable to your a10-lime
[11:19:44] <hoijui> :D k.. thank you!
[11:19:53] <lukas2511> https://www.olimex.com/Products/Components/Cables/CABLE-40-40-10CM/
[11:20:02] <lukas2511> this should be the cable
[11:20:10] <hoijui> mm :)
[11:26:40] <keesj> and for learning something I recommend tryint to create your own shield based on https://github.com/OLIMEX/OLINUXINO/tree/master/HARDWARE/A10-OLinuXino-LIME/A10_OLinuXino_Lime_Rev-B_SHIELD_TEMPLATE%20KiCAD
[11:30:11] <hoijui> ouhh shield! right!
[11:30:30] <hoijui> i just checked.. if i get 4 adapters and 4 cables, plus vvat and shipping
[11:30:35] <hoijui> that would be 40Eur
[11:30:49] <hoijui> which is what i payed for two A10 limes
[11:31:00] <hoijui> and that is just for all GPIOs of one
[11:31:17] <hoijui> i guess i can get a shield for cheaper even
[11:34:07] <hoijui> really what i wnat though, is just to connect some super simple stuff, like be abble to controll 2 lights or so (on/off)
[11:34:55] <hoijui> anyway.. that is good help, thank you! :-)
[11:35:03] <hoijui> will somehow get it done
[11:35:37] <keesj> even getting the components (connectors was not cheap)
[11:38:05] <hoijui> mmmm
[11:38:47] <keesj> if you just want to control 2 lights.. there are other olimex products that are just great for that
[11:38:53] <hoijui> what about selling a simple pitch-converter-shield?
[11:39:20] <hoijui> yeha i know, the lime will not be doing just that
[11:39:29] <hoijui> it will run a linux server with stuff
[11:39:35] <hoijui> AND controll lights
[11:39:35] <hoijui> ;-)
[11:39:42] <keesj> nice
[11:39:53] <hoijui> :D
[11:40:51] <hoijui> btw.. i plan to do a trip, somewhen this year probably
[11:41:01] <keesj> LSD?
[11:41:08] <leon-anavi> hoijui, if you really just need to turn on and off 2 lights have you considered some of the MCU dev boards offered by Olimex?
[11:41:10] <hoijui> from europe to asia, somehwere, and i might pass by bulgaria
[11:41:16] <hoijui> :D
[11:41:16] <hoijui> nope
[11:41:22] <leon-anavi> They have a lot of Arduino boards, ESP8266 and now ESP32
[11:41:55] <hoijui> i also have other stuff to controll just lights already.
[11:42:10] <leon-anavi> I am a linux guy and I love doing anything in Linux but if you need something simple and price matters go for MCU.
[11:42:22] <lukas2511> if you just need to control two lights... those usb ports... they can pe turned on and off... :'D
[11:42:31] <hoijui> but as the lime will be running anyway, and becasue i am much mroe a software dev then a hardware guy
[11:42:33] <leon-anavi> ok, if you have more stuff stay with a board that support GNU/Linux distro :)
[11:42:43] <hoijui> using the lime directly is much easier
[11:43:01] <hoijui> if i can just controll the GPIOs from bash or any other language that runs on linux
[11:43:02] <leon-anavi> hoijui, are you going to control the dimmer of the lights?
[11:43:26] <lukas2511> also for just two lights you woudn't need to buy breakouts for every single pin, one would be more than enough
[11:43:27] <leon-anavi> of course you can control the GPIOs :) They are made to be controlled :)
[11:43:51] <hoijui> for that i would need an DA .. converter, right?
[11:44:40] <hoijui> ah no..
[11:46:09] <hoijui> hmmm.. waiiit..
[11:46:38] <hoijui> for a shield, i would need female 1.27mmm pitch dual row connectors, right?
[11:47:13] <hoijui> i guess that is also hard to get/expensive
[11:49:29] <hoijui> whenever i search for "1.25mm pitch connector", searches come up with 2.56mm connectors with 1.25mm cables :/
[11:50:25] <hoijui> you know.. thats the kind of stuff that you can;t explain to others
[11:50:58] <hoijui> ok.. i can controll this ultra comples thing wiht many chips and stuff, a qhole computer, but i can not connect a light to it, becasue there are no cables for that
[11:51:19] <hoijui> no wonder that non-tech people think we are silly
[11:51:50] <hoijui> they are right
[11:52:21] <lukas2511> but there is a cable for that, and you can buy it directly with the board
[11:53:17] <hoijui> i bought the board from a reseller for 20Eur from ebay
[11:53:51] <hoijui> to get the cabel and adapter, for a single light (or two), woudl cost still half of that
[11:53:57] <keesj> even then.. https://www.olimex.com/Products/IoT/ESP32-EVB/open-source-hardware 26 euro for a board with 2 relays you can control remotely with a bash script
[11:54:03] <hoijui> but yeah, i guess that is the best option stilll
[11:55:40] <hoijui> keesj, it does not mention pitch size (where it sais 40 GPIOs), is it 2.56mm?
[11:55:44] <lukas2511> for tinkering around i really like this board: https://www.olimex.com/Products/OLinuXino/A20/A20-OLinuXino-MICRO/open-source-hardware
[11:55:58] <lukas2511> every pin easily accessible
[11:56:06] <hoijui> is that to be assumed whenever it does not say piitch size?
[11:56:53] <hoijui> yeah... now i can see why that makes sense :D
[11:57:02] <hoijui> i guesss that is the key lesson here
[11:57:21] <lukas2511> ask and think before you buy ;)
[11:57:25] <hoijui> as a software guy, of course when choosing a board, i woudl never have though i woudl have to care for pitch-size
[11:57:47] <hoijui> no idea that this even existed (different sizes)
[11:58:01] <hoijui> yeah well.. its not liek you can ask that
[11:58:11] <hoijui> if you have no idea about it existing
[12:01:43] <keesj> the "normal" tinkerer friendly pitch is indeed 2.56mm so unless otherwise stated.. I would assume that.
[12:02:27] <keesj> if you want a "cheap" solution perhaps just get one connector and solder directly on that?
[12:03:59] <hoijui> yeah, if i coudl find one
[12:04:22] <hoijui> olimex sells them too?
[12:05:35] <keesj> I think it is this one https://www.olimex.com/Products/Components/Connectors/FEMALE-YAV36P-2x05/
[12:05:53] <keesj> FEMALE-YAV36P-2x20 (20 pins female?)
[12:07:08] <keesj> I odered directly from farnell/element14 FEMALE-YAV36P-2Xxx
[12:11:15] <hoijui> thanks! :-)
[12:11:21] <hoijui> will check that out
[12:11:45] <hoijui> now.. i fel bad alreayd for bothering you for such small stufff (small in eveyr way ;-) )
[12:11:54] <hoijui> thankls a lot! :-)
[12:12:17] <hoijui> looks like that last option is going to be it for me