[2019-03-18 19:50:43 CET] * Guest145 joined [2019-03-18 19:54:42 CET] * Guest145 quit (CGI:IRC (EOF)) [2019-03-23 14:30:37 CET] * heinz joined [2019-03-23 15:03:15 CET] * heinz quit (EOT) [2019-03-24 19:51:17 CET] * rune joined [2019-03-24 20:00:12 CET] * heinz joined [2019-03-24 20:00:20 CET] hello dave [2019-03-24 20:00:42 CET] nice video. [2019-03-24 20:00:44 CET] hello Heinz [2019-03-24 20:00:55 CET] just ordered a stepper motor and control board [2019-03-24 20:01:16 CET] such a small one for 5 eur? [2019-03-24 20:01:31 CET] Yes, I think 3.40 [2019-03-24 20:01:42 CET] have fun. [2019-03-24 20:01:48 CET] From London so not a long wait [2019-03-24 20:02:13 CET] I also found 3d print to use CD Drive motor for linear movement [2019-03-24 20:02:26 CET] did you try the h4th pio program? [2019-03-24 20:02:43 CET] I wrote almost the exact same one as you [2019-03-24 20:02:47 CET] Yes it works well [2019-03-24 20:03:02 CET] much easier than in basic. [2019-03-24 20:03:17 CET] Yes, Im becoming a fan of CODE ;C [2019-03-24 20:03:33 CET] was i cear enough with explanation of the addresses? [2019-03-24 20:03:40 CET] clear [2019-03-24 20:03:42 CET] Yes, perfect [2019-03-24 20:03:50 CET] How do you read IN [2019-03-24 20:04:02 CET] 5V on one of the data lines? [2019-03-24 20:04:26 CET] I gues if only one data line it would be a PULSE [2019-03-24 20:04:42 CET] you have to send first another control byte to the control port. [2019-03-24 20:05:01 CET] Yes that 47 4F I think depends on port [2019-03-24 20:05:03 CET] dont remember which one. [2019-03-24 20:05:18 CET] you might be right. [2019-03-24 20:05:38 CET] What I am not clear is how signal goes on Data lines/GND [2019-03-24 20:05:59 CET] ?? [2019-03-24 20:06:24 CET] Well the data has got to be presented at the port somehow [2019-03-24 20:06:43 CET] If its on a single line it could be a PULSE. [2019-03-24 20:07:12 CET] do you read about output or input? [2019-03-24 20:07:16 CET] But if its in CAD you need to know position so possibly all 8 data lines will have signal or not [2019-03-24 20:07:18 CET] talk [2019-03-24 20:07:33 CET] Input (output is fine) [2019-03-24 20:07:59 CET] let me first have a look into the manuaal [2019-03-24 20:08:13 CET] Its in the manual? [2019-03-24 20:08:31 CET] page 13 [2019-03-24 20:09:27 CET] OK I will have a look [2019-03-24 20:09:33 CET] no, page 10. [2019-03-24 20:10:05 CET] I only have 7 pages in my manual. Are you talking about the Intel PIO manual [2019-03-24 20:10:15 CET] mode 1 : control byte is 1f [2019-03-24 20:10:31 CET] not the intel pio. [2019-03-24 20:10:35 CET] z80 pio [2019-03-24 20:10:49 CET] OK, I think I got that [2019-03-24 20:10:52 CET] i have send the reference in the forum [2019-03-24 20:11:35 CET] did you find it? [2019-03-24 20:11:47 CET] 22 pages long [2019-03-24 20:11:50 CET] Yes, I was trying to use Joachins manual [2019-03-24 20:12:06 CET] i dont know joachims m. [2019-03-24 20:12:12 CET] Found it there too. I think. need to translate [2019-03-24 20:12:19 CET] I'll send it [2019-03-24 20:12:28 CET] use the other manual. [2019-03-24 20:12:43 CET] www.z80.info/... [2019-03-24 20:13:00 CET] OK [2019-03-24 20:13:11 CET] page 10? [2019-03-24 20:13:21 CET] Yes, got that [2019-03-24 20:13:58 CET] output: 0001 1111 = 1f [2019-03-24 20:14:02 CET] ok? [2019-03-24 20:14:12 CET] sorry, input. [2019-03-24 20:14:25 CET] But my question was what sort of signal will mean a 1 on the data line? [2019-03-24 20:14:34 CET] i see. [2019-03-24 20:14:37 CET] 5V? 3V ??? [2019-03-24 20:14:50 CET] of course +5v = high [2019-03-24 20:14:56 CET] 0 = low [2019-03-24 20:15:11 CET] old technology [2019-03-24 20:15:14 CET] Is there a maximum current [2019-03-24 20:15:20 CET] 1982 [2019-03-24 20:15:42 CET] current take from the data sheet. [2019-03-24 20:15:56 CET] Thats modern for zeddy [2019-03-24 20:16:01 CET] cutting edge stuff [2019-03-24 20:16:18 CET] for input almost no current, output i would say no more than 5 ma [2019-03-24 20:16:37 CET] milli ampere. [2019-03-24 20:16:59 CET] your resistors have 500 ohm. [2019-03-24 20:17:07 CET] Yes [2019-03-24 20:17:10 CET] this means 10 milli ampere [2019-03-24 20:17:41 CET] OH, I saw Joachins resistors were 470 so thought Id be OK [2019-03-24 20:18:07 CET] the driver for your step motoor takes atmost 1 milli a.pere [2019-03-24 20:18:39 CET] with 470 the leds shine brighter [2019-03-24 20:18:52 CET] More curent [2019-03-24 20:19:03 CET] but 8 leds with 10 ma each means 80 ma. [2019-03-24 20:19:37 CET] almost 100 ma , with 5v this means 500 milli watt. [2019-03-24 20:19:48 CET] upper limit i would say. [2019-03-24 20:20:01 CET] but look into the data sheet. [2019-03-24 20:20:09 CET] If I used 2K resistors Id pull 25 ma ? [2019-03-24 20:20:10 CET] of the z80 pio [2019-03-24 20:20:28 CET] 2.5 ma [2019-03-24 20:20:52 CET] but the led is quite dark. [2019-03-24 20:21:51 CET] do you want to have one of joachims monitors? [2019-03-24 20:21:59 CET] led monitors? [2019-03-24 20:22:30 CET] Do you mean the boards with SMD resistors and LEDs [2019-03-24 20:22:36 CET] yes. [2019-03-24 20:22:41 CET] No I dont have [2019-03-24 20:22:45 CET] ok. [2019-03-24 20:23:20 CET] Im just getting this together. [2019-03-24 20:23:43 CET] Next step is stepping motor [2019-03-24 20:23:45 CET] your colored leds look nice in the video. [2019-03-24 20:24:22 CET] Yes, they are out of the scrap box. I ordered 200 different coloured ones [2019-03-24 20:24:42 CET] They are a bit too wide for the board spacing though [2019-03-24 20:25:07 CET] I should have put every second one forward [2019-03-24 20:26:02 CET] i have opened the data sheet for z80 pio. [2019-03-24 20:26:27 CET] please, do the same. [2019-03-24 20:26:57 CET] is that the 22 page doc? [2019-03-24 20:27:17 CET] It says user manual [2019-03-24 20:27:21 CET] they write on page 14: current smaller than 3.8 ma. [2019-03-24 20:27:33 CET] no, different doc. [2019-03-24 20:28:05 CET] think I have it, web is slow [2019-03-24 20:28:09 CET] www.datasheetcatalog.net [2019-03-24 20:28:27 CET] then z80 pio [2019-03-24 20:28:38 CET] foun\? [2019-03-24 20:28:43 CET] found? [2019-03-24 20:29:03 CET] no - its user manual [2019-03-24 20:29:17 CET] or z8420 [2019-03-24 20:29:29 CET] Its taking ages to open [2019-03-24 20:29:37 CET] www.datasheetcatalog.net [2019-03-24 20:31:57 CET] then try www.datasheetcatalog.net/de/ [2019-03-24 20:31:58 CET] Its trying to open [2019-03-24 20:31:58 CET] Im there [2019-03-24 20:32:46 CET] Am I looking at DC characteristics [2019-03-24 20:32:48 CET] did you open it? [2019-03-24 20:32:54 CET] Yes [2019-03-24 20:33:01 CET] at the very end [2019-03-24 20:33:19 CET] darlington drive current [2019-03-24 20:33:50 CET] Page? I dont see that [2019-03-24 20:34:26 CET] which sheet did you open? zilog? |! micro? [2019-03-24 20:34:41 CET] st microelectr [2019-03-24 20:34:48 CET] Zilog, its an image so cant search [2019-03-24 20:34:59 CET] one moment. [2019-03-24 20:35:11 CET] i will open that. [2019-03-24 20:35:41 CET] dc characteristics [2019-03-24 20:36:00 CET] rext 390 ohm. [2019-03-24 20:36:01 CET] GOT IT [2019-03-24 20:36:27 CET] 5v/ 390 ohm = 3.8 ma [2019-03-24 20:36:51 CET] no, 12 ma. [2019-03-24 20:36:55 CET] thats the maximum? So divide by 8 for each data line. [2019-03-24 20:37:10 CET] no, i think for each. [2019-03-24 20:37:24 CET] OK, so 510 ohm is OK [2019-03-24 20:37:45 CET] the st microelectronic document is better to read [2019-03-24 20:38:10 CET] I'll get it later, the web connection is slow in google tonight [2019-03-24 20:38:13 CET] your question for "high" [2019-03-24 20:38:34 CET] in between 2v and 5v is high. [2019-03-24 20:38:54 CET] low: not bigger than 0.8v [2019-03-24 20:39:09 CET] OK, Could I test by joining the 5v to a data line [2019-03-24 20:39:25 CET] for input? [2019-03-24 20:39:29 CET] yes [2019-03-24 20:39:44 CET] Bottom row has 8 data GND and 5V [2019-03-24 20:39:47 CET] put a 1k resistor in line for security. [2019-03-24 20:39:53 CET] OK [2019-03-24 20:40:05 CET] then it will work. [2019-03-24 20:40:32 CET] there is also a bidirectional mode [2019-03-24 20:40:35 CET] I'll mak a cable tomorrow and test [2019-03-24 20:40:41 CET] Mode 3? [2019-03-24 20:40:49 CET] mode 2, see page 10 . [2019-03-24 20:40:55 CET] old doc [2019-03-24 20:41:03 CET] z80.info [2019-03-24 20:41:11 CET] OK [2019-03-24 20:41:51 CET] also interrupt vectors are possible. [2019-03-24 20:42:01 CET] but i never used that. [2019-03-24 20:42:24 CET] Port A is data and B control [2019-03-24 20:43:15 CET] no, two equal ports. [2019-03-24 20:43:25 CET] altogether 16 bits. [2019-03-24 20:43:41 CET] in each mode. [2019-03-24 20:43:55 CET] Page 14 mode 2? [2019-03-24 20:44:13 CET] do you have a document still open? [2019-03-24 20:44:17 CET] Yes [2019-03-24 20:44:27 CET] which one? [2019-03-24 20:44:33 CET] User manual [2019-03-24 20:44:33 CET] zilog? [2019-03-24 20:44:48 CET] Z80PIOMn.pdf [2019-03-24 20:45:09 CET] page 10, first lines. [2019-03-24 20:45:56 CET] Yep, says port b cannot operate in Bi-directional mode [2019-03-24 20:45:58 CET] these are some differences with the 855 chip. [2019-03-24 20:46:23 CET] But that way ahead of where I am just now [2019-03-24 20:47:14 CET] you have used it only for output. [2019-03-24 20:47:28 CET] mode 0. [2019-03-24 20:47:30 CET] Yes, little steps [2019-03-24 20:47:45 CET] ok. [2019-03-24 20:47:47 CET] Otherwise I burn something out or blow it up [2019-03-24 20:48:07 CET] let us stop for today. read the manual carefully. [2019-03-24 20:48:16 CET] I will, thanks for advice [2019-03-24 20:48:23 CET] talk in two weeks? [2019-03-24 20:48:26 CET] have a nice week. [2019-03-24 20:48:37 CET] you too. safe drive to Mahlerts [2019-03-24 20:48:42 CET] bye [2019-03-24 20:48:46 CET] 2 week. [2019-03-24 20:48:51 CET] bye [2019-03-24 20:48:53 CET] * heinz quit (EOT) [2019-03-24 20:48:55 CET] * rune quit (Leaving)