-
Notifications
You must be signed in to change notification settings - Fork 38
Monitoring TM1628 #45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hello, interesting project! It seems really useful to be able to have some remote control to your dehumidifier. My own dehumidifier is not too smart either, so on a daily basis I have to go check it's light to see if the reservoir is full. Would be nice to get a notification on my phone! So your dehumidifier has a TM1628? In the main readme of this library I'm collecting a list of real world devices using a TM16xx chip. Perhaps you can share a picture of the PCB, showing the chip? Unfortunately this library only works in one direction and can only be used to drive TM16xx chips. It cannot emulate a TM16xx chip, but you may find it useful to drive a test circuit and analyze its workings. BTW. In issue #37 someone asked a similar question regarding the TM1651 and I gave some more elaborate responses. Good to see you already implemented something and that you have successfully captured the display data and translated it to a readable form. Well done! With regard to emulating the button presses, I see some potential. I think this requires additional hardware and cannot be done just in software. You first need to see which of the keyboard lines of the actual TM1628 are connected to the buttons (K1/K2 vs. KS1-KS8). Based on that you would need to solder something to the keyboard lines to make an electrical connection. Once you want to generate a remote button press, you briefly connect these lines to trigger the key-scanning process of the TM1628. On page 12 of the english datasheet you can find the Application Circuit diagram. Since the TM1628 is meant for common cathode displays, that would suggest that the keyscan checks to see if the KS1-KS8 ouputs are set high by a reading the K1/K2 input lines. Perhaps having a logic mosfet between these will work; eg. between KS1 and K1. Alternatively you could try an opto-coupler, but that may have too high resistance when switched on. Of course you could also use a relais, but those are more bulky/expensive. Before destroying the dehumidifier, I suggest you to first make a test display using some sacrificial TM1628 chips to experiment with. |
Added link to issue #45 about the TM1628 in a Royal Sovereign BDH-450 dehumidifier Also added some text to the other links.
Very nice project with great success. Congratulations ! |
I turned this into an ESPhome component integration here: https://github.com/mutilator/esphome/tree/dev/esphome/components/bdh450 Might give someone a bit of a start on a similar path. |
Very nice! Good example of how to make a device smart and integrate it in your household. Thank you for sharing your code! |
Is there any way to use this library to listen to the serial comms. to my TM1628.
Sort of this library in reverse so I can make some of my 'dumb' devices 'smarter'. Read what's displayed on the 7 segments, listen for and make buttons presses on the grid, view other LED that are lit on the device, etc..
I'd like passively listen for everything and interpret the results. Ideally also send button presses from the library as well.
This is an older Royal Sovereign BDH-450 dehumidifier I'd like to remotely monitor and control.
I created fonts for the segments & LED based on playing around.
Segment 0 is the status LED for this device
Segment 1 is the right digit
Segment 2 is the left digit
Segment bitmap
Segment display maps
Status LED for machine
Using the getbutton listeners it returns the following
Down Arrow - Button 1
Up Arrow - Button 2
Fan Speed - Button 6
Power - Button 7
The text was updated successfully, but these errors were encountered: