ots-m2m / sew-lwm2m-reference-design

A reference implementation of the South East Water LWM2M water meter design
Mozilla Public License 2.0
7 stars 0 forks source link

Wiring Issues #27

Open geohuk opened 6 years ago

geohuk commented 6 years ago

Hi,

Regarding wiring, I can't quite figure out what type of LED should be used, i.e. what voltage and amperage? Furthermore the potentiometer seems to be connected to a 3,3V battery? Is that correct? And finally the pin6 Ground on the Pi, should be connected to the potentiometer, the LED and which pin on the development board?

mofosyne commented 6 years ago

Led resistor

You can use any small led, as long as you know it's forward voltage drop. e.g. Say forward drop is 2V (typical)

It is easier to find a 100ohm resistor however, which would yield 13mA maximum current. Dimmer but that's okay for an indicator light.

The positive terminal of the led is connected to pin1.0 of the development board MSP-TS430PZ100C-MSP430F643x. (Or alternatively, just jump JP2 to use the onboard led)

Potentiometer

Pin 6 is connected to the middle tap of the Potentiometer and is the variable input voltage from the user (To simulate a sensor). You want to wire it to the development board MSP-TS430PZ100C-MSP430F643x P6.0 .

The ground and 3.3V voltage pin is hooked to the same power source that is powering the development board.

Resources:

mofosyne commented 6 years ago

How did your project go? Did you managed to solve the issue you had?