Another (winter) new project

Nope, unfortunately not finished! It's as is. We all know that real life can alter one's schedule. That's what it did to me. Shortly after my last posts i went through a divorce, then me mum passed away, health problems, second marriage, grand-daughter, and to finish it all up.... capital controls!
One of the reasons (actually main reason) i'm not yet fully back to speed is capital control. We're not allowed to spend currency outside the country for quite some time now. Which means i can't order stuff either through ebay, or purchase stuff here. Only backdoor solution to that is if i can sell stuff and keep my prepaid card 'loaded'. That's the only reason i've been trying to sell things here, as much as i hate to. All my projects are at near halt now, except the cockpit, and i'm a bit lucky on that because lots of parts are scratch-built. I've been planning to replace the original Pi on this project with the 3rd generation Pi, but you see that's near impossible... Thus, if things change, maybe i'll get back to it. :)
 
After quite some time of being in a pause, this project has started again... I managed to get me a Pi3, and here's some things i've been doing:
Got me a plastic basket... :blink:
basket_1_zps6phtwigd.jpg

Color near matches the case.
Cut part of it:
basket_2_zpswtezjqry.jpg

Had to build a frame, due to monitor being smaller than the old monochrome LCD.
basket_3_zpsc6z1bnxb.jpg


basket_4_zpswy5iged1.jpg

Some trimming will be required, but not in a rush.
Here's the 7" monitor:


amscreen_1_zps4csfmcyh.jpg


And here's a rough idear of how it will be installed:
amscreen_3_zpsjqlwj2bg.jpg


Next, i had to remove the original pushbuttons, and install ones with a longer lever.
amscreen_4_zpshz6chi6j.jpg


And drill holes for them:
amscreen_5_zpspi81abky.jpg


amscreen_6_zpsonziqcvv.jpg


amscreen_7_zpsgcs2sfcx.jpg


And that's just about it for the time being! I've got me two MicroSD's, one for a Retropie installation, and one for an AmiBerry installation. Both environments seem to be working a-OK. I also purchased a USB floppy drive, which i hope to be using for loading .adf images in AmiBerry. Just for retrolicious feeling's sakes. Plus i got me a new microSD extension cable, so i can exchange cards externally. :)
 
Last edited:
Here's another update. I just now finished installing the display into the frame, and did a power-on test.
amscreen_8_zpsquz8cssg.jpg


amscreen_9_zpsec0gdxec.jpg


amscreen_10_zpsdmwfo5aq.jpg


The monitor needs a little trimming of its position to the right, but that's a piece o' cake.
 
Last edited:
Done testing the Pi with the monitor. Pictures are from both environments: RetroPie, and AmiBerry.

amscreen_11_zpswldhr2yo.jpg


amscreen_13_zpsjg6tybqs.jpg


amscreen_16_zpsoqrmixr1.jpg


amscreen_12_zpsebz2fiuf.jpg


amscreen_15_zpsz4acmflb.jpg
 
Last edited:
Not much news on this project, but i have a question: can anyone suggest a proper switch that would allow me to switch between two power sources on the Pi? I need to be able to switch between the actual power supply and the solar panel. This means i need a switch that can open and close two sets of 4 contacts, preferably a slide switch, of the ON/OFF/ON or ON/ON nature. I've seen some, but could find no schematics..
 
Some progress reported on the keyboard. First, i tested Leds to see that the pcb is operational:

Amstrad_A1_zpsipk71i0d.jpg


I then drilled three holes on the casing for the Caps, Num and Scroll Lock indications:

Amstrad_A2_zpspxpozodj.jpg


Next, Leds were soldered to the pcb:

Amstrad_A3_zps0tt84gqo.jpg


All Leds working!

Amstrad_A4_zpsevbgkzej.jpg


And here's the keyboard in all its glory:

Amstrad_A5_zps6jba2qoh.jpg


Tested on the Pi, and it works A-ok.
 
Last edited:
And another small progress. Built a pcb for the Ethernet extension.

Amstrad_A6_zpszwp5rlhd.jpg


Amstrad_A7_zpsujxljuf4.jpg


Amstrad_A8_zpspeluzhiq.jpg


Then put some spacers for securing the Pi:

Amstrad_A9_zpshkkg4bvm.jpg


Amstrad_A10_zpscv8ssopw.jpg


Last, i cut some plastic for fascia to cover the Ethernet socket:

Amstrad_A11_zpsdizwhttk.jpg


Amstrad_A12_zpscgaksyke.jpg


Amstrad_A13_zpskohmvmw8.jpg


Amstrad_A14_zpsiwyuziuj.jpg


And that's just about it for now..
 
Last edited:
Did some cleaning on the plastics, and some partial assembly. This is the result so far:

Amstrad_A15_zpssip445lp_1.jpg


Amstrad_A16_zpsqzvg9uql.jpg


Amstrad_A17_zpsxkimmxba.jpg


Amstrad_A18_zps2xsszrpo.jpg


I have ordered some stuff, and am waiting for their arrival. Things include a stepup transformer for 5vdc to 12vdc (monitor supply), a low-power audio amp for installation of speaker out from the Pi, and various bits n' bobs.
 
Last edited:
The powered USB hub i had, was disassembled, exposing its pcb:

Amstrad_A19_zpssrspzhzf.jpg


Amstrad_A20_zpskr4xfro6.jpg


Then i cut some plastic for fascia:

Amstrad_A21_zpsc82gkwwx.jpg


Amstrad_A22_zpspxlixcd1.jpg


And made a wooden base with vertical stop at the rear to prevent the pcb from moving when USB cables are inserted:

Amstrad_A23_zpsigyznzdv.jpg


Amstrad_A24_zpswoalfdv5.jpg


Here's what it looks like now, but plastic will be cut in height:

Amstrad_A25_zpsf1piy80q.jpg
 
Last edited:
I know it's been a rather long time, but i haven't quit on this project. Lots of progress so far. First of all, it gave me a real hard time to transfer various files from Photobucket over to Postimg. Anyway, i have initially used the composite display, but i was not much satisfied of the results. Here's some examples:

Amstrad_A30_zpstatujnnk.jpg


amscreen_11_zpswldhr2yo.jpg


amscreen_12_zpsebz2fiuf.jpg


amscreen_13_zpsjg6tybqs.jpg


amscreen_16_zpsoqrmixr1.jpg


amscreen_14_zpsf6rke3hf.jpg


Amstrad_A32_zpshdxmelbn.jpg


Although it's much better than watching on a crt with an A520 modulator, it really looks so due to screen size. There's ghosting, and when in 'terminal' mode on the Pi, you can have a hard time reading text.
Thus, i made a big decision and purchased an HDMI panel, same size, with a HDMI/VGA/AV controller. I removed the old panel and controller, and replaced them with the new gear.
Here's the controller, sitting under the display frame, inside the case of the laptop. I'll figure a way to secure it even better than with a thermal glue soon.

AMPPC85.jpg


And this is the new display in place:

AMPPC86.jpg


It needs a slight repositioning rotation to the left by a degree or so. :

AMPPC87.jpg


The marks on the display are from the protective membrane it came with, no damage to the actual screen. But you can see that the image is WAY better, and pleasantly readable!
Here's Deluxe Paint menu on closeup:

AMPPC88.jpg


I can assure you that my phone camera isn't doing it justice. Another thing i was worried about was the positioning of the displays' controller. But that's the only place it could be located due to its ribbon cable. The Pi is actually just under it when the case is closed. Here's the situation:

AMPPC89.jpg


Luckily, the two boards have a gap of about 5 mms between them, and they would've have even more if i hadn't attached the heat sinks on the Pi. Well, that's all for now!
 
Some more progress on this, i forgot to mention yesterday. I got me an audio amp, to connect to the Pi's audio out, driving two 4cm 8Ωm speakers.
Here's the circuit:

Amstrad_A35_zpsif01vgrn.jpg


I removed the volume knob, and after some filing, fitted the original Amstrad volume knob on the pot.

Amstrad_A36_zpsjq9nkl2t.jpg


Then cut a piece of pcb, to replace the existing pcb:

Amstrad_A37_zpsih6ineci.jpg


and drilled it to let the pot shaft go through.

Amstrad_A38_zpspuqwk95h.jpg


Afterwards i desoldered the pot from the circuit, and made some extension cabling to make room for the pot:

Amstrad_A39_zpswe8fo4pi.jpg


Amstrad_A40_zpshys8jxdo.jpg


Amstrad_A41_zpsrlpwzfj4.jpg


I also got me a Pi PowerPack, which includes a 3.7V 3800 mAh battery and a charging circuit.

AMSTRAD_A42.jpg


AMSTRAD_A43.jpg


Makers say it gives about 8 hrs of operation to the Pi, but people witnessed even up to 10 hours, depending on usage (wifi, peripherals etc.). Combined with a display panel it makes about 3 hours, but i'd be happy if i get even 2 hours! LOL. It's supposed to charge even when the Pi is operational. We'll see about that.
 
Last edited:
Some more progress on the project! Last night i managed to test using the battery pack with the whole gear. Here's the machine with its guts out, working for around half an hour on battery power:

AMPPC91.jpg


I also tested the audio amp circuit, but it outputs a very low volume signal, dunno why yet.

AMPPC93.jpg


Maybe there's a default (?) volume level on the DietPi OS, i have to find out what gives with that..
Next thing i noticed is the yellow thunder icon on the screen. After searching a bit, i found out that it's not a battery-mode indication, but a low power signal for the Pi.
Truth is, the battery was used as it came out of the package, without a charge yet. I will charge it fully and see again. But maybe it's a sign that using the Pi, LCD and audio amp all together draws too much current. We'll see, but the fact that this gear worked together for half an hour already, is a plus.

AMPPC92.jpg


Stay tuned! :)
 
Last edited:
Started drilling the case's side for the second speaker's grill:
AMPPC94.jpg


Also cut a slot for the microSD reader extension:

AMPPC95.jpg


I also built a small pcb to host the microUSB female port for the AC adapter:

AMPPC100.jpg


Felt like popping my eyes out to solder this, and after completion (better late than ever) came up with a thought: What if there is already a solution out there?
And there was! So i decided to get this:

AMPPC96.jpg


Here you can see the microUSB power receptacle, the composite video in, and the ethernet port:

AMPPC97.jpg


And an outside view:

AMPPC98.jpg


After having successfully tested the subsystems, i need to tidy up the cabling:

AMPPC99.jpg


But there's still a lot of work involved..
 
Last edited:
Next up, i wanted to save some space and gain flexibility all around, thinking that when i have to split open the case, the cables need a means of fastening-disconnecting. Here's the monitor control pcb that carries the buttons and led. I first removed the plastic connector:

AMPPC101.jpg


Then split the cable in two parts that connect by means of a DIN-9 connector:

AMPPC102.jpg


AMPPC103.jpg


I also replaced the microswitches with ones that have a longer shaft. That was needed because the original ones were very short for the case.

AMPPC104.jpg


And last, i placed another gray plastic sheet on the case opening, so i could secure the pcb there:

AMPPC106.jpg


Also started tidying up the cables inside the case.

AMPPC105.jpg
 
Last edited:
Had someone over at geekhacks trying to do the same thing, who suggested replacing the Lenovo keyboards' plate with the original Amstrad, and keep the USB circuitry and membranes. Thus, i tried it. I first cut part of the right corner, for the plate to fit next to the controller pcb:

AMPPC110.jpg


Looks to fit real nice.

AMPPC108.jpg


AMPPC107.jpg


However, the Amstrad keyboard is very different from the Lenovo one, because the latter has plenty of additional keys! Also, Alt Space and Enter do not fall on the correct contacts. Thus, the swap is canceled. Maybe i'll be lucky enough someday, and find similar keycaps, but no harm done..

Next up, i decided to install an HDMI splitter circuit. I just might use the onboard monitor for other inputs. So, i transferred the LEDs and switch from the device to a small pcb. Actually, the switch is a different one with a gray button to match the case batter.

AMPPC111.jpg


AMPPC112.jpg


Placed the splitter in the case. The white flat ribbon cable is the microSD extension.

AMPPC114.jpg


This is how the side of the machine looks now:

AMPPC115.jpg


Was looking for a gray dossier, but could only find a black one. I cut a strip from it:

AMPPC116.jpg


AMPPC117.jpg

I wanted to make the screen frame look nicer, covering the ex-button holes.

AMPPC118.jpg


Here's the before and after comparison:

before_after1.jpg


Dare i say it looks sexier?

- - - Updated - - -

Also got me some rectangular LEDs, to place in the original sockets:

AMPPC120.jpg


However, the led sockets aren't the same size for all indicators..

AMPPC122.jpg


So i made a small pcb adding two regular LEDs inbetween.

AMPPC121.jpg


AMPPC123.jpg


Also added resistors to protect the Pi:

AMPPC124.jpg


And finally fastened the whole thing in position.

AMPPC125.jpg
 
Last edited:
Love it !! :) Keep up that good work.

That little audio amplifier - is it a class D chip amp ? If not - well it should be ! The class D ones have much lower current consumption, and usually have a "sleep mode" that makes the crrent consumption drop to micro-amps. The class D ones (can't remember the chip numbers now, but one is PAMXXXX) can be had for loose change from China .... and work really very well.

The battery - is that a tiny PCB mounted on it ? If so - that'll be a BMS circuit - to stop over-charging and cut-off when voltage gets too low - usually between 2.5 - 3V .
Ideally those lithium batteries should be stored (if not in use for a while) at about 50% capacity = about 3.75-3.8 V
 
@slaz: Thanks for your comments and suggestions! The audio amp's description is DC1.8-12V TDA2822M Amplifier Module 2.0 Channel Stereo. I highly doubt it's a class D one, but surely worth some pocket change. Will consider the class D circuits though, the less current, the better!
The battery pack is the blue pcb, having the lipo underneath it. It supposedly has a charging logic, and can operate simultaneously with the AC adapter. All tests have been conducted with no charge at all, exactly as i unboxed it. I have still not charged it even once LOL.
 
Have a look here ...

https://www.ebay.co.uk/itm/2x3W-Min...hash=item36192051a1:m:me6baAB_vg6dbydVOWfNM0w

There's a few variants e.g. with/without POT etc. Also other variants of PAM chip.
Looks like your TDA2822M amplifier is class AB - so certainly less power-efficient.

Oh yeah ... in case you're not au fait .... Lithium cells (well certainly LiON and LiPO) need a 2-phase charge cycle - first comes the constant current phase - until the charge voltage reaches 4.2V - then goes to constant voltage phase - stays at 4.2V with diminishing current until battery is deemed to be "full".
 
Last edited:
I have ordered a class D amp with pot, it's waiting time now.. Did a test with cables on the GPIO, to see if the Power indicator would light.

AMPPC127.jpg


Seems to be ok so far, next time around i will have to test the Act indicator, but that seems to require some script to enable.

AMPPC128.jpg
 
Last edited:
Does anyone have any experience with USB floppy drives on the Pi3? I've been using the AmiBerry environment based on the DietPi OS, and when i go to the .adf menu trying to load an adf image from floppy, the drive light goes on, and the system gets stuck. Of course the diskette is pc-formatted, and i highly doubt it's a power issue, because its behaviour is the same with or without extra peripherals on the Pi. The psu is the original 2.5A.
 
Back
Top Bottom