Home Creators Posts Import Register Favorites Logout

Content

Here's a list of resources to accompany the "What's the Time, Mr Wolf?" tutorial video for creating a remote-control clock.

Total cost = around £20. Components used as follows:

Analogue Wall Clock, £5, e.g. https://www.ebay.co.uk/itm/8-Analogue-Plain-Wall-Quartz-Clock-Battery-Powdered-Home-Decor-Kitchen-House/362359329358

Arduino UNO inc. USB cable, £5, https://www.ebay.co.uk/itm/Arduino-Uno-R3-Rev3-328-ATmega328P-CH340G-Compatible-Board-/273402170443

BKA30D-R5 dual shaft stepper motor, £4, https://www.aliexpress.com/item/BKA30D-R5-Stepper-Motor-Auto-instrument-step-motor-General-VID28-05/32676850834.html

ESP-01 Module + Adaptor, £2.50, https://www.ebay.co.uk/itm/3-3-5V-ESP8266-ESP-01-Adapter-Wifi-Transceiver-Module-AP-STA-For-Arduino-UNO-R3/153012963786

For convenience, I'm using a screwshield to wire the stepper and Wi-Fi module to the UNO, £5, https://www.aliexpress.com/item/Screw-Shield-For-Arduino-UNO-R3-MEGA-R3-Compatible/1912570126.html

Wiring diagram and Arduino code can be downloaded from the following link: https://drive.google.com/open?id=10tcrPQBe3JSozs9bCqDrwB9pE9L5vZi8

Comments

Andrew Kraftchick

Hello Alastair. I am trying to recreate your clock and and having some issues. I am not very experienced in the area but have been asked to try.

Andrew Kraftchick

It won't connect to the wifi ( I am using a hotsopt from my phone) [WiFiEsp] No tag found .[WiFiEsp] >>> TIMEOUT >>> [WiFiEsp] No tag found .[WiFiEsp] >>> TIMEOUT >>> [WiFiEsp] No tag found

Andrew Kraftchick

Thanks Alastair. I have the wires in correctly. The one thing that I was wondering was that I have an esp-01s, I was reading that it might need some programming required on the actual device. Would that be the issue? TIA

Andrew Kraftchick

Also is it possible to get the motor to turn to a specific time without using the online interface?

Alastair Aitchison

Hi Andrew, my understanding is that the ESP-01S is a slightly more upgraded version of the board, with more onboard flash, but otherwise should function exactly the same as the ESP-01. Is the Wi-Fi network that you're trying to connect to 2.4GHz or 5GHz? And what sort of authentication does it have? Yes, you can set the clock to a specific time via the Wi-Fi interface, just as soon as you get it online! :)

Andrew Kraftchick

[WiFiEsp] Initializing ESP module[WiFiEsp] Initializing ESP module [WiFiEsp] Warning: Unsupported firmware 3.0.5 [WiFiEsp] Connected to RM151 ..Connected to: IP Address: [WiFiEsp] >>> TIMEOUT >>> [WiFiEsp] No tag found 0.0.0.0 [WiFiEsp] Server failed to start

Andrew Kraftchick

I was having issues with the 9600 buad rate(even though the data sheets state 9600 baud). Once I changed it to 115200 (as someone in the chat had done) I was at least able to get the serial monitor to work. Above is my current problem. I am trying to connect to a 2.4 GHz network (as described on the data sheet for the product). I am trying to use a hotspot from my phone - the clock is needed for a play and then need to change the time remotely.

Alastair Aitchison

The "Unsupported Firmware" is the first obvious problem. Combined with the fact that the default baud rate was different makes me think that there are more differences between the ESP-01s and ESP-01. Do you have a link to the exact unit you bought?

Sebastian Schachinger

Hi I'm a bit confused with the pins for the stepper motor. In the code you define the pins 2,3,4 and 5 for the minute stepper, but in the wiring diagram the motor is connected to the pins 6,7,4,5? kind regards, sebastian

Bas Paap

Hi Alastair, I’m in the process of making a similar clock, also with that same stepper motor. However, I find that when I attach the (thin, light, aluminum) hands to the shafts the motor is so weak that it can’t turn them. Did you encounter this problem, and if so, how did you solve it? I’m thinking that I could print a simple gearbox to increase the torque but I suppose that isn’t going to be great for precision what with slippage and such. Any ideas? Did you modify the motor in any way?

Graham Hickman

fantastic Alastair just downloaded all required files Thank you

David Swoboda

Hello Alastair! I'm excited about this project. Besides being a puzzle(d) guy, I'm also an amateur magician. I have some thoughts about this for use in the local magic shop. The big question I have is the Noise level of the motor during the move. I could hear it in the video. How loud is this in operation? Can it move Silently if done slower? Can it be quieted down with some isolation material? Very cool project, thanks! -David

Christopher

I followed this but I’m getting error messages when I check the serial monitor: [WiFiEsp] Initializing ESP module [WiFiEsp] >>> TIMEOUT >>> [WiFiEsp] >>> TIMEOUT >>> [WiFiEsp] >>> TIMEOUT >>> [WiFiEsp] >>> TIMEOUT >>> [WiFiEsp] >>> TIMEOUT >>> [WiFiEsp] Cannot initialize ESP module [WiFiEsp] >>> TIMEOUT >>> [WiFiEsp] Failed connecting to [My Wifi] [WiFiEsp] >>> TIMEOUT >>> [WiFiEsp] No tag found Any ideas what’s going on? It doesn’t seem to be accepting commands via serial either.

Christopher

Thanks for replying so quickly. Changing to 115200 has changed things. I now get this output: ⸮[WiFiEsp] Initializing ESP module [WiFiEsp] Initilization successul - 1.5.4 [WiFiEsp] Connected to [My Wifi] [WiFiEsp] >>> TIMEOUT >>> [WiFiEsp] No tag found ........[WiFiEsp] >>> TIMEOUT >>> …which loops. I am also inconsistently receiving a warning about unsupported firmware. I was able to set the time via serial on one occasion when the WifiEsp error messages stopped, and it worked perfectly though I can’t consistently replicate that.

Christopher

So it's saying "[WiFiEsp] Warning: Unsupported firmware". Guess it's just a case of updating the ESP with compatible firmware and seeing how that goes.