HOME  |  NEWS  |  BLOGS  |  MESSAGES  |  FEATURES  |  VIDEOS  |  WEBINARS  |  INDUSTRIES  |  FOCUS ON FUNDAMENTALS
  |  REGISTER  |  LOGIN  |  HELP
Comments
You must login to participate in this chat. Please login.

Would be interesting using something similar for a quadcoppter control.

Iron

The audio streams fine for me.  Running IE11.

Iron

The Audio is no load???

Iron

never mind. it's working with FF.

Iron

The recorded audio for this class is not loading.

Iron

If physical computing is a human, a sensor and  a circuit, then what isn't physical computing?  A program calculating the digits of pi? ...

 

Iron

Can the Arduino be used to operate a dc motor? If so, what type of driver circuit is required?


Yes. H-bridge circuit.

Iron

name another sensing device that can control the servo motor

ultrasonic range detection sensor

Iron

Give an example of a Physical Computing device used in Gaming Consoles.

Kinect for the Xbox

Iron

What is Physical Computing?

Enabling the computer to interact with the real world.

Iron

Besides using a Tilt Switch, name another sensing device that can control the servo motor in the Block Diagram shown in slide 7.

 

PIR can be used.

Iron

Can the Arduino be used to operate a dc motor? If so, what type of driver circuit is required? 

Yes, PWM can be used.

Iron

Answer .:  Don's question:
Can the Arduino be used to operate a dc motor? If so, what type of driver circuit is required?
to use a PPM for example, we use a driver to drive the current to the motor per time.
to drive the PPM(Pulse Position Modulation) we use ESC (Electronic Speed Controller).


Answer .: Don's question:
Besides using a Tilt Switch, name another sensing device that can control the servo motor in the Block Diagram shown in slide 7.
thermistor for the temperature, and speed motor using ESC for driving current.

Answer .: Don's question:
Give an example of a Physical Computing device used in Gaming Consoles.
comodore 64, Wii, etc.

Iron

Thanks Don, and others who've provided information.  No Qs for now.  Will see ya tomorrow.

Iron

http://www.ladyada.net/learn/arduino/lesson2.html

Iron

this is another place with good tutorials for arduino

Iron

I just wired up my Starter Kit to show today's example.   Works as advertised.

Iron

@ALL: One more thing. The URL for the "BlinkingWithoutDelay":

http://www.arduino.cc/en/Tutorial/BlinkWithoutDelay

Iron

Check out python.org. There should be info on how use python with the Arduino.

Gold

Thanks Don, I finally take my Arduino outof the box. Great !

Thanks Don. Have a great day.

Iron

Yes by measuring the actual tilt switch angle and embedding with the sketch using Serial.println. The Serial.println statement values will be displayed using the Serial Monitor.

Gold

Give an example of a Physical Computing device used in Gaming Consoles.

Switches, relays, etc...?

Iron

Thanks Don. Looking forward to tomoorow's session.

Iron

Welcome and I'm glad you will be back tomorrow as well.

Gold

Welcome and I'm glad you will be back tomorrow as well.

Gold

Hi all, am I too late for the conversation today?

Iron

@ALL: So long, everyone!

Iron

@mrdon: The motors type question was to undestand your initial reference to them. In the process I learned other things.


Thank you for this lecture and I will e-see you tomorrow.

Iron

Thanks Don, Rob and all involved

Iron

Thanks everyone for your participation, and thanks Don for your excellent presentation. See you all tomorrow.

Blogger

Check the Fritzing forum to see if other Mac OSx users have the same problem and their solutions. Hope this helps.

Gold

time to go. Thanks Don and all. See you tomorrow.

Iron

@mrdon Can we measure tilt degree with this tilt sensor? It would be great if you teach the sensor capabilities in one lecture.

Iron

Yes, welcome the new revolution of Making. Enjoy!!!

Gold

@PatinNY: Interesting! Do the second type incorporate a position feedback loop?

Iron

Yes, additional libraries can be added to an Arduino sketch using the "include" statement.If you  go the arduino.cc website an to the "playground" you should be able to find all sorts of libraries via arduino applications to use for your sketches. Hope this helps.

Gold

@mrdon. Yes it does. Thanks a lot.

Iron

@Don: The Fritzing application for the OS X installed but doesn't run out of the box for security reasons. Anything comes to mind that may help?

Iron

thanks to don, rob, digikey and ieee....

@luizcosta - Don is refering to hobbiest servos such as you find in the RC world.  They come in two varieties - one version rotates like a drive motor with the speed and direction controlled by the PWM.  The other version rotates to a specific position based on the PWM signal it gets.  Hope this clears that up.

Iron

Servo motors can be operated in a continuous mode by removing the embedded potentiometer connection from the motor. Angular/Step servo motors are based on  a command pulse moving the shaft in degrees for a mechanical hard stop. Traditionally, the max rotation for a typical servo motor is 180 degrees. Stepper motors can run continuously or in steps (angles) by providing a binary value.The binary value tells the two windings inside of stepper motor would position its shaft should be at. Brushed motor is a typical motor and brushless has no internal contacts to provide electrical current for the commutator and slip rings to assist in rotating the motor. Hope this explanation helps.

Gold

Thanks! I just looked at the reviews and see what you're saying.  At $55 I'll order one now.  Happy Make-ing!

@Heather V. Great input, looking to read for your opinion about the arduino kit.

Iron

@HygieneScreen: I don't know if the kits are good but they had the best reviews so I ordered 2 yesterday. They should arrive tomorrow. I'll let you know on Friday how they look.

Iron

@mrdon, please include the question along with your answer...

Iron

Question Don:  Can other "include" libraries be added to the IDE library if other features or other types of device need to be supported? 

If so, can you share any links to how to do that and what some popular add-ons might be?

Iron

As a quick check into interfacing the Arduino with BLE tech, check out the playground within the arduino.cc. The playground has a wealth of libraries,sketches, and circuit schematics to assist in the development of your Arduino projects.

Gold

someone asked about using the internal pullups, pinMode(pin,INPUT_PULLUP) works.

Iron

I have a suggestion for all of you fine people, to please wait fifteen or twenty minutes before you post the "thank you's" and the "congratulations, Don".

I, too, enjoy the lecture, but I would prefer to get an answer to my posted questions first.

To those who did answer my question today, Thank you!

 

Iron

@thrasher: 

I've found that if I hold down on my mouse wheel the texts stop scrolling.  When I let go they resume scrolling again.  It allows me to read in between bursts of new texts. 

? What is  a good document for the list of built in functions for the Arduino IDE?

@Don: You said "There's two types of servos used in consumer and industrial applications. They are continuous rotation and angular/step devices"


Are you referring to b'Brushed" and "Brushless" motors, or step motors?

Iron

Thanks for providing the info on the Uno Starter kit. I like when the community supports each other with their infinite wisdom.

Gold

@Rob Spiegel, is there any way to sort the Live Chat so that new posts don't pop up at the beginning and are put at the end?  Is it just me or do others feel this Live Chat is impossible to read when lots of people are inputting new posts and things keep scrolling?  I have to wait until people stop posting to read!

Can the Arduino be used to operate a dc motor? If so, what type of driver circuit is required?

Yes, it can by using PWM to control MOSFET that drives DG motor.

@luizcosta thank you

Iron

In case anyone didn't see this yesterday:  www.tinkerbots.net looks like it will be really neat once they go to market. 

@Don, how can I use Python instead of Sketch to program Ardiuno? Do you have any reference for this?

Iron

Absolutely correct. You have nice background in electronics based on your answer. Great job in your answer!

Gold

"maybe mrdon can include the question with his answer?"

Yes that would help!

 

@boylanko - I can't keep track of which replies go to which question either, which is why I try to always start my replies with "@boylanko" or similar

Iron

@ALL: For those of you who thought the "blink" application is a good start for Arduino programming, search for the Blink no delay" version, which eliminates the need to have your code stuck waiting for that delay, allowing the code to acoomplish more tasks at every iteration of the loop().

Iron

Python is a good intro programming language for the novice. The Arduino is good to learn about electronics and programming as well.

Gold
Motor drive: h-bridge is good for bi-directional control, with PWM drive for variable speed. Simple speed control could just use Arduino PWM output pin, driving a transistor switch for higher power.
Iron

maybe mrdon can include the question with his answer?

Iron

The C Programming Language (K&R) has a good simple tutorial for the person asking for a newb programming guide.

Iron

Anyone know if this is a good starter kit for Arduino?  It's available on Amazon for $55.

"Arduino Uno Ultimate Starter Kit -- Includes 72 page Instruction Book"

Don, Rob, et al, Thank you for another fine lecture.

Iron

is there a way to know which questions are being are being answered in the chat?

Iron

There's two types of servos used in consumer and industrial applications. They are continuous rotation and angular/step devices.

Gold

Thanks Don, good job

Iron

Using the internal pullup would allow you to eliminate the resistor but the switch would have to be connected to ground and the if() statement reversed.

 

@Rob CEC, I joined the clcass yesterday but my profile did not count me to start the class. Can you help me to fix it. Thank you!

Iron

Thanks danlafleur

RMRSS

Iron

Absolutely correct. Thank you for participating in the class.

Gold

I understand electronics, my headache is programming... any newbie programmers guide?

 

Iron

@Alaskaman66, The Arduino website offers excellent help with coding. It also offers a terrific user forum.

Gold
 
Thank you Zwilrich.
Iron

Thanks for the lecture, and thanks to the chat participants.  I often learn as much from people's comments in the chat as I do from the lecture itself!

Yes it can. I didn't cover this information in the lecture or the book because of the abstraction level to explain how that works virtually. People can relate to resistors better than the software concept

Gold

@mrdon - are there any plans for a more indepth Arduino class?

Iron

Some answers to questions:

Physical computing is a reacation that takes place in the circuit based on physical input.

An example could be when a button is pressed for input and the software causes an action in response to that input.

A termperatur sensor that would turn the motor off or on depending on the temperature could be used instead of a tilt switch for another application.

The Arduino could be used to control a power mosfet to drive a dc motor.

Thank you for the class.

Iron

???@mrdon is the servomotor designed for 2 positions

Iron

@markjuggles - I can't recall the exact syntax, but Arduino can use the ATmega pullup.

Iron

I've been looking for a sketch to write data to on chip memory of arduino to use during boot without need sd card. do you know if there's an example out there.

@Carl, This is the live chat page

I recall that this magazine Design News had a Gadget Freak #241 that featured a glove with a tilt sensor that was used to control a RC airplane.
http://www.designnews.com/author.asp?section_id=1362&doc_id=263367
As I recall, they used a PIC MCU but the code could be easily done on an Arduino. The only problem would be that the Arduino is kinda heavy for a model airplane.

Gold

@Caspian,  Yes, you can use interrupts with Arduino.  See the right-hand column, near the bottom, of http://arduino.cc/en/Reference/HomePage

Iron

@RMRSS, try the arduino playground for a lot of helpful info like writing libraries.

Iron

Don any examples where the control is done through BLE (bluetooth 4.0). Do you recommend a book to explore this items?

R1 functions as a pull-down...

Iron

@All: The delay is only practical for low risk applications. It is not load robust in the sen=se that for different loads you will need to choose another delay. The other problem is parameter variation under different environment circumstances.

Iron

Good Day! Appreciate it.

Cu tomorrow.

Stan B.

Iron

thx... get 1 hour sleep b4 getting up 4 work :(

 

Iron

Correct. Touch and light sensors are another means to interact with the Arduino via Physical Computing techniques.

Gold

Can the Arduino input be configured to use the ATmega pullup?

 

Does the IDE software have a good help file to explain programming syntax?

Thanks Don, it seems simple and audio is improved!

Is there any video of the application?

 

Iron

Yes, Audio was much better!  Thanks

Iron

A potentiometer can be use to adjust the servomotor on a positon between 0 and 180 degrees. For that an ADC input must be used.

Iron

Thanks Don! Excellent session!

Iron

The host mentioned "going to the live chat page".  Is this it, or is it somewhere else?

I had to shut down my internet connection and start again. That eliminated the double voice I was getting.

This is ointeresting in that it will be somewhat simple to use this process to build various sensing devices. Very good!

How do you write your own libraries?

Iron

@Don: do you have DC motor circuit example in your book?

Iron

I'm glad the audio was better today. Thanks for your patience and understanding as the concern was being resolved.

Gold

Re: the pull down resistor - if you don't have either a pull-up or pull-down resistor to pull an open-switch condition to either the V+ or GND level, an open-switch condition basically connects an antenna to the digital input pin and you get very indeterminate results. I know this from experience.

Iron

Thanks for the lecture

 

Iron

Thanks Don, and Rob. Pretty Good lecture.

Iron

@Baruce..  if the input port is high z, when 5volts is removed, it may not go to zero. pull down resistor is to pull it down to zero.

Besides using a Tilt Switch, name another sensing device that can control the servo motor in the Block Diagram shown in slide 7.

Moving sensors, light sensors, touching sensors.

Thanks Don and Rob.

Audio quality was great today. Good work!

Iron

Thank you Don, Rob and Digi-key.

Iron

@Rob: I didn't make into the class yesterday because none of my internet options showed Design New CE was "on the air" or available. I contacted the support team, but haven't heard from them.

Iron

If the motor is driven "open loop" the time delay will have to be tuned to compensate for drive current/voltage, motor characteristics, and load.

Good intro.  Thanks.  Would be nice to have a little more depth or have video/semi-live feed to see the actual circuit in action.

Iron

Good audio today. Thanks!

Iron

Why do we need 15 ms delay?

Iron

Thank you Don, Rob and Digi-Key

Gold

Don, this program seems to perform at a rather coarse level. Could one use stepper motors for finer levels of control?

Thank you all, excellent!

I shall see you all tomorrow.

Iron

Thank you very much Don, very good lecture

Thanks for the presentation.

Iron

R1 makes sure the pin is pulled low when the sw is opened

 

Iron

Thanks Don and Rob.  Good stuff today.

Thanks. Good leture today.

Iron
Thanks Don and Rob.
Iron

@Don thanks for lecture

Iron

Great audio, first time in here..Thanks a lot

 

Iron

thanks see you tomorrow

 

Iron

Thank you Don and Rob.

Iron

Thank you Don and Rob.

Iron

No debounce but for this example, but it probably doesn't matter here.

Iron

Can someone use interrupts with Arduino?

Iron

agreed audio is much better today

Thanks again, Don and Rob.

Iron

Thanks, Rob and Don...

Iron

Thank you for the presentation

 

Thanks Don, Rob, and All for this fun experience.

Iron

the 15ms is the time before the rotation actually happens debouncing basically

Iron

FYI, Adafruit Industries offers a small servo with a 4th wire which reports back the shaft position of the motor. This is useful for analog inputs and verification that your motor is actually where you told it to go.

Gold

Thanks for the lecture.

 

Iron

Audio was great today.

Iron

Audio still working for me.  Much better than yesterday.

Iron

Why is R1 even necessary?  Why not let the tilt switch deliver 5V directly to pin 2?

I know from Ohm's law that R1 has 5 mA flowing through it, and that, again, 5V is delivered to pin 2 of the Arduino.

But why do I need to have current flowing from the 5V output of the Arduino going to ground?

Thanks, Baruce

 

Iron

@e_tang, yes, absolute max spec for Vcc and Gnd is 200mA.

Iron

15 ms doesn't seem like enough time to rotate that far unless the servo is very fast

Iron

could replace the two delay(15) statements with just one outside the if statement

Iron

if(digitalRead(inPin)==HIGH) {...

Iron

The 15 ms delay is too short for this servo to rotate.  Is the delay included for switch debouncing?

 

Iron

@Don Wilcher#include by itself not include library, only a header file with the numerical - name assignation of parameters and definitión of prototypes of functions.

 

Iron

@etarlac,  A servo has internal circuitry.  There is a potentiometer that measures the output position and a driver IC that controls a DC motor.  The output position depends on the pulse width input.  A narrow width turns the output one way, a wide width turns it the other way.  Typically a 1 ms width sets the output to the center position.  They were originally used for radio controlled toys.

Iron

Physical computing is interfacing to the real world.  Digital is just a special case of Analog.

Just did a Google on H-bridge. If I'm understanding it correctly, you could use two digital outputs from the Arduino to determine which direction the motor turns in, correct? A single MOSFET would only control the motor to run in one direction.

I've used MOSFETs and an arduino to switch brushless fans (not PWM speed control in that case) and Peltier modules.

Iron

etarlac - this servo is a RC servo motor, it is a time proportional based input. it has its own pot for reading position. so a given pulse width will put it into a given position.

Iron

There are a bunch of motor controller ICs (TI, Allegro, OnSemi, etc.) for DC / stepper motors (easier to integrate, additional functionnality for the cost, takes less space, heat protection, +) ; but yes, could be done descretely.

Iron

Have a nice day everyone

Iron

I ws cut-off from the audio

Iron

What is Physical Computing?

It's the interaction of an electronic circuit with the world around through sensors.

Yes; would need to include drivers for TTL/CMOS controllers...

Iron

@DanLafleur:  Thanks.  There's also the max drive for ALL pins combined that shouldn't be exceeded.

Iron

Use a FET with an H-bridge configuration.

 

The advantage of driving a motor with a micro is that wonderful new learning opportunities it will provide, including the smell of transistors.

Can you pls identify the URL in chat for  tool being talked about

Iron

@Curtis compsumtion of Arduino dependen of speed of crrytal, the work that him are doing (intensive calculatión are more power hungry) and the peripheral that you conect, only it compsume less than 200mA, a battery will be enoght for 24 hour or more, depend of the work of peripherals.

 

Iron

@DRIVER QUESTION: There are a  number of DC-DC power amplifiers such as H-Bridge Thyristor based motor drivers. For lower power applications, the H-bridge can be implemented with transistors as well.

Iron

Can the Arduino be used to operate a dc motor?


Yes it can . Use Mosfet for  a driver.

Iron

power mosfet could be used to drive DC motor

Iron

DC motor - yes with  H-bridge.

 

 

@Don.  Voltage divider uses 2 resistors.  Pull down is more appropriate description.  Similar function though.

Iron

Can the Arduino be used to operate dc motor? If so what type of driver circuit is needed?

Yes, use PWM to control MOSFET that drives motor.

Iron

@e_tang, you are right about constant current per pin, specs say 40mA absolute max before permanent damage.

Iron

DC motor - for one direction just a bipolar tranny or a mosfet, bidirectional drive wil lneed an H-bridge

Is there internal intelligence in the motor making it a servo motor, internal position sensor? If none, then the motor is simply stepper motor

Iron

motor: open loop, no problems except current drive.  Closed loop, sensors and more software.

You just need to use a transitor buffer to drive a DC motor.

Iron

driver circuit depends on whether you want bidirectional or unidirectional drive

Iron

An integrator or low pass filter

Iron

Can the Arduino be used to operate a dc motor? If so, what type of driver circuit is required?

 

Yes, transistor, IGBT

Iron

DC motor control. Properly biased Darlington in series with the motor DC output. Some output line to control the darlington.

DC motor can be used with the Arduino, using a MOSFET transistor to switch the motor on an off

So, we don't need to define pin9 as an output?  Does the "myservo" subroutine do that for us?

Iron

Can the Arduino be used to operate a dc motor? If so, what type of driver circuit is required? 

yes an ampifier, a relay or a transister

Iron

You could drive a DC motor if the current is less than the Arduino I/O max. You could use a transistor to control a motor with higher voltage and/or curent. You would need an H bridge if you wanted to reverse directions.

Iron

Mosfet or H bridge for dc motor.

Iron

An Arduino can be used to control a DC motor by using a driver appropriate for the type of motor (e.g., brushed, brushless, etc.).  The driver can be a simple single ended transistor or an H-bridge.

Iron

PWM port in Arduino can operate the DC motor through a Tr amp circuit, if the DC has small power enough.

Iron

Arduino should be able to drive a DC motor.  It would need to provide a variable output voltage to drive the DC motor and have enough current drive to power it.  It may required a power amplifier to convert a low-power output voltage to a higher-power output voltage.

Iron

yes it can be used to drive a DC motor, it needs a transistor bridge.

Iron

Yes it is possible but you would need a switch bridge to allow for reverse as well as higher drive current. Also the software will need to take into account the current assumed position to avoid continuous run in the return direction.

Iron

Drive dc motor:  If it is extremely low current motor, drive it dirctly (might need a diode to clamp back EMF).  Other wise, MOSFET would work nicely.

Any inductive load should be isolated/clamped to protect the arduino.

Iron

Yes, you can operate a DC motor with the Arduino.  You need to use a buffer transistor because the motor will need more power than the Arduino can supply from its PWM output.  And, unless you build a H-bridge, the direction will be one-way.

Can the Arduino be used to operate a dc motor? If so, what type of driver circuit is required?


ye, with H-bridge

Iron

don's? some kind of motor driver with digital input controls.

I would use a FET or transistor to drive a motor.

Iron

YOu'll need a high current driver or relay to drive a DC motor

 

Depends on the motor voltage and power required.

Iron

depends on how much current the DC motor sources. If more than what pins can take in Atmega you need a power transistor circuit to drive the motor

Iron

The Arduino could activate a bridge circuit or MOSFET driver that would drive the DC motor.

Iron

For a DC motor, use a logic Hi (5V) to drive an H bridge with Mosfets. The Mosfets actually power the DC motor.

To drive the motor just use a transistor or maybe a darlington pair.

Iron

Q2, yes it can drive the DC motor with bridge circuit.

Iron

Yes it is possible to replace the servo with a DC motor.  A power circuit would be needed to drive the DC motor.

Iron

H-bridge needed for DC...

 

Iron

You could use a digital out into the base of a BJT or the gate of a FET to turn current through the DC motor on or off.

Iron

Unless it is a VERY small DC motor an external driver (FET, transisitor, relay, etc.) would be needed.

Bronze

for DC motor could drive a simple transistor from arduino

Iron

It could with a MOSFET bridge.

Iron

Can the Arduino be used to operate a dc motor? If so, what type of driver circuit is required?

Yes, Im not sure about the typr of driver circuit though

Iron

DC motor could be operated if an 'H-bridge' were used for current switching.

Iron
Yes it can be used to drive a dc motor. You would need an h bridge design.
Iron

Voltage at D2; switch open=0V, switch closed=5V, no voltage divider but a simple pull down resistor

Iron

It's possible to use with a transistor bridge to drive a DC motor

Arduino can drive a DC motor but not necessarily directly.  You could use a MOSFET to drive it, with a back biased diode across the motor.

Iron

DC motor - yes w/ full H-bridge.

Iron

DC motor yes - pwm (capacitive) bridge.

Iron

Run the dc MOTOR WITH mosfet H-BRIDGE

Iron

PWM if speed control is necessary for a variable speed motor, but best through an H-Bridge that can handle the current. If just ON/OFF then a relay would suffice.

Iron

It would greatly help if there was real-time video or link to a video so that we can see exactly what happens.

Iron

For a DC motor we would need a MOSFET motor controller to drive the motor. The Arduino output pins cannot handle enough current to drive a motor itself.

Gold

cross latched relay with a FET driver to the PWM output to modulate the speed, the relay contacts can reverse the brushed DC Motor - can you use the Arduino to drive a DC motor

Iron

a transistor, low input current to high current control will drive a DC motor.

Iron

For a dc motor you need to have an H-bridge circuit

Iron

Yes, with appropriate software programming

 

Iron

We're now on slide 12.

Blogger

So I guess when you tilt one direction the servo goes to one set limit and when tilit is removed teh servo resets? Looking at teh code it looks like the servo will continuously try to reset to 0 degrees one tilt is removed.

Iron

You can use the PWM output with some type of buffer to drive a DC motor.

Iron

Can drive a DC motor. A relay can be the driver.

Iron

Question;  Yes  you would need a DC motor driver

Iron

Sure, just need an appropriate drive such as a H-Bridge

Iron

i use the L293D motor driver chip

Iron

tigy99 resister keeps input low with switch open

In response to an earlier question, I don't think R1 is actually a "voltage divider", rather it is more of a "pull-down resistor" that makes sure the digital input is low when the tilt sensor/switch is open. You could also reverse the order of R1 and the tilt switch so that R1 is a pull-up resistor and the switch ties the input to ground. Then, once you can picture the circuit with a pull-up resistor, you can actually configure the pin to provide the pull-up resistor function within the Atmel chip, so R1 actually becomes unnecessary.

In the time it took be to type this, I see that other people have made similar comments.

Iron

The PWM signal may work for a dc motor...

Iron

?What's the power requirement for Arduino? Can it be run from a battery?

Iron

tigy99: you'd have a short to ground without the resistor

Iron

@tigy99 - No R1 = smoke.

Iron

Don's question:

Can the Arduino be used to operate a dc motor? If so, what type of driver circuit is required? 

Blogger

R1 prevents a short circuit when switch is closed

Does the servo motor rotate 180 degrees and stays there?

Iron

R1 is a pull-down resistor not a voltage divider. There's no dividing going on.

Iron

motor may jitter due to tilt switch bounce

Iron
 Mercury tilt sensor hasn´t present bounces, but ROHS forbbiden it, other can do or not.
Iron

Without R1 1K, close the switch will also generate 5 V signal. Why R1 is needed?

Iron

I would like to see how to read actual analog sensors

Iron

@Don Will it be exactly 5V what if the Switch has some internal resistance to it?. I think that will drop some voltage right?

Iron

I've been reading schematic diagrams since I was 15 years old!

Iron

I agree w/ @jgibson. A deeper dive would be great!

 

Iron

I thought Atmel AVRs current sink/source was around 20mA.

Iron

To those interested in the datasheet of the tilt switch:

http://arduino.cc/documents/datasheets/Tilt.pdf

Iron

Won't the 1k resistor be a biasing resistor not a voltage divider?

On off is a switch

Analog a sensor

Or am I mistaken?

Iron

Motor appears to be a stepper, not servo.

Iron

So I gather the tilt switch is strictly on-off. I was hoping for a more continuous input since we are controlling a servo.

Iron

I wish this was more indepth. This would be good for a STEM club. I'd like to see a much more complicated system.

Iron

Resistor is only a pull-down

Iron

1K resistor is pull down to force D2 LOW when tilt switch is open

Iron

@debrandt, current source sink for the micro is around 40mA per pin, limited per port.

Iron

Does the tilt sensor signal bounce?

Iron

some switches of this kind could have spring so it would require a certain force to activate the ball bearing from closing the circuit.

Iron

1Kohm or 10Kohm will both work (but p.10 should list 1K to be consistent).

Iron

"for those proficient in using a schematic diagram..." that should be everyone here, right?

@etarlac1

Value of resistor isn´t critical, is only for polariza down input and avoid cortocircuit when sensor close.

Iron

So what happens when we tilt the tilt control switch?

Iron

What is the current sourcing or sinking capability of the digital outputs?

Iron

We're now on slide 11.

Blogger

Tilt switch could ba a ball-and-contact type (def no mercury!). I would add an RC debounce, but most debounce would be done i nthe program.

This must be a small, low power servo motor.

Iron

This would be great for STEM club

Iron

Not really a voltage divider, but a current limiter. A larger resistor means less current when the switch is 'on'

Any sensor that outputs a discrete signal would work. 

Fritzing circuit R1 10K value is not correct, must be 1K (Brown-Black-Red)

Iron

How about swapping the tilt sensor with a PING sensor and the servo motor with a 5V fan.  Then you can make the fan come on when you get near it (my office can get warm :)

Iron

Tilt sensor, detect movement.

Iron

@dbwarren: when you tilt the switch, the ball bearing makes contact; when you level it, it breaks contact (or reverse).

Iron

Hi fro ATL, bit late today.

Iron

Yes...  Is a plain switch to simulate tilt.

Iron

"Left" & "Right"  orientation is clearer on Slide 11.

Iron

Can use a different resistor?

 

Iron

So this is just a plain switch, not a tilt sensor?

Iron

@What would be another sensor to drive the motor?

Thermometer, potentiometer like a joystick of an airplane, video game, etc.

Iron
  
RHOS forbbiden Mercury in new manufactured devices, but work whit other sustances, like electrolythes.
Iron

R1 grew by 10x from slide 8 to slide 10!

Iron

Does he need to debounce the switch in the code?  Yesterday's example had a huge RC filter to debounce.  This one doesn't.

Iron

We're now on slide 10.

Blogger

photoresistor, pressure sensor, 

Iron

Tilt switch can be a mercury switch, or just two wires w/ a ball bearing in between.

Iron

tilt switch now is bearing ball in a small tube.

 

Iron

@Don: A voltage devider is an analog signal, as the tilt sensor is. So looks like you want to connect to an analog input and not a digital one, right?

Iron

Besides using a Tilt Switch, name another sensing device that can control the servo motor in the Block Diagram shown in slide 7.


accelerometer

Iron

Is the tilt switch a mercury switch?

Physical Computer => Output that control phisical devicel controlled by Input controller by phisical magnitude.

 

Iron

Tilt sensors have variability not just on off.

Iron

Three axis accelerometer.

Light and motion sensors.

Iron
An acceleromoeter can be used instead of a tilt sensor.
Iron

tilt sensor is on/off or tilt/ not tilt.

Iron

Little late today signing in

Iron

We're now on slide 9.

Blogger

I've used thermistors, hall sensors and accelerometers as sensor inputs to Arduino. I've taken trigger inputs from other devices, such as a camera intervalometer, into Arduino as well.

Iron

Besides using a Tilt Switch, name another sensing device that can control the servo motor in the Block Diagram shown in slide 7.

motion sensor, inductive sensor, speach sensor

Iron

Tilt sensor is on/off only, correct?

 

Iron

how about an LDC1000 inductive sensor to move teh servo in response to proximity to a metal object

 Light and Heat sensor

What can be used instead of tilt sensor to control server motor?  Gyroscope+accelerameter or optical sensor. lots of options.

What is Physical Computing? using hardware/software to interact with the physical world and measure/control that world.

Iron

Physical Computing device used in Gaming Consoles


Joystick, gaming console, touch pad

Iron

Q2: Light and heat sensors

Iron

A bend sensor would be cool

light, infra red (object detection with a constant emission), temperature, sensors

 

Iron

Any sense - light (photocell), wind (vane potentiometer), liquid (resistive strips - AD module), or a magnetic input device (spinning metal or sensing magnetic fields) could replace the input tilt sensor

Iron

Besides using a Tilt Switch, name another sensing device that can control the servo motor in the Block:

Limitless photocell, hall effect, etc.  

Iron

Motion like when someone walks into the room

Iron

You could control the motors with potentiometers hooked up to ADCs

Maybe a thermocouple, to cause the servo to move a temperature meter indicator needle.
Iron

Whhich of teh Arduino boards are you using in this Tilt Sensing Motor Controller?

Iron

looking forward to more good info

 

Iron

You could use a potentiometer as a input device to control the servo.

Iron

don's?  any kind of sensor.... or input device. select something...

Some sensor types:  accelerometer, joystick, potentiometer, thermosensing device.

Iron

Another sensor: optical sensor (to move an object toward or away from light using motor).

Iron

Joystick can control a servo motor, or potentiometer etc.

Iron

YOu could have any number of sensors, it could be temperature, optical, any one could be the driver for a response system.

 

Besides using a Tilt Switch, name another sensing device that can control the servo motor in the Block Diagram shown in slide 7. 

IR Sensor

Iron

Input device could be any MEMS sensor or maybe a rotary encoder position sensor or a light sensor or a proximity sensor or a heat sensor or just about anything analog.

Gold

Microswitches (Foward-reverse motor direction)

 

Iron

How about a limit switch?

Bronze

Could use a pot, joy stick, MEMS accelerometer to control servo motor.

Iron

opto sensor can detect position to control servo motor

Iron

time sensor (realtime clock) moves servo with time indicating hands.

Iron

Another sensor: thermister for reaction to temp

Iron

a temperature sensor to control a sensor with the servo sensor

Light sensor, heat sensor.

Iron

how many servos can be controlled simultaneously

 

Iron

Sensor for motor: Light sensor -- open or close drapes for example.

Iron

control servo motor w/ photodiode, potentiometer, light sensitive resistor, etc.

 

Iron

Light detection sensor

Light sensor, heat sensor

Iron

Another sensor? Could be a thermistor (change orientation based on temperature), an audio sensor (mic) to move somehting in response to a sound. How about  PIR sensor...

an accelerometer can be used to control the servo motor.

 

Iron

phenonenon - observation - decision - action

 

Iron

Another choice instead of the tilt sensor would be a proximity sensor

 

Iron

We're now on slide 8.

Blogger

AN input/output controller

Iron

accelerometer can be used to control the servo motor.

Iron

Thermal sensor to start a cooling fan

Iron

compass or magnetic sensor

Iron

Just about any sensor.  For example, light, temperature, tension, humidity.

Iron

Gyros, accelerometers, GPS

photocell or light sensitive resistor?

Iron

You could use an inclinometer and position the motor to the same angle as the sensor

using a photonic sensor

Iron

the interaction between a human and computer systems like a keyboard, joystick etc.

Iron

Control input - potentiometer.

Iron

Potentiometer for continuous position control.

Iron

An accelerometer could be used to control the servo motor.

Iron

Potentiometer, optical encoder, accelerometer

Iron

Gyroscope/ accelerometer

Iron

Give an example of a Physical Computing device used in Gaming Consoles.

a motor, blinking lights (LED), Robot

Iron

Gyroscope/ accelerometer

Iron

An accelerometer can be used to control the servo motor.

Iron
Physical computing is the human interaction with a computer device.
Iron

additional contoler - - heat sensor

What is Physical Computing?


use hardware and software to measure and respond to analog input

Iron

The interaction between a human, an electronic circuit, and a sensor is physical computing

Iron

Anything touching virtual reality ; yes Kinect, but the Matel Power Glove generated a lot of hype / interest / "garage VR" projects...

So are current products, like Occulus, Immersion, True Player's hardware

 

Iron

Don's question:

Besides using a Tilt Switch, name another sensing device that can control the servo motor in the Block Diagram shown in slide 7. 

Blogger

joystick, mouse, or keyboard controller

Iron

Physical computing such as an example of a virtual reality headset with accellerometers would be an example of the interaction of physical science world with humans to arduino space with electronics

Iron

We're now on slide 6.

Blogger

 

What is Physical Computing?
 Sense and respond interaction between a human and computer systems

Give an example of a Physical Computing device used in Gaming Consoles.

Joy stick

 

Iron

don's? physical computing? 'interaction between a human and electronic circuit...", "conversation between physical world/virtual world of computer..."  (right!!!)   ninto controller...

Kinect is an example of physical computing.

Iron

game console control :  joystick

Physical computing...  nonautomated sensor control ?

Iron
"Physical computing" may be something of a misnomer as used here, but we can go with whatever definition you choose. Hardware user interface mechanisms for games: joysticks, buttons, switches.
Iron

@What is physical computing? This seems in principle to be another unnecessary buzz-concept. Since the begining of Von-Neuman computers humans interact with computers at least on a terminal. Besides, A bit is a bit, a byte is a byte no matter how we dice and dress them.

Iron

Q1: Human / physical computer interastion.  Example: joystick controller

Iron

A bidirectional interacion between human, and electronic circuits.  

Iron

Q1: Keyboard om y PC.  TOuch screen on my tablet, etc.

Sorry bit late!

Hi to all from Habib from UK

Iron

Interaction with the physical world

We're now on slide 6.

Blogger

What is Physical Computing? 

The interaction between a human, Arduino a circuit and a sensor

Iron

Mice for gaming interaction

Wii or similar gaming console with switches, joy sticks, MEMS acceleromter, etc.

Iron

Physical computing would be any computing where teh processor itneracts with the physical world.

Iron

interfacing to the real world

 

Q2: gyros and accelerometers in a smartphone (for gaming)

Iron

PHysical computing is an interface between computer and people. exemple Joy stick and gyro sensor for games

example microsoft motion sensor for x box

 

Iron

phone GPS used for live-action board game built with MIT App Inventor: http://appinventor.mit.edu/explore/stories/draughts-game-virtual-reality-app-inventor.html

Iron

Interaction: Buttons joystick

Iron

Interaction between user and physical devices using circuits.  various Switches and solenoids of a pinball machine are examples.

Iron

Joysticks are an example.  Mouse, etc

Iron

Physical computing - A digital watch

Game system - on off button :-)

Iron

All gaming consoles involve physical computing.  People input directions through switches and various types of position and acceleration sensors. 

 

Sensor devices in the controller would be an example

Iron

Q2 and example is wii.

Iron

@Don: Q1-The controller user plays the game in game console.

Iron

Physical interaction between computer and phisical world via sensors

 

Iron

Q1.physical computing - interaction of software with human, example is a game controller
Q2. Wii

Human and computer interactions!

 

Iron

What is Physical Computing? 

The interaction between a human, an electronic circuit, and a sensor is physical computing


Give an example of a Physical Computing device used in Gaming Consoles. 

Wii

Iron

We're now on slide 5.

Blogger

I would expect a Wii or Xbox to be examples of physical computing gaming consoles...

Iron

Physical Computing: interaction between a human, electronic circuit, and a sensor.  Example: joystick.

Iron

Physical computing is the reaction to and manipulation of the real world from within a software/computer system. Physical computing devices in gaming consoles include Kinect, Wiimote, controller rumble packs etc.

Iron

Physical computing is the interaction between the virtual and physical world

Iron

physical computing is machine to human interaction

 

Iron

Where can we buy your book?

Iron

Physical computing using a gaming console:   Wii with accelerometers translate human motion to animation on video monitor.

 

Iron

Wii is a typical example  of physical computing.

Iron

Physical computing is the interaction between the physical world and a representative model in a computer.  The gaming console allows the human player to interact with the computer game.

Iron

Physical computing is direct computing that controls a physical device or utilized input from a physical device. Example is a mouse, keypad, etc.

Gold

Physical computing is the interaction between humans and machines to manipulate the physical world.  Kinect.

Iron

Acceleration sensor

Iron

Physical Computing: software causing something to happen in the physical world

Gaming Consoles Example: vibration to give user feedback

Bronze

 

It is the intraction of different sensor for the arduino

Iron

examples would be any handheld controller

Iron

Seems like physical computing is pretty much any interactions we have with a computer or other electronic gizmos.

Iron

Vibration feedback

 

Iron

Physical computing is about creating a conversation between the physical world and virtual world of the computer.

WII controller

Iron

The WI controllers use physical computing, with accelerometers and tilt switches..

physical computing is physical world to computer interface. Wii controllers with accel sensing is an example.

Iron

What is physical computing?  Anytime you use a sensor to sample physical events, and then process the output of the sensor with a computer, that's physical computing.

Gaming consoles JOystick, or more recently the kinect / motion sensing technologies

Iron

Physical computing is the interaction between a human and a computer.

The joystick control is an example of physical computing for a game console.

Iron

Question 1 - interaction between a human and electonic circuit

Q 2 - Wii or MS game box

 

Iron

Physical computing is the interaction between a human, a computer, and a sensor.

An example is gaming such as Kinect and Wii.

Iron

Physical computing is the interaction of the real world with a computer.

 

Iron

Physical computing is the computer interacting with outside world. The joystick on a gaming device is an example.

Gold

FerTrujillo: you beat me by 4 seconds!

Iron

The interaction between a human, an electronic circuit, and a sensor is physical computing

Iron

1. Physical computing - buzzword.

2. Game console "physical computing device" - jiystick.

Iron

The use of acceloremeters in a WII remote.

Iron

game contol example - Wii

physical computing - interaction of software with human, example is a game controller

Iron

Physical computing is acting on an input with an appropriate output or action

Iron

We're now on slide 4.

Blogger

Its physical interaction with the PC.

Iron

Don's question:

Give an example of a Physical Computing device used in Gaming Consoles. 

Blogger

Interaction between computer and phisical world via sensors

Iron

hello all from Timisoara

Iron

Automatic sprinkler system based on current conditions.

Iron

signing in from Pearland, TX

Iron

Don's question:

What is Physical Computing? 

Blogger

hello, from Minneapolis!

Iron

@Don

Physical computing is probably a subset of Cyber Physical systems 

Iron

Hello from Pittsburg, KS

Iron

@Rob, Don, and All: Good day folks.

Iron

now we are on the slide 3

St.Louis is listening.
Iron

We're now on slide 3.

Blogger

Hello from Montreal, QC

Iron

No sound clipping today, GREAT!

Iron

Thank you, all.  I see the sound bar now.  from Dearborn, MI. 

Iron

We're now on slide 2.

Blogger

who doesn't have an arduino!

Iron

You have the introduction and the lecture going on at the same time.

Audio is better today. What did you fix?

Iron

Greetings from Denver. Audio is pretty good so far...

 

Iron

Good, better audio today

Iron

Good afternoon from Valladolid, Spain, UE

Iron

good morning everyone

Iron

Audio sounds much better today

We're now on slide 1.

Blogger

Hello from Ham Lake, MN

Iron

I'm here with my ears on.

 

Iron

Hello from Detroit area.

Iron

Hello from Sacramento, CA

Iron

Day 3 from Philadelphia

Iron

Hi all -Audio is live! If you don't see the audio bar at the top of the screen, please refresh your browser. It may take a couple tries. When you see the audio bar, if it doesn't start automatically, hit the play button. If you experience audio interruptions and are using IE, try using FF or Chrome as your browser. Many people experience issues with IE. Also, make sure your flash player is updated with the current version. Some companies block live audio streams, so if that is the case for your company, the class will be archived on this page immediately following the class and you can listen then. People don't experience any issues with the audio for the archived version.

@JohnCo, I wish there were some into background music.  The audio bar should appear in a few seconds.

Gold

Hello from Salt Lake City, Utah

Iron

No sound until start time

Good morning all from Calgary Canada

Are we supposed to hear some background music by now?  Is there a link to hear the audio?

 

Iron

Hello from Minnesota

 

Iron

Hi from Long Island, NY

 

Iron

Are we about to start?

Iron

Hello from Longmont, CO

Iron

Howdy from Canton, Ohio

Bronze

hi from sydney... 4am here... missed the 1st 2 lectures but caught up with the archived files

 

Iron

Hello from Tulsa, OK

Iron

Hello from Silver Spring, Maryland!

Gold

Hello from SW Michigan

Iron

@Rob, good morning! I joined the clcass yesterday but my profile did not count me to start the class. Can you help me to fix it. Thank you!

Good morning every body!

Iron

I have published paper on Arduio, Matlab, Labview and Proteus in IEEE FIE 2013 conference.

Iron

Hello all from Montréal, Québec

Iron

Good afternoon from Valladolid, Spain

Iron

Hello, from Dallas, TX...

Iron

Hello from Western Pennsylvania

Iron

Hello from sunny San Diego!

Iron

Hi to All from Quebec city.

Iron

Nice to meet you all!

Iron

Sunny and mild in Kansas City

Hello from Flushing, MI

Iron

Hello from Rainy and dreery Southeastern Indiana USA

 

Iron

Hello from San Jose, CA

Iron

Hi from northeast Ohio

Iron

rainy in Toronto, Canada

Iron

Hello from El Dorado Hills CA

Iron

Good morning from beautiful Valdez

Rainy day here as well :-)

Hello from Albuquerque.

Iron

Hello from coastal NY

Iron

hello from NY - rainy day here

Iron

-The streaming audio player will appear at the top of this web page when the show starts at 2 PM Eastern time today. If the audio doesn't start automatically, click on the play button to start it. Note however, that some companies block live audio streams. If when the show starts, the audio bar doesn't appear or you don't hear any audio, try refreshing your browser. If that doesn't work, try using Firefox or Google Chrome as your browser. Some users experience audio interruptions with IE. Also, make sure your flash player is updated with the current version. If that doesn't work, your company is likely blocking the live stream. The class will be archived immediately following our live taping and you will be able to listen to it then. You shouldn't experience any problems with the audio when listening on-demand.

Blogger

Hello from Detroit -- where the weak are killed and eaten...  ;-)

Iron

@bitbanger55 and rruther2.  I think what you are trying to say is that the early worm gets caught by the bird.
Hello from Montana.

Gold

@John Co

I refused Adobe Flash and logged on anyway.

I must have had one already.

Iron

Hello from Delavan, WI.

Iron

-Be sure to click 'Today's Slide Deck' under Special Educational Materials above right to download the PowerPoint for today's session.

Blogger

Can you upload the lecture series to You Tube later and email us?  My location won't let me install Adobe Flash and prevented me to join.  Thank you.

Iron

-You are eligible to earn IEEE Professional Development Hours by attending these courses and participating in the chat function. Additionally, we are no longer using the points system, offering "graduation", or giving grades. The IEEE hours are taking the place of that. There are some important things for you to know about earning the hours. The most important ones are that you need to attend these courses live, you need to attend a minimum of two of them per semester, you need to fill out a course evaluation form within 2 weeks of the end of the class, you need to attend 4 out of the 5 classes per course, and you need to participate in the chat function every day you attend. Please click on the link at the top of this page that says "How do I earn IEEE professional development hours" to read all of these important details and more.

Blogger

happy hump day from Edmonton, Alberta.

Iron

Hello again everyone.

Iron

greetings from slc ut..

Nope, it's still Hump Day! Carl@CipherEngineering not Tuesday

still, Good to be aboard the webinar today again...

 

Iron

Hello from Thornville, Ohio

Iron

Good afternoon Don and Rob. How are you? I hope you are well and everything goes your way. I am looking forward for another great lecture.

Iron

Hello from Summerville, SC. How's everyone doing?

Iron

Hello from Fort Worth, Texas.

Iron

Hello from St. Charles, IL

 

Iron

Hello from Hudson's Hope BC

Iron

@MikeH : How are things down in Bing? East Syracuse is overcast and wet.

@Carl@CipherEngineering.com - The correct PPT is posted on this page. Today is class 3 and it is June 11th in the US.

 

Hello from Binghamton, NY

Iron

Hello,

Yesterday the logon was overloads and I was unable to get connected.  

I was able to hear it after.  The is good stuff and with sketches all ready available, prototyping is a easier way to go.

Iron

Hello from Cincinnati.

Silver

A soggy hello from Mississauga Ontario

Iron

Greetings from scottsdale

Iron

Hello from Chicago

 

Iron

greetings from Detroit, Michigan

Hellow folks and greetings from Guadalajara Mexico

-Please join our DesignNews Reader Network Group at http://bit.ly/dnlinkedin and tweet about today's class using #DNCEC.  You can also follow Design News on social for the latest class information = Twitter: http://bit.ly/dntwitter ; Facebook: http://bit.ly/dnfbook ; Google Plus: http://bit.ly/dngoogleplus

 

Blogger

Just waking up the board.

Iron

Hello from Albuquerque, New Mexico.

Blogger

-Please join our Digi-Key Continuing Education Center LinkedIn Group at http://linkd.in/yoNGeY and be sure to follow @designnews and @DigiKeyCEC on Twitter for the latest class information. We encourage you to tweet about today's class using #DigiKeyCEC.

Blogger

I think this is the wrong power-point deck . . .

The notes say Class 3: June 11th.  My calendar shows June 10th.  Is he in a different time/day zone?

Good morning from Hillsboro, Oregon, on this bright, sunny day!

@rruther2 : you beat me. The early camel gets what ?



Partner Zone
Latest Analysis
An Israeli design student has created a series of unique pieces of jewelry that can harvest energy from default movements of the body and even use human blood as a way to conduct energy.
Made By Monkeys highlights products that somehow slipped by the QC cops.
Artificially created metamaterials are already appearing in niche applications like electronics, communications, and defense, says a new report from Lux Research. How quickly they become mainstream depends on cost-effective manufacturing methods, which will include additive manufacturing.
New software from Carnegie Mellon allows 2D objects -- digital photos, old photos, and even paintings -- to be manipulated in 3D using models found online.
Sharon Glotzer and David Pine are hoping to create the first liquid hard drive with liquid nanoparticles that can store 1TB per teaspoon. They aren't the first to find potential data stores, as Harvard researchers have stored 700 TB inside a gram of DNA.
More:Blogs|News
Design News Webinar Series
7/23/2014 11:00 a.m. California / 2:00 p.m. New York
7/17/2014 11:00 a.m. California / 2:00 p.m. New York
6/25/2014 11:00 a.m. California / 2:00 p.m. New York
5/13/2014 10:00 a.m. California / 1:00 p.m. New York / 6:00 p.m. London
Quick Poll
The Continuing Education Center offers engineers an entirely new way to get the education they need to formulate next-generation solutions.
Aug 18 - 22, Embedded Software Development With Python & the Raspberry Pi
SEMESTERS: 1  |  2  |  3  |  4  |  5  |  6


Focus on Fundamentals consists of 45-minute on-line classes that cover a host of technologies. You learn without leaving the comfort of your desk. All classes are taught by subject-matter experts and all are archived. So if you can't attend live, attend at your convenience.
Next Class: September 30 - October 2
Sponsored by Altera
Learn More   |   Login   |   Archived Classes
Twitter Feed
Design News Twitter Feed
Like Us on Facebook

Sponsored Content

Technology Marketplace

Copyright © 2014 UBM Canon, A UBM company, All rights reserved. Privacy Policy | Terms of Service