![]() |
#1 |
Junior Member
![]() ![]() ![]() ![]() ![]() ![]() Posts: 6
Karma: 538
Join Date: Dec 2020
Device: KV, PW4
|
introduce larm clock project
Hi,
I was searching over a year for an alarm clock, but nothing was fitting my wishes. So I was happy to recognize that the Kindle devices can be rooted and be used as an linux-devices (dualboot). Next was buying one. I found a cheap Voyage and bought it on the spur of the moment. I obviously read the "headline" and was resigned, that the root does only work on old firmware versions. Mine had 5.13.2. But, reading the next pages, there was a chance to get this done with serial-root. Searching - and finding - my old programmer (from playing around with an arduino years ago) results in: no support of 1,8V. Because I do not want to kill the Kindle by trying 2,5V signal level, I bought a new programmer and tried the solderfree needle-way. After spending half an hour for the right timing, to get into the debug mode, rooting was managable. The biggest problem was the large number of (obsolete/old firmware) instructions and getting the relevant informations. Okay, enough of the preface, the result in a nutshell: I was suprised, that on the Kindle is an BusyBox running. Therefore I did not install alpine in dualboot, but builded the alarm on the Kindle-System. Because I am not able to write code in any programming language, but are familiar with linux, I decided to do this in shell. Friends called me crazy - in any language code would be only about few lines - I wrote about 300. Most of this interpreting hard coded touch-events. I started with the following project: https://github.com/mattzzw/kindle-clock Thanks at this point to the project-owner! There is not much left from the original code but the layout, but it helped much! USB-Speaker works per default, but it took me a while to get simultanious charging to work. Nightmode (inverted screen and light at minimal level on) is hardcoded and additional activated, if the level of the lightsensor drops to zero. For my wants, the levels are a bit to coarse, but this is not dramatic. To do: - Snooze and alarm stop is not implemented yet. Alarm (twittering of birds :-D ) plays 15 secounds and alarm is compleated. - in day-mode the Kindel could go to deep-sleep-mode between refreshing of the displayed content. Plan how to do this - and setting alarm and alarmtime without problems - is existing in my mind. - Font size is to large, long names of days causes line break as shown in pictures. Problems: Touch is really tricky and not pleasant to use. But I will describe this in a separate problem-thread. Because it is not "downloading - running - using", and I do not know, whether I am allowed to distribute the leftover code snippets of the github-project, I do not add the code. My next project is a whether-screen. Whetherforecast and display of room temperature and humidity sensors. In this context I tried to get an USB2Ethernet-adapter working, but was not successfull with the Kindle-BusyBox. It would probably not be easier to get a 868mhz receiver to work. So I think it would be realized with an raspberry pi. Delivery service brought just this hour a PW4 I bought used for a really lucky price (is firmware version 5.12.4 rootable? I have to do research ;-) ) Thanks for reading and your interest :-) |
![]() |
![]() |
![]() |
#2 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,179
Karma: 3592925
Join Date: Sep 2014
Location: Ukraine
Device: Kindle
|
PW4 5.12.4 is rootable
https://www.mobileread.com/forums/sh...d.php?t=335590 |
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Free (Kobo) Lazy Project Manager & the Project From Hell [Business Advice Case Study] | ATDrake | Deals and Resources (No Self-Promotion or Affiliate Links) | 1 | 02-10-2016 05:23 AM |
Project Management Advice and Tips: How Good Project Managers Manage Project | amazon author | Self-Promotions by Authors and Publishers | 0 | 04-07-2015 04:04 AM |
Introduce my self | Vikram_Kyle | Introduce Yourself | 3 | 12-22-2013 07:21 AM |
introduce myself | pink boots | Introduce Yourself | 2 | 09-21-2013 11:22 AM |
project: clock for iLiad | yokos | iRex | 30 | 10-22-2007 07:37 PM |