Show Posts
Pages: 1 [2] 3 4 ... 2235
16  Using Arduino / General Electronics / Re: voltage prescaler question. on: July 27, 2014, 04:19:37 pm
OK make sure your switch is a "break before make" type and not a "make before break".
17  Community / Local Groups / Re: Boston, Lincs, UK i.e. the original ? on: July 27, 2014, 04:17:34 pm
and seeing one of the palaces (also in Windsor?).
Apparently Americans ask why they built Windsor Castle so close to the airport.

I was in the Lake District in England (where I also live part of the time). I wan in the pub next to Beatrix Potter's house an a  American walker who was traumatized by a Taxi ride. She complained that he went so fast so close to solid stone walls.
18  Using Arduino / General Electronics / Re: Digital Ground/Analog Ground, Arduino Gets Stuck! on: July 27, 2014, 03:51:38 pm
i tried connecting the dc motors with 0.1 microfarads capacitor. but to no avail. should i add the capacitor to 5volt and ground on L298N driver shield?
The thing about decoupling is that you have to increase what you do if it is insufficient. Yes you should add capacitors to the supply of all the devices you have both a 0.1uF and a big one like 47uF to 10,000uF. You should even consider the pi filter like on the last page I showed. As a temporary measure you can try running your motor off a separate supply, if this works then you know you have to keep going with improving the decoupling and layout.

Have you checked with your meter that your power supply is holding up, that is the voltage is not dropping as you draw more current?
19  Using Arduino / Project Guidance / Re: Any way to add SRAM to Arduino? on: July 27, 2014, 03:44:35 pm
Could it be setup to run like an Arduino?
No not really. There is Bare Metal, that has no OS:-

But better that that there is RISC OS. This is the desktop operating system that all the others stole ideas from. It is a cooperative multitasking system, unlike Linux which is preemptive. It runs a blisteringly fast version of BBC Basic. Just printing a numbered line it goes at about 290 lines per second as opposed to Python under Linux which runs at 6 lines a second. And within a Basic program you can drop into machine code when you want things to really fly.
 Extremely responsive desktop where windows can actually be dragged behind other windows, minimised, maximised, dragged off screen or scaled to the size you require.
20  Using Arduino / Microcontrollers / Re: Intel Galileo has integrated linux OS on: July 27, 2014, 05:13:54 am
Yep. Makes me wonder what use it is. What are the people at Intel thinking?
They were thinking that they had to get something out for the launch at the Rome Maker Fair last year. I was talking to the design team and they only had one shot at the CAD and did the whole thing including getting it into mass production is less than 60 days.
You can run it without knowing there is Linux on it only then it will not remember the previous sketch. The design team did not know that the I2C chip that handled the I/O could not run at anything other than the default 100KHz rate and to be fair it is hidden in a rather obscure part of the data sheet. They were expecting it could run at 1MHz so the stupidly slow I/O would just be slow.

There are advantages however in the PC like buses on the processor. Basically the arduino bit is emulated from a much faster processor, so it is much faster than the Due in doing actual calculations and it has tons of memory. However for the sorts of projects I do I need fast access into and out of that memory.

I guess they're relying on the "Intel" name to sell it to American corporations/educational institutions.
No, it is not a product in the normal Intel sense of the word. It came about because the new CEO of Intel was at a presentation from someone prototyping something with an Arduino. He offered this person special prices on the processor if he would switch to an Intel one, he refused. Then the offer was for millions off prices, then at cost price, and then for free. The person wanted to stick with the Arduino because of the "support community" around it. The CEO wanted "in to this" hence the Galileo which he described as "just the first in a series of like offerings".

As a hobbyist it doesn't seem to offer much compared to (eg.) a Raspberry Pi at half the price.
I got mine for free at the Maker Fair, they had 400 they were handing out. I think I payed too much for it.  smiley

21  Using Arduino / General Electronics / Re: I connect LED 12V 1W to arduino but LED few bright. on: July 27, 2014, 04:28:44 am
How to create low power circuit for drive LED 12V1W with arduio.
I have no idea what you mean because a load of 1W is not low power.

How many LEDs do you want to light up? What are these LEDs, specifically do you know their forward voltage drop?

Do not connect raw LEDs in parallel they will not share current.
22  Using Arduino / General Electronics / Re: PWM, Low Pass Filter, Transistor, & P Channel MOSFET on: July 27, 2014, 04:25:00 am
This page calls it a transistor based voltage divider. Is that the same thing?
I don't know because the page would not let me see anything. I have never come across it being called that but it could make sense.

If it is current controlled then how do you know when it is saturated?
It is saturated when an increase in base current produces no increase in collector current.

For instance if I had a load on transistor that took 100mA, but my base current and gain were such that only 50mA were allowed to flow I am assuming that would not be saturated.

But does 100mA constitute saturated, or 150 or 200mA? Like at what point is it saturated?
When a transistor is saturated there is a fixed voltage between emitter & collector, this is normally 0.7V although at high currents this can increase, in the data sheet this is called Vsat. We say the transistor is "Hard on" in other words the rheostat is turned down as much as it will go.

So the saturation current for any circuit is the voltage across the load resistor over (divided by ) the resistance of the load resistor. The voltage across the load resistor is the supply voltage minus the Vsat voltage.

Like in an op amp or something?
Yes  smiley
In fact transistors were around first and op amp feedback used to be described as "like the emitter resistor".

So the less the base current the more the resistance?

Does the higher impedance (then lower) impedance have an advantage?
The bigger a capacitor is the more expensive it is (in general ) so it is better to have a high resistor and a small capacitor. However such a high impedance will not drive very much, so in a simple RC filter you have to have the impedance low enough to drive the load. The transistor converts the impedance so you can have a low impedance output to drive a load.
23  Using Arduino / General Electronics / Re: PWM, Low Pass Filter, Transistor, & P Channel MOSFET on: July 27, 2014, 01:44:43 am
So like an automated guitar with harpsichord kind of sound, that's pretty neat.
Well it is MIDI so it can sound like however you want. But I wanted it to have a finger picking acoustic guitar playing style instead of the distorted power chords you get in a lot of 'Keytars' as they are called.
I did it back in 2009.
I can even play "House of the rising sun" on it. But as you heard from my "Post your Code" efforts, my voice isn't the greatest  smiley
24  Using Arduino / General Electronics / Re: PWM, Low Pass Filter, Transistor, & P Channel MOSFET on: July 27, 2014, 01:40:48 am
Interestingly enough however there appears to be a voltage drop across the collector and emitter of the transistor though. Is that normal.
Yes it is. That is how the circuit works.
Most circuits here have the emitter connected straight to ground because the transistor is being used as a switch. To do this you need the transistor saturated, that is as hard on as it can go.

In this circuit the transistor is acting as a linear amplifier. The resistor in the emitter acts as a negative feedback mechanism reducing the gain of the transistor to allow the change in the voltage, applied to the base resistor, to be reflected in the change in voltage on the collector. This allows the FET to be driven in the linear region and give you the proportional control you are looking for. Any restriction of the current in the collector circuit shows up in an increase of voltage across the collector / emitter. That is how transistors work. Think of them as a current controlled (base current) rheostat, with the collector / emitter representing the rheostat. (Yes I know it is not quite like this but in terms of thinking about the circuit it is practically the same)

The PWM filter is on the base side of the circuit allowing you to use higher impedances in the RC filter (bigger R smaller C), then the transistor reduces that impedance and also amplifies it to to the 12V range you need for controlling the FET. I found you need about 34% PWM to start the motor moving.
25  Using Arduino / General Electronics / Re: PWM, Low Pass Filter, Transistor, & P Channel MOSFET on: July 27, 2014, 01:28:35 am
What's this instrument?

It is my Arduinocaster:-
26  Using Arduino / General Electronics / Re: Component to connect parts in parallel on: July 27, 2014, 01:25:09 am
not sure where you are located but here where I am aluminum foil is called tinfoil
Does it actually say that on the packaging? Or is it just a colloquialism?

not sure where you are located
I am in the UK and we have something called the "Trade Descriptions Act" this means it is illegal to label anything incorrectly. So you will never see it saying 'Tin foil' on the box if it is not made out of tin.

According to this site:-
Tin foil, also spelled tinfoil, is a thin foil made of tin. Actual tin foil was superseded by cheaper and more durable[citation needed] aluminium foil after World War II, although aluminium foil is still referred to as "tin foil" in many regions
Note it says "referred to".

You no doubt think this is pedantic, but to be a software or hardware engineer you have to be in this game.
27  Using Arduino / General Electronics / Re: Digital Ground/Analog Ground, Arduino Gets Stuck! on: July 26, 2014, 04:30:43 pm
i TRIED running the CODE without the MOTORS connected, and it worked fine
That screams that it is a decoupling problem.
28  Using Arduino / Programming Questions / Re: Set bits in a variable as output ports for serial connections on: July 26, 2014, 02:58:37 pm
At this stage in the game when you have changed your question three times do you not think it is time to post the whole of your code?
29  Using Arduino / Interfacing w/ Software on the Computer / Re: raspi cannot read USB serial on: July 26, 2014, 02:56:02 pm
The problem is with the code on your Raspberry Pi.

/dev/ttyACM0 , which is definitely my arduino device
How do you know? I found that the Arduino could also show up on /dev/ttyACM1 as well almost at random.

I am trying to read with both sudo cat and sudo tail -f
Sorry that is Linux gobbledegook, have you tried reading it from a python sketch?
30  Using Arduino / Installation & Troubleshooting / Re: programmer is not responding arduino uno Mac OS X on: July 26, 2014, 02:48:17 pm
It sounds like you might not have the bootloader in the Atmel chip.
Have you done the loop back test?
Pages: 1 [2] 3 4 ... 2235