HAC-UM96

So, are you saying that you’re using the TTL input on the transmitter and the RS232 output on the receiver? Everything else between your setup and mine agree.

I’m pretty sure that after we get these things to work, that I’m going to throw them off the Sherman Minton Bridge… :lol: Thanks for your info so far…

Okay…now we’re officially stupid.

We decided to try swapping the RxD/TxD pins (reading output from the RxD pin and supplying input to the TxD pin) and now we’re able to transmit a TTL signal. HOWEVER, the signal that is received and displayed on our oscilloscope seems to only display the rising edge of each rectangular pulse from our function generator. Once a pulse comes along, the output shows the pulse, BUT it holds the logic high until about 1ms before the next rising edge (pulse) and repeats this pattern.

We’ve tried using each transceiver as the transmitter/receiver and have the same results. Is this how the transceiver should be operating, or is something wrong?

SGND - tied to GND

SLEEP - tied to GND

RESET - 5V

utilizing the TTL RxD/TxD pins

Fishbone:
Okay…now we’re officially stupid.

We decided to try swapping the RxD/TxD pins (reading output from the RxD pin and supplying input to the TxD pin) and now we’re able to transmit a TTL signal. HOWEVER, the signal that is received and displayed on our oscilloscope seems to only display the rising edge of each rectangular pulse from our function generator. Once a pulse comes along, the output shows the pulse, BUT it holds the logic high until about 1ms before the next rising edge (pulse) and repeats this pattern.

We’ve tried using each transceiver as the transmitter/receiver and have the same results. Is this how the transceiver should be operating, or is something wrong?

SGND - tied to GND

SLEEP - tied to GND

RESET - 5V

utilizing the TTL RxD/TxD pins

That should be just fine.

To answer your question - I have one um96 connected to my computer. That one I’m using hte RS-232 lines on and have the TTL lines floating. The other module is connected to a microcontroller, and thus I am using the TTL lines and have the RS-232 lines floating.

Hi Guys,

I have an interesting problem that I have come across :S

I think its either a problem with my code or some issue with the hardware.

I’ve posted on a forum specific to the FPGA code so i’m more asking here if people know of any hardware reason the following would be happening??

I’m trying to implement a data link from a UAV (remote controlled plane basically) and a ground computer.

We are using an RF modem to transmit the Uart link from the plane to the ground.

The hardware used is the [HAC-UM96 Ultra Low PowerData Radio Module set to transmit and recieve on the same channel with RS-232 and no parity (8N1).

Hooked up two computers using this device via hyperterminal and works a charm, press any key on one computer at any time and it gets transmitted straight away to the other.

The problem comes when i run the Uart via a max-232 chip on a FPGA. While delay in the following code is less then 10000 all printf get through to the other end of the RF link (PC Nios terminal or hyperterminal). At a delay of 20000; 1 in 5 get through, 30000; 1 in 3, 40000; 1 in 7, 50000; 1 in 2, 100000; 1 in 9.

All of these various delays work fine with a straight rs-232 cable link to the computer its only the RF link that misbehaves.

Is there any reason you can think of that this would be happening??

Thanks

Chris

int main()
{
  unsigned int i;
  unsigned int j;
  unsigned int count;

  /* make sure no IRQ enabled */
  IOWR(UART_0_BASE, 3, 0x00);
  /* flush any characters sitting in the Rx holding register */
  i = IORD(UART_0_BASE, 0);
  i = IORD(UART_0_BASE, 0);
  count=0;

  for (;;) {
      printf("Hello World! %i\n",count);
      count++;
      j=0;
      while (j<delay)
      j++;
    //}
  }
  return 0;
}

](http://www.sparkfun.com/datasheets/RF/HAC-UM96_manual.pdf)

Hi,

My project doesnt involve a microcontorller, but was wondering…

DOes the crystal oscialltor need a voltage input? I know its connetec to 2 capacitors, thats fine, but what about the 2 pin connections it has? VCC??

If it does need it, then would 5 volts be ok? ALso, is it classed as a TTL? Basically, im triny gto generate 90ns pulse (which is 11 MHz).

Hope to hear from sum1 soon!

SteveKos posted the fix under HAC-UM12 notes: both units need their sleep lines tied to ground (LOW). Presto! the comm’s works!

My UM96 units work perfect with leaving the “SLEEP” lines open.

All I do is apply a low RESET pulse of 100Millisec and communication runs like a rocket. Very low error rate over 300 meters with some walls in between. I’m very surprized about the quality.

It’s a pitty that the datasheet is a mess.

I use the UM96 for communication between 2 Basic-X units.

One end measures and controls values in my greenhouse.

The other side is the data processing and putting the data into graphs and

after that presents it to a Siteplayer for Internet-Access.

So I can turn on the light in the greenhouse from every place in the world.

I have questions regarding the interfacing of the UM96 units. Anyone who could help me please do so.

  1. How do I connect the UM96 module to a PC? Should I do it like this :?:

I want to set it up like a transceiver.

RS232 pin 2 - RXD —> UM96 B(RxD)

RS232 pin 3 - TXD —> UM96 A(TxD)

All other pins on the RS232 are left open except for GND which is tied to the power supply GND of my board.

jumper E is shorted

jumper D is shorted

  1. How do I know if the UM96 module is working properly? :?:

  2. What program can I use to check if the UM96 module is working and what settings should I make into that program? :?:

I tried to use the HyperTerminal program on Windows XP with the following settings:

9600, 8, N, 1

But no boot string came up when I dial like what I’ve read in this forum.

  1. How do I interface it to a BASIC Stamp 2p module? :?:

Thanks in advance.

sizzling_camote:
I have questions regarding the interfacing of the UM96 units. Anyone who could help me please do so.

  1. How do I connect the UM96 module to a PC? Should I do it like this :?:

I want to set it up like a transceiver.

RS232 pin 2 - RXD —> UM96 B(RxD)

RS232 pin 3 - TXD —> UM96 A(TxD)

All other pins on the RS232 are left open except for GND which is tied to the power supply GND of my board.

jumper E is shorted

jumper D is shorted

  1. How do I know if the UM96 module is working properly? :?:

  2. What program can I use to check if the UM96 module is working and what settings should I make into that program? :?:

I tried to use the HyperTerminal program on Windows XP with the following settings:

9600, 8, N, 1

But no boot string came up when I dial like what I’ve read in this forum.

  1. How do I interface it to a BASIC Stamp 2p module? :?:

Thanks in advance.

I am tormented above the same problem 2 weeks! If you have solved the problem, please write answers to your questions more in detail.

Thank

I think we should initialize TI to 0 rather than 1. Does the code works fine with TI being initialized to 1?

Hey everyone,

I’m facing a problem with the hac-um96.

every time i transmmit a char through com1(using atmega16) i receive the same char except the last bit which is always 1.

I have the correct configurations and the wiring is also ok.

can you help me?

thanks a lot

nasser:
Hey everyone,

I’m facing a problem with the hac-um96.

every time i transmmit a char through com1(using atmega16) i receive the same char except the last bit which is always 1.

I have the correct configurations and the wiring is also ok.

can you help me?

thanks a lot

Are you putting data in one end using RS232 and pulling it off the receiver using TTL port, and maybe getting a stop bit or parity bit coming through at the end.?

Are you bit banging or using a UART hardware on either end? Do the settings match?

I am trying to use 2 of the HAC-UM96 modules to act as a wireless rs232 bridge for a DS9097U 1Wire serial adapter. I am powering the DS9097U directly from a seperate power supply to the RTS and DTR pins and I had the adpater working fine over only the Rx and Tx lines. When I added the HAC-UM modules the software could not find the adapter. If I connect a computer to each radio module i can send and receive ASCII through terminal software just fine, but the HAC modules seem to not understand the data from the DS9097U, data is being sent to the radio and something is coming back from the adapter but it is different than when I connect the adapter directly to the serial port. Any ideas?

Thanks,

John Jesse

HAC radios are UART driven radios. No so sure they’d work for an arbitrary bit stream of a 1-wire protocol, plus they do have a limited size input buffer. I think if you try sending serial bits, you’d have to stop sending a stream every so often to give it a breath (shift the data out onto the radio link).

Thanks for the reply. The HAC-UM radio is not connected to the 1-Wire network. The DS9097U 1-Wire to RS232 adapter sits between the HAC radio and the 1-Wire network. This adapter is an active device that translates the 1-Wire signals to RS232 for connection to a PC serial port. I am wanting the HAC radio to act as a “wireless serial cable” between the RS232 data from the DS9097U to the PC serial port. I am attempting to use the RS232 interface on the HAC-UM connected to the RXD and TxD pins of the 1-Wire to serial adapter. I hope this clarifies the situation a bit.

Thanks,

John Jesse

Oh, I haven’t used the RS232 interface on the HAC’s. I’ve only got experience using the TTL interface, wired directly to microcontroller pins for Tx and Rx (connect to a UART inside the MCU).

Crawl through the spec sheet and make sure you’ve got all those jumper settings done right. I have been bit by forgetting to jumper E position so I had a parity issue and nothing was working… And these devices are purchased with a particular baud rate, so make sure your driving devices are paced for 9600 baud.