Speakerplans.com Homepage
Forum Home Forum Home > Plans > New Projects Forum
  New Posts New Posts RSS Feed - Wifi remote controller for the Ultradrive
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Wifi remote controller for the Ultradrive

 Post Reply Post Reply Page  <1 91011
Author
Message
snowflake View Drop Down
Old Croc
Old Croc


Joined: 29 December 2004
Location: Bristol
Status: Offline
Points: 2250
Post Options Post Options   Thanks (1) Thanks(1)   Quote snowflake Quote  Post ReplyReply Direct Link To This Post Posted: 17 August 2019 at 11:03pm
installed 3.2.0.0 from here

http://www.miklor.com/COM/UV_Drivers.php#install

and it now connects to the port.

what should happen when I open serial monitor? it's autoscrolling ';⸮⸮̵
kb⸮HCK⸮⸮⸮;⸮⸮⸮⸮⸮⸮;⸮⸮⸮⸮⸮⸮;⸮⸮⸮⸮⸮⸮;⸮⸮⸮⸮⸮⸮;⸮'

started uploading sketch but then timed out and failed



Edited by snowflake - 17 August 2019 at 11:10pm
Back to Top
Lasse Lukkari View Drop Down
Young Croc
Young Croc


Joined: 09 March 2004
Location: Finland
Status: Offline
Points: 603
Post Options Post Options   Thanks (0) Thanks(0)   Quote Lasse Lukkari Quote  Post ReplyReply Direct Link To This Post Posted: 19 August 2019 at 9:10am
Awesome that you got the drivers working. We are almost there!

The timeout happens because by default the controller boots in a mode where it runs the previously flashed program. To be able to upload the new software you need to start the microcontroller in the flash mode:

1. Unplug the USB cable from the computer
2. Press and hold the upper button (in your photos) while you plug the cable back

Holding the button down when it's powered up makes the controller boot in a the flash mode. You should now be able to upload the new software without the timeout error.

You see garbage in the serial output because the baud rate is wrong. After you have flashed the OTAWebUpdater.ino set the baud rate to 115200 and you will see normal text in the serial monitor.


Edited by Lasse Lukkari - 19 August 2019 at 9:13am
Back to Top
Jost96 View Drop Down
New Member
New Member
Avatar

Joined: 31 July 2019
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote Jost96 Quote  Post ReplyReply Direct Link To This Post Posted: 19 August 2019 at 9:47am
Hey Lasse, how difficult would it be to implement the save and Recall funktion?

Back to Top
snowflake View Drop Down
Old Croc
Old Croc


Joined: 29 December 2004
Location: Bristol
Status: Offline
Points: 2250
Post Options Post Options   Thanks (1) Thanks(1)   Quote snowflake Quote  Post ReplyReply Direct Link To This Post Posted: 19 August 2019 at 9:05pm
now Arduino will not launch on my laptop. It worked on Saturday! says 'loading boards' then instead of saying 'starting' it just shuts down. tried reinstalling Arduino and rebooting and still won't launch.

will launch on my desktop but that computer will only show it's one COM port and doesn't recognise plugged into either USB port.
Back to Top
Lasse Lukkari View Drop Down
Young Croc
Young Croc


Joined: 09 March 2004
Location: Finland
Status: Offline
Points: 603
Post Options Post Options   Thanks (1) Thanks(1)   Quote Lasse Lukkari Quote  Post ReplyReply Direct Link To This Post Posted: 20 August 2019 at 6:03am
Originally posted by snowflake snowflake wrote:

now Arduino will not launch on my laptop. It worked on Saturday! says 'loading boards' then instead of saying 'starting' it just shuts down. tried reinstalling Arduino and rebooting and still won't launch.

This seems to be a common problem on Windows platforms. It has been reported by multiple users on the Arduino forums.

People seem to have had success with a clean reinstall after following these instructions. See the attached PDF file in the last post here: https://forum.arduino.cc/index.php?topic=534741.15


Edited by Lasse Lukkari - 20 August 2019 at 6:05am
Back to Top
snowflake View Drop Down
Old Croc
Old Croc


Joined: 29 December 2004
Location: Bristol
Status: Offline
Points: 2250
Post Options Post Options   Thanks (1) Thanks(1)   Quote snowflake Quote  Post ReplyReply Direct Link To This Post Posted: 20 August 2019 at 1:35pm
did the system clean and reinstalled Arduino and drivers and it works again

held down the reset button as I plugged in and it appears to have rebooted - no more garbage in serial monitor.

uploaded the sketch and it got further than last time.

says
Leaving...
Hard resetting via RTS pin...

nothing output to serial monitor
tried closing monitor, unplugging, plugging back in and reopening monitor but still no output.

I have set the baud rate to 115200. tried resetting and doing the process again and I do get a monitor message saying brownout detected.

Edited by snowflake - 20 August 2019 at 1:43pm
Back to Top
Lasse Lukkari View Drop Down
Young Croc
Young Croc


Joined: 09 March 2004
Location: Finland
Status: Offline
Points: 603
Post Options Post Options   Thanks (0) Thanks(0)   Quote Lasse Lukkari Quote  Post ReplyReply Direct Link To This Post Posted: 20 August 2019 at 2:19pm
Originally posted by snowflake snowflake wrote:

I do get a monitor message saying brownout detected.

We seem to stumble across every possible problem. 

The brownout means that for some reason the microcontroller is not getting enough 5v power from the usb port. Is it possible that you try another physical USB port, a powered USB hub or even another computer? 

I completely understand if you want to call it quits at this point. I can post you a another controller with the latest firmware installed. You can use the box to mail me the previous one back so I can reflash it here and send it to someone else.
Back to Top
Lasse Lukkari View Drop Down
Young Croc
Young Croc


Joined: 09 March 2004
Location: Finland
Status: Offline
Points: 603
Post Options Post Options   Thanks (0) Thanks(0)   Quote Lasse Lukkari Quote  Post ReplyReply Direct Link To This Post Posted: 20 August 2019 at 7:52pm
Let's try one more thing before we give up. As we have managed to succefully upload the OTA update firmware with the Arduino IDE we may as well flash the full DuinoDCX firmware directly.

Download and extract the attached zip file. Inside you will find a file named DuinoDCX.ino. Do not rename the directory to anything else than DuinoDCX. Open the project in the Arduino IDE and flash it like you did before. Now try powering the controller with a known good usb charger.


If it still fails there is not much we can do.


Edited by Lasse Lukkari - 20 August 2019 at 8:02pm
Back to Top
 Post Reply Post Reply Page  <1 91011
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.02
Copyright ©2001-2019 Web Wiz Ltd.

This page was generated in 0.125 seconds.