Internally wiring a uIEC

Modding and Technical Issues

Moderator: Moderators

User avatar
Pedro Lambrini
Vic 20 Scientist
Posts: 1132
Joined: Mon Dec 01, 2008 11:36 am

Internally wiring a uIEC

Post by Pedro Lambrini »

I decided to fit my uIEC inside my Vic. I plucked up the courage the other night to strip the computer a dig out my soldering iron. I thought the easiest way to connect it would be to solder the cable for the uIEC to the underside of the IEC connector on the motherboard. This I did and when I checked the connections with a multi-meter everything thing seemed a-okay. Then I switched it on...

The power light for the uIEC comes on and the green light does it's wee on-then-off thing but when I did a LOAD"$",8 all I get is the DEVICE NOT PRESENT error! Why wouldn't this work? Any ideas? Thanks, P :)
"...That of the Eastern tribe being like a multitude of colours as if a rainbow had settled upon its brow..." Daniels 1:3
User avatar
RobertBe
Vic 20 Elite
Posts: 2380
Joined: Sat Jul 14, 2007 2:48 pm

Re: Internally wiring a uIEC

Post by RobertBe »

Pedro Lambrini wrote:The power light for the uIEC comes on and the green light does it's wee on-then-off thing but when I did a LOAD"$",8 all I get is the DEVICE NOT PRESENT error! Why wouldn't this work?
The standard setting for the uIEC is drive 10.

Truly,
Robert Bernardo
Fresno Commodore User Group
http://videocam.net.au/fcug
User avatar
Pedro Lambrini
Vic 20 Scientist
Posts: 1132
Joined: Mon Dec 01, 2008 11:36 am

Post by Pedro Lambrini »

Yeah, I know. I changed it to drive 8 when I first got it though. Just in case something had been reset I tried loading the directory from device 8, 9 & 10. Thanks anyway. :)
"...That of the Eastern tribe being like a multitude of colours as if a rainbow had settled upon its brow..." Daniels 1:3
Unseen
Vic 20 Amateur
Posts: 47
Joined: Sun Feb 01, 2009 9:16 am

Re: Internally wiring a uIEC

Post by Unseen »

Pedro Lambrini wrote:The power light for the uIEC comes on and the green light does it's wee on-then-off thing but when I did a LOAD"$",8 all I get is the DEVICE NOT PRESENT error! Why wouldn't this work? Any ideas?
Check your connections once more, you probably swapped some of the signal lines.
Vic20-Ian
Vic 20 Scientist
Posts: 1224
Joined: Sun Aug 24, 2008 1:58 pm

Post by Vic20-Ian »

on my Brain uIEC v3.0 the wiring is pins 1-7 of the pcb

white - din 2
Green pcb pin 2 to cassette power
Black - din 6 (centre)
Green - din 1
Red - din 4
Yellow - din 5
Cyan ;-) - din 3

view from rear of din

3
2 4
6
1 5


Description from Programmer's reference schematic

1 Serial SRQ in
2 GND
3 Serial ATN in/out
4 Serial CLK in/out
5 Serial DATA in/out
6 RES (BAR above) - looks like to take low to activate - P235 says no connection
Vic20-Ian

The best things in life are Vic-20

Upgrade all new gadgets and mobiles to 3583 Bytes Free today! Ready
User avatar
Pedro Lambrini
Vic 20 Scientist
Posts: 1132
Joined: Mon Dec 01, 2008 11:36 am

Post by Pedro Lambrini »

Thanks guys. I haven't had the time to check again but hopefully I can look at it tonight.

@Ian: are you still heading up thud way this month? :)
"...That of the Eastern tribe being like a multitude of colours as if a rainbow had settled upon its brow..." Daniels 1:3
Vic20-Ian
Vic 20 Scientist
Posts: 1224
Joined: Sun Aug 24, 2008 1:58 pm

Post by Vic20-Ian »

Possibly week of 29th March, would be good to catch up.
Vic20-Ian

The best things in life are Vic-20

Upgrade all new gadgets and mobiles to 3583 Bytes Free today! Ready
User avatar
Pedro Lambrini
Vic 20 Scientist
Posts: 1132
Joined: Mon Dec 01, 2008 11:36 am

Post by Pedro Lambrini »

Vic20-Ian wrote:Possibly week of 29th March, would be good to catch up.
Indeed. :)
"...That of the Eastern tribe being like a multitude of colours as if a rainbow had settled upon its brow..." Daniels 1:3
User avatar
Pedro Lambrini
Vic 20 Scientist
Posts: 1132
Joined: Mon Dec 01, 2008 11:36 am

Post by Pedro Lambrini »

Ah, ha, ha, ha, ha, ha!!!!

It's working!! I got the wires the wrong way around - of course! I drew a diagram of the IEC connector with the colour of the wires coming from it and when referring to it later I read it the wrong way round! :oops:

I tell you - this has really put me off building me FE3. If I can't even get FIVE wires the right way around what chance do I have with that thing!

I'm sooo relieved! :)
"...That of the Eastern tribe being like a multitude of colours as if a rainbow had settled upon its brow..." Daniels 1:3
brain
Vic 20 Nerd
Posts: 578
Joined: Sun Jul 04, 2004 10:12 pm

Post by brain »

Yay!
User avatar
Pedro Lambrini
Vic 20 Scientist
Posts: 1132
Joined: Mon Dec 01, 2008 11:36 am

Post by Pedro Lambrini »

Just as a follow-on to this wee project I was wondering if it is possible to wire the LED's on the uIEC so that the 'disc access' light would stay on permanently but still go off and on during access time? :)
"...That of the Eastern tribe being like a multitude of colours as if a rainbow had settled upon its brow..." Daniels 1:3
brain
Vic 20 Nerd
Posts: 578
Joined: Sun Jul 04, 2004 10:12 pm

Post by brain »

Pedro Lambrini wrote:Just as a follow-on to this wee project I was wondering if it is possible to wire the LED's on the uIEC so that the 'disc access' light would stay on permanently but still go off and on during access time? :)
You can run the LED output through a 7404 or 7406 inverter IC to do that.
User avatar
Pedro Lambrini
Vic 20 Scientist
Posts: 1132
Joined: Mon Dec 01, 2008 11:36 am

Post by Pedro Lambrini »

Too cool! Before reading the next bit of my post please excuse me as I've never done anything like this before. This whole idea is more about my imagination taking over from my knowledge...

So, if I understand this, I would take the output of the LED part of the uIEC PCB and wire it to pins 7 & 14 of the 7404 and then wire a LED to any of the Not gates, say pins 1&2. That would do the job?
"...That of the Eastern tribe being like a multitude of colours as if a rainbow had settled upon its brow..." Daniels 1:3
brain
Vic 20 Nerd
Posts: 578
Joined: Sun Jul 04, 2004 10:12 pm

Post by brain »

Pedro Lambrini wrote:Too cool! Before reading the next bit of my post please excuse me as I've never done anything like this before. This whole idea is more about my imagination taking over from my knowledge...

So, if I understand this, I would take the output of the LED part of the uIEC PCB and wire it to pins 7 & 14 of the 7404 and then wire a LED to any of the Not gates, say pins 1&2. That would do the job?
Close :-) (It;s OK, everyone starts somewhere)

7 is gnd, so you need to wire that to gnd (pin 1 of the uIEC/SD)
14 is VCC, so that needs to go to +5v
On the uIEC/SD you will see one side of the LED goes to a small square thing on the bottom of the board (a resistor). You want the other side of the LED. Attach a wire to that side, and hook to pin 1 of the 7404. Then, attach the anode (typically the long lead) of an LED to pin 2. Now, one final thing. THe free end of the LED needs to go to a 330 ohm resistor, and the other end of the resistor goes to Ground. Done.

Jim
User avatar
Pedro Lambrini
Vic 20 Scientist
Posts: 1132
Joined: Mon Dec 01, 2008 11:36 am

Post by Pedro Lambrini »

That's manageable - I think! Just a couple of points to clear up if that's okay...

"Pin 14 needs to go to 5v."

Can that be any 5v source such as the cassette port that I'm already drawing power from or back to the 5v line on the uIEC?

"...330 ohm resistor, and the other end of the resistor goes to Ground."

A variation on the above question. :oops: Can that be either ground ie/ pin7 on the 7404 or pin 1 on the uIEC?

Thanks for indulging me in this Electronics for Dummies course. It's really appreciated. :)
"...That of the Eastern tribe being like a multitude of colours as if a rainbow had settled upon its brow..." Daniels 1:3
Post Reply