Connecting the Core to the Arduino Nano

@Domino, read my comment on kickstarter concerning this forum and the need for beginner tutorials.

I ordered three extra Cores… Now is see in the Core pinout http://domino.io/docs/hardware/src/Domino-Core-Pinout.pdf that tx/rx of the UART is directly beside the power supply and the 150mA 3.3 Volt (= 0.5 Watt) of the Arduino Nano should be able to power the Core.
As i will need anlaog Inputs anyway, easiest way to work with the Core might be soldering a ribbon cable to Core pins 20 to 25 (rx,tx,gnd,2.5V ref,3.3V Flash in, 3.3V Core in) and a male header for the Nano-side.
I think, UART communicaton is done by pulling high to low. Therefore, a nice 3mm led for Core-rx should block the 5V Nano-tx yet allowing the Nano to communicate with the Core (i do that with the ESP82665-05). Don’t yet know to turn the 2.5Volt Core-tx into the 5Volt Nano-rx. Maybe a 2Volt Zener-Diode might do - ideas welcome.

The Luci webconsole is written in Lua, so Lua should be fine to code IoT. The NodeMCU examples might work out of the box !

Sending a message to serial port of openWRT using Lua:

Coding the serial communicaton on the Arduino side with “Serial.begin(9600);” and “Serial.print(…)” as well as “Serial.available()” should be no problem.

Ssh from Xubunto to the Domino Pi (both my laptop and the Pi are connected my Android hotspot):

verlierer@ewigerWinter:~$ ssh root@192.168.43.86
root@192.168.43.86's password: 

BusyBox v1.22.1 (2015-06-12 16:41:57 HKT) built-in shell (ash)
Enter 'help' for a list of built-in commands.
              _____                        _                 
             |  __ \                      (_)                
             | |  | |   ___    _ __ ___    _   _ __     ___  
             | |  | |  / _ \  | '_ 

_ \ | | | '_ \ / _ \
| || | | () | | | | | | | | | | | | | | () |
|
/ _/ || || || || || || __/
OpenWrt Wireless Freedom
root@domino:/# cd /dev
root@domino:/dev# ls tty*
tty ttyS0 ttyS10 ttyS12 ttyS14 ttyS2 ttyS4 ttyS6 ttyS8
ttyATH0 ttyS1 ttyS11 ttyS13 ttyS15 ttyS3 ttyS5 ttyS7 ttyS9
root@domino:/dev# lua
Lua 5.1.5 Copyright (C) 1994-2012 Lua.org, PUC-Rio (double int32)
> io.output(“/dev/ttyS0”)
> io.write(“losing liberates\r”)
> os.exit()
root@domino:/dev#
`

I could connect my DSONanoV2 - (Pocket-Sized Digital Oscilloscope) to the Core-TX and try all the possible ttys.

But someone might like to help me :slight_smile:

Roland
the born loser
you either lose… or fail !