Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.
|
Forum Index : Microcontroller and PC projects : MM: 3.3 v digital outputs
Author | Message | ||||
Juri74 Senior Member Joined: 06/02/2012 Location: ItalyPosts: 162 |
please a quick question: i've to use digital outputs but with "ones" to 3.3v and not 5v, i mean when i use the command PIN(n)=1 and pin N change it state from zero to one it should have 3.3 volt, i do not remember which outputs to use... 11 to 20? or 1 to 10? thank you Juri |
||||
MicroBlocks Guru Joined: 12/05/2012 Location: ThailandPosts: 2209 |
The outputs are always 3.3 volt. 5v is only important when you use it as an input. Then the pins have to be 5v tolerant otherwise you can damage the PIC32 chip. relevant part from the manual: [quote] The original Maximite has 20 I/O pins numbered 1 to 20. Pins 1 to 10 can be used for analog input and digital input/output with a maximum input voltage of 3.3V. Pins 11 to 20 are digital only but support input voltages up to 5V and can be set to open collector. The DuinoMite has completely different and confusing allocations. See "DuinoMite MMBasic ReadMe.pdf" Normally digital output is 0V (low) to 3.3V (high) but you can use open collector to drive 5V circuit. This means that the pin can be pulled down (when the output is low) but will go high impedance when the output is high. So, with a pull up resistor to 5V an output configured as open collector you can drive 5V logic signals. Typical value of the pull up resistor is 1K to 4.7K. [/quote] Microblocks. Build with logic. |
||||
Juri74 Senior Member Joined: 06/02/2012 Location: ItalyPosts: 162 |
thank you TZA, i missed that info! |
||||
djuqa Guru Joined: 23/11/2011 Location: AustraliaPosts: 447 |
And despite what most here call them the outputs are OPEN DRAIN not open Collector so normal MOSFET handling/current limits apply. VK4MU MicroController Units |
||||
JohnS Guru Joined: 18/11/2011 Location: United KingdomPosts: 3804 |
I have a rather poor understanding of what those "normal" limits are - please explain or can you provide a URL of somewhere with a summary? John |
||||
dergi Newbie Joined: 06/08/2013 Location: CanadaPosts: 1 |
Normal MOSFET handling/current limit...interesting. I don't really know what normal current limit for MOSFET is. I am really interested inlearning about it if someone is willing to help. @TZAdvantage: Thanks for the clarification, that was helpful. smt assembly |
||||
Print this page |