#robotics Logs
Apr 08 2019
#robotics Calendar
01:23 AM LuminaxWk is now known as Luminax
02:14 AM deshipu: "robota" doesn't mean "forced labor", it means "work"
03:13 AM krizoek: perhaps the question could be more, how do anyone ever have a actual choice in any matter? or, what is free will?
03:57 AM deshipu: maybe lets take it step by step, and start with what the verb "is" actually means
04:21 AM krizoek: in our low representation of a actual representation, the word itself ask for a low representation to express the abstract function of a free will in this case
04:23 AM krizoek: words is for limited beings like ourselves to try and express geometrical shapes
08:29 PM rue_mohr: --
08:35 PM EVELA_: ruueeee
08:57 PM rue_mohr: hey
08:57 PM rue_mohr: hah
08:57 PM evelasco: hey
08:57 PM evelasco: you're here!
08:57 PM rue_mohr: always
08:57 PM rue_mohr: I was closing my eyes
08:57 PM evelasco: not 20 minutes ago!
08:57 PM evelasco: lol
08:58 PM rue_mohr: bit of a stressfull day, looks like I got the material list wrong on a $10000 job at work 8-/
08:58 PM evelasco: shit dude :(
08:58 PM rue_mohr: yea, see how it goes
08:58 PM evelasco: I hope it will be ok
08:58 PM rue_mohr: me too!
08:59 PM rue_mohr: we gonna fix up that board?
08:59 PM evelasco: yesss
08:59 PM rue_mohr: k, did you try pulling one side of the 100k out of the pcb and see if the lamp still lights up?
08:59 PM evelasco: well,
09:00 PM evelasco: Roger and I are at the hacker group and we have some uln2003 chips
09:00 PM rue_mohr: oh!
09:00 PM evelasco: and we have some 74hc138 chips
09:00 PM rue_mohr: shall we switch some segments?
09:00 PM rue_mohr: heh, ok
09:01 PM rue_mohr: does that screen have the numbers 1-6? on it?
09:01 PM evelasco: numbers 1-6?
09:01 PM rue_mohr: yea, in little print along the top?
09:01 PM evelasco: oh yea
09:01 PM evelasco: 1-7
09:01 PM rue_mohr: :)
09:02 PM rue_mohr: how about using that to break down some binary switches?
09:02 PM evelasco: Roger is currently writing code for the pic
09:02 PM rue_mohr: hah ok, or that
09:02 PM evelasco: and I'm trying to figure out how to lay out the chips on a breadboard
09:02 PM rue_mohr: pin 1 to the left :)
09:03 PM evelasco: pin 1 of what? the vid?
09:03 PM evelasco: *vfd
09:03 PM rue_mohr: the chips
09:03 PM evelasco: which chips? Len? 74hc?
09:03 PM evelasco: *uln
09:03 PM Tom_L: man that's a bit of a boo boo
09:04 PM rue_mohr: I always suggest pin 1 to the left
09:04 PM evelasco: what's a boo boo?
09:04 PM Tom_L: 10k boo boo
09:04 PM rue_mohr: so far I'm only double the estimated materials....
09:04 PM rue_mohr: I'm patching in with some old stock thats already paid for
09:04 PM Tom_L: hope you can take it back
09:05 PM rue_mohr: heh, worse, other way around
09:05 PM rue_mohr: evelasco, I dont know how it fits, I'd say from left to right, PIC, 74138, uln2003, VFD
09:06 PM rue_mohr: anything will work of course
09:06 PM evelasco: sure
09:06 PM evelasco: but I have no idea how to make all the connections between the uln 74hc
09:06 PM rue_mohr: did you pass along some login details to rodger?
09:06 PM evelasco: Iyes
09:06 PM RogerTW1: I'm here
09:06 PM rue_mohr: np. say when ready
09:06 PM rue_mohr: OH!
09:06 PM rue_mohr: hi
09:07 PM rue_mohr: :))
09:07 PM RogerTW1: Hello! Just lurking for now. I'm software man, trying to keep up with you guys on hardware.
09:07 PM Tom_L: rue_mohr, i'll dig out that other mb tomorrow and try it. kindof a long day here too
09:07 PM evelasco: I'm looking at this http://www.kerrywong.com/blog/wp-content/uploads/2013/06/vfddriver.png
09:07 PM Tom_L: that's all i can figure...
09:07 PM rue_mohr: oh my
09:08 PM rue_mohr: you dont need the transistors
09:08 PM rue_mohr: it might save power, but dont need them
09:08 PM rue_mohr: or the inverters
09:08 PM rue_mohr: heh
09:08 PM evelasco: that's what I was going to ask about
09:09 PM rue_mohr: :)
09:09 PM evelasco: why are those not gates in there
09:09 PM rue_mohr: well, it fixes the extra inversion
09:09 PM rue_mohr: oh hey, let me think about that...
09:09 PM rue_mohr: yes, were fine
09:09 PM rue_mohr: the uln2003 inverts
09:10 PM rue_mohr: so, how many uln2003 are available?
09:10 PM evelasco: but we can connect the uln and the demultiplexers directly
09:10 PM evelasco: 25 are available
09:10 PM rue_mohr: hah ok
09:10 PM rue_mohr: RogerTW1, what do you want to do for a first test?
09:11 PM rue_mohr: maybe if we lock one segment and the PIC chooses the grid?
09:11 PM rue_mohr: evelasco, ?
09:11 PM evelasco: sure
09:11 PM evelasco: that seems reasonable
09:11 PM rue_mohr: ok, so
09:11 PM rue_mohr: do you have the filament all set up like before?
09:11 PM evelasco: not yet
09:12 PM evelasco: nothing is set up at the moment
09:12 PM evelasco: but we can
09:12 PM rue_mohr: ok, shall I give ya some time?
09:12 PM evelasco: well, I have to figure out how to connect up the chips still
09:12 PM rue_mohr: ok
09:13 PM rue_mohr: I'll help ya with 74138->uln2003 mapping
09:13 PM rue_mohr: lets start with signals on the 138 that need to just be locked high or low
09:13 PM RogerTW1: For my software, my first test will be against a 7-segment LED to make sure my code is cycling through digits/elements correctly.
09:13 PM rue_mohr: how many grids do you have to operate?
09:13 PM evelasco: 138?
09:14 PM RogerTW1: Once my LED with 0/5V is working I'll start sweating how to drive the 30V DC VFD
09:14 PM evelasco: 8 grids
09:14 PM rue_mohr: ok, perfect!
09:14 PM rue_mohr: so we need 1+1/7 uln2003 for the grids
09:15 PM rue_mohr: oh, the 138 I need to focus
09:15 PM rue_mohr: ok
09:15 PM rue_mohr: got jumper wires ready?
09:15 PM evelasco: yes, we have jumpers aplenty
09:16 PM rue_mohr: ok, the 138 has a few 'chip select' lines
09:16 PM rue_mohr: we want to just lock them to 'enabled'
09:16 PM rue_mohr: pins 4, 5, 6 are involved
09:17 PM rue_mohr: we want to ground pins 4 and 5, and lock 6 high
09:17 PM rue_mohr: brb, need more tea
09:19 PM evelasco: ok
09:20 PM rue_mohr: so, pins 8 to ground, and 16 to +5 for power connections
09:21 PM evelasco: ok
09:21 PM evelasco: 4,5,8 are grounded
09:21 PM evelasco: what am I doing with 6? putting it on V+?
09:22 PM rue_mohr: yup, I recommend signals going to +5 go thru a resistor, it might be pointless habbit
09:22 PM evelasco: ok
09:22 PM rue_mohr: so I'll say 6 to +5 via a 1k? resistor
09:22 PM rue_mohr: any value from 150 ohms to 10kohms would be fine
09:23 PM rue_mohr: and if its a 74LS138, technically we dont need anything :)
09:23 PM rue_mohr: less be said, resistor from 6 to +5V
09:23 PM evelasco: it's a 75hc138
09:23 PM evelasco: so it needs a 1K resistor?
09:23 PM rue_mohr: definitly a resistor then
09:23 PM rue_mohr: just about any resistor
09:24 PM rue_mohr: I love 1k cause it works for about everything
09:25 PM evelasco: ok
09:25 PM rue_mohr: the inputs to the 138 are pins 1, 2, 3, RogerTW1 needs those to his chip
09:26 PM rue_mohr: (later)
09:26 PM rue_mohr: the outputs to the uln2003 start at 15, and go thru to 9, then the 8th one is under on pin 7
09:26 PM rue_mohr: (you have a datasheet?)
09:27 PM evelasco: ok, pin six connected to v+ through a 1K resistor
09:27 PM rue_mohr: https://www.digchip.com/datasheets/parts/datasheet/161/74LS138-pdf.php
09:27 PM evelasco: https://www.diodes.com/assets/Datasheets/74HC138.pdf
09:27 PM rue_mohr: :)
09:27 PM rue_mohr: cool
09:27 PM rue_mohr: good not to be working blind
09:28 PM rue_mohr: ok, so, the uln2003
09:28 PM rue_mohr: start with pin 8 to ground
09:28 PM rue_mohr: make sure its, good, losing ground on that chip would send 32V to the '138, and it wouldn't like ya for it
09:31 PM evelasco: ok, we need a moment
09:31 PM rue_mohr: ok
09:31 PM * rue_mohr drinks tea
09:37 PM rue_mohr: Tom_L, you got 1.8 seconds lag?
09:38 PM Tom_L: i do?
09:39 PM rue_mohr: do ya?
09:39 PM Tom_L: dunno
09:39 PM Tom_L: how do i check it
09:39 PM rue_mohr: my program has a bar that reports it
09:40 PM rue_mohr: if I hang the mouse over it says 1.8 seconds
09:40 PM rue_mohr: brb
09:46 PM rue_mohr: well
09:47 PM rue_mohr: evelasco, everything ok?
09:56 PM evelasco: we are troubleshooting
09:57 PM evelasco: should pin 16 be connected to something?
09:57 PM rue_mohr: of the 138?
09:58 PM evelasco: yea
09:58 PM rue_mohr: 138, pin 16, +5V
09:58 PM evelasco: we got it!
10:00 PM rue_mohr: :) to which level?
10:05 PM RogerTW1: The 3-to-8 demux is working
10:05 PM rue_mohr: :)
10:05 PM RogerTW1: My PIC outputs 3 bits, goes to the demux, and blinking our 8 test LEDs in order just like they're supposed to.
10:05 PM rue_mohr: :)
10:06 PM RogerTW1: Woohoo!
10:06 PM rue_mohr: I was pondering suggesting leds, and some dip switches, but you dont have much to go awry there
10:06 PM RogerTW1: But it's at the end of our evening hacking meetup (owner of shop wants to go home) so we'll have to continue later.
10:07 PM rue_mohr: ok
10:07 PM rue_mohr: give me a shout when you want to continue
10:07 PM rue_mohr: ifyou say any of my names in here I should come to life
10:10 PM RogerTW1: Will do. Thank you!
10:10 PM rue_mohr: np, catch me here from home if you want
10:10 PM Tom_L: so life does exhist in robotics
10:11 PM Tom_L: oh rue_mohr
10:11 PM rue_mohr: I pulled them in from twitter
10:11 PM Tom_L: i was gonna ask you something
10:11 PM rue_mohr: yea?
10:11 PM Tom_L: is avr worth logging anymore?
10:11 PM rue_mohr: alwyas!
10:11 PM rue_mohr: why?
10:11 PM Tom_L: very little happens is why
10:11 PM rue_mohr: its more active than robotics
10:12 PM Tom_L: wouldn't know. i left
10:12 PM rue_mohr: its seems to be just as, if not slighy more active than avrs (haha)
10:13 PM Tom_L: i forgot the name of the other avr channel half of em went to when you did a flush
10:13 PM rue_mohr: Tom_L, avrs
10:13 PM rue_mohr: sillyness
10:13 PM rue_mohr: but entropy
10:14 PM rue_mohr: and I suppose entropy is always a thing
10:14 PM rue_mohr: maybe its what we been fighting back for 17 years
10:15 PM rue_mohr: Tom_L, dont give in to the silence!
10:16 PM Tom_L: most questions i ask don't get answered anyway
10:16 PM Tom_L: don't ask that many
10:17 PM rue_mohr: it works best when more than one of us is working on projects
10:17 PM rue_mohr: and there havn't been enough of us for that to happen
10:18 PM Tom_L: switching channels
10:18 PM rue_mohr: switching to?
10:18 PM Tom_L: the little one
10:18 PM rue_mohr: ah