Skip to main content
Home Forums 68kMLA Macintosh SE/30 controlling LED using Arduino via serial — #9
Post #9 by ande765a
Source Forum68kMLA
Category68k
Post DateSat, 6 Dec 2014 - 17:04
Original URLhttps://68kmla.org/bb/threads/macintosh-se-30-controlling-led-using-arduino-via-serial.774/
Post
How you did it? What software you used? What were the settings to connect to the Arduino? Input information! Knowledge is power!

I know that the Arduinos use USB, so how was that hooked up to the SE/30 Serial Port? Secondly, I a couple of Arduino Mini's (Chinese clones) that does not have USB but they do have a 6 prong serial port (2 prongs is for voltage to turn it on). I would like to get these going on a Mac 68K/PPC.

"How you did it?"

I just connected the TX, RX and ground pins from the Macintosh printercable to the arduino with a max232 chip in between to do the ttl <-> rs232 conversation. But with TX going to RX and RX going to TX. The arduino was just running a program I wrote to interpret commands from the serial connection to switch pins on and off. I can upload the source on github if you want, but the code is really not something to brag about. 

"What software you used?"

On the Macintosh I used ZTerm to connect to the serial interface with baudrate 9600 as bigmessowires suggested.

I think it would be cool being able to actually program the arduino from the macintosh, but would require building the avr-gcc compiler for the macintosh :)

mp.ls