Kodi Raspberry Pi Usb Drive
2021年2月28日Download here: http://gg.gg/oh6eb
The Raspberry Pi 3 works good combining with the XBMS or kodi. Ethernet Networks is good than the built in wifi but it will average and also work fine with streaming movies. The Raspberry Pi 3 is such an great thing over Raspberry Pi 2. The Pi 2 also works same with the Kodi but several time it may stop working in between the processes. Tested on Raspbian Buster on a Raspberry Pi 4. Over this past weekend, I finally setup a network share via Samba on my Raspberry Pi with an old external USB hard drive I had laying around. My RetroPie installation already serves up a Samba share - so my goal was to throw an additional folder in there that mounts to an external drive. Raspberry Pi 2/3 probably doesn’t need some of these tweaks to run Kodi really well, but it also won’t hurt anything, if you really want to push things to their limit. Avoid ’heavy’ skins and lots of ’service’ type add-ons that run in the background.
*Posts 1,414
I want to play commercial DVD movies with a Raspberry Pi and a connected USB DVD drive.
I want to play DVD’s with region code 1 and 2 (US and Europe).
I haven’t bought the USB DVD drive yet, because I need to know some facts before.
To buy the right USB DVD drive, I need to know how LibreELEC plays region encoded DVD’s.
a) Does LibreELEC use the region code of the USB DVD drive?
(I need an unlimited change of regions, region encoded DVD drives allow only a limited count of region changes)
b) Or does LibreELEC breaks the DVD-CSS copyright protection (using libdvdcss) to avoid region codes?
(that ignores any region codes from DVD and USB DVD drive, and decodes DVD files without using it)
On case a) I should buy a region free USB DVD drive.
On case b) I have a wider range of region encoded USB DVD drives available on the market.
Thanx for answering!
Da Flex
*Navigation
*Forum
*Options
*Current Location
*User Menu
*Language
*Englishforum.libreelec.tv in the WSC-Connect App on Google Playforum.libreelec.tv in the WSC-Connect App on the App StoreYour browser has JavaScript disabled. If you would like to use all features of this site, it is mandatory to enable JavaScript.
This month, we complete our media centre with hard drive storage, a suitable power supply and 3D printed case.BUILD TIME: 2 Hours (Not including 3d Printing Time)
DIFFICULTY RATING: Intermediate
Having introduced you to Kodi and explained the use of the Raspberry Pi to utilise it, it is time to demonstrate our build for the Media Centre, which contains the power supply, hard drive(s), cooling fans, and our USB power distributor and hard drive interface. We’re also describing how to make the case look a bit less 3D-printed, although deadline pressure meant we didn’t get the finish as smooth as we wanted to - but you can!
The Raspberry Pi series need fairly precise power requirements. If the voltage falls below around 4.8 volts, the Pi will reset. This occurs any time large loads are drawn on a power supply that cannot maintain the current required, and the current available through the USB micro B connection is minimal. The size of the wires involved does not help, and voltage drop can easily occur at larger loads on thinner wires. Additionally, it may be desirable for people to use more than one hard drive. For this reason, a Switch Mode Power Supply (SMPS) board was chosen, which can take a 12V 2.5A input and yield a consistent 5V at 5 amps, although the 12V, 2.5A plugpack we used will allow around 4.7 amps out of the SMPS after efficiencies and losses are accounted for.
Using one HDD from the USB port sometimes generated a low-power warning when running the Pi from its USB micro-B power input. The breakout board presented is constructed on strip prototyping board, and features an input for the SMPS power supply, and pass through for two USB cables. While the original USB standard handles simply parallelling devices, USB 2.0 and USB 3 do not accept this. More interrogation of connected devices goes on in the later standards, and USB hubs have internal circuitry to do so. As such, our design has the data busses connected straight through for each USB connection, with two USB micro cables for two drives, and two USB A cables for connection to two USB ports on the Pi.
There is a common ground for all cables and the power supply, but the +5V wires from the USB A cables (from the USB sockets on the Pi) are left unconnected. The system does not like having 5V externally connected to the USB port on the Pi. Instead, the +5V pins for the drives are connected only to the SMPS. This prevents issues where Drives will power up but not communicate with the Pi, as happens if the +5V from the SMPS is connected to the USB ports on the Pi as well. We have also taken power for the Pi from here. We used speaker wire with PCB Pin sockets to connect to the Pi, and used two GPIO pins each for GND and +5V, to avoid voltage drop on the pin connections.
You can choose to use internal or external 2.5” drives for this project. If you use internal drives, you’ll need a SATA to USB converter. These devices vary wildly, from some clipping to the back of the drives, to others that more resemble add-on modules for Arduino or Raspberry Pi. Not many of these modules that we found are sold within Australia, so another option which we have seen used is to remove the electronics from the case of a retail-purchased SATA to USB converter. This opens up more local sourcing opportunities. In either case, these converters often need 12V DC. We suggest wiring directly to the controlled side of the power switch.
We have used USB 2.0 Micro B cables, while the hard drives are often supplied with USB 3 Micro B cables, which feature an extension to one side. A USB 2.0 Micro B will fit into a USB 3 Micro B socket. The drive will function as a USB 2.0 device, limited to a mere 480MB/s. That’s still fast enough to stream HD video, and we tortured our test rig without failure. The reason we chose this option was the difficulty in working with the USB 3 cables. This standard can function at 5Gbps, but does so with the addition of five more wires: Two for transmission, two for reception, and one common ground. These wires are tiny, and constantly broke while being stripped. They are incredibly delicate to solder, and a total of nine rows of protoboard meant a lot of exposed cable to stretch the distance down the rows to connect all nine. That, in turn, meant a lot of unshielded cable and difficult wire stripping and soldering, for what was ultimately no real-life performance gain.
Note: Some external drives use other connection types. If this is the case, you’ll have to do your best with the supplied cables. These are not common.
Because of this, while you may be willing to challenge yourself with the cable that came with your external drive, we suggest buying two reasonable quality USB 2.0 A to Micro B cables, and cut these in half instead. In either case, you can trim the length as desired to fit well inside the case. The higher quality cables have thicker wires that are easier to work with. Besides that, you can also make up a cable to power the Pi through the GPIO. To do so without voltage drop, do not use plug-and-socket jumper leads. The connections are too poor and the wire too small. We used speaker cable and PCB pin sockets to do the job, and made two connections to each rail so that a total of four pins share the current, not two. We connected these to the GND and +5V rails of our USB power supply board.
We picked up a pair of WD Elements SE Portable 2TB from JB HiFi. To use a SATA HDD, you would need a USB to SATA adaptor.
Connect your HDD to the Pi. Our HDD came formatted as NTFS, which is supported with this build of Linux, so it’s ready to go.
To load the HDD with your own media, assuming this media is on another computer and you’re a Windows user, simply connect the HDD to your PC and copy the media over as Windows supports NTFS. OS X is not able to write to NTFS but there are software packages available that allow you to write to this file system.
An easier and more convenient approach is to transfer the data onto the HDD over your home network using Samba.
To enable Samba on the Pi (if you didn’t already during the setup wizard) from the Kodi dashboard, click on the settings cog then select LibreELECT.
Scroll down to Services and enable Samba
If successful, you should see the media centre on your home network, and you can copy your files across.
The 3D print files are available for download from our website.
Print time / Filament used: 12 hrs, 25.4m
Print time / Filament used: 9 hrs 15 min, 21.5m
Print time / Filament used: 6 min, 0.06m
Print time / Filament used: 3 hrs, 3.8m
Used for internal type 2.5” hard drives. Plate and bracket in one print.
Print time / Filament used: 46 min, 1.8m, 0.25mm, no brim.
The shelves to hold external type hard drives. They mount in the HDD Plate. There are four shelves in the .stl, so you only need to run the print once.
Print time / Filament used: 1 hr 45 min, 4m
Plate to hold the four shelves for external hard drives.
The case was designed with some flexibility in mind. Because hard drive options vary, we decided to go with a screw-down frame to hold the drives. We have designed two different frames. One holds internal 2.5” hard drives with space between for airflow. This is a single print, which screws down to the floor of the case.
The second frame is a flat plate with slots, into which fit F-shaped shelves. These accommodate different widths and thicknesses of 2.5” external hard drives. The shelves are places around the drive(s) before being lowered into the slots in the plate.
There is enough room above the top drive (unless it’s particularly thick) to pass a rubber band around if you wish to apply tension. This shouldn’t be necessary in most cases. Again, the drives are spaced for airflow.
The hard drive mounting is placed as far forward as possible, leaving plenty of room behind to curl the USB cables around, and, where you can attach the USB power distribution hub. Double sided tape works well for this. We made this flexible again, because different brands of external hard drive have the connections in different places on the back. You can place the power hub where it will not interfere with the USB connections. Incoming power from the SMPS can be laid next to the HDD rack. The SMPS itself mounts out on its own to avoid RF switching noise becoming a problem.
Near this is an empty space. This is for people who are using internal drives and need to mount a SATA to USB converter somewhere. Mounting holes are in all sorts of different locations, and some don’t have any mounting holes. Because of all of this, our recommendation is to use the thick, very sticky, outdoor double sided tape available at hardware stores.
The SMPS unit also has a challenge - it mounts with 2 gauge screws, which are somewhat difficult to get besides a few specialist (read ‘bulk’) suppliers. In order to mount it, we needed to design a clamp system where 4 gauge screws could be used instead. It mounts in a small recess on a raised platform, with screw holes outside this profile.
The Raspberry Pi itself has 3mm mounting holes, and standoffs have been added to the case at the rear corner to enable direct mounting. The Pi PCB mounts close to the rear wall of the case, which has openings to access the HDMI, composite video, and USB Micro-B ports.
The Ethernet connection faces the wrong way to be accessible through the back panel, and as such, a cut-out has been provided at the opposite side of the rear panel. This 2mm-deep recess leaves 1mm of material that will need to be cut with a sharp knife and filed clean if you do need the RJ45 connection. This arrangement ensures the cable has plenty of space to make its 90° bend. Although we intend the device to use Wifi, and the reality is that wifi speeds exceed the available internet performance (actual, rather than specified) in many parts of the country, there are still going to be situations where the ethernet connection is used. You will need to plug in the cable before you attach the lid of the case.
Since the case was now going to be a reasonable size in order to factor in these options and provide flexibility, we decided to make a feature of it and make it look like a DVD player, something some of us have already forgotten even existed. We have a faux drawer moulded into the front, along with a row of four buttons that mount through matching holes. Above these is a hole for a real button, used for power control.
Fan cooling is technically optional, but with the possibility of two hard drives and the ability to overclock the Pi, we felt designing them in was essential. Because we already have an incoming 12V supply, this opened up the options. It also raises the possibility of using commercially available computer fan speed controllers if you want to reduce noise. We used thin 40mm fans, and designed a drop-in housing for them. The airflow passes across the width of the case, avoiding the worst of the heat that often occurs at the back of entertainment equipment cabinets.
This is also why we spaced the hard drive mounting options - air can flow under and over the drives from the side. Note that one fan blows in, and one out. We didn’t add a grille to the fans as a finger guard, as we anticipate the unit being on some sort of shelf with only the front readily accessible. The lack of grille will allow maximum airflow, but if you are concerned, the plastic is soft enough to have holes drilled to screw in one of the metal wire fan guards available from the major electronics retailers.
While we have used quite a lot of 3D printing in DIYODE projects, we’ve never really done any further finishing. While we primed and painted the legs for the supersized LED, this time we’re going a bit further. We’re going to reduce the appearance of the layers of filament, to make the finish closer to the sheet metal of a DVD player. This will need to occur before any assembly.
Start by sanding any rough spots or protrusions. Sharp corners are a problem for many 3D printers, and the ends of our case walls had excessive rounding where the 0.4mm nozzle had tried to make an exact 90° turn on a 3mm thick wall. These need to be sanded down, and wet-and-dry sandpaper is the choice.
Before you start, drill any screw holes that have not printed properly. The lid has 3.5mm holes to clear the 4G screws, while all screw holes in the base are 2mm ID for the same screws to self-tap into. Also carefully drill any support structure left from the button holes in the front of the case if you need to. If these are not round enough, the buttons will not fit.
For those unfamiliar with the sanding process, it is essential to use a sanding block with some elasticity to even out the pressure of your hands and avoid uneven rubbing. Fingers alone aren’t good enough. Most sandling blocks are made from cork. They’re available from hardware stores. We started with 300-grit sandpaper for the really bad parts of the print, then quickly graduated to 600-grit. Grit numbers in abrasive products are the number of abrasive particles per inch. With the majority of shaping and forming done, finish off with 1200-grit paper. Also rub any as-yet unsanded surfaces with this, to help adhesion in the next stage.
To smooth out the surfaces, we used an automotive spray putty. This product is reasonably self-levelling, even on vertical surfaces, and adheres well to plastics. It does this with some pretty harsh chemicals, however, so apply it in a well-ventilated area, and use appropriate personal protective equipment (PPE). Nitrile gloves are best, and you’ll need a face mask. The cheap paper ones will not do the job - the toxic solvents go straight through. Use one of the thick, multi-layer paper ones with a carbon/charcoal layer in them, a valve on the front, and a rating for agrichemicals and paints. Safety glasses are also advisable, as splash-back would be very unpleasant. You will likely need several coats, so follow the manufacturer’s instructions for drying and recoat times.
After the putty has been applied, sand the surfaces again with 1200-grit sandpaper. If there are thick raised spots in the putty, work on it with 600-grit. You may need to add another coat, but sand first to level as much as possible. Once all coats are done, thoroughly clean the surface, and coat with plastic primer. We chose Dupli-Color products again, as we were very impressed with them during the Supersized LED project. Having said that, any automotive plastic primer should work, but make sure it is a plastic primer. If it just says ‘primer’, it’s probably for metal.
With the primer dry, it’s time to apply the colour of choice. We’re using a silver colour, in line with many 90s DVD players, but you can use any colour you choose. Again, automotive paints work best. We used Dupli-Color Nickel, from the Supersized LED. With the finish dry, there is one last detail. The drawer impression on the front face may be less pronounced now. You can highlight it with a technique model builders will know well: A wash was made with thinned acrylic hobby paint. Often black paint is used, and thinned around 1:10 with water. The mix should definitely be transparent.
Using a fine brush, apply this as neatly as you can to the groove representing the drawer. Immediately afterwards, run a dampened cotton tip over the surface to remove any excess and spill. You should now have a very thin black paint applied only in the grove, which makes it look deeper than it is and returns the sense of detail. In the hobby world, this would be sealed with a clear topcoat, but as no further handling will occur, and we aren’t otherwise using a topcoat, we’ll leave this step.
Assemble the USB power distributor first. Cut the USB cables in half, and cut the USB A side to the appropriate length to reach the mounting location. Follow the schematic and Fritzing to connect the D- (white), D+ (green), and GND (black) cables to the board. A couple of holes further along the same row, add the same connections from the Micro-B cable, but remember to add the +5V (red) wire this time.Raspberry Pi Kodi 18
Repeat this for the other USB cable at the end of the SAME row. This creates common power and ground rails. The problem of the USB connections being in parallel is solved by spot drilling to cut the two tracks between the two separate cables, as shown here.Running Kodi On Raspberry Pi
Now, you can add the connections to the Raspberry Pi. We soldered speaker wire from the power rail, and ran it to reach the Pi. We made a double connection for each pole, using PCB pin sockets, and added heatshrink. Finally, we added wires for the power from the SMPS. Parts Required:JaycarAltronicsCore Electronics1 x Raspberry Pi 3B+XC9001Z6302CCE054362 x 40 mm Case Fans (10mm thick)XC5054F0010-1 x 5V 5A Switchmode Power Supply Board--POLOLU-
https://diarynote.indered.space
The Raspberry Pi 3 works good combining with the XBMS or kodi. Ethernet Networks is good than the built in wifi but it will average and also work fine with streaming movies. The Raspberry Pi 3 is such an great thing over Raspberry Pi 2. The Pi 2 also works same with the Kodi but several time it may stop working in between the processes. Tested on Raspbian Buster on a Raspberry Pi 4. Over this past weekend, I finally setup a network share via Samba on my Raspberry Pi with an old external USB hard drive I had laying around. My RetroPie installation already serves up a Samba share - so my goal was to throw an additional folder in there that mounts to an external drive. Raspberry Pi 2/3 probably doesn’t need some of these tweaks to run Kodi really well, but it also won’t hurt anything, if you really want to push things to their limit. Avoid ’heavy’ skins and lots of ’service’ type add-ons that run in the background.
*Posts 1,414
I want to play commercial DVD movies with a Raspberry Pi and a connected USB DVD drive.
I want to play DVD’s with region code 1 and 2 (US and Europe).
I haven’t bought the USB DVD drive yet, because I need to know some facts before.
To buy the right USB DVD drive, I need to know how LibreELEC plays region encoded DVD’s.
a) Does LibreELEC use the region code of the USB DVD drive?
(I need an unlimited change of regions, region encoded DVD drives allow only a limited count of region changes)
b) Or does LibreELEC breaks the DVD-CSS copyright protection (using libdvdcss) to avoid region codes?
(that ignores any region codes from DVD and USB DVD drive, and decodes DVD files without using it)
On case a) I should buy a region free USB DVD drive.
On case b) I have a wider range of region encoded USB DVD drives available on the market.
Thanx for answering!
Da Flex
*Navigation
*Forum
*Options
*Current Location
*User Menu
*Language
*Englishforum.libreelec.tv in the WSC-Connect App on Google Playforum.libreelec.tv in the WSC-Connect App on the App StoreYour browser has JavaScript disabled. If you would like to use all features of this site, it is mandatory to enable JavaScript.
This month, we complete our media centre with hard drive storage, a suitable power supply and 3D printed case.BUILD TIME: 2 Hours (Not including 3d Printing Time)
DIFFICULTY RATING: Intermediate
Having introduced you to Kodi and explained the use of the Raspberry Pi to utilise it, it is time to demonstrate our build for the Media Centre, which contains the power supply, hard drive(s), cooling fans, and our USB power distributor and hard drive interface. We’re also describing how to make the case look a bit less 3D-printed, although deadline pressure meant we didn’t get the finish as smooth as we wanted to - but you can!
The Raspberry Pi series need fairly precise power requirements. If the voltage falls below around 4.8 volts, the Pi will reset. This occurs any time large loads are drawn on a power supply that cannot maintain the current required, and the current available through the USB micro B connection is minimal. The size of the wires involved does not help, and voltage drop can easily occur at larger loads on thinner wires. Additionally, it may be desirable for people to use more than one hard drive. For this reason, a Switch Mode Power Supply (SMPS) board was chosen, which can take a 12V 2.5A input and yield a consistent 5V at 5 amps, although the 12V, 2.5A plugpack we used will allow around 4.7 amps out of the SMPS after efficiencies and losses are accounted for.
Using one HDD from the USB port sometimes generated a low-power warning when running the Pi from its USB micro-B power input. The breakout board presented is constructed on strip prototyping board, and features an input for the SMPS power supply, and pass through for two USB cables. While the original USB standard handles simply parallelling devices, USB 2.0 and USB 3 do not accept this. More interrogation of connected devices goes on in the later standards, and USB hubs have internal circuitry to do so. As such, our design has the data busses connected straight through for each USB connection, with two USB micro cables for two drives, and two USB A cables for connection to two USB ports on the Pi.
There is a common ground for all cables and the power supply, but the +5V wires from the USB A cables (from the USB sockets on the Pi) are left unconnected. The system does not like having 5V externally connected to the USB port on the Pi. Instead, the +5V pins for the drives are connected only to the SMPS. This prevents issues where Drives will power up but not communicate with the Pi, as happens if the +5V from the SMPS is connected to the USB ports on the Pi as well. We have also taken power for the Pi from here. We used speaker wire with PCB Pin sockets to connect to the Pi, and used two GPIO pins each for GND and +5V, to avoid voltage drop on the pin connections.
You can choose to use internal or external 2.5” drives for this project. If you use internal drives, you’ll need a SATA to USB converter. These devices vary wildly, from some clipping to the back of the drives, to others that more resemble add-on modules for Arduino or Raspberry Pi. Not many of these modules that we found are sold within Australia, so another option which we have seen used is to remove the electronics from the case of a retail-purchased SATA to USB converter. This opens up more local sourcing opportunities. In either case, these converters often need 12V DC. We suggest wiring directly to the controlled side of the power switch.
We have used USB 2.0 Micro B cables, while the hard drives are often supplied with USB 3 Micro B cables, which feature an extension to one side. A USB 2.0 Micro B will fit into a USB 3 Micro B socket. The drive will function as a USB 2.0 device, limited to a mere 480MB/s. That’s still fast enough to stream HD video, and we tortured our test rig without failure. The reason we chose this option was the difficulty in working with the USB 3 cables. This standard can function at 5Gbps, but does so with the addition of five more wires: Two for transmission, two for reception, and one common ground. These wires are tiny, and constantly broke while being stripped. They are incredibly delicate to solder, and a total of nine rows of protoboard meant a lot of exposed cable to stretch the distance down the rows to connect all nine. That, in turn, meant a lot of unshielded cable and difficult wire stripping and soldering, for what was ultimately no real-life performance gain.
Note: Some external drives use other connection types. If this is the case, you’ll have to do your best with the supplied cables. These are not common.
Because of this, while you may be willing to challenge yourself with the cable that came with your external drive, we suggest buying two reasonable quality USB 2.0 A to Micro B cables, and cut these in half instead. In either case, you can trim the length as desired to fit well inside the case. The higher quality cables have thicker wires that are easier to work with. Besides that, you can also make up a cable to power the Pi through the GPIO. To do so without voltage drop, do not use plug-and-socket jumper leads. The connections are too poor and the wire too small. We used speaker cable and PCB pin sockets to do the job, and made two connections to each rail so that a total of four pins share the current, not two. We connected these to the GND and +5V rails of our USB power supply board.
We picked up a pair of WD Elements SE Portable 2TB from JB HiFi. To use a SATA HDD, you would need a USB to SATA adaptor.
Connect your HDD to the Pi. Our HDD came formatted as NTFS, which is supported with this build of Linux, so it’s ready to go.
To load the HDD with your own media, assuming this media is on another computer and you’re a Windows user, simply connect the HDD to your PC and copy the media over as Windows supports NTFS. OS X is not able to write to NTFS but there are software packages available that allow you to write to this file system.
An easier and more convenient approach is to transfer the data onto the HDD over your home network using Samba.
To enable Samba on the Pi (if you didn’t already during the setup wizard) from the Kodi dashboard, click on the settings cog then select LibreELECT.
Scroll down to Services and enable Samba
If successful, you should see the media centre on your home network, and you can copy your files across.
The 3D print files are available for download from our website.
Print time / Filament used: 12 hrs, 25.4m
Print time / Filament used: 9 hrs 15 min, 21.5m
Print time / Filament used: 6 min, 0.06m
Print time / Filament used: 3 hrs, 3.8m
Used for internal type 2.5” hard drives. Plate and bracket in one print.
Print time / Filament used: 46 min, 1.8m, 0.25mm, no brim.
The shelves to hold external type hard drives. They mount in the HDD Plate. There are four shelves in the .stl, so you only need to run the print once.
Print time / Filament used: 1 hr 45 min, 4m
Plate to hold the four shelves for external hard drives.
The case was designed with some flexibility in mind. Because hard drive options vary, we decided to go with a screw-down frame to hold the drives. We have designed two different frames. One holds internal 2.5” hard drives with space between for airflow. This is a single print, which screws down to the floor of the case.
The second frame is a flat plate with slots, into which fit F-shaped shelves. These accommodate different widths and thicknesses of 2.5” external hard drives. The shelves are places around the drive(s) before being lowered into the slots in the plate.
There is enough room above the top drive (unless it’s particularly thick) to pass a rubber band around if you wish to apply tension. This shouldn’t be necessary in most cases. Again, the drives are spaced for airflow.
The hard drive mounting is placed as far forward as possible, leaving plenty of room behind to curl the USB cables around, and, where you can attach the USB power distribution hub. Double sided tape works well for this. We made this flexible again, because different brands of external hard drive have the connections in different places on the back. You can place the power hub where it will not interfere with the USB connections. Incoming power from the SMPS can be laid next to the HDD rack. The SMPS itself mounts out on its own to avoid RF switching noise becoming a problem.
Near this is an empty space. This is for people who are using internal drives and need to mount a SATA to USB converter somewhere. Mounting holes are in all sorts of different locations, and some don’t have any mounting holes. Because of all of this, our recommendation is to use the thick, very sticky, outdoor double sided tape available at hardware stores.
The SMPS unit also has a challenge - it mounts with 2 gauge screws, which are somewhat difficult to get besides a few specialist (read ‘bulk’) suppliers. In order to mount it, we needed to design a clamp system where 4 gauge screws could be used instead. It mounts in a small recess on a raised platform, with screw holes outside this profile.
The Raspberry Pi itself has 3mm mounting holes, and standoffs have been added to the case at the rear corner to enable direct mounting. The Pi PCB mounts close to the rear wall of the case, which has openings to access the HDMI, composite video, and USB Micro-B ports.
The Ethernet connection faces the wrong way to be accessible through the back panel, and as such, a cut-out has been provided at the opposite side of the rear panel. This 2mm-deep recess leaves 1mm of material that will need to be cut with a sharp knife and filed clean if you do need the RJ45 connection. This arrangement ensures the cable has plenty of space to make its 90° bend. Although we intend the device to use Wifi, and the reality is that wifi speeds exceed the available internet performance (actual, rather than specified) in many parts of the country, there are still going to be situations where the ethernet connection is used. You will need to plug in the cable before you attach the lid of the case.
Since the case was now going to be a reasonable size in order to factor in these options and provide flexibility, we decided to make a feature of it and make it look like a DVD player, something some of us have already forgotten even existed. We have a faux drawer moulded into the front, along with a row of four buttons that mount through matching holes. Above these is a hole for a real button, used for power control.
Fan cooling is technically optional, but with the possibility of two hard drives and the ability to overclock the Pi, we felt designing them in was essential. Because we already have an incoming 12V supply, this opened up the options. It also raises the possibility of using commercially available computer fan speed controllers if you want to reduce noise. We used thin 40mm fans, and designed a drop-in housing for them. The airflow passes across the width of the case, avoiding the worst of the heat that often occurs at the back of entertainment equipment cabinets.
This is also why we spaced the hard drive mounting options - air can flow under and over the drives from the side. Note that one fan blows in, and one out. We didn’t add a grille to the fans as a finger guard, as we anticipate the unit being on some sort of shelf with only the front readily accessible. The lack of grille will allow maximum airflow, but if you are concerned, the plastic is soft enough to have holes drilled to screw in one of the metal wire fan guards available from the major electronics retailers.
While we have used quite a lot of 3D printing in DIYODE projects, we’ve never really done any further finishing. While we primed and painted the legs for the supersized LED, this time we’re going a bit further. We’re going to reduce the appearance of the layers of filament, to make the finish closer to the sheet metal of a DVD player. This will need to occur before any assembly.
Start by sanding any rough spots or protrusions. Sharp corners are a problem for many 3D printers, and the ends of our case walls had excessive rounding where the 0.4mm nozzle had tried to make an exact 90° turn on a 3mm thick wall. These need to be sanded down, and wet-and-dry sandpaper is the choice.
Before you start, drill any screw holes that have not printed properly. The lid has 3.5mm holes to clear the 4G screws, while all screw holes in the base are 2mm ID for the same screws to self-tap into. Also carefully drill any support structure left from the button holes in the front of the case if you need to. If these are not round enough, the buttons will not fit.
For those unfamiliar with the sanding process, it is essential to use a sanding block with some elasticity to even out the pressure of your hands and avoid uneven rubbing. Fingers alone aren’t good enough. Most sandling blocks are made from cork. They’re available from hardware stores. We started with 300-grit sandpaper for the really bad parts of the print, then quickly graduated to 600-grit. Grit numbers in abrasive products are the number of abrasive particles per inch. With the majority of shaping and forming done, finish off with 1200-grit paper. Also rub any as-yet unsanded surfaces with this, to help adhesion in the next stage.
To smooth out the surfaces, we used an automotive spray putty. This product is reasonably self-levelling, even on vertical surfaces, and adheres well to plastics. It does this with some pretty harsh chemicals, however, so apply it in a well-ventilated area, and use appropriate personal protective equipment (PPE). Nitrile gloves are best, and you’ll need a face mask. The cheap paper ones will not do the job - the toxic solvents go straight through. Use one of the thick, multi-layer paper ones with a carbon/charcoal layer in them, a valve on the front, and a rating for agrichemicals and paints. Safety glasses are also advisable, as splash-back would be very unpleasant. You will likely need several coats, so follow the manufacturer’s instructions for drying and recoat times.
After the putty has been applied, sand the surfaces again with 1200-grit sandpaper. If there are thick raised spots in the putty, work on it with 600-grit. You may need to add another coat, but sand first to level as much as possible. Once all coats are done, thoroughly clean the surface, and coat with plastic primer. We chose Dupli-Color products again, as we were very impressed with them during the Supersized LED project. Having said that, any automotive plastic primer should work, but make sure it is a plastic primer. If it just says ‘primer’, it’s probably for metal.
With the primer dry, it’s time to apply the colour of choice. We’re using a silver colour, in line with many 90s DVD players, but you can use any colour you choose. Again, automotive paints work best. We used Dupli-Color Nickel, from the Supersized LED. With the finish dry, there is one last detail. The drawer impression on the front face may be less pronounced now. You can highlight it with a technique model builders will know well: A wash was made with thinned acrylic hobby paint. Often black paint is used, and thinned around 1:10 with water. The mix should definitely be transparent.
Using a fine brush, apply this as neatly as you can to the groove representing the drawer. Immediately afterwards, run a dampened cotton tip over the surface to remove any excess and spill. You should now have a very thin black paint applied only in the grove, which makes it look deeper than it is and returns the sense of detail. In the hobby world, this would be sealed with a clear topcoat, but as no further handling will occur, and we aren’t otherwise using a topcoat, we’ll leave this step.
Assemble the USB power distributor first. Cut the USB cables in half, and cut the USB A side to the appropriate length to reach the mounting location. Follow the schematic and Fritzing to connect the D- (white), D+ (green), and GND (black) cables to the board. A couple of holes further along the same row, add the same connections from the Micro-B cable, but remember to add the +5V (red) wire this time.Raspberry Pi Kodi 18
Repeat this for the other USB cable at the end of the SAME row. This creates common power and ground rails. The problem of the USB connections being in parallel is solved by spot drilling to cut the two tracks between the two separate cables, as shown here.Running Kodi On Raspberry Pi
Now, you can add the connections to the Raspberry Pi. We soldered speaker wire from the power rail, and ran it to reach the Pi. We made a double connection for each pole, using PCB pin sockets, and added heatshrink. Finally, we added wires for the power from the SMPS. Parts Required:JaycarAltronicsCore Electronics1 x Raspberry Pi 3B+XC9001Z6302CCE054362 x 40 mm Case Fans (10mm thick)XC5054F0010-1 x 5V 5A Switchmode Power Supply Board--POLOLU-
https://diarynote.indered.space
コメント