Show Posts
Pages: 1 [2] 3 4 ... 86
16  Using Arduino / Displays / Re: Arduino Uno w 16x2 LCD Displaying Jumbled letters. on: August 21, 2014, 07:20:34 am
Switching a solenoid creates a current spike to overcome the inertia of the mechanical system. This will probably momentarily exceed the Arduino pin spec and cause a brownout type situation for the MCU and/or the LCD display. Having more relays will increase the effect. It also seems you door latch is always on, which puts a constant load to which you then add the other solenoids.
17  Using Arduino / Displays / Re: Arduino Uno w 16x2 LCD Displaying Jumbled letters. on: August 21, 2014, 07:03:53 am
You cannot drive a relay solenoid directly from the arduino pins because they take too much current. You need to use a transistor to switch the higher current.
18  Using Arduino / General Electronics / Re: Switch de-bounce circuit. on: August 15, 2014, 07:05:58 am
I found this reference a good explanation when I was trying to understand the issues involved.

http://www.eng.utah.edu/~cs5780/debouncing.pdf
19  Using Arduino / LEDs and Multiplexing / Re: MAX7219 without scrolling on: August 15, 2014, 01:55:09 am
Look at the MD_M7xx library in the links below.  The library has examples of how to display letters and numbers. You don' have to scroll at all.

You will need to answer yourself questions as to whether the text digits will be centered or right justified, leading zero, etc. this will affect how you place the text in the matrix.
20  Using Arduino / LEDs and Multiplexing / Re: Multi-tasking LED's on: August 13, 2014, 05:23:38 pm
A sketch called Multiblink in my code repository (link below in the signature) may be useful for you. It can do what you need with minimal change.
21  Using Arduino / Sensors / Re: Arduino with 400 button ?? on: August 13, 2014, 03:14:37 am
This implementation using 3 digital control lines and a 4017 may be of interest: http://forum.arduino.cc/index.php?topic=235438

By adding in another 4017 you can get 1000 switches.
22  Using Arduino / Programming Questions / Re: switch statment changes for no reason? on: August 11, 2014, 05:51:51 pm
Buttonstate does not seem to be set to anything if there is no button pressed.
23  Using Arduino / LEDs and Multiplexing / Re: RGB LED easy smooth colour transitions on: August 07, 2014, 04:38:03 pm
The only suggestion I have is to experiment with the led thresholds. These determine the lowest level at which the led will be set by the software.
24  Using Arduino / General Electronics / Re: MAX7219 SPI Chain Length on: August 06, 2014, 05:26:54 pm
Quote
In terms of just the SPI communication, does the Parola code do anything special that the Arduino SPI library doesn't?

The control of the hardware is in the MD_MAX72xx library. No special things are done except the initialization is by the book according to the spec sheets, as mentioned by CrossRoads. You could download the library and see if it works better for you.

With lots of modules you should be using external power. The Arduino power supply won't be enough. Also make sure that the capacitors are as per the sample design on the spec sheet as that does make a difference.

What does you circuit for one module look like? Are you using standard module so your own circuits?
25  Using Arduino / General Electronics / Re: MAX7219 SPI Chain Length on: August 06, 2014, 09:29:26 am
I have had up to 20 connected together as part of testing my Parola project and others have many more than that, so the 10-12 limitation is probably not coming from the chips but somewhere else in your circuits.  The links for Parola and the forum are in my footer below.
26  Community / Exhibition / Gallery / Re: Scrolling LED matrix display - Parola for Arduino on: July 30, 2014, 08:10:01 pm
Sorry, I was not clear. I meant use DATA and CLK pins different from the hardware pins, to avoid any contention issues. With the two different data streams, if the displays still don't work with just software SPI, then you are looking at a fundamentally different problem to chase down.
27  Community / Exhibition / Gallery / Re: Scrolling LED matrix display - Parola for Arduino on: July 30, 2014, 05:08:30 am
@oscomputing

I have sent you a new version of the library to try. There were a couple of bugs in V2 that have been corrected and this is pre release.
28  Community / Exhibition / Gallery / Re: Scrolling LED matrix display - Parola for Arduino on: July 30, 2014, 02:54:37 am
@confusered

Can you try to test using different SPI pins for the sd and display?
Also, is that the latest version of sdfat? Not near my computer at the moment...

Edit: SDFAT is the same version as mine.
29  Community / Exhibition / Gallery / Re: Scrolling LED matrix display - Parola for Arduino on: July 27, 2014, 02:40:02 pm
The USE_HW is used to select the type of hardware module that you have got.

Irrespective of the hardware, the interface to the hardware is the same (SPI). SPI can be implemented in software or you can use the CPU supported hardware implementation. If you specify all the pins, then the library will assume that you are implementing the software version of SPI. If you only specify the CS pin then it defaults to the hardware implementation, where the pins are set by the type of hardware CPU you use.

All of this is in the MD_MAX72xx library documentation.

My setup is for an Arduino Uno and I use the Parola module.
30  Using Arduino / Sensors / Re: TCS3200 with Arduino Uno on: July 26, 2014, 09:38:54 pm
When you are using the sensor, are you shielding it from externally reflected light? If you are using the sensor as-is in the picture you linked to, you will get different results depending on the light level and other objects in the room.

If you see in my documentation, I built a black cardboard shielding around the LEDs and the sensor. Then when I want to sense, I lock out all the external light from the sensor by putting the shroud in contact with the material to be identified. this stops the external light from influencing the reading and I get the same every time.

I would also say that the colours on the screen will look different from colours in real life because they are produced differently.
Pages: 1 [2] 3 4 ... 86