News:

Printed Amstrad Addict magazine announced, check it out here!

Main Menu

Arduino and CPC

Started by samas, 14:56, 19 December 11

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

samas

Hello to everyone.

Is it possible connect arduino board and amstrad cpc through extension port ?

example : I want tranfer one or more variables from arduino (analog input) to cpc , then processing  with BASIC and sent back to arduino in variable ?
If is it possible , it will gives to AMSTRAD new dimension to future . :D

Bryce

Yes, you could connect an arduino (8 bit digital connection) to the expansion port through an address decoded bidirectional tri-state buffer circuit. CPC (other than the plus) doesn't have any analogue inputs, so you would have to send it digitally.

Bryce.

MacDeath

#2
I have an Arduino Mega board, a "small" one.
But one who have the right Voltage range to be connected to an Amstrad..

it has a lot of digital pins and also "Analog" pins, and From what I heard, those analog pins can also be used as digital pins.

My original aim was to try to get an "internet solution" with this, As I also have the Ethernet/TCP-IP/memory card "shield"...

Also the Ethernet shield doesn't enable to read card and use the ethernet at the same time (would need proper timing and protocols and interruption or whatever...)




The main problem I may encounter is that such device is quite limited in  internal RAM so the programamtion may not be that "open bar"...
And being something like 16mhz... it is not like we are that much overclocked compaired to the CPC.

Also the extension port from the Amstrad may have some severe limitations too I guess.



But the Ethernet shield is supplied with a good TCP/IP/protocol library...
Yet it is quite a lot of work to get this used on a CPC/PLUS.

Would need a good "protocol" management, perhaps additionnal RAM for the Arduino, some timings may be quite delicate, and a proper "browser" or OS or applications or simply programs are to be done for the Amstrad AND the Arduino... and even some stuff to get an "Amstrad Friendly" server (and websites ?)...

From what I saw at Arduino's site/forum, you can also get this Arduino mega to emulate a SID soundchip (or perhaps even an additionnal AY soundchip then, so you have 2x3 sound channels...)...This would certainly only need a proper cabling and perhaps a little "audio shield" so you can connect the audio out from the Amstrad and mix it with the additionnal soundchip and get a new mixed Audio out.

But you can also just get the audio out from the additionnal Soundchip only and mix them with a simple soundsystem/mixing table... or just plug PC-speakers on it while the Amstrad would use its normal speaker (monitors ones for a PLUS) and then have a quadriphonic ensemble.



But I have to learn code before all this... ;D


Anyway I would be happy if someone who use his Arduino with his Amstrad would share his various stuff...
A good Amstrad oriented library for those sweet cards could be awesome, I mean, it is basically a "universal" extension and actually easy to find, many Amstrad Hobbyist do have such sort of cards...




Anyway I really wonder why we still have no library for some stuff with Arduino (or whatever other brands) for the Amstrad...


I mean, you guys german Hobbyist are a lot into this... but still prefer to kustomdesign stuffs...

Also, you could perhaps simply design Amstrad friendly "shields" for such Arduino cards too...

Nicolas Lecoq

@MacDeath
8)
Hello have you any informations about Arduino, CPC and ethernet connexion?


cheers
:-*


bmw

MacDeath

nope, and this topic is really old by now...  :'(

Powered by SMFPacks Menu Editor Mod