Community
OpenEnergyMonitor

Community

USB OTG to Serial comms, emonTx etc

uart
iphone
serialconfig
android
Tags: #<Tag:0x00007f8809ce6970> #<Tag:0x00007f8809ce6830> #<Tag:0x00007f8809ce66f0> #<Tag:0x00007f8809ce65b0>
(Daniel Bates) #1

Here’s an idea. Setup and Calibrate an emonTx by sending commands over serial like this:

Here’s the app I’m using.

Could be super useful for on-site debugging and setup.

3 Likes
(Brian Orpin) #2

Does look good. Would you care to expand on the setup and how it might be employed. Could it be used to flash a new image for instance?

(Daniel Bates) #3

I wondered the same.

Last year I looked into it and there are experimental firmware flashing projects using android phones. I haven’t looked since.

The reason I looked into this originally was because I was carrying a 15" chunk of laptop for commissioning 3 setups in a short space of time, and guessed somebody had done something lighter and easier with an otg adaptor.

I got the on-the-go adaptor pictured for £1.50 delivered, ebay.

(Glyn Hudson) #5

It looks like this could be possible using:

1 Like
(Daniel Bates) #6

and another for ESP8266, nice.

. https://play.google.com/store/apps/details?id=com.bluino.esploader

1 Like
(Claudio A. Heckler) #7

Ok, slightly off-topic, but the image brought back memories from a time before smartphones, when I used a Palm Pilot as a serial terminal to interface with things like a Kantronics packet radio modem used as an APRS digipeater …

The photo below is from the same timeframe; this was the Palm being used to configure a TinyTrak PIC-based mobile beacon, via its serial interface … (sorry for the messy cables, it hurts my eye to look at it now)

(Daniel Bates) #8

It looks like the software running there is a proper configuration tool dedicated to the firmware running on the modem. Interesting…

(Claudio A. Heckler) #9

It is! (or rather, “was”)

That piece of kit it a TinyTrak, a PIC-based APRS position beacon, and the software being used to configure it was pTTconfig.

Back in those days I’d run a system that consisted of a digipeater running on a Kamtronics packet-radio modem, sitting on the top of a hill, and an internet bridge/gateway on my home. This would allow trackers such as this TinyTrak to be heard and have their position reports captured/posted in a radius of about 50Km from the repeater’s antenna. That digipeater would mesh with others run by local hams, to form a larger network.

Although that piece of software is purpose-built, what trigger my memory was the fact that I used the same Palm Pilot to interface with the Kamtronics packet-radio mode, and that was a line-oriented command interface over a serial link - but of that setup I have no surviving picture, unfortunately.

(Bill Thomson) #10

Hi Claudio,

Not trying to hijack the thread. Just thought I’d say hello to a fellow Ham.
Brings back some good memories. I’ve got a TT and a KPC-3 too.

73,

Bill KR6K

1 Like