Profile cover photo
Profile photo
Mike Meyer
Using software to help solve your problems
Using software to help solve your problems
About
Communities and Collections
View all
Posts

I need to build a simple Android app that communicates over a bluetooth serial line. Looks like SL4A/QPython3/... should be able to do it - there's a bluetooth_chat.py in most of the Python for Android distributions. But when it should open a list of bluetooth devices to connect to, it just exits the script with no indication of what went wrong.

Anyone got any hints as to how I might figure out what's going wrong here?

I need to build a simple Android app that communicates over a bluetooth serial line. Looks like SL4A/QPython3/... should be able to do it - there's a bluetooth_chat.py in most of the Python for Android distributions. But when it should open a list of bluetooth devices to connect to, it just exits the script with no indication of what went wrong.

Anyone got any hints as to how I might figure out what's going wrong here?

Got a question about H-bridge motor drivers. The data sheet for some of them talk about "forward/coast", "forward/brake", "reverse/coast" and "reverse/brake" operating modes. The tutorials I've found just talk about forward, reverse, coast and brake, and I think I understand those. Except that given that understanding, the other four don't make any sense.

Any care to either explain them or provide a pointer to a tutorial that covers them?

Edit: Found it. The second word ("brake" or "coast") is the behavior of the motor in when the pwm signal being used to control speed is off. The forward/brake behavior is usually preferred, and what drivers that don't support both usually give you.
Commenting is disabled for this post.

Post has attachment
New video looking at CPPM & S.BUS connections between an receiver and flight controller.
Add a comment...

Post has attachment

So I took apart the Tx for my latest Drone (one of the ones built from Lego blocks) to see if I could use a proper Tx, only to discover that the one chip on it had the markings obscured.

Anyone have any thoughts on the recent "right to repair" rulings being used as a lever to make purposely hiding such information illegal?

I've about decided that watchmaker doesn't really do what I want. It's closer than any of the other watch designers I've looked at (Puji, Minimal & Elegant, Facer, and one other?) because of the Lua scripting, but still seriously lacking.

What I want to do are unique time displays (like my Fibanocci watch) along with whatever else the user wants displayed. Wear 2.0's complications - as implemented in their examples - are pretty much exactly what I want for that other info, and the user gets to choose it. But no face designer app handles them well. Maybe add some way to turn them off if the display is uninteresting, but that's would be a bonus.

The real issue is that I want to be able to draw from inside the script. Watchmaker worked for Fibonacci because I was drawing something simple. But for the next project I want to draw stereographic projections, and I'm not sure how to do that from watchmaker. What I really want is a Canvas object type that I can size in the designer, which has an attached script to be run to render it.

A face designer with just those two object types - a complication that worked the way they do in googles examples, and a canvas I could draw to - would be more useful to me than any of the others I've looked at. The more standard stuff is still useful, but I can do those with a canvas, but not vice versa.

Did the latest update make tap_action buttons show a stipple pattern, or did I just miss that before?

More importantly, how do I turn it off? This makes my faces so ugly I've started rewriting them in Kotlin to avoid it.

Is there some way to display a complication as it appears on non-watchmaker faces? Failing that, is there some way to get the image associated with one other than manually adding it to the face in the editor?

Post has attachment
My latest WatchMaker face, simplicity

http://www.getwatchmaker.com/watch/sByYXqymmZ

Designed to display the info you need, but only when you need it.
Wait while more posts are being loaded