Bananian

1wire parasite - pullup missing?

9 821
itsmee  
Edited by itsmee at Jan 04, 2016 12:36

Hi,

seems I'm unable to get a parasite 1wire DS1820 up and running on banana pi. Hope somebody can push me the right direction.

- DS1820 wired with two cables & running on Rasp Pi
- script.fex adepted, /sys/bus/w1/devices/10- shows the device
- getting CRC but temp of t=85000 permanantly

I'm suspecting that its related to the pullup that i had to configure in rasp pi, but can't get it going. It seems its not the w1-gpio / w1-therm kernel modules that raspberian uses.
I've added the port22: line assuming that the '1' means pullup. Didn't change the behavior.

Config A)
  1. bin2fex /tmp/mmcblk01p1/script.bin /tmp/script.fex
  2. echo "[w1_para]" >> /tmp/script.fex
  3. echo "gpio = 22" >> /tmp/script.fex
  4. echo "port:22<0><1><default><default>" >> /tmp/script.fex
  5. fex2bin /tmp/script.fex /tmp/mmcblk01p1/script.bin
Copy the Code



Config B)
  1. cat /tmp/script.fex
  2. [w1_para]
  3. gpio = 22
  4. gpio_used = 1
  5. gpio_pin_1 = port:PB20<1><default><default><default>
  6. gpio_pin_2 = port:PB21<1><default><default><default>
  7. gpio_pin_3 = port:PB20<1><default><default><default>
  8. gpio_pin_4 = port:PI03<1><default><default><default>
  9. gpio_pin_5 = port:PB22<1><default><default><default>
  10. gpio_pin_6 = port:PB23<1><default><default><default>
  11. gpio_pin_7 = port:PI14<1><default><default><default>
  12. gpio_pin_8 = port:PI10<1><default><default><default>
  13. gpio_pin_9 = port:PI13<1><default><default><default>
  14. gpio_pin_10 = port:PI12<1><default><default><default>
  15. gpio_pin_11 = port:PI11<1><default><default><default>
  16. gpio_pin_12 = port:PH05<1><default><default><default>
  17. gpio_pin_13 = port:PH03<1><default><default><default>
  18. gpio_pin_14 = port:PH00<1><default><default><default>
  19. gpio_pin_15 = port:PH01<1><default><default><default>
  20. gpio_pin_16 = port:PH01<1><default><default><default>
  21. gpio_pin_17 = port:PI19<1><default><default><default>
  22. gpio_pin_18 = port:PH02<1><default><default><default>
  23. gpio_pin_19 = port:PH02<1><default><default><default>
  24. gpio_pin_20 = port:PI20<1><default><default><default>
  25. gpio_pin_21 = port:PI21<1><default><default><default>
  26. gpio_pin_22 = port:PI17<0><1><default><default>
  27. gpio_pin_23 = port:PH20<1><default><default><default>
  28. gpio_pin_24 = port:PH21<1><default><default><default>
  29. gpio_pin_25 = port:PI16<1><default><default><default>
  30. gpio_pin_26 = port:PI16<1><default><default><default>
  31. gpio_pin_27 = port:PI18<1><default><default><default>
  32. gpio_pin_28 = port:PH05<1><default><default><default>
  33. gpio_pin_29 = port:PI21<1><default><default><default>
Copy the Code


Both show very similar results:
  1. # gpio readall
  2. +----------+-Rev3-+------+--------+------+-------+
  3. | wiringPi | GPIO | Phys | Name   | Mode | Value |
  4. +----------+------+------+--------+------+-------+
  5. |      0   |  17  |  11  | GPIO 0 | ALT4 | Low   |
  6. |      1   |  18  |  12  | GPIO 1 | IN   | Low   |
  7. |      2   |  27  |  13  | GPIO 2 | ALT4 | Low   |
  8. |      3   |  22  |  15  | GPIO 3 | IN   | High  |
  9. |      4   |  23  |  16  | GPIO 4 | IN   | Low   |
  10. |      5   |  24  |  18  | GPIO 5 | IN   | Low   |
  11. |      6   |  25  |  22  | GPIO 6 | ALT4 | Low   |
  12. |      7   |   4  |   7  | GPIO 7 | IN   | Low   |
  13. |      8   |   2  |   3  | SDA    | ALT5 | Low   |
  14. |      9   |   3  |   5  | SCL    | ALT5 | Low   |
  15. |     10   |   8  |  24  | CE0    | IN   | Low   |
  16. |     11   |   7  |  26  | CE1    | IN   | Low   |
  17. |     12   |  10  |  19  | MOSI   | IN   | Low   |
  18. |     13   |   9  |  21  | MISO   | IN   | Low   |
  19. |     14   |  11  |  23  | SCLK   | IN   | Low   |
  20. |     15   |  14  |   8  | TxD    | ALT0 | Low   |
  21. |     16   |  15  |  10  | RxD    | ALT0 | Low   |
  22. |     17   |  28  |   3  | GPIO 8 | IN   | Low   |
  23. |     18   |  29  |   4  | GPIO 9 | ALT4 | Low   |
  24. |     19   |  30  |   5  | GPIO10 | OUT  | High  |
  25. |     20   |  31  |   6  | GPIO11 | ALT4 | Low   |
  26. +----------+------+------+--------+------+-------+
Copy the Code
  1. cat /sys/bus/w1/devices/10-0008030b40a9/w1_slave
  2. aa 00 4b 46 ff ff 0c 10 87 : crc=87 YES
  3. aa 00 4b 46 ff ff 0c 10 87 t=85000
Copy the Code

This is the main instruction I followed - followed by the two major raspberry settings.

http://www.kompf.de/weather/pionewiremini.html
  1. dtoverlay=w1-gpio,gpiopin=4,pullup=on
  2. sudo modprobe w1-gpio pullup=1
  3. sudo modprobe w1-therm
Copy the Code


Thanks for any advice!

ItsMee

What resistor value are you using for the pullup on the DS's data pin?

If using a higher value,try with 1k.

itsmee  
sashijoseph replied at Jan 05, 2016 12:18
What resistor value are you using for the pullup on the DS's data pin?

If using a higher value,try  ...

Hi,

I'm using 4,7k as recommend for Raspberry Pi in multiple posts - and as working with Raspberry pi. Wouldn't mind testing 1k, but would need to buy that.
Any specific reason you recommend 1k? You have parasite running on Banana pi? Can you provide details on your SW config?

ItsMee

The DS requires around 1ma during it's measurement period and thus requires a strong pullup atleast during this period.
4.7k may or may not work in all cases of parasite powering.
With the DS in standard mode 4.7k will always work.

You could first try the standard mode and see if it's working with the BPi.

Once that's confirmed,then try with the parasite mode with a lower value resistor.
If you have a couple more of 4.7k,you could tie all three in parallel to arrive at 1.5k

Note: The author has been banned or deleted.

wty123  
nfl bills jerseys, jordans, mbt shoes, indiana pacers jerseys, ralph lauren outlet, wholesale handbags, burberry handbags, ralph lauren factory store, versace clothes, nfl steelers jerseys, doudoune north face, air yeezy, michael kors outlet online, tommy hilfiger outlet stores, juicy couture handbags, nike shoes, louboutin, michael kors outlet, nike store, beats by dr dre, michael kors outlet online sale, nike outlet, nfl giants jerseys, adidas shoes, michael kors handbags, eyeglasses frames, burberry outlet online, nike factory, michael kors bags, oakley sunglasses outlet, jordan retro, burberry, skechers shoes outlet, veneta, uhren shop, nike roshe run, adidas online shop, new balance shoes, coach outlet online, puma online shop, polo ralph lauren, nike roshe run, michael kors, mcm handbags, michael kors outlet, burberry outlet online, swarovski crystal, swarovski, nfl lions jerseys, nfl broncos jerseys, nfl chargers jerseys, woolrich clearance, easton bats, ray ban wayfarer, nfl ravens jerseys, mlb jerseys, oakley sunglasses, ray ban, asics gel, nike shoes, cheap oakley, phoenix suns jerseys, boutique clothing, nuggets jersey, prada handbags, michael kors handbags, burberry outlet, barbour jackets outlet, chrome hearts clothings, huarache, longchamp, timberland outlet, beats by dre headphones, montre femme, vans, coach factory outlet, louboutin shoes, oakley sunglasses, nike, jimmy choo outlet, purses and handbags, long champ, coach outlet store, swarovski canada, toronto raptors jerseys, michaelkors.com, hermes tracksuits, air max 90, juicy couture clothings, sacramento kings jerseys, nike air max, converse sneakers, nfl azcardinals jerseys, burberry outlet online, hornets jersey, nfl falcons jerseys, timberland shoes, hogan, coach factory outlet, rolex watches, pumas, ralph lauren polo, pandora charms, swarovski crystal, ralph lauren outlet online, new york knicks jersey, air max thea, ralph lauren, new balance, adidas, air force, versace, stone island jackets, celine outlet, michael kors, nike, nike factory outlet, reebok, giuseppe zanotti sneakers, dsquared2 sale, air max 2007, longchamp, polo ralph lauren outlet, air max, wholesale handbags, fidget spinner, nfl dolphins jerseys, instyler, birkenstock, ferragamo, nike free, mizuno, burberry outlet, fred perry, ferragamo shoes, nfl saints jerseys, givenchy, birkenstock taschen deutschland, nfl colts jerseys, fred perry polos, adidas, salomon, burberry handbags, longchamp outlet, the north face outlet, adidas clothings, oakley holbrook,

coach outlet online
uggs
ray bans
michael kors uk
canada goose jackets
michael kors outlet online
canada goose jackets
ralph lauren sale
canada goose coats
louis vuitton factory outlet
uggs outlet
burberry outlet online
coach factory outlet online
moncler
yeezy boost
yeezy shoes
moncler coats
louis vuitton outlet store
moncler jackets
fred perry shirts
ugg boots
michael kors outlet canada
jerseys cheap
cheap air jordans
ugg outlet online
cheap ugg boots
michael kors outlet online
ugg boots
polo outlet online
pandora charms sale clearance
birkenstock shoes
longchamp bags
uggs on sale
michael kors outlet store
ray ban sunglasses discount
harden vol 1
adidas yeezy boost
birkenstock outlet
ugg boots
ugg boots
coach outlet store
moncler outlet online
salvatore ferragamo outlet
moncler uk
michael kors
red bottoms
adidas outlet online
ugg boots
uggs outlet
uggs outlet
mbt
ferragamo shoes
ralph lauren outlet online
cheap air jordans
pandora charms outlet
polo ralph lauren outlet
cheap jordan shoes
ugg outlet
adidas outlet online
salvatore ferragamo shoes
coach outlet online
coach outlet store
ugg boots
columbia sportswear outlet
mlb jerseys cheap
supreme shirts
ugg outlet
ugg australia outlet
ugg outlet
canada goose jackets
coach outlet online
ugg outlet online
pandora charms
coach outlet online
coach factory outlet online
canada goose outlet online
canada goose jackets
north face jackets
louboutin outlet
mulberry
ugg canada
canada goose jackets
coach handbags outlet
uggs outlet
adidas nmd r1
michael kors outlet store
nike outlet
michael kors handbags
ugg outlet
uggs outlet
ugg boots
canada goose parka
coach outlet online
pandora uk
canada goose outlet
louboutin outlet
fitflop sandals
birkin handbags
the north face outlet
air jordan retro
air max
michael kors outlet clearance
michael kors outlet online
moncler jacket
ugg boots outlet
canada goose outlet
ugg canada
canada goose
uggs outlet
adidas nmd runner
michael kors outlet online
north face jackets
uggs sale
coach factory outlet online
canada goose sale
cheap air jordans
michael kors outlet store
air max shoes
171128yueqin

20186.14chenjinbei
flops
cheap jordan shoes
air max 270
kate spade
mont blanc
fitflops
jordans
mishka clothing
jimmy choo shoes
camisetas de futbol replicas
timberland boots
adidas football boots
coach outlet online
supra shoes
malone souliers mules
fussball trikots
supreme
ralph lauren
ferragamo shoes
burberry canada
christian louboutin
asics running shoes
nfl jerseys wholesale
air max 97
red bottoms
fitflop sandals
ralph lauren
puma slides
manchester united jersey
air max 90
true religion jeans
camisetas de futbol baratas
beats by dre
coach outlet online
nike epic react
y-3 shoes
links of london
ralph lauren
nike air max
kate spade handbags
oakley sunglasses
jordan 3
cheap jerseys
nike flip-flops
air jordan 14
light up shoes
nike dunks
new balance
converse shoes
cheap nfl jerseys
adidas yeezy 350
nike blazer
ray ban sunglasses
nike lunarglide
air max
ferragamo outlet
air jordan 11
nike shox
michael kors handbags
adidas jeremy scott
jordans
coach factory outlet
ralph lauren uk
ray ban outlet
jordan 4
air max 95
balance shoes
coach handbags
ralph lauren
miu miu shoes
air max
coach outlet store
michael kors outlet
breitling watches
nike air force
ralph lauren
carnival shoes
vans shoes
adidas slides
christian louboutin shoes
nike tn
balenciaga shoes
kobe 12
running shoes
burberry outlet
air max 2017
air max 1
harden vol 1
air force 1
roshe run
cheap mlb jerseys
adidas nmd
juicy couture outlet
superdry clothing
ferragamo
nike shoes
wholesale nfl jerseys
huarache
michael kors outlet clearance
jordan
cartier jewelry
christian louboutin outlet
air max plus
mac cosmetics
prada handbags
coach outlet store online
cheap nfl jerseys
under armour outlet
dior handbags
belstaff jackets
marc jacobs
pandora charms
michael kors
michael kors outlet online
nike blazer
polo ralph
jordan 5
hermes outlet
coach factory outlet
celine outlet
coach outlet
hermes birkin bag
converse shoes
mulberry handbags
jordan xx9
nike sb
off-white clothing
cheap soccer jerseys
swarovski
tory burch outlet
longchamp
converse uk
nike revolution
nike uk
maillot de foot pas cher
flip-flops
polo outlet
nike shoes for men
ralph lauren
polo outlet
michael kors taschen
tag heuer watches
michael kors outlet store
soccer shirts
air max 2018
air jordan
adidas outlet store
basketball shoes
montblanc fountain pens
barcelona jersey
jordan 8
coach
michael kors handbags
ray ban sunglasses
pandora jewelry canada
coach factory outlet
true religion jeans
prada bags
timberland boots
supreme outlet
baseball jersey
bvlgari rings
adidas stan smith
kate spade outlet online
suicoke sandals
cheap ray bans
oakley sunglasses
mont blanc pens
kate spade
oakley sunglasses
fitflops outlet
cheap nhl jerseys
adidas shoes
adidas flip flops
off-white clothing
coach handbags
coach factory outlet online
kobe 11
nike cortez
nike outlet store
coach factory outlet online
hermes kelly bag
mbt shoes
jordan 6
cheap soccer jerseys
beats by dre
cheap nfl jerseys
longchamp outlet
pandora outlet
vibram five fingers
hermes
air max
nike kyrie 3
supreme uk
adidas yeezy
jordan
nike free run
louboutin
lebron 15
pandora jewelry
coach outlet online
polo ralph lauren
adidas superstar
maglie calcio
snapbacks wholesale
red bottom shoes
prada handbags
hollister outlet
true religion jeans
soccer jersey
cheap mlb jerseys
longchamp outlet
valentino shoes
manolo blahnik shoes
pandora charms
nike roshe
nike factory outlet
balenciaga shoes
ralph lauren uk
giuseppe zanotti shoes
air max
timberland boots
air jordan
burberry outlet online
michael kors handbags
michael kors handbags
jordan pas cher
nike outlet online
alexander mcqueen shoes
nfl jerseys
tory burch bags
scarpe mbt
oakley vault
van cleef & arpels jewelry
air huarache
coach outlet online
yeezy 500 blush
vans shoes
christian louboutin
longchamp handbags
cheap nba jerseys
harden vol 2
bcbg
mlb jerseys
asics
"nfl jerseys
"
yeezy shoes
stuart weitzman shoes
michael kors uk
timberland outlet
ralph lauren outlet
jordan shoes
longchamp
nike free run
hermes uk
ralph lauren outlet
michael kors canada
new balance sandals
michael kors outlet
givenchy handbags
adidas outlet
ralph lauren
jordan 12
undefeated shoes
nike presto
fingerlings monkey
jordan 1
oakley sunglasses
nhl jerseys
air jordan
flip-flops
breguet watches
pandora uk
wedding shoes
fila sneakers
oakley sunglasses
oakley sunglasses wholesale
true religion jeans
nike mercurial vapor
michael kors outlet store
prada outlet online
[bcheap nfl jerseys
ray ban
coach outlet
burberry outlet store
adidas stan smith
michael kors outlet
jordan shoes
dansko shoes
mcm bags
birkenstock
ray ban sunglasses
maglie calcio a poco prezzo
cheap replica watches
ray ban sunglasses
polo outlet
tory burch outlet
pandora jewelry canada
ray ban
stussy hoodie
oakley canada
baseball bats
adidas wings
true religion jeans
columbia sportswear
michael kors outlet
nfl jerseys
prada
ray ban sunglasses cheap
nike shoes
true religion
coach outlet
kate spade
longchamp handbags
pandora jewelry
nike free
kate spade outlet
fitflop sandals
fitflops sale clearance
nike outlet
nike free
kevin durant shoes
jordans
adidas nmd
louboutin
longchamp
adidas uk
birkenstock sandals
gucci slides
coach factory outlet
mizuno running shoes
michael kors handbags
ralph lauren
ralph lauren uk
adidas ultra boost
ralph lauren polo shirts
louboutin
rolex watches
louboutin outlet
michael kors outlet
puma fenty sandals
louboutin
coach outlet online
audemars piguet
tory burch uk
nike uk
bottega veneta
nike outlet
air jordan
michael kors outlet
tod's shoes
nike outlet store online
dolce and gabbana
herve leger dresses
christian louboutin outlet
cheap oakley sunglasses
Fußballtrikots günstig
birkenstock outlet online
jordan shoes
adidas outlet store
maillot de foot
coach outlet online
cheap ray ban sunglasses
coach outlet online
timberland outlet
coach
coach outlet
coach factory online
kate spade
curry shoes
air jordan
supreme paris
swarovski jewelry
tory burch
jordan retro
nike tennis
nike outlet
ray ban
balenciaga sandals
20186.14chenjinbei

You have to log in before you can reply Login | Sign Up

Points Rules