Go Back   EcoModder Forum > EcoModding > Fossil Fuel Free > Open ReVolt: open source DC motor controller
Register Now
 Register Now
 

Reply  Post New Thread
 
Submit Tools LinkBack Thread Tools
Old 05-05-2014, 03:19 PM   #6521 (permalink)
PLUGnGO
 
jedsmd's Avatar
 
Join Date: Sep 2012
Location: Olympia Wa
Posts: 137
Thanks: 75
Thanked 82 Times in 54 Posts
Quote:
Originally Posted by flores View Post
We could also include this in the web control panel I'm planning to make.. the controller already knows it's temp.. so no need for extra components there.
I'm looking for an in-dash display.

I guess I don't really understand what you are planning with the web control panel. Does it link to my LAN or my laptop top locally like bluetooth or is there some sort of dedicated display hardware that goes in the dash?

  Reply With Quote
Alt Today
Popular topics

Other popular topics in this forum...

   
Old 05-05-2014, 03:45 PM   #6522 (permalink)
EV Connoisseur
 
Join Date: Aug 2010
Location: Amsterdam
Posts: 309
Thanks: 70
Thanked 109 Times in 90 Posts
I'm planning some sort of web control /dash panel.. so you can mount a small tablet or something and monitor all parameters, graphs maybe and change settings.. over wifi
  Reply With Quote
The Following 2 Users Say Thank You to flores For This Useful Post:
jedsmd (05-05-2014), MPaulHolmes (05-05-2014)
Old 05-06-2014, 02:24 AM   #6523 (permalink)
Dreamer
 
Join Date: Nov 2013
Location: Australia
Posts: 350
Thanks: 95
Thanked 214 Times in 151 Posts
Quote:
Originally Posted by flores View Post
I'm planning some sort of web control /dash panel.. so you can mount a small tablet or something and monitor all parameters, graphs maybe and change settings.. over wifi
Not sure if Paul's DC controller uses the same micro controller as Paul's AC controller. But when i was checking out the AC controllers microcontroller details i found it has an ethernet port and the ability to run a web server. So if the DC controller was using the same micro controller then there would be the chance of adding a web server to that controller.
I imagine it could be used for monitoring, statistics, configuration, software gauges, etc.
If this happened then a cheap $15 wifi bridge could be plugged into the controllers ethernet port and then any wifi device with a browser would be able to attach to the controller. Smartphones, tablets PCs.

Just thought i would mention it before anyone put in too much effort making an external web box for the controller. If it has the ability to do it itself then why not. Would make it easier once setup as the web server within the controller would have access to all the controllers variables. Also we wouldn't have to worry about some sort of comms protocol between the controller and an external device and keeping them both up to date and compatible.
  Reply With Quote
Old 05-06-2014, 03:47 AM   #6524 (permalink)
EV Connoisseur
 
Join Date: Aug 2010
Location: Amsterdam
Posts: 309
Thanks: 70
Thanked 109 Times in 90 Posts
I'm not sure that adding the webserver on the micro isn't dangerous in terms of processing power..

Possibly someone could burn your IGBT's by DDOS-ing the web server and stealing its clock cycles?

Paul, and thoughts on that?
  Reply With Quote
Old 05-06-2014, 10:01 PM   #6525 (permalink)
PaulH
 
MPaulHolmes's Avatar
 
Join Date: Feb 2008
Location: Maricopa, AZ (sort of. Actually outside of town)
Posts: 3,832

Michael's Electric Beetle - '71 Volkswagen Superbeetle 500000
Thanks: 1,368
Thanked 1,202 Times in 765 Posts
After the clarke, park, inverse clarke and park transforms, etc. The poor micro I think will not have a whole lot left. I think we should leave the other stuff out. Im trying to keep evrrything through hole, so people cam assemble things themselves down the road. That leavea me with a dspic30f4011 40 pin micro with not a lot of extra pins. Debugging surface mount stuff has been a nightmare for me in the past.
__________________
kits and boards
  Reply With Quote
Old 05-07-2014, 05:47 AM   #6526 (permalink)
EV Connoisseur
 
Join Date: Aug 2010
Location: Amsterdam
Posts: 309
Thanks: 70
Thanked 109 Times in 90 Posts
I've been reading the datasheet of the dspic30f4011, and I couldn't find any evidence of Ethernet support.. so..I guess it's no discussion
  Reply With Quote
Old 05-07-2014, 08:35 AM   #6527 (permalink)
Dreamer
 
Join Date: Nov 2013
Location: Australia
Posts: 350
Thanks: 95
Thanked 214 Times in 151 Posts
Quote:
Originally Posted by flores View Post
I've been reading the datasheet of the dspic30f4011, and I couldn't find any evidence of Ethernet support.. so..I guess it's no discussion
Quite correct, i got my wires crossed.

The dspic30f4011 provides the TCPIP stack, web server and NIC driver, but it needs a RTL8019 ethernet chip to complete the hardware side of things.
I was looking at the datasheets, jumping around from diagram to diagram and when i saw the diagram with the RTL8019 chip and a handful of components connecting to an ethernet port i thought i was looking at the dspic30f4011 chip.

So although the dspic30f4011 supports all the software side of things.
dsPIC30F brochure (page 13)
It would still need a RTL8019 chip to complete the hardware interface.

But as Paul mentioned, the micro controller may not have the resources to run the web server.
  Reply With Quote
Old 05-07-2014, 10:30 AM   #6528 (permalink)
PaulH
 
MPaulHolmes's Avatar
 
Join Date: Feb 2008
Location: Maricopa, AZ (sort of. Actually outside of town)
Posts: 3,832

Michael's Electric Beetle - '71 Volkswagen Superbeetle 500000
Thanks: 1,368
Thanked 1,202 Times in 765 Posts
Once its reliably working, I wouldnt mind trying a surface mount version. Theres a small company up in Oregon that assembles boards. I used them for a project at my job. All they needed from me was the silkscreen. Theres a lot you can do on one of the new dspic33gp 100 pin micros.
__________________
kits and boards
  Reply With Quote
Old 05-07-2014, 10:44 AM   #6529 (permalink)
EV Connoisseur
 
Join Date: Aug 2010
Location: Amsterdam
Posts: 309
Thanks: 70
Thanked 109 Times in 90 Posts
SMD FTW..

I ordered some digikey parts (solder paste and test boards) that will arrive tomorrow, so this weekend I can test my home brew reflow oven..

Maybe we can create some sort of breakout board for the SMD micro that slots in some sort of through hole connector?
  Reply With Quote
The Following User Says Thank You to flores For This Useful Post:
MPaulHolmes (05-09-2014)
Old 05-09-2014, 12:08 PM   #6530 (permalink)
EcoModding Lurker
 
Join Date: Feb 2010
Location: Frilsham
Posts: 7
Thanks: 0
Thanked 8 Times in 6 Posts
You could just use a serial port from the main controller to send data to a second controller that does the user interface - that would minimise the overhead on the main controller...

  Reply With Quote
The Following User Says Thank You to Roche For This Useful Post:
MPaulHolmes (05-09-2014)
Reply  Post New Thread


Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Paul and Sabrina's Cheap 3 Phase Inverter (AC Controller) with Field Oriented Control MPaulHolmes Fossil Fuel Free 3480 05-04-2022 05:43 PM
Paul & Sabrina's Cheap EV Conversion MPaulHolmes Fossil Fuel Free 542 11-12-2016 09:09 PM
Three Dirt Cheap DIY Electric Cars - Part 5 SVOboy EcoModder Blog Discussion 0 12-12-2008 04:10 PM



Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Content Relevant URLs by vBSEO 3.5.2
All content copyright EcoModder.com