I had to use some wiring to make it fit into my Arduino Genuino 101 board, and I am using the zephyr.js project to output to the serial console which I access using "watch screen /dev/ttyUSB0 115200". However, when I use this command, despite my program working (I can see that from the Leds on the board flashing in a pattern I programmed it), no console output is shown.
The white wire connects to RX, the green to TX and black (blue extension lead) connects to GND, as advised in the documentation of the cable on Amazon. However, no output is shown, does anyone have any idea what's going wrong?
Further info, this is what happens when I do statserial /dev/ttyUSB0
Signal Pin Pin Direction Status Full
Name (25) (9) (computer) Name
FG 1 - - - Frame Ground
TxD 2 3 out - Transmit Data
RxD 3 2 in - Receive Data
RTS 4 7 out 1 Request To Send
CTS 5 8 in 1 Clear To Send
DSR 6 6 in 1 Data Set Ready
GND 7 5 - - Signal Ground
DCD 8 1 in 1 Data Carrier Detect
DTR 20 4 out 1 Data Terminal Ready
RI 22 9 in 1 Ring Indicator
Is there no detection at all of any of the pins I've wired it to?
it's that with a console.log("hello"); added in the timer code. The LEDs activate every second as per the program, if there was some sort of runtime error then my program wouldn't run. My problem is that I can't see the console output.
Sorry I didn't realise you were not using a real Arduino, you just have an emulated one.
I will ask the moderators to move it into the Arduino 101 ghetto.
I don't know - given the events across the Atlantic, the book is back on the bestseller lists.
Trump thinks it's an instruction manual, not a work of fiction.
@Discordia, you are following this instruction, right? statserial reports also the internal signals so it's not that useful stty -F /dev/ttyUSB0 should tell you the baud rate (most common error) and eventually echo settings (which must be disabled).
To debug the cabling issue, first check that the converter you bought is ok, so open minicom (or putty) , connect TX to RX (NOT on the board, only the cables) and type some characters. If echo is off, you should see your keystrokes on the shell.
If it works, just connect GND (black?) to 101's GND, 3V3 (red?) to 3.3V, RX to 101's TX and TX to 101's RX -> not a type, you really need to swap them and it should be ok. Configure the serial port @ 115200 and you are done