Show Posts
Pages: 1 [2] 3 4 5
16  Topics / Product Design / Re: Interesting behavior, what would be the problem? on: August 03, 2013, 01:52:27 pm
That was what I was thinking, I used a 10k resistor and a reset button b.t.w., just like the Pro Mini design actually, I only left out the .1uF capacitor.
17  Topics / Product Design / Interesting behavior, what would be the problem? on: August 03, 2013, 07:26:19 am
Hi have a bunch of home-made Arduino clones with Atmega328 uC's.

They have an FTDI header and ISP header. It seems to be that I can't generally program them over FTDI, but I can just after I burned the bootloader onto it. Doesn't matter what bootloader I choose. (avrdude: stk500_recv(): programmer is not responding error)

If I upload the bootloader again (via ISP), I can program it again using FTDI, but only once... Of course it doesn't really matter since programming it using ISP works very well, but I use the FTDI for configuration and debugging purposes using the serial port.
18  Using Arduino / Interfacing w/ Software on the Computer / Arduino using IOCTLS on: April 22, 2013, 03:19:20 pm
Hi guys,

I'm trying to access my Arduino UNO from C#. I found out that in a Windows Store App (default under Windows 8 and visual studio 2012), I can't access SerialPort (System.IO.Ports) anymore. However, it should be able to work with this:

http://msdn.microsoft.com/en-us/library/windows/apps/ms850326.aspx

Does anyone have experience with that? Also are the current UNO drivers IOCTL compatible? Or would it be advisable to move from an UNO to a Leonardo where I can access it as an HID?
19  Using Arduino / Installation & Troubleshooting / Re: Mac OS mountain lion Not detect Arduino Serial Port on: August 10, 2012, 03:41:46 am
Warning: the old crashing problem is introduced once again. So if you are sending Serial data don't disconnect the USB before closing the terminal or your mac will crash!!! For me this is the only way I can crash my mac in normal use b.t.w., I have never experienced it in other situations!
20  Using Arduino / Installation & Troubleshooting / Re: Mac OS mountain lion Not detect Arduino Serial Port on: August 10, 2012, 03:29:18 am
I did this and it works perfectly fine (Mountain Lion under a MBP Retina), alas is the port the lowest in the list (was always on top), but it works!
21  Using Arduino / Programming Questions / Re: Issue with digitalWrite on: July 03, 2012, 01:39:52 pm
Sorry, I won't go further with this... I have used Atmel uC for some years now, I have programming experience as a software engineer since 1997, I teach computer science both at high school and university, etc. I even wrote a complete educational Arduino program for high schools all around my country.

So I screwed up my first post because of being in a hurry (I should have done better, I agree). I know there are a lot of novice users here, but sorry this topic was a mistake it will lead to nothing. (of course I set the DDR on port B by using pinMode in Arduino). I am a bad reader myself, but a lot of experienced people here don't seem to read my issue and just comment by doing lucky guesses...

My mistake. I will just enjoy the fun of Arduino with myself and my always positive, helping and understanding students smiley
22  Using Arduino / Programming Questions / Re: Issue with digitalWrite on: July 03, 2012, 09:50:00 am
Of course it does, that was my mistake, but that must have been the rush this morning before going to work. I corrected it the way I normally do it, so with parenthesis before the 1 and a closing one before the semicolon.

Didn't change the effect (actually I programmed it correctly but posted it here incorrectly). I will use my scope to it to see the effects, but not before tonight. No matter what, I detect a high/low switch when I perform a drigitalWrite(x, HIGH). Not that it matters to me but I thought it would be interesting to you all. I use a recent rev. UNO b.t.w. it could be hardware related of course.


Code:
PORTB &= ~(1<<PINB5);
  delay(1000);
  PORTB |= (1<<PINB5);
  delay(1000);


No offense, but I consider just exploring it myself and then just share it with my students smiley-wink
23  Using Arduino / Programming Questions / Issue with digitalWrite on: July 03, 2012, 12:46:08 am
I'm creating my own sort of one wire protocol (to drive a attiny10):

when I drive the line low for a moment the other side starts reading pulses.

So far so good. But I detect that:

if I do a digitalWrite(line, HIGH); (e.g. on D12 or D13), the other side starts to respond.

it should only respond to a digitalWrite(line, LOW);

To confirm this issue I also tried it with:

Code:
PORTB &= ~1<<PINB5;
  delay(1000);
  PORTB |= 1<<PINB5;
  delay(1000);

That gives exactly the expected behavior.

It seems that digitalWrite(x, HIGH) does more than PORTB &= (1 << PINB4);

That is very interesting isn't it?!
24  Using Arduino / LEDs and Multiplexing / Re: Charlieplexing issue on: May 19, 2012, 09:01:09 am
aha, I'm beginning to see the end of the tunnel smiley-wink
25  Using Arduino / LEDs and Multiplexing / Re: Charlieplexing issue on: May 19, 2012, 07:09:22 am
So couldn't I regulate that using resistors then?!
26  Using Arduino / LEDs and Multiplexing / Re: Charlieplexing issue on: May 19, 2012, 02:59:50 am
I could of course do multiplexing using the common kathode / common anode method. There is however an extra connection needed to both signals. That way one is able to control all colors more exactly of course. In one signal pole for the Dutch train signal system only one LED needs to be lit.
27  Using Arduino / LEDs and Multiplexing / Re: Charlieplexing issue on: May 14, 2012, 04:47:16 pm
It seems to be quite hard to compute suitable values for the resistors in the system though. I didn't succeed until now.

When I use 470Ω for A and C and 220 for B and D, one almost can't see the green.
28  Using Arduino / LEDs and Multiplexing / Re: Charlieplexing issue on: May 14, 2012, 01:57:39 am
That is interesting, I was not aware of that, should also make sure I take that into account. But it isn't wise of course to connect too much to a pin without driving it using a transistor.
29  Using Arduino / LEDs and Multiplexing / Re: Charlieplexing issue on: May 14, 2012, 01:48:34 am
Of course, one should. But one doesn't NEED to if the output doesn't output more than 40mA or so...
30  Using Arduino / LEDs and Multiplexing / Re: Charlieplexing issue on: May 14, 2012, 01:34:47 am
As one can also see in this tutorial:

http://uzimonkey.blogspot.com/2009/01/charlieplexing-on-arduino.html

The problem is that I didn't use any resistors. A resistor value of about 120Ω should be sufficient in my case (I tested that).

So... it seems when using charlieplexing, one needs to include resistors.
Pages: 1 [2] 3 4 5