Show Posts
Pages: 1 [2] 3 4 ... 102
16  Community / Bar Sport / Re: Why Q for transistors? on: August 22, 2014, 09:49:36 pm
I guess "T" was already taken?
Transformers were invented before transistors.
17  Using Arduino / General Electronics / Re: Bread Boards & wishful thinking? on: August 22, 2014, 09:33:12 pm
 What voltages, other then the obvious 3.3 & 5vs, would be desired and at what amperage?

For me, 12V @ 1.5 - 2.0A would be useful, others might want 24V as well.
18  Community / Bar Sport / Re: Winter vs Summer on: August 21, 2014, 10:51:45 pm
London had hail a week or so back, its the middle of summer.
It's not uncommon to get hail in the summer.
19  Using Arduino / Project Guidance / Re: teaching arduino to high school students? on: August 21, 2014, 10:21:17 pm
We still haven't heard from the OP about how much time and equipment is involved. Four weeks could be anything from 1 hour a week for 4 weeks to 4 weeks * 5 days * 6 hours. The former wouldn't give time for anything but the simplest of projects, but until he gives us more details, we're just guessing how complex it can be.
20  Using Arduino / Project Guidance / Re: Does anyone notice Keyboard.begin() Keyboard.end() not working right? on: August 21, 2014, 09:40:57 pm
delay() only takes ints, so delay(.5) is nonsense.
21  Using Arduino / Project Guidance / Re: teaching arduino to high school students? on: August 20, 2014, 10:10:34 pm
The application that we often see is traffic lights. You don't say how much teaching time you have in those 4 weeks, but I suggest just one light running through all the phases* would be do-able in the time available. Before they start programming, get them to write down all the states in order (not forgetting the 'wait' states), so as to get them thinking logically about the problem. After they've completed programming the one light, you could ask them what changes would be needed and how they would implement them (not the code, just the basic method) for a pedestrian push button controlled crossing. Extra points if they remember the walk/don't walk lights and the bleeper for the visually impaired. 
I don't think you'd have time for a full cross roads junction (with filter [turn] lights) system, but you could, at least, get your students thinking about the problem.

If you had even more time, I would suggest a lift [elevator] system. With that, you not only have lights (floor indicators and 'lift coming') but also motion. The more floors, the more complex the problem!

How about an after school club for the more interested students?

*See the 'blink without delay' example in the IDE and also look up 'State Machine' and the switch-case construct in the reference pages of this site.
22  Community / Bar Sport / Re: Music & Electricity on: August 19, 2014, 09:30:56 pm
Shocking! But did the orchestra play at a higher AMPlitude after that?
23  Using Arduino / General Electronics / Re: Pull-up interference from DCC system? on: August 19, 2014, 09:20:14 pm
I'd keep all the electronics as far away as possible from the point motors, especially if you're using the solenoid type. Those give one heck of a magnetic kick when they're activated. I'd also suggest keeping all your electronics away from the track too, near to the edge of the baseboard (or, my preferred option, on the floor in a grounded metal enclosure). Then run your twisted pair or shielded cables to the points and signals at right angles to the track, as already suggested.  Remember that your rails are acting like a very long aerial.

24  Using Arduino / General Electronics / Re: Pull-up interference from DCC system? on: August 19, 2014, 08:53:11 pm
Or you can run the drill backwards a little bit to lose the torsion. 
Then you have to remember to twist it more than you need before turning backwards. But stretching sets the twist tighter.
With short lengths a hand-drill gives much more tactile feedback.
I wouldn't like to use a hand drill on 50' lengths.    smiley-roll-blue
I hope you didn't have to strip and solder them too!  (Or make litz wire!)
I wasn't trusted with a soldering iron then! No Litz wire either, thank goodness. I hear it was nasty stuff to work with and the soldering technique was a severe fire hazard. Plunging hot wire into methylated spirits [Sterno?] isn't a good idea!

They mainly made speaker enclosures with crossovers. The demand was so slow that the testing bods found time to turn their green screen circular oscilloscope into a TV, but no sound. That was in the days of single channel monochrome 405 lines TV (early 60s).
25  Using Arduino / General Electronics / Re: Pull-up interference from DCC system? on: August 19, 2014, 07:59:59 pm
You can easily make twisted pair using a hand-drill and a bench-vice.
My first vacation job was working in a small electronics assembly plant. I spent some of that time making twisted cables (2 to 5 strands) by tying one end of the cables to some fixed point at one end of the factory and spooling about 50 foot out to the other end. I then placed the ends in the chuck of an electric drill and turned it on until the cable was twisted enough. The trick, to prevent the cable from untwisting, was to take it out of the chuck and pull hard, to stretch it slightly. That was the fun bit. I then spent the rest of the day cutting it up into 6" lengths.  smiley-sleep smiley-sleep
26  Using Arduino / Programming Questions / Re: FSM diagrams: states and transistions on: August 19, 2014, 07:24:34 pm
In a "pure" state machine, the "fade" part would consist of multiple states, with boring transitions.
(LED10% -> LED20% -> LED30% -> LED40% ... unconditional, timed.  The process where a single state sits there and changes outputs is NOT "pure")
 Agreed, but I termed it 'an unsteady state'.
(of course, this level of purity can be annoying to implement...)
This would lead to the banishment of the for loop and further leads back to assembly language programming... smiley-eek-blue
27  Using Arduino / Programming Questions / Re: Dumb novice question -- How does one stop a sketch from continuing to run? on: August 19, 2014, 06:37:44 pm
I've been having this problem as well, I want to just stop one part (a function) of the sketch from running and then get another function to run afterwards based on values from the previous stopped function.
What Hackscribble wrote, plus look up the switch/case construct if you want more than two functions.
28  Using Arduino / Programming Questions / Re: FSM diagrams: states and transistions on: August 18, 2014, 10:28:55 pm
The good thing that's coming out of this discussion is that states are good stuff.....
I'd say they're vital for avoiding indecipherable spaghetti code.
If you've ever written assembly language, states come naturally, otherwise you'd tie yourself up in knots within less than 100 lines, especially if your assembler program would only accept 5 character labels, as mine did. 
29  Using Arduino / Programming Questions / Re: Calculating Celsius using Datalogger on: August 18, 2014, 09:54:46 pm
Shouldn't this be *5000.0 ?
      float millivolts= (rawvoltage/1023.0) * 500.0;

Possibly. I didn't check the maths, as the OP said it was working correctly. All he wanted was to combine the two sketches.
30  Using Arduino / Programming Questions / Re: HELP! I have a program but it doesn't work on: August 18, 2014, 09:49:42 pm
Post your code between code tags (use the # key above the smileys).
Get rid of your delay()s. Use the 'blink without delay' example in the IDE.
Pages: 1 [2] 3 4 ... 102