Show Posts
Pages: [1] 2 3 ... 584
1  Using Arduino / Project Guidance / Re: Multicontroller on: Today at 08:46:41 am
I think you need to troubleshoot the problem, there's no way to decide what to do before knowing what needs to be done.

If that PIC is the only CPU then presumably the entire system can be controlled from that 28-pin socket and a 328 or larger could to the job by emulating the PIC. So you could make an adapter to plug a Uno (or whatever) into that socket and start writing code.

Or you could learn how to use a PIC.

But all that is a waste of time if it's just the LCD.

GOTO Line #1

______
Rob
2  Development / Other Hardware Development / Re: Shield for programming Uno over RS485 signal lines on: Today at 02:47:12 am
Lookin' good. I was about to ask you about the DIN clip you are using, now I don't have to smiley

According to a couple of Intersil data sheets

Quote
Short networks using the 250kbps versions need not be terminated, but, terminations
are recommended unless power dissipation is an overriding concern.

I am tempted to try without termination for slow speeds, but then I just found the LTC2854/2855, it has a 120R internal resistor controlled by a pin, so I can decide at run time if it's required.


______
Rob
3  Using Arduino / Project Guidance / Re: Remote programming a due on: August 21, 2014, 06:42:51 pm
I haven't looked at the Due for ages, but IIRC the SAM can boot directly from the UART, on the Due this connects to the 16u2 which in turn connects to USB, but maybe you can hack your own connection and talk directly to the UART.

The protocol is pretty simple I think so having done that (and added some line drivers) should be able to do it remotely.

______
Rob
4  Products / Arduino Due / Re: Dynamic memory allocation in Arduino due on: August 21, 2014, 06:33:16 pm
It's for these reasons that on robust systems the freeing and reallocating of RAM is not allowed. Malloc is allowed but only in the setup code.

Quote
Is it possible that I adjust parameters about memory allocation in due?
I would assume so but it would mean delving into the core library code.

______
Rob
5  Development / Other Software Development / Re: New peek function for HardwareSerial on: August 21, 2014, 09:09:40 am
I haven't looked at that code for ages but normally to clear a FIFO you just set the head pointer to = the tail pointer and (sometimes) clear a counter.

______
Rob
6  Using Arduino / General Electronics / Re: 4 diode rectifier bridge on: August 21, 2014, 08:12:37 am
Quote
every Eagle schematic I see makes my eyes bleed, too many colours, text in the wrong place, etc etc etc.
Amen to that, I think Eagle has an "Obfuscate" option that's on by default smiley

______
Rob
7  Community / Gigs and Collaborations / Re: Arduino Development person wanted. on: August 21, 2014, 08:08:17 am
That looks like a heck of a lot of work, are you prepared to spend many $1000s?

______
Rob
8  Development / Other Hardware Development / Re: Shield for programming Uno over RS485 signal lines on: August 20, 2014, 05:49:49 pm
It's been a while now and I can't find the schematics, but I think I used an inverted data signal to DE and tied DI low.

Quote
So when the Data was low it would turn off the Driver.
So that scheme would do the reverse, the driver is off for an idle (or otherwise high) UART output.

Also I was just thinking, for low data rates the termination resistor should not be required in the first place. I'm designing something similar right now and the use of a 120R resistor would blow any low power ideas out of the water, so I am thinking of limiting the speed and ditching the termination resistors.

______
Rob
9  Using Arduino / Networking, Protocols, and Devices / Re: TX0108 Bi-Directional Voltage Translator Not Working For SPI on: August 20, 2014, 05:16:15 pm
This won't help much and not what you want to hear but I used to think those chips were the answer to all my prayers, but when I used one in a design for SPI it just would not work. I didn't personally do the hardware debug but spent ages on Skype with the guys that did, all to no avail.

It's been a while now but the symptoms you describes sound awfully familiar.

Eventually we gave up and changed the design.

One thing about those chips is that they have a 4k series resistor on the IO, that means they are a very weak driver and of course you can't really use pullup/down resistors but you don't appear to have any.

______
Rob
10  Using Arduino / Microcontrollers / Re: Replacing Arduino Due Chip (ATSAM3X8E) on: August 20, 2014, 05:07:17 pm
Removing SMDs is normally a very easy task if you have a hot air station. I have not removed such a large chip I admit but with the right nozzle it should be simple.

______
Rob
11  Using Arduino / Networking, Protocols, and Devices / Re: One SPI master(arduino), two slaves(arduinos). Need advice. on: August 20, 2014, 05:04:08 pm
Firstly newSoftSerial has nothing to do with SPI.

If you need to use SPI for > 1 device you have to implement the CS signals for each device yourself, normally this is done with a couple of output pins.

If you just want two or three Arduinos to talk you could used newSoftSerial as well, there are many ways, but I would ask why you think you need multiple Arduinos for what appears to be a simple task.

______
Rob
12  Using Arduino / Networking, Protocols, and Devices / Re: Suggestions for RS-422/RS-485 interface chips on: August 20, 2014, 03:23:56 am
Have a look at the Intersil range (ISL32600E, ISL3170E, etc), some of them have pretty good specs.

I'm looking into designing a robust 485 system at present, these are likely contenders at this point.

______
Rob
13  Products / Arduino Due / Re: Dynamic memory allocation in Arduino due on: August 20, 2014, 03:17:48 am
If malloc(), realloc(), free() have been implemented (and no reason they haven't I would think) then they will work the same as on an AVR or most other chips. What do you want to know about them?

There are no issues with using malloc() but realloc() and free() can give you a lot of grief.

______
Rob
14  Development / Other Hardware Development / Re: Shield for programming Uno over RS485 signal lines on: August 19, 2014, 05:55:48 am
Nice job.

I've not seen that trick with the transistor (Q1) before but have done a similar thing by using the data to directly drive DE. Would that not do the same thing?

That Sparkfun page is misleading as it's 4000' OR 10Mbps, you can't have both at the same time. Also they call RS-485 a "protocol" which it isn't.

What data rate are you using?

______
Rob
15  Using Arduino / Programming Questions / Re: A better way to do my bit reordering? on: August 17, 2014, 03:08:15 am
Quote
The reason is I only use single sided boards.
OK, you're forgiven smiley

______
Rob
Pages: [1] 2 3 ... 584