Currently, I'm connected to the module via an FTDI cable to a terminal.
This works fine.
But how do I make it work with the PIC?
Currently, I'm connected to the module via an FTDI cable to a terminal.
This works fine.
But how do I make it work with the PIC?
Roger
I've not used one, but from the looks of it the GRN pin is attached to the reset pin of the ATmega. By pulling this pin low, it will reset the OpenLog....and the GRN should be connected to DTR but I have no idea how to handle this signal.
You can probably leave it unconnected (it has a pullup to 3.3V), or connect it to an output IO pin.
You would connect the module to the UART serial port of the pic and send the same commands you use in the terminal.
BTW, the Openlog is a 3.3V module, so you would have issues directly connecting it to a 5V uC or FTDI cable.
This OpenLog has on-board low drop regulator (MIC5205-3.3) and works from 3.3 up to 12Volts. Recommended 3.3-5Volt obviously for power dissipation reasons. So power is no problem to be connected to 5Volts.
But do not know if the ATMEGA328 is tolerant on 5volt at the pins having 3.3 volts on power supply.
Ioannis
It's not, which is why I raised the issue.
Ioannis correctly points out that it has a 3.3V regulator onboard. The ATMEGA IO pins are spec'd to VCC+0.5V, so that'd be a max of 3.8V.
You'd want to use a level translator with a 5V uC, or a 3.3V FTDI cable.
BTW, I need send some control character in order to change his function mode.
But, it seems I'm doing something wrong.
The modules expects me to sent ctrl+z (ASCii 26) three times in a row to change its mode.
I have enable the "Parse control Characters" in the MCS Serial Communicator and sent #26 three times but nothing never happens.
In fact, I tried a lot of different ways with/without Parse option, sending ESC before the command and so. Still, nothing does.
What am I missing?
Roger
If you type the characters, then maybe you are timign out.
Maybe using the Br@y terminal (https://sites.google.com/site/termin...edirects=0&d=1) you can send at once the string of these characters.
The above terminal has a field that you can type in the characters and send clicking a button.
I suppose you have cross checked tx and rx lines are connected correctly.
Ioannis
Bookmarks