Show Posts
Pages: [1] 2 3 ... 13
1  Using Arduino / Project Guidance / GLO RSS Display on: January 07, 2014, 11:24:48 am
Don't know if this is the right section, but im very excited sharing my first project. Have a look and tell me what you think, looking forward to feedback smiley

The device basically fetches  RSS and prints glow in the dark messages on my wall!

http://www.instructables.com/id/GLO-The-Midnight-Message-Board/
2  Using Arduino / Programming Questions / Byte Processing, Combining and Shifting help. on: December 30, 2013, 05:44:01 am
Im writing an Arduino program to control 12 leds connected to Shift registers.

I want to process bytes in certain way, and im not sure how to do it.

lets say i have two bytes:

byte 1 = 01110100 (the 7th and 8th bit will always be 0)
byte 2 = 01110100

now i want the 1st and 2nd bit of byte 2, to be combined with byte 1, ie
byte 1 =01110101
lastly i want byte 2 to be shifted up, without the first 2 bits, ie
byte 2=11010000

How can i do this?
3  Using Arduino / Programming Questions / Re: A way of storing and Shifting out 12 bit matrix? on: December 20, 2013, 05:53:22 am
 smiley-zipper Must have misunderstood the Arduino Shift Out example them. Anyhow ill be giving this a go and posting my code here. Thanks Grumpy Mike
4  Using Arduino / Programming Questions / Re: A way of storing and Shifting out 12 bit matrix? on: December 20, 2013, 04:53:31 am
Thanks for the guidance it makes sense, but there is one problem, i know that timing comes into play here, and im not really sure about the correct clock-data timing for the 74HC595. Is there any chance you can point me an existing Shiftout Function that i could modify?   
5  Using Arduino / Programming Questions / Re: A way of storing and Shifting out 12 bit matrix? on: December 20, 2013, 04:36:36 am
Code:
digitalWrite(latchPin, LOW);
 
   
shiftOut(dataPin, clockPin, LSBFIRST, 0x1C);


digitalWrite(latchPin, HIGH);


This is what im currently using, it shifts one Byte at a time.
6  Using Arduino / Programming Questions / Re: A way of storing and Shifting out 12 bit matrix? on: December 20, 2013, 04:24:11 am
Yes thats how i do it with Bytes, but the problem is i want to store 12 bit numbers in the matrix and them shift out the 12 bits to the shift registers. How can i do this?
7  Using Arduino / Programming Questions / A way of storing and Shifting out 12 bit matrix? on: December 20, 2013, 04:03:17 am
Hi, i have just learned about Shift Registers, and have got them working fairly well, the only problem is i want to control 12 LEDs, to a specific bit pattern, is there any way i can store them and shift them out in one operation?

Ie

Matrix [][]{
{B101010111101,B1011101010101,B101010101010,B110101101010},.......ETC) // I dont think this can be done like this, is there any way?

ShiftOut(.....,.....,....,....,Matrix[0][0])

What is the proper way to do this?
8  Using Arduino / General Electronics / Re: Stepper Microstepping and Current setting Guide on: November 02, 2013, 05:37:28 am
Yes i do, i think, the stepper driver, runs the motor at intermediate current levels to achieve a high step resolution.

im not sure on how to set the current correctly so that the Microstepping  works correctly.
9  Using Arduino / General Electronics / Re: 2 State Analogue Servo Controller, possible? on: November 01, 2013, 03:17:27 pm
Hey everyone, thank you for your help!

In the end i just decided to use a Attiny85. Takes an input and pulses out the servo with ease  smiley
10  Using Arduino / General Electronics / Stepper Microstepping and Current setting Guide on: November 01, 2013, 03:14:05 pm
Hi,

I did reading up about setting the Microstepping modes on Polulo Stepper Controllers (A4982), but im still confused! Can i just enable the microstepping settings or do i need to also set the appropriate current on the driver board? if so how?

Forgive me if this is an obvious question smiley
11  Using Arduino / General Electronics / Re: 2 State Analogue Servo Controller, possible? on: October 30, 2013, 07:47:19 pm
Thanks for your help!

I understand i need to use two 555's and ive got the circuits from google, im a bit stumped on the Logic Gate part  smiley-confuse. Can you elaborate?
12  Using Arduino / General Electronics / 2 State Analogue Servo Controller, possible? on: October 30, 2013, 05:25:40 pm
I want a circuit that would toggle a mini servo from one fixed position to the other depending on a certain pin being set HIGH or LOW.

For example:
 PIN X HIGH = SERVO 50 Degrees
PIN X LOW = SERVO 0 Degrees

I dont want to use a microcontroller, and was thinking along the lines of a 555 timer to generate the control signals. Can it be done? can someone point me in the right direction? 

Cheers smiley
13  Using Arduino / General Electronics / Re: A simple Step/Direction controller for Uni-polar Stepper? on: June 22, 2013, 02:25:15 pm
Quote
I dont think i have enough skill to alter GRBL to produce unipolar pulses
OK then but it is simple enough.

Quote
and think doing it in hardware would be easier
Is your hardware sill up to doing it?
If so then:-
Take a 74LS193, it has two inputs count and direction. Take the bottom two output signals only, and use gates to generate the pattern you want. This pattern is shown here:-
http://www.thebox.myzen.co.uk/Workshop/Motors_3.html

Could you point me in the right direction as to how i can edit the software? ill take a look at that first as you say its easy  smiley
14  Using Arduino / General Electronics / Re: A simple Step/Direction controller for Uni-polar Stepper? on: June 22, 2013, 08:28:18 am
Why have a circuit when you could do it in software for free.
Any circuit would involve a bi directional binary counter and a couple of logic gates. No great shakes but not necessary.

Ah yesm but the problem is im planning on using these steppers with GRBL the gcode interpreter for arduino and it only gives its outputs  as Step and Direction. I dont think i have enough skill to alter GRBL to produce unipolar pulses and think doing it in hardware would be easier?

Thanks for helping out  smiley
15  Using Arduino / General Electronics / A simple Step/Direction controller for Uni-polar Stepper? on: June 22, 2013, 08:10:07 am
Hello,

is there a circuit to control a 5 wire uni-polar stepper motor that would just take step and direction lines from the Arduino?
Pages: [1] 2 3 ... 13