Go to advanced search

by Regn0
Thu Aug 11, 2016 3:51 pm
Forum: Java
Topic: Using UART on RPI
Replies: 8
Views: 2575

Re: Using UART on RPI

I've found the issue. In the example they tell you to use raspi-config to disable the OS from using the serial port. This is done via this guide: https://www.cube-controls.com/2015/11/02/disable-serial-port-terminal-output-on-raspbian/ What happens when I use disable the serial port via raspi-config...
by Regn0
Tue Aug 09, 2016 6:05 pm
Forum: Java
Topic: Using UART on RPI
Replies: 8
Views: 2575

Re: Using UART on RPI

I'm having trouble using Pi4J at the moment. I've copied their example and changed it a bit. I've connected my pin8 and pin10 with eachother, since these are the UART pins. I've written code that writes some string to the serial and then reads it. However I am getting an error: Unable to connect to ...
by Regn0
Mon Aug 08, 2016 2:12 pm
Forum: Java
Topic: Using UART on RPI
Replies: 8
Views: 2575

Re: Using UART on RPI

Great! Thanks again :) You really helped a lot!
by Regn0
Mon Aug 08, 2016 12:47 pm
Forum: Java
Topic: Using UART on RPI
Replies: 8
Views: 2575

Re: Using UART on RPI

Great thanks for the help so far! If I do connect the rx and the tx pins, should I put a resistor in between the two pins? I am quite a noob on the electrical engineering part...
by Regn0
Mon Aug 08, 2016 8:32 am
Forum: Java
Topic: Using UART on RPI
Replies: 8
Views: 2575

Re: Using UART on RPI

Thanks a lot! Is it possible to debug my serial code by simply connecting the Tx and the Rx of the Pi. This way the Pi will send data over it's Tx and this data will be looped back to the Rx, making it echo what it send. Am I right?
by Regn0
Mon Aug 08, 2016 7:47 am
Forum: Java
Topic: Using UART on RPI
Replies: 8
Views: 2575

Using UART on RPI

Hello there, Currently I'm working on a personal project. This project contains a Raspberry Pi and a RN2483. The RN2483 has a ASCII command interface over UART. So in order to use the RN2483 chip connected to my Pi, I'll have to use UART... Can I use Pi4J and its Serial example to start off implemen...
by Regn0
Mon Apr 13, 2015 8:01 pm
Forum: Troubleshooting
Topic: [SOLVED]Strange SSH problem
Replies: 7
Views: 1079

Re: Strange SSH problem

For some reason the problem solved itself. For the first time in like 2 years I've gotten a new IP from my ISP. And since I got that new IP the ssh works from all systems I use/own. I haven't changed anything in my ssh settings on both my client and server. I think it had something to do with my ISP...
by Regn0
Mon Apr 13, 2015 6:27 pm
Forum: Troubleshooting
Topic: [SOLVED]Strange SSH problem
Replies: 7
Views: 1079

Re: Strange SSH problem

It doesn't just only not work on my university's network. It doesn't work from anywhere...
by Regn0
Mon Apr 13, 2015 4:33 pm
Forum: Troubleshooting
Topic: [SOLVED]Strange SSH problem
Replies: 7
Views: 1079

Re: Strange SSH problem

I know about that issue! I already put my sshd on another port. I also disabled the functionality to login as root, so no harm could be done. When I tail -f my /var/log/auth.log I dont see as many login attempts anymore as when sshd was on port 22. This still doesn't fix the problem tho. Still thank...
by Regn0
Mon Apr 13, 2015 12:54 pm
Forum: Troubleshooting
Topic: [SOLVED]Strange SSH problem
Replies: 7
Views: 1079

[SOLVED]Strange SSH problem

Hey there, I just installed Raspbian on my Raspberry Pi and really want to get SSH working. I already forwarded port 22 in my router and gave the pi a static IP. Whenever I SSH the pi via its local IP on either Windows or Linux I get a connection and I can start using SSH. The problems start at usin...

Go to advanced search