Search found 17 matches

by mflmartin
Mon Jan 02, 2017 11:44 am
Forum: ESP8266 boards
Topic: Servo library
Replies: 28
Views: 14447

Re: Servo library

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...
by mflmartin
Mon Jan 02, 2017 11:37 am
Forum: ESP8266 boards
Topic: Servo library
Replies: 28
Views: 14447

Re: Servo library

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...
by mflmartin
Mon Jan 02, 2017 10:35 am
Forum: ESP8266 boards
Topic: Servo library
Replies: 28
Views: 14447

Servo library

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...
by mflmartin
Sun Jan 01, 2017 11:26 pm
Forum: ESP8266 boards
Topic: Servo library
Replies: 28
Views: 14447

Re: Servo library

Hi!

I have 2 questions:

Can you control a 360 degrees servo with this driver?

And, could we control 2 or more servos with an ESP-12 for instance?

Thanks!


Sent from my iPhone using Tapatalk
by mflmartin
Tue Aug 02, 2016 7:48 pm
Forum: ESP8266 boards
Topic: Software serial?
Replies: 47
Views: 24474

Re: Software serial?

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...
by mflmartin
Tue Aug 02, 2016 6:06 pm
Forum: Drivers for External Components
Topic: PCD8544 driver module (Nokia 5110 lcds)
Replies: 8
Views: 5623

Re: PCD8544 driver module (Nokia 5110 lcds)

Is there any update in this ? Would be nice to interface with Nokia LCD's :)
by mflmartin
Mon Aug 01, 2016 3:26 am
Forum: ESP8266 boards
Topic: Error flashing latest Binaries
Replies: 13
Views: 4975

Re: Error flashing latest Binaries

What error do you get exactly?

Can you post the error output?
by mflmartin
Sun Jul 31, 2016 11:51 pm
Forum: ESP8266 boards
Topic: So you want to use the UART...
Replies: 29
Views: 18552

Re: So you want to use the UART...

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 = ...
by mflmartin
Sun Jul 31, 2016 6:35 pm
Forum: ESP8266 boards
Topic: ssd1306 using I2C on the esp8266
Replies: 54
Views: 27258

Re: ssd1306 using I2C on the esp8266

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...
by mflmartin
Sun Jul 31, 2016 6:06 pm
Forum: ESP8266 boards
Topic: ssd1306 using I2C on the esp8266
Replies: 54
Views: 27258

Re: ssd1306 using I2C on the esp8266

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 ...