Show Posts
Pages: [1] 2 3 ... 6
1  Using Arduino / LEDs and Multiplexing / Re: Is it possible: control Numitron IV-9 with MAX7219CNG LED driver on: March 10, 2014, 04:55:32 pm
Does this mean that it's safe for me to use my 74HC595N shift registers to drive my Numitrons? or should I use the TPIC6B595N's I've ordered? - everything seems to run just fine using the 74HC595N's
2  Using Arduino / LEDs and Multiplexing / Re: Is it possible: control Numitron IV-9 with MAX7219CNG LED driver on: March 06, 2014, 12:46:03 pm
Actually I got everything up and running using the 74HC595N shift registers I got. Guess I can just use these then?
- I tried using the pineapple library (link https://github.com/Qtechknow/Arduino-Libraries/tree/master/Pineapple) to display numbers on my numitron, but I can't get it going. I either have all the segments lit up nor none of them, I can't turn any segments on individually or anything, even though I know it will work with the shift register as I've tested my shift register using another sketch which is not relying on the pineapple library. Does anyone know how to get the pineapple library to work?
3  Using Arduino / LEDs and Multiplexing / Re: Is it possible: control Numitron IV-9 with MAX7219CNG LED driver on: March 03, 2014, 06:44:25 am
Fine, I'll go with the TPIC's then :-)
by using one for each I will be able to drive the numitrons without using any other components, right?
- I guess the only thing I would need is a external power supply.

If I have to control high loads (let's say 12v 1A devices) in future, which component would be the best? - do you actually use shift registers like the TPIC's for this, or is there some kind of component primarily for controlling high loads with a small number of pins?

Thank you 
4  Using Arduino / LEDs and Multiplexing / Re: Is it possible: control Numitron IV-9 with MAX7219CNG LED driver on: March 03, 2014, 02:14:43 am
Okay, I have some 74H595N shift registers, but I guess those won't work as they have no internal transistor/mosfet to switch the load. If I should use these, I would have to use eksternal transistors/mosfets... (?)

I've never worked with switching higher loads (dc and current more than leds consume), as I am green in working with shift registers. What else would you normally use if you had to switch let's say high power leds or relays with as little pins as possible? As far as I've read so far, most shift registers can't do it... What alternatives do you have then.

Thank you for your helpful answers Paul

5  Using Arduino / LEDs and Multiplexing / Re: Is it possible: control Numitron IV-9 with MAX7219CNG LED driver on: March 02, 2014, 05:03:11 pm
Damn.. If was sure it would be possible, but little did I know :-)

What about using this one? - then I would have one for each numitron, six in total: TPIC6B595N
http://www.ti.com/lit/ds/slis032a/slis032a.pdf

best regards
6  Using Arduino / LEDs and Multiplexing / Is it possible: control Numitron IV-9 with MAX7219CNG LED driver on: March 02, 2014, 01:50:26 pm
Hello forum
Is it possible to drive six Numitron IV-9 by using one MAX7219CNG LED driver?
- I've already tried the driver with normal 7-segment LED displays with success. Then I tried switching the LED segment with one Numitron, the Numitron gloved dim (getting only 0.5v where it should have had 3.5) regardless of whether the outputs on the LED driver was high or low.

Then I tried adding a NPN transistor (BC337-25) to the output channels of the led driver, to try to drive the Numitrons with the transistor, but also here the numitron gloved dim. (getting only 0.5v where it should have had 3.5)

I calculated the IRES-resistor between pin 18-19 for the led driver by using the lookup table in the datasheet
https://www.sparkfun.com/datasheets/Components/General/COM-09622-MAX7219-MAX7221.pdf

Each segment of the numitron requires 4v and consumes 20mA

I know this is a LED driver, and not designed for bulbs, but shouldn't it be possible to use it anyway? - if no, which driver would you recommend?  - my goal is to use as little pins on the arduino as possible, and therefore i chosen the MAX7219CNG.

If you need any information, please don't hesitate to write  :-)

best regards
Johannes TN
7  Using Arduino / Programming Questions / Re: Compare multiple strings in if statement, what is wrong? on: January 24, 2014, 08:05:13 am
Update:
I got it working by using JimboZA'z method, thank you very much to all of you for your fast help, it's nice to see so many helpful people here :-)

best regards
JohannesTN
8  Using Arduino / Programming Questions / Re: Compare multiple strings in if statement, what is wrong? on: January 23, 2014, 01:59:37 pm
Sorry for not making it clear what "ps2x.Analog(PSS_LY) > xxx" represents. These holds the analog values (0-255) for L3/R3 (for those familiar with Playstation controllers) - the values represented in my if statement, is the value in each direction (L3 x and y axis, and R3 x and y axis) which is measured when the sticks are in center (untouched).

I am currently testing JimboZA's solution, As far as I have come until now, it seems to work :-) - I'll write you back to let you know if it worked or not.

Thank you.
best regards
JohannesTN
9  Using Arduino / Programming Questions / Compare multiple strings in if statement, what is wrong? on: January 23, 2014, 05:56:20 am
Hello Forum
I am currently playing around with the PS2X library written by Bill Porter. I've set the following if-statement:
Code:
else if (kort == true && ps2x.Analog(PSS_LY) > 100 || ps2x.Analog(PSS_LY) < 140 || ps2x.Analog(PSS_RY) > 90 || ps2x.Analog(PSS_RY) < 130)
I would like it to function the following way: If kort is true, then check whether one of the "ps2x.Analog(PSS_LY) > xxx" is true too, not all of the "ps2x.Analog(PSS_LY) > xxx" have to match, only one of them has to be true for the if statement to execute.
Right now the only thing it does when I run it is always to run the code in the if-statement, it doesn't matter if the "kort" is true or false, the if statement always executes. If kort is false, but one of the  "ps2x.Analog(PSS_LY) > xxx" is true, I don't want the if-statement to run.. How can I solve this, I guess I'm not using the " || " the right way, or something.

Thank you very much.
Best regards
JohannesTN
10  Using Arduino / Networking, Protocols, and Devices / Re: How to do two way communication by using NRF24l01+ modules? on: January 17, 2014, 03:57:41 pm
Thank you very much, I'll look into that and try to get it working soon
11  Using Arduino / Networking, Protocols, and Devices / Re: How to do two way communication by using NRF24l01+ modules? on: January 17, 2014, 03:43:28 pm
Actually I jut found this, which I think looks very promising https://github.com/stanleyseow/RF24/tree/master/examples/nRF24_Serial_Chat But what is the easiest way to find out which pins to hook the modules up to, in order to get this to work? - I can only see the line "RF24 radio(8,9);" - how do I know how to hook it up?

best regards
12  Using Arduino / Networking, Protocols, and Devices / How to do two way communication by using NRF24l01+ modules? on: January 17, 2014, 03:09:04 pm
Hello Forum
I'm back ;-)
- Recently I was assigned the task to try to do two way communication with the NRD24l01+ modules, you know, the cheap ones all over Ebay like these: http://www.ebay.com/itm/2pcs-NRF24L01-2-4GHz-Antenna-Wireless-Transceiver-Module-For-Microcontr-/251044600998?pt=LH_DefaultDomain_0&hash=item3a736c9ca6

In my case I'll control a vehicle by using a wireless controller, where these modules should ideally handle the wireless communication part, making me able to control the vehicle and get feedback from it while driving it around. I've never played with these modules (or any other RF modules before), I've already Googled a lot, but I didn't really find anything about doing two way communication with these modules.

It would be fantastic if some of you could (or try to) guide me a little on how to achieve this with these modules, it would be very nice with a transmitter and a receiver sketch ready to upload for me to test, if anyone has so - As I said I didn't really find any usefull ones by googling the topic.

If you have any idea of how to deal with this using existing libraries I would really like to hear from you, if you are willing to take a little time helping me out.

Right now I have them set up pinging each other (one receiver, the other one transmitter) but I can't find anything to utilize two way communication.

Thank you very much folks.
Best regards
JohannesTN
13  Using Arduino / General Electronics / Re: [SOLVED] What blew my Fluke 179 multimeters fuses? on: January 07, 2014, 12:45:50 pm
I will, thank you :-)
14  Using Arduino / General Electronics / Re: [SOLVED] What blew my Fluke 179 multimeters fuses? on: January 07, 2014, 12:36:14 pm
Haha, looks like I already did ;-)
15  Using Arduino / General Electronics / Re: What blew my Fluke 179 multimeters fuses? on: January 07, 2014, 12:27:51 pm
Okay, I'll buy a new fuse, and remember not to do this again...

Thank you to all of you for helping me out this quickly :-)
Pages: [1] 2 3 ... 6