|
Post by SDL on Aug 25, 2018 15:55:50 GMT -8
We had a request to publish the schematic for this part, and Laurie agreed to it! It is attached. BP
|
|
byronj
New Member
I make this, one mistake at a time.
Posts: 4
Raspberry Pi: No
Other Device: Linkit One, Arduino Micro
|
Post by byronj on Aug 26, 2018 11:36:21 GMT -8
Cool. So, if I understand you correctly, all pull up resistors are on the part and I should be able to solder a connector/leads to J1 and from there wire up my Arduino Micro on the pins I need. No additional pull up resistors. Yes?
|
|
|
Post by SDL on Aug 26, 2018 11:43:07 GMT -8
Correct. But if you are in a noisy environment you may need to add additional resistors. 47K is not a very strong pullup.
BP
|
|
byronj
New Member
I make this, one mistake at a time.
Posts: 4
Raspberry Pi: No
Other Device: Linkit One, Arduino Micro
|
Post by byronj on Aug 26, 2018 12:27:54 GMT -8
Well, it's a start. I'm getting some very odd readings and notice that the wind vane messes up the data from the anemometer if it moves at all...you can see the inconsistent data here. Based on the component diagram I've added no pull up resistors; being that they're on the device. And I wired up J1 - bypassing J3 & J4. So, what's wrong here? B 0.00 0.00 349 N Calm 0.00 0.00 349 N Calm 0.00 0.00 349 N Calm 6.30 5.47 7 N Light Breeze 1.80 1.56 74 E Calm 9.90 8.60 74 E Gentle Breeze 8.10 7.04 103 E Gentle Breeze 9.00 7.82 102 E Gentle Breeze 9.90 8.60 73 E Gentle Breeze 8.10 7.04 75 E Gentle Breeze 10.80 9.38 74 E Gentle Breeze 11.70 10.17 118 SE Gentle Breeze 13.50 11.73 72 E Moderate Breeze 17.10 14.86 118 SE Moderate Breeze 24.30 21.12 75 E Fresh Breeze 35.10 30.50 74 E Near Gale 39.60 34.41 117 SE RUN 42.30 36.76 74 E RUN 42.30 36.76 73 E RUN 38.70 33.63 74 E Near Gale 6.30 5.47 21 N Light Breeze 0.00 0.00 21 N Calm 0.00 0.00 20 N Calm 0.00 0.00 14 N Calm 31.50 27.37 75 E Near Gale 41.40 35.98 87 E RUN 39.60 34.41 103 E RUN 39.60 34.41 103 E RUN 41.40 35.98 102 E RUN 36.90 32.07 102 E Near Gale 39.60 34.41 106 E RUN 38.70 33.63 97 E Near Gale 36.90 32.07 153 SE Near Gale 29.70 25.81 103 E Strong Breeze
|
|
|
Post by SDL on Aug 26, 2018 13:15:24 GMT -8
I don't see any ground wire. That could explain all your problems.
As Dr. Shovic, our CTO says, "You can always trust your Mother, but you can never trust your Ground".
BP
|
|
byronj
New Member
I make this, one mistake at a time.
Posts: 4
Raspberry Pi: No
Other Device: Linkit One, Arduino Micro
|
Post by byronj on Aug 27, 2018 10:18:39 GMT -8
Afternoon!
I ran the ground from the WXWLinkWR to the ground on the (left) of the micro. (in this image). Been trying a few things - still no luck so far today.
B
|
|
byronj
New Member
I make this, one mistake at a time.
Posts: 4
Raspberry Pi: No
Other Device: Linkit One, Arduino Micro
|
Post by byronj on Aug 27, 2018 11:34:01 GMT -8
I don't see any ground wire. That could explain all your problems. As Dr. Shovic, our CTO says, "You can always trust your Mother, but you can never trust your Ground". BP Grounded, jumpered - perhaps excessively - and now with more pull up resistors. And, apart from the wind direction being a bit out of wack - it's facing true north and using an adjustment for magnetic north - and it's still reporting 'vague' directions - ergo; calibration and code fiddling - progress. Not using the J3 & J4 I2C/Grove connectors - using JP1 for which I've temporarily soldered some leads into; to be replaced with a grove connector soonish. Anyhow - apart from the fact it looks like R2D2 was sick it works (ish) - Now, can you tell me more about J3 & J4? It's not clear on the diagram what the pinouts are. It'd be a cleaner hookup from there to the slave Micro, even if I have to make my own connector with pigtails etc. B Attachments:
|
|
|
Post by SDL on Aug 28, 2018 13:36:29 GMT -8
Right top corner of the schematic. All the pin names are shown.
BP
|
|