Author Topic: A socket for raspberry pi zero?  (Read 2502 times)

0 Members and 1 Guest are viewing this topic.

Offline ArtlavTopic starter

  • Frequent Contributor
  • **
  • Posts: 750
  • Country: mon
    • Orbital Designs
A socket for raspberry pi zero?
« on: November 14, 2017, 12:14:18 am »
Lately i've been in love with RPi zero. The thing is tiny, low power and yet provides essentially a full computer.
The kind of uses i think for it is as an upper-level control board for things, for example.

Basically, what i am looking for is a nice way to plug RPi zero into a PCB.

Here is an example, the rover is controlled by a microcontroller, with RPi handling the cameras, data storage, wireless stuff and high level logic.




Basically, i got two male microusb plugs mounted on a PCB at the right distance, and moved on from there.

This does have two disadvantages:
1. The plugs are too low, so there is a need for a cutout in the PCB. This limits placement options.
2. MiniHDMI male plugs are essentially nonexistent. I got a few harvested from adapters, but they don't align too well with the microUSB ones.

Which got me thinking - are there any pre-made "sockets" for RPi zero? A rig including two microUSBs and the HDMI plugs at the right distances, to be surface-mounted onto a PCB.
Alternatively, have someone found or figured out a set of parts that would align well in height to plug an RPi zero into them, including HDMI?

And before anyone asks, yes, i heard of "Compute Module", but they are overpriced and clumsy to use (the lack of a removable microsd card effectively kills it's usability, and the need to decide on all GPIO at design time does not help either).
 

Offline buck converter

  • Regular Contributor
  • *
  • Posts: 165
  • Country: us
Re: A socket for raspberry pi zero?
« Reply #1 on: November 14, 2017, 12:20:38 am »
if you still want to connect the pi to a monitor while it is plugged in to your rover thingy, you could use the composite video pin, instead of HDMI altogether.
Just me and my scope.
 

Offline ArtlavTopic starter

  • Frequent Contributor
  • **
  • Posts: 750
  • Country: mon
    • Orbital Designs
Re: A socket for raspberry pi zero?
« Reply #2 on: November 14, 2017, 12:25:23 am »
connect the pi to a monitor while it is plugged in to your rover thingy
Not needed for this project, but i have a few ideas that would need it, and having the HDMI port just plug in straight would be the preferred way.
 

Offline buck converter

  • Regular Contributor
  • *
  • Posts: 165
  • Country: us
Re: A socket for raspberry pi zero?
« Reply #3 on: November 14, 2017, 01:25:30 am »
connect the pi to a monitor while it is plugged in to your rover thingy
Not needed for this project, but i have a few ideas that would need it, and having the HDMI port just plug in straight would be the preferred way.

What do you need HDMI for, anyway. You can also use a remote desktop program such as VNC (Internet required).
Just me and my scope.
 

Online Ian.M

  • Super Contributor
  • ***
  • Posts: 12853
Re: A socket for raspberry pi zero?
« Reply #4 on: November 14, 2017, 03:04:54 am »
40 pin two row header on main PCB, matching female header on underside of Pi Zero, standoff pillars and mounting screws.  Power the Pi via the +5V pin on its GPIO header. 
If your main board needs USB, use a short flylead with a rightangle connector, or if you need a flush case back and don't want to mess with a HDMI extender, use pogo pins onto the USB test pads, and blank off the USB port. (see https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=187766)
« Last Edit: November 14, 2017, 03:08:54 am by Ian.M »
 

Offline technix

  • Super Contributor
  • ***
  • Posts: 3507
  • Country: cn
  • From Shanghai With Love
    • My Untitled Blog
Re: A socket for raspberry pi zero?
« Reply #5 on: November 14, 2017, 02:35:51 pm »
What do you need the USB for? If it is just powering the device you can feed 5V into the GPIO pin headers. If you need USB maybe you can change the board layout a bit so the HDMI port is not obstructed?
 

Offline ArtlavTopic starter

  • Frequent Contributor
  • **
  • Posts: 750
  • Country: mon
    • Orbital Designs
Re: A socket for raspberry pi zero?
« Reply #6 on: November 14, 2017, 03:14:42 pm »
What do you need HDMI for, anyway.
A laptop/tablet thingy, powered by RPi completely, or having an RPi as a secondary CPU.
Kind of like this:


40 pin two row header on main PCB, matching female header on underside of Pi Zero, standoff pillars and mounting screws.
That is going to be absurdly thick, and does not solve the HDMI problem.

What do you need the USB for?
Cameras on the rover, mouse, wi-fi and so on on the laptop.

If you need USB maybe you can change the board layout a bit so the HDMI port is not obstructed?
It's not a matter of obstruction, but of the board-mounted plugs not aligning in height - to plug both USB and HDMI in the RPi would be at an angle.
 

Offline technix

  • Super Contributor
  • ***
  • Posts: 3507
  • Country: cn
  • From Shanghai With Love
    • My Untitled Blog
Re: A socket for raspberry pi zero?
« Reply #7 on: November 14, 2017, 05:01:37 pm »
What do you need the USB for?
Cameras on the rover, mouse, wi-fi and so on on the laptop.

If you need USB maybe you can change the board layout a bit so the HDMI port is not obstructed?
It's not a matter of obstruction, but of the board-mounted plugs not aligning in height - to plug both USB and HDMI in the RPi would be at an angle.
It may be better to move the camera to the MIPI CSI2 interface - much less bus hogging. The Pi 3 and Pi Zero W both have built-in Wi-Fi so you can skip that on USB. As of the mouse maybe it is doable over I2C (There is a HID over I2C protocol defined by Microsoft, and since Surface Keyboards work under Linux it is likely you can get mice and touch panels to work over I2C too. HID over I2C have lower lag than USB as well since it contains a dedicated interrupt signal.)
 

Online Ian.M

  • Super Contributor
  • ***
  • Posts: 12853
Re: A socket for raspberry pi zero?
« Reply #8 on: November 14, 2017, 08:32:24 pm »
If stacking them is too thick you can use a right angle 40 pin two row header and right angle socket to mate the boards in the same plane.  You've still got the problem of getting the USB back to your GPI/O board, but as the HDMI is on an outside edge, you can simply plug that in.  If you use a mini to standard HDMI adapter, with a 3D printed bracket to secure it, it will set the Pi back enough from the case wall for a rightangle USB Micro B cable to fit with no clearance issues. Otherwise 3D print a recessed surround for the mini HDMI port to gain enough clearance.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf