Two electronics questions

Want to just shoot the breeze? Forum 42 is the place!

Moderator: Moderators

Post Reply
blackbox_dev
Senior Member
Posts: 1906
Joined: Sun Jan 15, 2006 5:19 pm
Location: Formerly known as iam7805

Two electronics questions

Post by blackbox_dev »

1) When you fry a diode because of too much reverse voltage does it allow current in both directions or not at all?

2) On the PICAXE microcontroller can you use the SEROUT command on any output pin or only the Serial Out pin used for programming? Also the SERIN command, any input pin or just the Serial In pin for programming. This microcontroller is more popular in Europe then anywhere else, maybe one of you guys can help me?
I'd imagine right now you wish you were a cuttlefish...
tom61
Senior Member
Posts: 1517
Joined: Fri Mar 25, 2005 6:51 pm

Post by tom61 »

1) Most of the time, none, as you break down the semiconductor. However, sometimes this melts the leads, which can flow into into the diode, making it a wire.
blackbox_dev
Senior Member
Posts: 1906
Joined: Sun Jan 15, 2006 5:19 pm
Location: Formerly known as iam7805

Post by blackbox_dev »

OK, thanks about the diode.

Also, does anyone know about the PICAXE? It is based on the PIC just to let you know, but includes bootstrap code so you don't need a seperate programmer and can simply be connected via serial cable.
I'd imagine right now you wish you were a cuttlefish...
blackbox_dev
Senior Member
Posts: 1906
Joined: Sun Jan 15, 2006 5:19 pm
Location: Formerly known as iam7805

Post by blackbox_dev »

*bump*

OK, because not many of you probably know about the PICAXE, but it is basically a PIC, can a PIC output and input serial data on any digital I/O pin?

In case you havn't noticed from other posts about electronics, I am very interested in microcontrollers. :)
I'd imagine right now you wish you were a cuttlefish...
blackbox_dev
Senior Member
Posts: 1906
Joined: Sun Jan 15, 2006 5:19 pm
Location: Formerly known as iam7805

Post by blackbox_dev »

*bump*

Seriously guys, all I want to know is can the PIC output serial data on any digital ouput?!?
I'd imagine right now you wish you were a cuttlefish...
marshallh
Moderator
Posts: 2987
Joined: Sat Sep 10, 2005 2:17 pm
360 GamerTag: marshallh
Location: here and there
Contact:

Post by marshallh »

Yes. All you need is to write pure MP-ASM code and use the right mix of NOPs and MOV commands to get the timing right.

I think some PICs have UART interfaces, however it's probably on only one pin. Check your PIC's datasheet.
Image
Post Reply