Go to advanced search

by cayofontana
Mon Jul 16, 2018 3:52 pm
Forum: Java
Topic: Send SMS with GSM GPRS A6 Module and Java
Replies: 2
Views: 2570

Re: Send SMS with GSM GPRS A6 Module and Java

Hi The Traveler, I change the code and now becomes: import java.io.IOException; import java.io.OutputStream; import java.util.Enumeration; import java.util.List; import java.util.ArrayList; import gnu.io.CommPort; import gnu.io.CommPortIdentifier; import gnu.io.PortInUseException; import gnu.io.Seri...
by cayofontana
Sun Jul 15, 2018 5:48 pm
Forum: Java
Topic: Send SMS with GSM GPRS A6 Module and Java
Replies: 2
Views: 2570

Send SMS with GSM GPRS A6 Module and Java

Hi there, I work on academic project where, in some moment, the solution need send SMS for some clients. Searching on web, I found the example below in Python and it works fine. See it: import serial import RPi.GPIO as GPIO import os, time GPIO.setmode(GPIO.BOARD) # Enable Serial Communication port ...
by cayofontana
Fri Jun 22, 2018 5:36 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Raspberry PI Zero W + Raspbian Stretch + ttyS0 + GPS Ublox Neo 6M
Replies: 7
Views: 2267

Re: Raspberry PI Zero W + Raspbian Stretch + ttyS0 + GPS Ublox Neo 6M

Sorry .txt not .sys, old DOS habbit Looks like you edited the files manually and not through raspi-config. Remove enable_uart=1 and console=ttyS0,115200 from cmdline.txt The first shouldn't be there, it is a config.txt thing. The second means that the console is trying to send things also to serial...
by cayofontana
Fri Jun 22, 2018 2:27 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Raspberry PI Zero W + Raspbian Stretch + ttyS0 + GPS Ublox Neo 6M
Replies: 7
Views: 2267

Re: Raspberry PI Zero W + Raspbian Stretch + ttyS0 + GPS Ublox Neo 6M

So the GPS is working fine and you are seeing the NMEA data. So no problem there. Does CAT also crash if using /dev/serial0 (This is a redirect to ttyS0 on a Pi3 series and ZeroW series, but allows compatability with older Pi if the same code is used). I assumed you use raspi-config to disable the ...
by cayofontana
Fri Jun 22, 2018 12:25 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Raspberry PI Zero W + Raspbian Stretch + ttyS0 + GPS Ublox Neo 6M
Replies: 7
Views: 2267

Raspberry PI Zero W + Raspbian Stretch + ttyS0 + GPS Ublox Neo 6M

Hi there, I used Raspbian Jessie with GPS Ublox Neo 6M connected on UART pins in my Raspberry PI Zero W for a robotic academic project. In console I typed "sudo cat /dev/ttyS0" and the GPS data showed in the display, until i stoped this with CTRL+C. Then, in the lasy days, i format my SD Card and in...

Go to advanced search