Show Posts
Pages: [1] 2 3 ... 177
1  Using Arduino / Networking, Protocols, and Devices / Re: Serial Between Arduino And Picaxe on: August 30, 2014, 03:08:27 am
I can alter the Picaxe code, yeah. But isn't "11" sent as one message though, so available() would return 2 and I can do something like this:
But if the arduino serial read code is in a fast loop it will only see and one at a time. It will read the first byte and think it's a "1" and then the other "1" would arrive, now is this 2x 1 presses or 11? Better to either use a 2 byte code for all keys so you know you need two bytes, use unique codes for each key (having 1 & 11 will confuse) or using a message terminator so you know when all the message has arrived.
2  Using Arduino / Networking, Protocols, and Devices / Re: Serial Between Arduino And Picaxe on: August 29, 2014, 11:06:03 am
Quote
I'm using a SoftwareSerial on a UNO board, and taking input from Pin 10. On key release, the Picaxe outputs I assume ASCII code for whatever key was pressed (serout ("1") and so on...) and 10/11 for star and hash.
Why 10/11 for * & # instead of just sending them as ASCII also? Do you have the ability to alter the picaxe code?
3  Using Arduino / Project Guidance / Re: Time Stamping on a NanoSecond Scale on: August 29, 2014, 10:58:56 am
3)TDC-GP22: An individual chip is quite cheap but the programming library is quite expensive. So if I were to drive it with an arduino, that would also require making an evaluation board.
There are no evaluation boards available nor their schematics.
I had already replied to this in some detail on your duplicate post (that has now been deleted with my reply) but the essence is ACAM make an evaluation board for the GP22 and you can download the EVA-KIT datasheet + schematics + software for free. Not sure what 'programming library' your referring to and I have never used the downloadable software. If the evaluation board is no longer made then you can always 'roll your own'.
4  Using Arduino / Programming Questions / Re: arduino telescope drive on: August 29, 2014, 07:07:17 am
What type of stepper motor are you using and how much is it geared down by (how fast do you need to pulse it for tracking). To move a stepper motor you send pulses and to an MCU the time between sending each pulse could seem like an eternity. Plenty of time to send pulses to other steppers and read button presses.
5  Using Arduino / LEDs and Multiplexing / Re: Using the tinkerkit DMX shield on: August 29, 2014, 04:28:48 am
Thank you, I totally forgot about the WayBackMachine. But it seems that tinkerkit never bothered to put up a proper documentation about that shield on the website anyway - let alone the promised tutorial…
Has TinkerKit gone tits up or something else? Several places (including Arduino store) sell the tinker stuff but there site seems to have disappeared down a black hole,

The second 5 Pin XLR is marked as an output on the board and both XLRs are parallel to the terminals at the other end of the board. Getting DMX out works well with the provided DMX master library but no there is no DMX in. There are some more DMX libraries (e.g. DMX simple) online which might work with this board as well so I will have a look at them and maybe get an DMX input somehow.
Yes I found the DMX Master Library on GitHub and the thing is just a basic DMX send system. There is no RX/TX steering or RX routines so it seems the board is hard wired for output only. I'm feeling glad I built my DMX around the Mega with both in & out.

But what are those 3 sets of pins for (marked with the yellow circle on my image) and how do I use them?
The images I can find don't show the pins but they look like standard tinker module pins so I wonder if they just parallel some of the shield pins or are used with tinker switch modules to switch TX/RX mode. Unless you can trace the connections or find a schematic your stuck for now. Some good quality pictures of your board might help as others could try tracing with/for you.
6  Using Arduino / General Electronics / Re: Connecting a 5V Arduino Pins to a 3.3V Raspberry Pi GPIO's pins on: August 28, 2014, 11:08:10 am
Maybe worth looking at a simple bi-directional logic level conversion that SparkFun use here.
7  Using Arduino / Networking, Protocols, and Devices / Re: Simple question about PIN usage on: August 28, 2014, 10:27:26 am
If your wanting to remotely switch the reed then that's a different matter. Maybe a small reed relay will draw less power than your current relay does or could you use a transistor to switch?
8  Using Arduino / LEDs and Multiplexing / Re: Using the tinkerkit DMX shield on: August 28, 2014, 09:55:46 am
There is some info if you look on WayBackMachine.
I have not bothered reading any of it but notice the shield appears to be DMX master so the other XLR port might be a thru port.
9  Using Arduino / Networking, Protocols, and Devices / Re: Simple question about PIN usage on: August 28, 2014, 09:14:27 am
Do you need an arduino? Could you use a reed switch and a magnet as the switch? Not sure if the disruption of the cable magnetic fields will constitute to much interference.
10  Using Arduino / General Electronics / Re: Connecting a 5V Arduino Pins to a 3.3V Raspberry Pi GPIO's pins on: August 28, 2014, 09:00:49 am
Hello, the Internet! I ask 7.05billion people for help, and the first one comes from my home county!
I'm closer, so heard the request first.  smiley

Sounds perfect, so this should be fine?

There are dozens of options to choose from and that's one of them, though not ideal. You could also try an online calculator to try and match lower resistor values you may have kicking about.

Presumably 3.3V would be still be within the High threshold for the Arduino, so long the GNDs are tie together?
A 5V arduino should register anything over 3V as a high.
11  Using Arduino / General Electronics / Re: Connecting a 5V Arduino Pins to a 3.3V Raspberry Pi GPIO's pins on: August 28, 2014, 07:51:07 am
Won't work with a single resistor but two set out as a voltage divider would be okay. Or you could use a level shifter like found here.
12  Using Arduino / General Electronics / Re: Basic Electronics Question on: August 28, 2014, 05:18:39 am
If it's really the same as the Adafruit one then the Adafruit info has all you need.

Quote
On the back there are 3 contacts for the button (common, normally-open and normally-closed) and 2 for the red LED ring (+ and -). Connect 3 to 6V to the LED to have it light up nicely, there's a built in resistor! If you want to use this with a higher voltage, say 12V or 24V, simply add a 470 ohm resistor in series with the LED connection to keep the LED current at around 20mA.
13  Using Arduino / Project Guidance / Re: light barrier for airplanes on: August 28, 2014, 05:14:36 am
Maybe a single laser and detector but mirrors reflect the beam in a zigzag pattern to cover a large area. Are the pylons solid or soft like used in redbull racing?
14  Using Arduino / Project Guidance / Re: Add own atmel controllers on: August 28, 2014, 02:17:02 am
The AtMega32U4 is already supported in the guise of Leonardo.

The ATXMEGA64A1U is more problematic/impossible. The work needed to write compatible core and library files (assuming it would be possible) would far exceed the work needed in learning to use Atmel Studio as the IDE.

15  Using Arduino / Sensors / Re: Checking sensor connection on: August 28, 2014, 02:07:27 am
This looks like the datasheet for the sensor.
You could maybe make a circuit to monitor the current draw (datasheet says 15mA max @ 5V), assuming it will be reasonably steady and not dependant on where the paddle stops (you really need a device to check this out though).
The problem will maybe be detecting if the yellow wire is cut/tampered with to prevent pulses getting through.
Pages: [1] 2 3 ... 177