Search found 17 matches

An easy way might be to use a standard 180 degree servo and gear it up 2:1. The only snag is that at (say) 11.59 the clock's hand would sweep through 354 degrees backwards to get to 12.00. Thanks... But that is not an option, due to the "aesthetics" of the movement. I want seamless analog like move...

You would use encoders of some kind, but I really don't have much experience with this, so can't recommend anything. At this point you might consider using a stepper motor or even a normal DC motor, as the servos don't really give you much, since you need to do your own PID control loop with your o...

Thanks! And, from your experience, if I wanted to know the position of a continuous servo motor or dc motor, what would you use? A homing switch with a hall effect magnet for instance? I want to make an analog clock, but I want to be able to know where the handle are (or where their start position i...

Can I disable console REPL and use WebREPL to free up the UART 0 RX pin? I am using and testing a bluetooth module connected to the ESP8266-01 via UART. I use the Webrepl for testing, as my module is wired to RX/TX. It is a bit annoying when you have to restart, reconnect, etc, but overall is "usab...

I successfully connected a Bluetooth HM-10 via UART to the ESP8266 (Just for testing the UART and learning). I found that I had to use uart.read, more than uart.readall(): from machine import I2C, Pin import utime from machine import UART uart = UART(0, 9600) uart.init(9600) while True==True: val = ...

Yes, you can do it -- if you are using numbers. However, if you want to save space, at some point you will want to save this as raw strings of bytes. When you say, "as a raw strings of bytes", you mean like this? 010101010110 Does this save space, as opossed as using numbers? In code, i would occup...

The display I'm using has 4 shades of grey, encoded in pairs of bits: 00 is black, 01 is dark grey, 10 is light grey and 11 is white. So I did the same thing with my font. That's why every 4x6 character is encoded as 6 bytes -- 2 bits for every pixel. Of course you can modify the pygame program to ...