

![]() |
  | |||||||||||||
![]() |
|
![]() |
||||||||||||
![]() Newb question, RS232 or TTL
Started by Stefan, Oct 26 2011 08:27 PM
12 replies to this topic
#1
Posted 26 October 2011 - 08:27 PM
Hi, it's me, supernewbie !
![]() ![]()
"Fact that I'm a moderator doesn't make me an expert in things." Stefan, the eternal newb!
My .NETMF projects: .NETMF Toolbox / Gadgeteer Light / Some PCB designs
#2
Posted 27 October 2011 - 03:56 AM
Sorry, but...I suppose that "atm" stands for Netduino mini, and "TTL" for UART at TTL-level...
If so, I don't mean the point at all...
Biggest fault of Netduino? It runs by electricity.
#3
Posted 27 October 2011 - 05:39 AM I think that pins 1-3 are reserved for RS232 only. You can switch to deploying/debugging over RS232 and this will free up pins 11 & 12. ATM = At The Moment Hope tis helps, Mark To be or not to be = 0xFF
Blogging about Netduino, .NET, STM8S and STM32 and generally waffling on about life Follow @nevynuk on Twitter
#4
Posted 27 October 2011 - 05:46 AM
Advanced topic
![]()
#5
Posted 27 October 2011 - 05:55 AM Ooooooo - now I can see that being really handy to have access to. Regards, Mark To be or not to be = 0xFF
Blogging about Netduino, .NET, STM8S and STM32 and generally waffling on about life Follow @nevynuk on Twitter
#6
Posted 27 October 2011 - 06:27 AM Ahhh, so it's actually not such a newb-question ![]() I was thinking, when using TTL for deployment, I only use 2 pins instead of 3, so it saves 1 pin. Also, my laptop has no serial port and I have a TTL-to-USB-breakout. The -5V to +5V could be interesting to play with, just as the input port. But not for my current project. From http://www.netduino....i/schematic.pdf: Am I correct that they're (cpu.pin)27 to (cpu.pin)29 ?
"Fact that I'm a moderator doesn't make me an expert in things." Stefan, the eternal newb!
My .NETMF projects: .NETMF Toolbox / Gadgeteer Light / Some PCB designs
#7
Posted 27 October 2011 - 06:50 AM Precisely! Also, be careful when using pin 29. The "DTR" pin -- (Cpu.Pin)29 -- is checked during boot. If it's active, then your Netduino Mini will go into bootloader mode ![]() ![]() BTW, you might notice that you can't create an OutputPort with that pin. .NET MF automatically protects you ![]() Chris
#8
Posted 27 October 2011 - 07:44 AM Cool! Going to play with it some day, for my current project, I stay at RS232-deployment then. I want to keep as many pins available as possible.
"Fact that I'm a moderator doesn't make me an expert in things." Stefan, the eternal newb!
My .NETMF projects: .NETMF Toolbox / Gadgeteer Light / Some PCB designs
#9
Posted 23 July 2012 - 04:04 AM
I know this is an old thread, but has anyone played with pins 1-3 [(cpu.pin)27 to (cpu.pin)29] for anything other than RS232 deployment?
#10
Posted 23 July 2012 - 08:24 AM
I've considered it, but because it outputs -5V to +5V (if I'm correct) I didn't found a good use for it. It is possible though, to drive them that way!
"Fact that I'm a moderator doesn't make me an expert in things." Stefan, the eternal newb!
My .NETMF projects: .NETMF Toolbox / Gadgeteer Light / Some PCB designs
#11
Posted 23 July 2012 - 07:48 PM
I was hoping someone might have come up with an application for the +/-5V. I guess I'm going to try incorporating a sub-circuit on my pcb that converts rs232 to ttl.
#12
Posted 20 September 2012 - 03:07 AM
I'm working on using pins 1 and 2. I need one more pin for my project.
If I create an output port as: OutputPort _output = new OutputPort((Cpu.Pin)27, false); or OutputPort _output = new OutputPort((Cpu.Pin)27, true);, a DVM shows that nothing changes on pin 1 or pin 2. DRXD is shown on the schematic as "G3 PA27/PGMD15." If PA27/DRXD is (Cpu.Pin)27, then what would then be the (Cpu.Pin) identity of PB27/ADO D9? [Note added: Per a recent thread, PA references PIO controller A multiplexing and PB controller B multiplexing -- pages 31-33 of the ARM document.]
#13
Posted 20 September 2012 - 03:20 AM
In case anyone is interested, my mini project is a scuba diving computer that tracks decompression obligation, and controls a rebreather solenoid based on voting logic input from three oxygen sensors. I need one more pin to control the spi bus to use a flash memory chip (I understand that the new firmware will give access to flash, but I don't want to change firmware yet).
Chris
1 user(s) are reading this topic0 members, 1 guests, 0 anonymous users | ||||||||||||||
![]() |
||||||||||||||
![]() |
|
![]() |
||||||||||||
![]() |
This webpage is licensed under a Creative Commons Attribution-ShareAlike License. | ![]() |
||||||||||||
![]() |