|
Post by SDL on Sept 21, 2021 15:06:02 GMT -8
Couple of possibilities.
1) Is the yellow tx light at the bottom of the board flashing? It will especially transmit a packet after startup.
2) Is the antenna still connected to the TX board? They can come loose. Do you have another TX board to swap out?
3) Can you connect a micro USB cable to your computer to the SunAirPlus board and see what is the Mini Pro Plus is printing out? 115200 baud.
Can you take a video of the Mini Pro Plus board on power up so I can see the sequence of lights?
BP
|
|
ncjay
Junior Member
Posts: 71
|
Post by ncjay on Sept 26, 2021 16:55:19 GMT -8
I have the SunAirPlus3 prototype installed, and have charged up the sensor. Here are partial results:
1) No action whatsoever from the yellow TX light - not at startup, nor anytime subsequently (within my patience/boredom tolerance). Nothing received via testWirelessSensors.py.
2) The antenna seems solidly connected. I have another TX board in the deployed Lightning sensor that I can swap out, a bit reluctantly, if necessary.
3) I haven't done any serial communications of this sort in 25 (?) years, so will need a reminder of what app and procedure to use please, and also how to identify the serial port (I guess in /dev/tty* in unix-like systems?). I have Mac, Windows, Ubuntu and Raspbian that I can test with.
Regarding the video, yes, I can, but let me hear back from you on the above first.
Thanks ncjay
|
|
|
Post by SDL on Sept 27, 2021 9:25:14 GMT -8
1) No Tx light flashing says that your processor isn't running which is most likely the issue. Do your 30 second video from startup and post it.
2) Sounds good. It's the Tx light that is the problem, not your transmitter probably.
3) Install the Arduino IDE on your Mac. (lots of tutorials how to do that on the web), then plug in your unit (you can use the plug on the SunAirPlus3 prototype to the USB plug on your Mac. (Micro USB to whatever you have on your Mac).
Open up the serial monitor by clocking on the magnifying glass on the upper right corner of the Arduino IDE. Then go up to tools->port and select the port (it should be obvious - not the bluetooth port)> Set your baud rate on the serial window to 115200
Take a look at what the monitor shows up on startup,.
BP
|
|
ncjay
Junior Member
Posts: 71
|
Post by ncjay on Sept 28, 2021 10:52:47 GMT -8
BP, thanks for your continued assistance with this situation. Here are a couple of answers. 1) The video is here: www.dropbox.com/s/br5w5ceh87qco0k/SolarAQI-edit.mp4?dl=0 You'll see that the TX light *does* flash once at the :38 mark in the video, but it's green, not yellow. Nothing is reported from the sensor via testWirelessSensors.py, nor in dash_app. 2) OK...? 3) Downloaded and ready to install, but I need to follow a board-specific procedure as indicated here: www.arduino.cc/en/Guide - which one should I choose? Thanks ncjay
|
|
|
Post by SDL on Sept 28, 2021 11:52:48 GMT -8
1) - My mistake. The green light is labeled tx and indicates a message has been sent. I'll look at my unit when I get back to the lab and see if the behavior is the same.
3) Select tools->Arduino AVR Boards -> Arduino Pro or Pro Mini
BP
|
|
ncjay
Junior Member
Posts: 71
|
Post by ncjay on Sept 29, 2021 10:15:09 GMT -8
OK, thanks. Just one more question: should I be using the same micro USB socket on the SunAirPlus board that I use for charging? The one labeled USB Power In?
|
|
|
Post by SDL on Oct 1, 2021 14:18:30 GMT -8
Yes, you can use that plug. the D-/D+ wires are routed through the board to the Mini Pro Plus
BP
|
|
ncjay
Junior Member
Posts: 71
|
Post by ncjay on Oct 3, 2021 11:29:54 GMT -8
Well, I'm not having much luck here.
USB Power In cabled to USB port on the Mac (directly into the Mac, not through a hub) Board selected: Arduino Pro or Pro Mini Processor: ATmega 328P (5V, 16 MHz) (this is the default - I didn't change it) Serial Port: this is where things get difficult, and there's no obvious choice.. The options are: - the bluetooth one (you said that isn't the one) - /dev/cu.GOODMANSDAB-JL_SPP (GOODMANSDAB is an internet radio I have connected via bluetooth) - /dev/SLAB_USBtoUART (this is the serial driver for the Davis weather station I'm running) - /dev/cu.usbserial-0001 (this gives me a "Port busy" error) - /dev/cu.URT1 (This one actually opens the serial monitor window. I set the baudrate to 115200, but......no output other that short bursts of noise like: ⸮7⸮'⸮⸮t)
I realize it isn't easy to debug something like this remotely, so thanks again. If I'm doing something obviously wrong please let me know.
Thanks ncjay
|
|
|
Post by SDL on Oct 3, 2021 13:13:25 GMT -8
ncjay, I've attached what I see on mine. It is the usbserial-A603D7X4 port. Did you install an FTDI driver? That might be the problem. Check on the web for installation on your Mac. BP
|
|
ncjay
Junior Member
Posts: 71
|
Post by ncjay on Oct 4, 2021 10:45:23 GMT -8
Please clarify: do I need to install the FTDI driver? Or is there one already resident in MacOS 11.6? Some of my searching let me to believe that Apple had been incorporating the drivers in recent versions, and that installing another driver would cause conflicts. At any rate, I assumed I needed to do the install. I followed the instructions here: learn.sparkfun.com/ftdiDriversMac, the installation reported "Successful", and ... no change in the available serial port options in the IDE's drop-down box. thanks ncjay
|
|
|
Post by SDL on Oct 5, 2021 18:00:44 GMT -8
What do you have it plugged into? IN the SunAirPlus2 board or directly into the Mini Pro Plus. Try direct, but I can't believe this is the problem.
Do you have another computer to try looking at it?
BP
|
|
ncjay
Junior Member
Posts: 71
|
Post by ncjay on Oct 7, 2021 16:23:46 GMT -8
It's plugged into the USB Power In port on the SunAirPlus board (the prototype v3 one you supplied). Haven't attempted plugging it in direct, but....
Is this something I can try on a Windows machine, or Ubuntu Linux, or the Raspberry Pi 4? I have all of those available.
thanks ncjay
|
|
|
Post by SDL on Oct 10, 2021 11:35:43 GMT -8
Sure. The serial ports are different, but they should all work.
Install the Arduino IDE and go looking for the serial ports via the tutorials.
BP
|
|
ncjay
Junior Member
Posts: 71
|
Post by ncjay on Oct 11, 2021 10:53:10 GMT -8
I'm not having much luck with Windows 10, either. I installed the IDE and all the drivers, selected Arduino Pro or Pro Mini as the board, left the Processor at the default ATmega 328P (5V, 16 MHz), and tried all the serial ports - but none of them are unusual, all apparently native serial ports (CNCA0, CNCB0, and COM 3, 4, 5, and 8). Some come up "busy" and the ones that don't yield nothing at all in the serial monitor.
And I'm not seeing anything unusual in Device Manager, either. I'm kind of stumped here. Are these 5v boards or 3.3v?
Should I be trying this with the (replaced) SunAirPlus2 board instead of the prototype 3?
thanks ncjay
|
|
|
Post by SDL on Oct 15, 2021 9:55:01 GMT -8
The ones that don't show anything in the serial monitor, did you connect, then hit the reset button on the Mini Pro Plus (the gold button)? That will make the unit send info out to the serial port as it powers up. Set the baud rate to 115200.
Try the other SAP2 board. Maybe the wires have come loose on the prototype. SunAirPlus3 new boards due in next week.
BP
|
|