Breaking

Wednesday, January 8, 2020

Web-controlled watering can with siteplayer and arduino--- make money online

Web-controlled watering can with siteplayer and arduino--- make money online
This is an interactive art project that I have been building for an upcoming exhibition.  The idea for a web-controlled watering can come from the first "iphone watering can" that I helped build with a friend for Maker Faire a couple years ago.  Search the internet/youtube for "iphone watering can" for details.


This new version uses a different drive mechanism and a PD control loop to make the watering can track the desired position in realtime.  The interface works with any webkit browser.  My collaborator and I have discussed using the iphone or android accelerometers to achieve control through phone tilting.  I'm not sure if the tilt data is available to the web browser, though, and we are trying to make the interface run on as many platforms as possible.  Any ideas?

The siteplayer webserver is extremely old technology and has many problems, but does work.  I would explore using a hacked WRT router in the future for similar projects.
okay in this video I'm going to show
this project that I've been working on
it's a web controlled watering can so
let me just give you a demonstration
here of how this thing works you'll see
that as the can is rotated in the web
browser the actual watering can tip is
over mechanism over there so I got some
help
with the client side of this I don't
know a whole lot about the WebKit
programming that was done but basically
this web app sends commands to a web
server the web server then sends those
commands on to an Arduino and the
Arduino controls the motor that's
driving the watering can okay so this is
the web server module it's a net media
site player and it's actually quite an
old piece of technology but when I
started this project I was looking for a
completely self-contained embedded web
server and this seemed to be the easiest
way to go a friend of mine pointed out
that certain wrt routers can be set up
with like a custom version of Linux and
you could actually use that as a web
server since those have a serial port
hidden inside them so that that actually
might be a better solution but I didn't
know about that at the time and ended up
buying one of these the nice thing is
that they it boots up extremely fast I
mean it's it's almost instant on and it
seems to be working pretty well I've had
experience with these in the past and
made my own board for one and it had a
lot of reliability problems so this time
I bought the the whole development board
which comes with the Ethernet jack which
contains like a transformer inside there
and this one seems to be working pretty
well so this is the thing that's
actually serving that web page that you
saw and when the web browser sends
commands to the server through get
requests this thing just parses that
into a serial data
sends the cereal out to the Arduino so
it's really just one wire you can even
see I cut the other side of the link off
because I didn't need it and this chip
was getting confused with my debug
commands that were being sent from the
Arduino to the computer so it's just one
direction serial from the webserver to
the Arduino and I'm using com1 on the
Arduino I also decided to go with 9600
baud just because that's what this thing
defaults to and it's actually
surprisingly difficult to change it and
store that change in non-volatile Ram
like I say this thing is kind of kind of
old and outdated but it is working ok so
after we have the serial commands from
those server get requests into the
Arduino the Arduino drives this motor
control circuit here and the motor
control circuit powers the watering can
so for example one of the commands that
comes in from the web browser is a
number of 0 to 100 which describes where
the watering can should be and the
Arduino has information coming from the
watering can of where the position
actually is and it uses a PID loop to
just adjust the motor control to stand
the watering can to the right position
so it's closed loop servo control and as
I remember I used almost entirely
proportional control the integral
control really didn't work that well I
had a lot of oscillation problems so I
think I might have used a little bit of
differential control to cut down on an
overshoot so it's actually a PD
controller the actual switching device
that I use to drive the motor is an L 60
203
it's an H bridge in one package and it
even handles its own gate driving
circuitry so all you have to do is plug
this into a power source in this case
I'm using a very small computer power
supply and that sends 12 volts into the
drive circuit is just a smoothing cap 12
volts go into the L 60 203 and the
Arduino is able to control this thing
with just five volt signals so there's
- signals going in tech these are it
right here one two spin the motor
clockwise and one two spin the motor
counterclockwise and the Arduino just
outputs PWM on the appropriate pin to
make the motor turn okay so to track the
position of watering-can
I'm using just a potentiometer here and
it's just an analog signal that goes
back to the Arduino so that it always
knows where the water and can is and as
they can moves it just turns that pot
it's actually quite solidly mounted so
the position is is very accurately
measured the motor is a an electric
window motor for a car I think it was
probably for a Honda since it's a den so
part they were made in Japan and this
wheel here is a caster that I bought at
the hardware store and machined a groove
into the rubber and then press fit a
Adel wrench after there and then press
fit the shaft onto the motor okay I
think I used a set screw on there too so
of course one of the benefits is that
once this thing is controllable by any
web-browser you can use mobile devices
like this Android g1 and control the can
that way you can see that the screen
update on this phone is actually not
that good because the CPU is is kind of
outdated in this phone already but it
does work out iPhones and anything with
a WebKit browser
another part of this project is this
water vortex tube that I made with the
help of the friend and when the motor is
started the fan inside is spun around
and creates a vortex so eventually I'll
have a separate web page interface for
this separate from the watering can but
for now I'll just show you at the same

interfaceTop Paid Keyword :  earn cash online, google make money from home, earn money online without investment by clicking ads, free earn money website, online money making jobs, earn money online without investment by typing, online work for money, best online earning sites, make money online with google, online earning websites, money making websites, online earning websites for students, invest online and earn money, best online money making, online money income, view ads and earn money without investment, earn money online by clicking, online money income site, money earning sites, online earning sites, best website to earn money, 

No comments: