raspberry pi smart watch This is a topic that many people are looking for. bluevelvetrestaurant.com is a channel providing useful information about learning, life, digital marketing and online courses …. it will help you have an overview and solid multi-faceted knowledge . Today, bluevelvetrestaurant.com would like to introduce to you Update on my custom Smartwatch (RPi Zero W). Following along are instructions in the video below:
“It going my dudes. It s shibui gurga and this is my smartwatch now. It it s made with the resistive touchscreen and i kind of cracked. It a bit over here.
It doesn t do too well. Which is kind of a problem. Because that s where eclipse is should probably move the icon. They got it i can t even grab it did i get it oh bam okay.
Cool basically i don t know if you saw that i have a little led here that indicates whether or not it s charging. And i mean you probably saw it s wirelessly charged and that s really cool. It s one of my first wirelessly charge projects. But you can see i just have the transmitter.
I just you know snipped off a usb and just soldered it on there and then on this end. I just have that inductor came with the kit and i just wedged it all in there. I have it soldered up to my my what s that called my power boost 1000c. I tend to modify that board a bit why not the board itself.
But basically. The connector was a bit too tall for me i really tried to compact this down as much as i could so you can see i actually have the wire for the battery. It actually goes in there. It s kind of hard to see because the wire for the battery is actually underneath it it goes like that then it wraps down and in and it s actually soldered to the the board through there.
So the the connector for my power booster is actually way too large. It wouldn t fit underneath my raspberry pi. So i just took some of these wire clippers. And i just ripped the whole thing off and then just soldered.
It directly on there yeah and so that way i managed to slip it underneath the raspberry pi somewhat..
I also did that with the accelerometer although i have not hooked it up yet because i m not sure if it s going to interfere with my screen. Yet so i m gonna have to look that up. But yeah so i have a 2500 milliamp hour battery a year and that should last me a while so let s just try to get eclipse going here sometimes double tapping. I won t ever use double tapping as a feature in my software.
Because i know that s weird with touchscreens at least on here. Yeah. I m just gonna try to open. It with stuff that i only have to click once there we go oh.
I think i tried to drag it out as an icon oh i think i clicked google chrome. There okay we should at least have eclipse running as well though but yeah so i have a wirelessly charge and the reason. I actually did that is because i want it to be waterproof. There we go i want it to be waterproof and and my my best way to do that without having to waterproof.
Any ports is to just make it to where i don t have to have any holes this switch is actually there temporarily just to turn it on and off. I ll probably have to put it on a wire. So that i can tuck it inside or just take it off completely once i m done because i just want it to be you know just all the time. But that basically just pulls the enable pin the ground on my my power boost 1000.
C. So it turns it off. So. This is just like an on off switch right now yeah.
So it looks like we did open up chrome. Let s go ahead and close it close there we go well yeah. So that s why i made it water that s why i made it wireless because i wanted to make it waterproof and so i just don t have to make any any waterproof ports for it now. I m actually just gonna cut out a like a rubber o ring.
And i ll have like a rubber sheet..
And i ll just cut out like a rubber o ring to fit over the screen. So that i can just slide. My case over it and just press. It down on top of it kind of like how a lifeproof case works now how it just kind of uses an h of a glass in your screen to waterproof.
It and then my backplate where you know everything will yeah. I have to drop it all in there and they ll have a backplate for and i ll screw that in i ll just put rubber on there so that when it presses against everything one. It s going to provide the cushion on here on the actual device itself. And it s going to create a seal once it presses around the rest of the case.
So it should be fully waterproof. Because it doesn t have any holes in it it won t have any ports that i have to worry about again. Why i chose for it to be waterproof let s go ahead and hit our wire transfer to be wireless wireless. A charge let s go ahead and it ok we ll go into eclipse and i ll show you just a little bit of the libraries.
That i have so far. This is probably going to be the next thing that i work on the most it s gonna be the software just pretty much all the hardware. I m happy with i just need a 3d print that case and put it together and if i figure that the accelerometer is gonna work well with this screen. Because i heard that they might interfere a bit if it works well then i will go ahead and actually solder it on it s already in here.
I just don t have a soldered. The chip is sitting in there. And it just doesn t have anything connected to it so i just need to connect it to the gpio pins. So i won t even take up any extra space.
Yeah once that s all good then i will all be able to do what my watch does where it senses when i look at it um. So yeah. But that s pretty much the whole watch at least in terms of hardware. It s pretty much just a normal raspberry pi.
A battery inductive charging and the an accelerometer so i m actually going to try to open this list thing here..
It s really hard to do on a resistive touchscreen. Because they re not insanely accurate. Especially because mine has a crack in it so it kind of throws off the whole pressure of everything. So you can see here.
I have a ton of classes already defined the main ones are like the actual the whole workings of my operating system really i have a screen. Which contains a list of ui components. Now ui component is just an abstract class that just represents something that will be drawn on the screen. So i have something like a colored panel extending from that abstract class.
So my colored panel is something that has an x a y. A with and a color. So i can add that to my list of ui components in one of my screens. And i ll have a colored panel that is drawn on the screen when i tell that screen to be drawn so on my screen manager.
I have a list of screens and then i have you know an active screen. And so i can just you know change a number and then it s gonna change which screen is displaying and so that s probably how i m gonna manage like different apps and different pages in the smartwatch itself. But things like like a little control center or a notification panel or something like that i ll probably just draw directly on let s see if i can navigate to it i had a bit of difficulty last time come on there the bottom the render one i could just after telling it to because this basically just says get the current screen and render it so after this line. I could just you know.
Draw the notification panel and the control center thing. So that they ll just be drawn on top of everything at all times. That s probably how i m gonna do it. But yeah so i but i don t know the whole reason i wanted to show you this is i do have a whole system of defined classes.
And i didn t show you just because it s too difficult to navigate through this stuff to be honest. Until. I have a nice working ui programmed for it it s probably gonna be really not fun to interact it that s why i usually use a little bluetooth keyboard with a little trackpad on it to program. It yeah.
It s pretty cool that i can program the software for the watch on the watch..
But yeah pretty much all it does so far and i m not gonna do because i don t have my keyboard set up so i won t be able to alt tab out of it and exit it because i also don t have an exit button programmed in there yet but pretty much all i will do is when i hit that play button. It will fullscreen my java application and cover everything because you know it s expecting me to start drawing stuff. But again. I don t really have anything defined in any of my screens.
Yet so there won t be anything drawn and again there won t be a button to exit. But yeah so this pretty much all my all my little smartwatch has to offer but yeah. This is just a little update video at least until i get my i don t know if i choose to put that accelerometer in or not and i don t know you might not see any videos for this until done i don t know we ll just see. But i definitely do want to finish this because although this smartwatch is cool.
I definitely want to be able to do more with it and if i make it myself anything that i want to do i will just create and if you re curious about how i was going to get all my notifications set up and whatnot. I m actually going to use the the pushbullet api to just basically that s a service where i can connect my phone to it and then it will actually see my notifications and whatnot that s how i actually get all my notifications on my bun computer. I just used pushbullet on chrome and then it gives me notifications. I can respond on my texts and whatnot it even lets me have a universal clipboard that s what it s called.
So i can copy and paste stuff on my phone to my computer. And i guess i could do that on here as well because they have an open and and and super documented api. So i m just gonna use that to be able to receive all my notifications and be able to respond to texts and whatnot because it s an api. I will be able to design it and whatever way i want be able to have my own ui for it and whatnot you won t even need to know that pushbullet is involved so so yeah.
So it ll be pretty cool and all just to get internet. So you can interact with that service. I ll just tether to my phone with bluetooth tethering and then you know just share my internet connection. But yes.
So that s pretty much all all this ” ..
Thank you for watching all the articles on the topic Update on my custom Smartwatch (RPi Zero W). All shares of bluevelvetrestaurant.com are very good. We hope you are satisfied with the article. For any questions, please leave a comment below. Hopefully you guys support our website even more.