Power lead / RS232c - DIN Project
#1
Hi,

this is my first post :-)

I have a project where I will be mounting the Pine64-LTS board in a DIN enclosure. So far I have ordered a few samples from Italtronic: https://eng.italtronic.com/products/modu...ox_xts_en/

Currently I have worked out the standoffs needed, power/reset buttons, and connector couplers for HDMI/RJ45 connections.

What I need to figure out now is a TTL to RS232c adapter that will work.

At present my thought is to use this: https://www.waveshare.com/product/module...m?___SID=U

and attach it to to the main TTL output for serial console access similar to many types of network equipment.

Does any one have any experience with this, as in will work or are there alternatives that would be better?

My current idea is to attach them using single jumper leads, however, I would need to distribute the +5v power supply to the DB9 serial board additionally.




Also I would like to find out what the best way to power the Pine board would be? My current idea is to use a Type H power barrel to bare wire connector but there aren't any available in the Pine store. I have had a look at the barrels individually and am a little confused as to which internal diameter would be needed? For 3.40mm OD I have found connectors with 1.34mm and 1.35mm ID.


Last question quickly, has anyone used the CrystalFontz line of LCD/OLED displays with the Pine64? The reason I mention this is that I would like to use one coupled to LCDProc and since CF displays work really well with it, it would be a great idea to mount one on the front panel of the enclosure.


Many thanks for any suggestions, ideas, recommendations :-)
#2
(04-11-2019, 06:02 AM)JohnnySSH Wrote: Hi,

this is my first post :-)

I have a project where I will be mounting the Pine64-LTS board in a DIN enclosure. So far I have ordered a few samples from Italtronic: https://eng.italtronic.com/products/modu...ox_xts_en/

Currently I have worked out the standoffs needed, power/reset buttons, and connector couplers for HDMI/RJ45 connections.

What I need to figure out now is a TTL to RS232c adapter that will work.

At present my thought is to use this: https://www.waveshare.com/product/module...m?___SID=U

and attach it to to the main TTL output for serial console access similar to many types of network equipment.

Does any one have any experience with this, as in will work or are there alternatives that would be better?

My current idea is to attach them using single jumper leads, however, I would need to distribute the +5v power supply to the DB9 serial board additionally.




Also I would like to find out what the best way to power the Pine board would be? My current idea is to use a Type H power barrel to bare wire connector but there aren't any available in the Pine store. I have had a look at the barrels individually and am a little confused as to which internal diameter would be needed? For 3.40mm OD I have found connectors with 1.34mm and 1.35mm ID.


Last question quickly, has anyone used the CrystalFontz line of LCD/OLED displays with the Pine64? The reason I mention this is that I would like to use one coupled to LCDProc and since CF displays work really well with it, it would be a great idea to mount one on the front panel of the enclosure.


Many thanks for any suggestions, ideas, recommendations :-)

Not knowing anyone try out CrystalFontz and impressive on their LCD/OLED display lineup. If you have make it works, please share your expereince. If they have interest to collaborate with PINE64, this can be a good match.
#3
(04-15-2019, 03:27 PM)tllim Wrote:
(04-11-2019, 06:02 AM)JohnnySSH Wrote: Hi,

this is my first post :-)

I have a project where I will be mounting the Pine64-LTS board in a DIN enclosure. So far I have ordered a few samples from Italtronic: https://eng.italtronic.com/products/modu...ox_xts_en/

Currently I have worked out the standoffs needed, power/reset buttons, and connector couplers for HDMI/RJ45 connections.

What I need to figure out now is a TTL to RS232c adapter that will work.

At present my thought is to use this: https://www.waveshare.com/product/module...m?___SID=U

and attach it to to the main TTL output for serial console access similar to many types of network equipment.

Does any one have any experience with this, as in will work or are there alternatives that would be better?

My current idea is to attach them using single jumper leads, however, I would need to distribute the +5v power supply to the DB9 serial board additionally.




Also I would like to find out what the best way to power the Pine board would be? My current idea is to use a Type H power barrel to bare wire connector but there aren't any available in the Pine store. I have had a look at the barrels individually and am a little confused as to which internal diameter would be needed? For 3.40mm OD I have found connectors with 1.34mm and 1.35mm ID.


Last question quickly, has anyone used the CrystalFontz line of LCD/OLED displays with the Pine64? The reason I mention this is that I would like to use one coupled to LCDProc and since CF displays work really well with it, it would be a great idea to mount one on the front panel of the enclosure.


Many thanks for any suggestions, ideas, recommendations :-)

Not knowing anyone try out CrystalFontz and impressive on their LCD/OLED display lineup. If you have make it works, please share your expereince. If they have interest to collaborate with PINE64, this can be a good match.

tllim

It has taken a long time to respond and actually get the project running because I have been extremely busy.



Here is the project so far:


I have 3x Pine64-LTS now and added 4x Artekit TTL -> RS232 level shifters to them https://www.artekit.eu/ak-3232-usage-guide/


3 of these are linked to Newhaven Display LCD displays: https://www.newhavendisplay.com/nhd0220d...-5742.html


The last RS232 level shifter is connected to a Garmin 18x LVS GPS receiver: https://buy.garmin.com/en-US/US/p/27594




I created custom cables using 20cm Jumper cable and Switchcraft Conxall Mini 6P connectors for the GPS and 2P Micro connectors for the +5V Power: http://www.switchcraft.com/Category.aspx?Parent=901




The GPS receiver PPS output is connected to the CTS pin on UART4 through the level shifter, but I also installed a 5V LED into the chassis which I am taking the PPS signal directly from the Conxall 6P connector.


For the chassis I am using an Italtronic 8M XTS: https://eng.italtronic.com/products/modulbox_xts_en/




For 2 of the Pine64 boards I am using 16GB SD cards and run FreeBSD 13.0-CURRENT on them, the other board running Armbian has a 32GB SD card.




Overall I found activating the UART ports difficult at first but in Armbian I managed to find the correct Overlays for them. I then used the same Overlay's from the Armbian git repo in FreeBSD which worked - though a slight modification was needed for the PPS signal of the GPS receiver.


To power the boards I am using 5V Meanwell NS35 DIN rail mount DR series switching power supplies.




Extra parts are Keystone standoffs; I used some PC104 kits and some 9.5mm 4-40 ones all Nylon type. The TTY terminal connected to UART0 is done using a Kycon 3.5mm stereo socket, this is used with an FTDI USB to 3V TTL console cable. Also I used E-Switch PS1024 panel mount push switches connected to GPIO pin and +3.3V connector.





Currently I need to write a driver for the Newhaven Display LCD's. I plan on using it with Lcdproc so I may have to port the driver from Lcd4Linux over. It is proving difficult as it's a little unclear how to send the command set to the display. Using the Hex codes is currently producing no result.




Here are some images of the project:

(08-06-2019, 11:36 AM)JohnnySSH Wrote:
(04-15-2019, 03:27 PM)tllim Wrote:
(04-11-2019, 06:02 AM)JohnnySSH Wrote: Hi,

this is my first post :-)

I have a project where I will be mounting the Pine64-LTS board in a DIN enclosure. So far I have ordered a few samples from Italtronic: https://eng.italtronic.com/products/modu...ox_xts_en/

Currently I have worked out the standoffs needed, power/reset buttons, and connector couplers for HDMI/RJ45 connections.

What I need to figure out now is a TTL to RS232c adapter that will work.

At present my thought is to use this: https://www.waveshare.com/product/module...m?___SID=U

and attach it to to the main TTL output for serial console access similar to many types of network equipment.

Does any one have any experience with this, as in will work or are there alternatives that would be better?

My current idea is to attach them using single jumper leads, however, I would need to distribute the +5v power supply to the DB9 serial board additionally.




Also I would like to find out what the best way to power the Pine board would be? My current idea is to use a Type H power barrel to bare wire connector but there aren't any available in the Pine store. I have had a look at the barrels individually and am a little confused as to which internal diameter would be needed? For 3.40mm OD I have found connectors with 1.34mm and 1.35mm ID.


Last question quickly, has anyone used the CrystalFontz line of LCD/OLED displays with the Pine64? The reason I mention this is that I would like to use one coupled to LCDProc and since CF displays work really well with it, it would be a great idea to mount one on the front panel of the enclosure.


Many thanks for any suggestions, ideas, recommendations :-)

Not knowing anyone try out CrystalFontz and impressive on their LCD/OLED display lineup. If you have make it works, please share your expereince. If they have interest to collaborate with PINE64, this can be a good match.

tllim

It has taken a long time to respond and actually get the project running because I have been extremely busy.



Here is the project so far:


I have 3x Pine64-LTS now and added 4x Artekit TTL -> RS232 level shifters to them https://www.artekit.eu/ak-3232-usage-guide/


3 of these are linked to Newhaven Display LCD displays: https://www.newhavendisplay.com/nhd0220d...-5742.html


The last RS232 level shifter is connected to a Garmin 18x LVS GPS receiver: https://buy.garmin.com/en-US/US/p/27594




I created custom cables using 20cm Jumper cable and Switchcraft Conxall Mini 6P connectors for the GPS and 2P Micro connectors for the +5V Power: http://www.switchcraft.com/Category.aspx?Parent=901




The GPS receiver PPS output is connected to the CTS pin on UART4 through the level shifter, but I also installed a 5V LED into the chassis which I am taking the PPS signal directly from the Conxall 6P connector.


For the chassis I am using an Italtronic 8M XTS: https://eng.italtronic.com/products/modulbox_xts_en/




For 2 of the Pine64 boards I am using 16GB SD cards and run FreeBSD 13.0-CURRENT on them, the other board running Armbian has a 32GB SD card.




Overall I found activating the UART ports difficult at first but in Armbian I managed to find the correct Overlays for them. I then used the same Overlay's from the Armbian git repo in FreeBSD which worked - though a slight modification was needed for the PPS signal of the GPS receiver.


To power the boards I am using 5V Meanwell NS35 DIN rail mount DR series switching power supplies.




Extra parts are Keystone standoffs; I used some PC104 kits and some 9.5mm 4-40 ones all Nylon type. The TTY terminal connected to UART0 is done using a Kycon 3.5mm stereo socket, this is used with an FTDI USB to 3V TTL console cable. Also I used E-Switch PS1024 panel mount push switches connected to GPIO pin and +3.3V connector.





Currently I need to write a driver for the Newhaven Display LCD's. I plan on using it with Lcdproc so I may have to port the driver from Lcd4Linux over. It is proving difficult as it's a little unclear how to send the command set to the display. Using the Hex codes is currently producing no result.




Here are some images of the project:

A few more images


Attached Files
.jpg   576-1024.jpg (Size: 236.95 KB / Downloads: 452)
.jpg   576-1024 (1).jpg (Size: 226.2 KB / Downloads: 440)
.jpg   1820-1024.jpg (Size: 248.4 KB / Downloads: 438)
.jpg   1820-1024 (1).jpg (Size: 357.59 KB / Downloads: 434)
.jpg   1820-1024 (2).jpg (Size: 358.65 KB / Downloads: 455)
#4
Hi Johnny,

Appreciate and thanks on the update. You can post at the PINE64 wiki site so that other user can share on your experience.

... TL


Possibly Related Threads…
Thread Author Replies Views Last Post
Question Power supply for Pine A64 LTS panah87 3 8,861 10-11-2017, 04:01 AM
Last Post: MarkHaysHarris777

Forum Jump:


Users browsing this thread: 1 Guest(s)