Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 07-02-2012, 02:21 PM   #1
bax21
Junior Member
bax21 began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jul 2012
Device: Kindle Touch
Feasibility of Kindle as a Serial Terminal?

Given that a Kindle touch has a serial port, is it possible to use it to talk to a microcontroller?
bax21 is offline   Reply With Quote
Old 07-02-2012, 04:08 PM   #2
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
Quote:
Originally Posted by bax21 View Post
Given that a Kindle touch has a serial port, is it possible to use it to talk to a microcontroller?
Yes. It has been done since the Kindle 1 days...
geekmaster is offline   Reply With Quote
Advert
Old 07-02-2012, 06:25 PM   #3
bax21
Junior Member
bax21 began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jul 2012
Device: Kindle Touch
What I am talking about here is a Kindle analog of something like TeraTerm or Putty for the PC that will talk on the serial COM port (Kindle serial port) to a microcontroller TTL uart (e.g. send and receive characters). I have searched the forum and found numerous terminal references, but it seems that these do not have anything to do with the serial port and are more like the Windows commandline interface.

I am a rank beginner and somewhat overwhelmed with the knowledge base of the Forum. Pehaps I should re-phrase my question; what can you do with the Kindle serial port? Previously, I was looking at Android tablets for this functionality. Google Play has an APP called, "Slick 2 USB Serial Terminal",

https://play.google.com/store/apps/d...rialterm&hl=en

This App requires USB host to interface with a USB to serial adapter. I could not get it to work with a FTDI adapter after trying it on three different tablets that presumably had USB host capability. I didn't realize that Kindle had a serial port until I accidentally turned up a reference to it on this forum. I have found pinouts to the port, but no explicit references to it takling to the ouside world. Any links would be greatly appreciated.
bax21 is offline   Reply With Quote
Old 07-02-2012, 07:03 PM   #4
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by bax21 View Post
I didn't realize that Kindle had a serial port until I accidentally turned up a reference to it on this forum. I have found pinouts to the port, but no explicit references to it takling to the ouside world. Any links would be greatly appreciated.
One good place to stumble on serial port information is here:
https://wiki.mobileread.com/wiki/Hard...ex#Serial_Port

The Kindles run Linux, and a character stream device is just a character stream device.

The hardware's primary serial port (the ones described at above link) begin life during the boot sequence as /dev/console.

During the boot sequence the console device will (usually) be re-assigned.
Do:
cat /proc/cmdline
and you should find a: console= command line option.
That assigned device name is that hardware serial port after the kernel boot up completes.

Just open/read/write/flush/close like any other character device.
Which is why you don't find many references, it is just a bit of "basic" knowledge in how Linux works.
knc1 is offline   Reply With Quote
Old 07-02-2012, 10:56 PM   #5
bax21
Junior Member
bax21 began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jul 2012
Device: Kindle Touch
Thank you for your repies...

I am rethinking this whole endeavor and it may be beyond my capabilities. I am fluent in C# and visual Basic, but a real noob when it comes to Linux. Say I were to purchase a refurb Kindle Touch (with special offers) from Amazon, what would be the steps to get at the underlying Linux and start putting characters out the port? Would I first start here,

https://wiki.mobileread.com/wiki/Kind...eak.mp3_method

and use the data.tar.gz method?
bax21 is offline   Reply With Quote
Advert
Old 07-03-2012, 03:30 AM   #6
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
I think the optware collection has minicom or a similar terminal program. A static build may not even need optware to run on the kindle. In the "olden days" a terminal program (talking directly to the UART) was typically one of the FIRST things you wrote after hello.c (at least for people I hung out with).

Last edited by geekmaster; 07-03-2012 at 03:32 AM.
geekmaster is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
One more terminal emulator for kindle. Matan Kindle Developer's Corner 158 03-23-2020 06:45 PM
Anybody working on terminal for Kindle Touch? markatlnk Kindle Developer's Corner 3 06-02-2012 10:07 AM
Kindle 1 Terminal? sinkillerj Kindle Developer's Corner 0 05-19-2011 12:17 AM
Terminal Application For Kindle DX Nathan Campos Kindle Developer's Corner 1 11-09-2010 04:53 PM
Feasibility of charging for conversion? Robotech_Master Workshop 17 12-28-2008 03:56 PM


All times are GMT -4. The time now is 09:12 AM.


MobileRead.com is a privately owned, operated and funded community.