Re: [Amforth] Serial interface at 115200 BAUD on Arduino Mega 2560

2019-03-15 Thread Fred Zelders
Tristan, I found an article about step-down en step-up levelers @ https://hackaday.com/2016/12/05/taking-it-to-another-level-making-3-3v-and-5v-logic-communicate-with-level-shifters/

Re: [Amforth] Serial interface at 115200 BAUD on Arduino Mega 2560

2019-03-15 Thread Fred Zelders
Thanks Tristan! I'll let you know if I managed to read/write to the DSO112A with AmForth Fred > Op 15 mrt. 2019, om 13:37 heeft Tristan Williams het > volgende geschreven: > > Fred > >> I don't have (and can't find) the data sheet that is referred to. >> Do you have that datasheet? Can I ha

Re: [Amforth] Serial interface at 115200 BAUD on Arduino Mega 2560

2019-03-15 Thread Tristan Williams
Fred > I don't have (and can't find) the data sheet that is referred to. > Do you have that datasheet? Can I have a copy? (PDF?) https://www.microchip.com/wwwproducts/en/ATmega2560 I made two changes #16 UBRR1 ! \ change to this - change 1 %10 UCSR1A bm-set \ add li

Re: [Amforth] Serial interface at 115200 BAUD on Arduino Mega 2560

2019-03-15 Thread f.zelders--- via Amforth-devel
Tristan, I like the DSO112A very much. The fact that this device can be controlled by a processor/computer makes it even more useful. I managed to 'communicate' in Python on my MacBookAIr with the DSO112A via USB (using the CP2102 driver that can be downloaded from www.silabs.com

Re: [Amforth] Serial interface at 115200 BAUD on Arduino Mega 2560

2019-03-14 Thread Tristan Williams
Fred, Many thanks. I have a DSO112A so I was interested in what you are looking to do. > One of the connectors is a alternative UART. It is a LVTTL connection. > I want to connect the Arduino uart1 (TXD1/RXD1) to this connector (J11). I think LVTTL is ~3.3V levels rather than the 5V levels of th

Re: [Amforth] Serial interface at 115200 BAUD on Arduino Mega 2560

2019-03-14 Thread f.zelders--- via Amforth-devel
Tristan, The DSO112A can be used in two ways: a) as a stand alone mini scope and b) as a module that can be integrated to user’s systems. Therefore on the DSO112A system board several connectors are provided. One of the connectors is a alternative UART. It is a LVTTL connection. I want to con

Re: [Amforth] Serial interface at 115200 BAUD on Arduino Mega 2560

2019-03-14 Thread Tristan Williams
Hi Fred, How are you proposing to connect the DSO112A to the Arduino Mega2560 ? Best wishes, Tristan On 14Mar19 12:43, f.zelders--- via Amforth-devel wrote: > > Hello! > > I want to connect a DSO112A mini oscilloscope to UART1 of my Arduino Mega > 2560 . > The DSO112A uart only supports 11

[Amforth] Serial interface at 115200 BAUD on Arduino Mega 2560

2019-03-14 Thread f.zelders--- via Amforth-devel
Hello! I want to connect a DSO112A mini oscilloscope to UART1 of my Arduino Mega 2560 . The DSO112A uart only supports 115200 BAUD. So not at other baud rates. How to I initialize uart1 (UBBR1, UCSR1B and UCSR1C) in order to communicate via uart1 at 115200 BAUD? Hope someone can help. Much