Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arduino not sending data ? #5

Open
ghost opened this issue Jan 11, 2019 · 6 comments
Open

Arduino not sending data ? #5

ghost opened this issue Jan 11, 2019 · 6 comments

Comments

@ghost
Copy link

ghost commented Jan 11, 2019

Hi !

I've been trying to run the project on W7 with an arduino UNO (r3) without success.

I've setup LA_port to COM3 (port used by arduino IDE), baudrate is the same in the .pde and .ino. The ino file was pushed to the arduino UNO without error (except a warning about F_CPU being redefined). I then opened the pde sketch from processing with no errors. The L led on the arduino went off, flashed and then went back on. As no data were printed (not even a timestamp or a horizontal line), I cliked on 'start' but nothing happened except the 'new data coming' line being printed and the RX led of the arduino flashing once. The TX led on the arduino is always off.

So processing is able to send commands to the arduino but the arduino doesn't seems to send any data. So far I've tried rebooting, pushing again the ino file, with various baudrate (also changed in processing), on two usb ports. I've also tested the arduino itself and had no problem to print the reading from a pin on serial port COM3 in the serial monitor.

Any ideas ? Thanks for your help !

@aster94
Copy link
Owner

aster94 commented Jan 11, 2019

Hi!

Mmm strange, i guess you know that the data are sent only when the buffer is full. You can try to reduce the size on the arduino sketch

Also if this line https://github.com/aster94/logic-analyzer/blob/master/Computer_Interface/processing.pde#L348 doesn t output nothing it means that Processing doesn t receive nothing

@rqhub
Copy link

rqhub commented Feb 3, 2019

Same issue here. Arduino sends no data.

@aster94
Copy link
Owner

aster94 commented Feb 3, 2019

@rqhub have you reduce the sample size to, for example, 5?
Then try to use a jumper from ground to manually change the state of the sensing pins a few times

@FelixWeichselgartner
Copy link

Hi, i have the same issue...

event: 0
initial: 0
samples: 0
null
null
event: 0
initial: 0
samples: 0
null
null
new data coming
new data coming
new data coming
new data coming

This is what i get in the processing console - I don't see anything in the window though. Tested with Arduino Mega and Uno.

Did anyone get it to work?

@FelixWeichselgartner
Copy link

@rqhub @linac314
if you need a quick&dirty solution you can try this:
https://github.com/FelixWeichselgartner/Arduino_Logic_Analyzer
though its obviously not that comfortable

@unmanagedtn
Copy link

I can confirm that the arduino does not send anything at all over the com port from the ino provided

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants