Go Back   IceInSpace > Equipment > Software and Computers

Reply
 
Thread Tools Rate Thread
  #1  
Old 02-10-2018, 04:13 AM
pmrid's Avatar
pmrid (Peter)
Ageing badly.

pmrid is offline
 
Join Date: May 2008
Location: Cloudy, light-polluted Bribie Is.
Posts: 3,675
A Pi question about RS232

I've bought a small Max3232 module to attach to a Rasp Pi 3 B. I want to use it to control a RoboFocus which uses a serial (DB9) cable to the PC side. I'veone a bit of hacking at the Pi case to fit the module in. But I've halted there while I decide how to connect it to the GPIO. The module outputs are VCC, TX, RX and Gnd. The module is also described as being 3.3V/5V. But I'm not sure how to read that. Does it mean it wants a 3.3V input from the GPIO side which it converts to 5V to talk to my external device (e.g. RoboFocus). Or does it want 5V?

I question it because in this article, the writer says, and shows by photos, that the 5 volt pinout is the one to use, not 3.3 volt.
http://www.davidhunt.ie/add-a-9-pin-...in-10-minutes/

And the next question is about the 3.3VDC GPIO pin. The newer 40-pin GPIOs seem to have 2 x 3.3V pins whereas the older 26 pin version only had 1 and that one only had enough power to run a LED or two. The later versions have a lot more I believe. But I hope someone with more Pi knowledge than me can confirm this.

It's an issue for me because I have also installed a real-time clock board which is using the 3.3VDC at Pin 1. So I will have to use the Pin 17 if it is in fact that's the voltage the 323 module needs. If it's 5 volts it needs, then it isn't a problem because that voltage can be picked up at several points.

Then and finally, a question about the configuration of the module to work with external serial devices. I understand the native setup uses the serial connection for a console and that this needs to be disabled first by editing the /boot/cmdline.txt file to delete references to TTYAMA0 and also editing /etc/inittab in a similar way.



Peter
Reply With Quote
  #2  
Old 02-10-2018, 07:18 AM
RickS's Avatar
RickS (Rick)
PI cult recruiter

RickS is offline
 
Join Date: Apr 2010
Location: Brisbane
Posts: 10,584
Hi Peter,

From MAX3232 specs:

Quote:
The charge pump and four small external capacitors allow operation from a single 3-V to 5.5-V supply.
Either 3.3V or 5V would be fine for VCC.

Cheers,
Rick.
Reply With Quote
  #3  
Old 02-10-2018, 07:48 AM
pmrid's Avatar
pmrid (Peter)
Ageing badly.

pmrid is offline
 
Join Date: May 2008
Location: Cloudy, light-polluted Bribie Is.
Posts: 3,675
Quote:
Originally Posted by RickS View Post
Hi Peter,

From MAX3232 specs:



Either 3.3V or 5V would be fine for VCC.

Cheers,
Rick.
Thanks Rick.
Peter
Reply With Quote
Reply

Bookmarks

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +10. The time is now 08:22 AM.

Powered by vBulletin Version 3.8.7 | Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Advertisement
Bintel
Advertisement
Testar
Advertisement