1 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
2 |
DENIED
|
moderate
|
App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "askelectronics@discuss.tchncs.de"
+title: "askelectronics"
+description: """
**For questions about component-level electronic circuits, tools and equipment.**\n
\n
Rules\n
-----\n
\n
1: Be nice.\n
\n
2: Be on-topic (eg: *Electronic*, not *electrical*).\n
\n
3: No commercial stuff, buying, selling or valuations.\n
\n
4: Be safe.\n
\n
---
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 154
+entryCommentCount: 1230
+postCount: 1
+postCommentCount: 4
+isAdult: false
+customCss: null
+lastActive: DateTime @1729413608 {#276
date: 2024-10-20 10:40:08.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 11
+apId: "askelectronics@discuss.tchncs.de"
+apProfileId: "https://discuss.tchncs.de/c/askelectronics"
+apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
+apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
+apInboxUrl: "https://discuss.tchncs.de/inbox"
+apDomain: "discuss.tchncs.de"
+apPreferredUsername: "askelectronics"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1727247714 {#270
date: 2024-09-25 09:01:54.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1687144409 {#272
date: 2023-06-19 05:13:29.0 +02:00
}
}
+image: Proxies\__CG__\App\Entity\Image {#1943 …}
+domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
+slug: "SOLVED-A-pull-up-resistor-increases-the-low-side-of-a"
+title: "[SOLVED] A pull-up resistor increases the low side of a signal, how can I counteract it?"
+url: "https://electronics.stackexchange.com/q/670924/107963"
+body: """
Solution\n
--------\n
\n
Using an open drain buffer like the `74LVC1G07` did the trick. Note that this part only works for inputs with a pull-up resistor. There are other parts from the same lineup that can work with any input.\n
\n
Problem\n
-------\n
\n
> I have an ebike computer that has two inputs that accept square wave signals. The range is 0-5V. One of the inputs has no pull-up/down resistors on it. When I hook up a device producing signal, the signal is detected correctly. Both highs and lows are detected correctly. The other input has a built-in pull-up resistor. When I hook the same signal to it, only the high side is detected. Measuring the voltage of the low side, it's a bit higher than when hooked to the other input and I'm guessing it isn't crossing the low threshold the computer expects in order to register the low.\n
\n
> Am I right in thinking that the pull-up resistor is increasing the lows?\n
\n
> Is it possible to counteract the internal pull-up resistor by hooking a pull-down resistor to the input?\n
\n
> I'm a software guy with decent soldering skills and minimal knowledge in electronics so please answer like I'm not the brightest electronic bulb on the tree.\n
\n
> Thank you in advance!\n
\n
Cross-posting my question from StackExchange.
"""
+type: "link"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 6
+favouriteCount: 3
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1687328506 {#2410
date: 2023-06-21 08:21:46.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1866 …}
+votes: Doctrine\ORM\PersistentCollection {#1966 …}
+reports: Doctrine\ORM\PersistentCollection {#1946 …}
+favourites: Doctrine\ORM\PersistentCollection {#1368 …}
+notifications: Doctrine\ORM\PersistentCollection {#2426 …}
+badges: Doctrine\ORM\PersistentCollection {#2439 …}
+children: []
-id: 132
-titleTs: "'counteract':17 'increas':7 'low':9 'pull':4 'pull-up':3 'resistor':6 'side':10 'signal':13 'solv':1"
-bodyTs: "'-5':60 '/down':71 '0':59 '74lvc1g07':9 'accept':52 'advanc':227 'answer':212 'bit':131 'brightest':218 'buffer':6 'built':101 'built-in':100 'bulb':220 'comput':46,152 'correct':87,94 'counteract':179 'cross':147,229 'cross-post':228 'decent':202 'detect':86,93,120 'devic':80 'drain':5 'ebik':45 'electron':209,219 'expect':153 'guess':143 'guy':200 'high':89,117 'higher':132 'hook':77,109,135,187 'increas':172 'input':20,40,50,65,97,139,195 'intern':181 'isn':145 'knowledg':207 'like':7,213 'lineup':34 'low':91,126,149,159,174 'm':142,197,215 'measur':121 'minim':206 'note':13 'one':62 'open':4 'order':155 'part':16,30 'pleas':211 'possibl':177 'post':230 'problem':41 'produc':81 'pull':24,69,104,168,183,190 'pull-down':189 'pull-up':23,68,103,167,182 'question':232 'rang':57 'regist':157 'resistor':26,72,106,170,185,192 'right':162 'side':118,127 'signal':55,82,84,112 'skill':204 'softwar':199 'solder':203 'solut':1 'squar':53 'stackexchang':234 'thank':224 'think':164 'threshold':150 'tree':223 'trick':12 'two':49 'use':2 'v':61 'voltag':123 'wave':54 'work':18,37"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1687130578
+visibility: "visible "
+apId: "https://lemmy.ca/post/738378"
+editedAt: DateTimeImmutable @1687363171 {#1850
date: 2023-06-21 17:59:31.0 +02:00
}
+createdAt: DateTimeImmutable @1687102078 {#2420
date: 2023-06-18 17:27:58.0 +02:00
}
} |
|
Show voter details
|
3 |
DENIED
|
edit
|
App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "askelectronics@discuss.tchncs.de"
+title: "askelectronics"
+description: """
**For questions about component-level electronic circuits, tools and equipment.**\n
\n
Rules\n
-----\n
\n
1: Be nice.\n
\n
2: Be on-topic (eg: *Electronic*, not *electrical*).\n
\n
3: No commercial stuff, buying, selling or valuations.\n
\n
4: Be safe.\n
\n
---
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 154
+entryCommentCount: 1230
+postCount: 1
+postCommentCount: 4
+isAdult: false
+customCss: null
+lastActive: DateTime @1729413608 {#276
date: 2024-10-20 10:40:08.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 11
+apId: "askelectronics@discuss.tchncs.de"
+apProfileId: "https://discuss.tchncs.de/c/askelectronics"
+apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
+apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
+apInboxUrl: "https://discuss.tchncs.de/inbox"
+apDomain: "discuss.tchncs.de"
+apPreferredUsername: "askelectronics"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1727247714 {#270
date: 2024-09-25 09:01:54.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1687144409 {#272
date: 2023-06-19 05:13:29.0 +02:00
}
}
+image: Proxies\__CG__\App\Entity\Image {#1943 …}
+domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
+slug: "SOLVED-A-pull-up-resistor-increases-the-low-side-of-a"
+title: "[SOLVED] A pull-up resistor increases the low side of a signal, how can I counteract it?"
+url: "https://electronics.stackexchange.com/q/670924/107963"
+body: """
Solution\n
--------\n
\n
Using an open drain buffer like the `74LVC1G07` did the trick. Note that this part only works for inputs with a pull-up resistor. There are other parts from the same lineup that can work with any input.\n
\n
Problem\n
-------\n
\n
> I have an ebike computer that has two inputs that accept square wave signals. The range is 0-5V. One of the inputs has no pull-up/down resistors on it. When I hook up a device producing signal, the signal is detected correctly. Both highs and lows are detected correctly. The other input has a built-in pull-up resistor. When I hook the same signal to it, only the high side is detected. Measuring the voltage of the low side, it's a bit higher than when hooked to the other input and I'm guessing it isn't crossing the low threshold the computer expects in order to register the low.\n
\n
> Am I right in thinking that the pull-up resistor is increasing the lows?\n
\n
> Is it possible to counteract the internal pull-up resistor by hooking a pull-down resistor to the input?\n
\n
> I'm a software guy with decent soldering skills and minimal knowledge in electronics so please answer like I'm not the brightest electronic bulb on the tree.\n
\n
> Thank you in advance!\n
\n
Cross-posting my question from StackExchange.
"""
+type: "link"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 6
+favouriteCount: 3
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1687328506 {#2410
date: 2023-06-21 08:21:46.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1866 …}
+votes: Doctrine\ORM\PersistentCollection {#1966 …}
+reports: Doctrine\ORM\PersistentCollection {#1946 …}
+favourites: Doctrine\ORM\PersistentCollection {#1368 …}
+notifications: Doctrine\ORM\PersistentCollection {#2426 …}
+badges: Doctrine\ORM\PersistentCollection {#2439 …}
+children: []
-id: 132
-titleTs: "'counteract':17 'increas':7 'low':9 'pull':4 'pull-up':3 'resistor':6 'side':10 'signal':13 'solv':1"
-bodyTs: "'-5':60 '/down':71 '0':59 '74lvc1g07':9 'accept':52 'advanc':227 'answer':212 'bit':131 'brightest':218 'buffer':6 'built':101 'built-in':100 'bulb':220 'comput':46,152 'correct':87,94 'counteract':179 'cross':147,229 'cross-post':228 'decent':202 'detect':86,93,120 'devic':80 'drain':5 'ebik':45 'electron':209,219 'expect':153 'guess':143 'guy':200 'high':89,117 'higher':132 'hook':77,109,135,187 'increas':172 'input':20,40,50,65,97,139,195 'intern':181 'isn':145 'knowledg':207 'like':7,213 'lineup':34 'low':91,126,149,159,174 'm':142,197,215 'measur':121 'minim':206 'note':13 'one':62 'open':4 'order':155 'part':16,30 'pleas':211 'possibl':177 'post':230 'problem':41 'produc':81 'pull':24,69,104,168,183,190 'pull-down':189 'pull-up':23,68,103,167,182 'question':232 'rang':57 'regist':157 'resistor':26,72,106,170,185,192 'right':162 'side':118,127 'signal':55,82,84,112 'skill':204 'softwar':199 'solder':203 'solut':1 'squar':53 'stackexchang':234 'thank':224 'think':164 'threshold':150 'tree':223 'trick':12 'two':49 'use':2 'v':61 'voltag':123 'wave':54 'work':18,37"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1687130578
+visibility: "visible "
+apId: "https://lemmy.ca/post/738378"
+editedAt: DateTimeImmutable @1687363171 {#1850
date: 2023-06-21 17:59:31.0 +02:00
}
+createdAt: DateTimeImmutable @1687102078 {#2420
date: 2023-06-18 17:27:58.0 +02:00
}
} |
|
Show voter details
|
4 |
DENIED
|
moderate
|
App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "askelectronics@discuss.tchncs.de"
+title: "askelectronics"
+description: """
**For questions about component-level electronic circuits, tools and equipment.**\n
\n
Rules\n
-----\n
\n
1: Be nice.\n
\n
2: Be on-topic (eg: *Electronic*, not *electrical*).\n
\n
3: No commercial stuff, buying, selling or valuations.\n
\n
4: Be safe.\n
\n
---
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 154
+entryCommentCount: 1230
+postCount: 1
+postCommentCount: 4
+isAdult: false
+customCss: null
+lastActive: DateTime @1729413608 {#276
date: 2024-10-20 10:40:08.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 11
+apId: "askelectronics@discuss.tchncs.de"
+apProfileId: "https://discuss.tchncs.de/c/askelectronics"
+apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
+apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
+apInboxUrl: "https://discuss.tchncs.de/inbox"
+apDomain: "discuss.tchncs.de"
+apPreferredUsername: "askelectronics"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1727247714 {#270
date: 2024-09-25 09:01:54.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1687144409 {#272
date: 2023-06-19 05:13:29.0 +02:00
}
}
+image: Proxies\__CG__\App\Entity\Image {#1943 …}
+domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
+slug: "SOLVED-A-pull-up-resistor-increases-the-low-side-of-a"
+title: "[SOLVED] A pull-up resistor increases the low side of a signal, how can I counteract it?"
+url: "https://electronics.stackexchange.com/q/670924/107963"
+body: """
Solution\n
--------\n
\n
Using an open drain buffer like the `74LVC1G07` did the trick. Note that this part only works for inputs with a pull-up resistor. There are other parts from the same lineup that can work with any input.\n
\n
Problem\n
-------\n
\n
> I have an ebike computer that has two inputs that accept square wave signals. The range is 0-5V. One of the inputs has no pull-up/down resistors on it. When I hook up a device producing signal, the signal is detected correctly. Both highs and lows are detected correctly. The other input has a built-in pull-up resistor. When I hook the same signal to it, only the high side is detected. Measuring the voltage of the low side, it's a bit higher than when hooked to the other input and I'm guessing it isn't crossing the low threshold the computer expects in order to register the low.\n
\n
> Am I right in thinking that the pull-up resistor is increasing the lows?\n
\n
> Is it possible to counteract the internal pull-up resistor by hooking a pull-down resistor to the input?\n
\n
> I'm a software guy with decent soldering skills and minimal knowledge in electronics so please answer like I'm not the brightest electronic bulb on the tree.\n
\n
> Thank you in advance!\n
\n
Cross-posting my question from StackExchange.
"""
+type: "link"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 6
+favouriteCount: 3
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1687328506 {#2410
date: 2023-06-21 08:21:46.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1866 …}
+votes: Doctrine\ORM\PersistentCollection {#1966 …}
+reports: Doctrine\ORM\PersistentCollection {#1946 …}
+favourites: Doctrine\ORM\PersistentCollection {#1368 …}
+notifications: Doctrine\ORM\PersistentCollection {#2426 …}
+badges: Doctrine\ORM\PersistentCollection {#2439 …}
+children: []
-id: 132
-titleTs: "'counteract':17 'increas':7 'low':9 'pull':4 'pull-up':3 'resistor':6 'side':10 'signal':13 'solv':1"
-bodyTs: "'-5':60 '/down':71 '0':59 '74lvc1g07':9 'accept':52 'advanc':227 'answer':212 'bit':131 'brightest':218 'buffer':6 'built':101 'built-in':100 'bulb':220 'comput':46,152 'correct':87,94 'counteract':179 'cross':147,229 'cross-post':228 'decent':202 'detect':86,93,120 'devic':80 'drain':5 'ebik':45 'electron':209,219 'expect':153 'guess':143 'guy':200 'high':89,117 'higher':132 'hook':77,109,135,187 'increas':172 'input':20,40,50,65,97,139,195 'intern':181 'isn':145 'knowledg':207 'like':7,213 'lineup':34 'low':91,126,149,159,174 'm':142,197,215 'measur':121 'minim':206 'note':13 'one':62 'open':4 'order':155 'part':16,30 'pleas':211 'possibl':177 'post':230 'problem':41 'produc':81 'pull':24,69,104,168,183,190 'pull-down':189 'pull-up':23,68,103,167,182 'question':232 'rang':57 'regist':157 'resistor':26,72,106,170,185,192 'right':162 'side':118,127 'signal':55,82,84,112 'skill':204 'softwar':199 'solder':203 'solut':1 'squar':53 'stackexchang':234 'thank':224 'think':164 'threshold':150 'tree':223 'trick':12 'two':49 'use':2 'v':61 'voltag':123 'wave':54 'work':18,37"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1687130578
+visibility: "visible "
+apId: "https://lemmy.ca/post/738378"
+editedAt: DateTimeImmutable @1687363171 {#1850
date: 2023-06-21 17:59:31.0 +02:00
}
+createdAt: DateTimeImmutable @1687102078 {#2420
date: 2023-06-18 17:27:58.0 +02:00
}
} |
|
Show voter details
|
5 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
6 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4079
+user: App\Entity\User {#4028 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "askelectronics@discuss.tchncs.de"
+title: "askelectronics"
+description: """
**For questions about component-level electronic circuits, tools and equipment.**\n
\n
Rules\n
-----\n
\n
1: Be nice.\n
\n
2: Be on-topic (eg: *Electronic*, not *electrical*).\n
\n
3: No commercial stuff, buying, selling or valuations.\n
\n
4: Be safe.\n
\n
---
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 154
+entryCommentCount: 1230
+postCount: 1
+postCommentCount: 4
+isAdult: false
+customCss: null
+lastActive: DateTime @1729413608 {#276
date: 2024-10-20 10:40:08.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 11
+apId: "askelectronics@discuss.tchncs.de"
+apProfileId: "https://discuss.tchncs.de/c/askelectronics"
+apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
+apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
+apInboxUrl: "https://discuss.tchncs.de/inbox"
+apDomain: "discuss.tchncs.de"
+apPreferredUsername: "askelectronics"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1727247714 {#270
date: 2024-09-25 09:01:54.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1687144409 {#272
date: 2023-06-19 05:13:29.0 +02:00
}
}
+image: Proxies\__CG__\App\Entity\Image {#1943 …}
+domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
+slug: "SOLVED-A-pull-up-resistor-increases-the-low-side-of-a"
+title: "[SOLVED] A pull-up resistor increases the low side of a signal, how can I counteract it?"
+url: "https://electronics.stackexchange.com/q/670924/107963"
+body: """
Solution\n
--------\n
\n
Using an open drain buffer like the `74LVC1G07` did the trick. Note that this part only works for inputs with a pull-up resistor. There are other parts from the same lineup that can work with any input.\n
\n
Problem\n
-------\n
\n
> I have an ebike computer that has two inputs that accept square wave signals. The range is 0-5V. One of the inputs has no pull-up/down resistors on it. When I hook up a device producing signal, the signal is detected correctly. Both highs and lows are detected correctly. The other input has a built-in pull-up resistor. When I hook the same signal to it, only the high side is detected. Measuring the voltage of the low side, it's a bit higher than when hooked to the other input and I'm guessing it isn't crossing the low threshold the computer expects in order to register the low.\n
\n
> Am I right in thinking that the pull-up resistor is increasing the lows?\n
\n
> Is it possible to counteract the internal pull-up resistor by hooking a pull-down resistor to the input?\n
\n
> I'm a software guy with decent soldering skills and minimal knowledge in electronics so please answer like I'm not the brightest electronic bulb on the tree.\n
\n
> Thank you in advance!\n
\n
Cross-posting my question from StackExchange.
"""
+type: "link"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 6
+favouriteCount: 3
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1687328506 {#2410
date: 2023-06-21 08:21:46.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1866 …}
+votes: Doctrine\ORM\PersistentCollection {#1966 …}
+reports: Doctrine\ORM\PersistentCollection {#1946 …}
+favourites: Doctrine\ORM\PersistentCollection {#1368 …}
+notifications: Doctrine\ORM\PersistentCollection {#2426 …}
+badges: Doctrine\ORM\PersistentCollection {#2439 …}
+children: []
-id: 132
-titleTs: "'counteract':17 'increas':7 'low':9 'pull':4 'pull-up':3 'resistor':6 'side':10 'signal':13 'solv':1"
-bodyTs: "'-5':60 '/down':71 '0':59 '74lvc1g07':9 'accept':52 'advanc':227 'answer':212 'bit':131 'brightest':218 'buffer':6 'built':101 'built-in':100 'bulb':220 'comput':46,152 'correct':87,94 'counteract':179 'cross':147,229 'cross-post':228 'decent':202 'detect':86,93,120 'devic':80 'drain':5 'ebik':45 'electron':209,219 'expect':153 'guess':143 'guy':200 'high':89,117 'higher':132 'hook':77,109,135,187 'increas':172 'input':20,40,50,65,97,139,195 'intern':181 'isn':145 'knowledg':207 'like':7,213 'lineup':34 'low':91,126,149,159,174 'm':142,197,215 'measur':121 'minim':206 'note':13 'one':62 'open':4 'order':155 'part':16,30 'pleas':211 'possibl':177 'post':230 'problem':41 'produc':81 'pull':24,69,104,168,183,190 'pull-down':189 'pull-up':23,68,103,167,182 'question':232 'rang':57 'regist':157 'resistor':26,72,106,170,185,192 'right':162 'side':118,127 'signal':55,82,84,112 'skill':204 'softwar':199 'solder':203 'solut':1 'squar':53 'stackexchang':234 'thank':224 'think':164 'threshold':150 'tree':223 'trick':12 'two':49 'use':2 'v':61 'voltag':123 'wave':54 'work':18,37"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1687130578
+visibility: "visible "
+apId: "https://lemmy.ca/post/738378"
+editedAt: DateTimeImmutable @1687363171 {#1850
date: 2023-06-21 17:59:31.0 +02:00
}
+createdAt: DateTimeImmutable @1687102078 {#2420
date: 2023-06-18 17:27:58.0 +02:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: """
Problem you are having could be\n
\n
1. output impedance of the signal generator you use to generate the square wave. When you set it to low, output impedance of the signal generator builds a voltage divider together with the internal pull up, and the device ends up sensing a higher voltage than "low". This is something you can see if you have an oscilloscope, try to hook up a probe to the input and ensure whether you get what you set in the signal generator.\n
2. some signal sources have no or limited capacity to drain current. And when you set it to low, this is exactly what it us supposed to do, drain current from the internal pullup.\n
\n
As you mentioned in another comment, solution is a simple buffer. This could be an opamp, but even a simple nmos transistor should suffice (open drain as you said). But you need yo be careful with current ratings of the transistor, which you can easily calculate by dividing 5V by the pull up resistor. Send a message if you need help.\n
\n
Before these, I suggest you yo use an oscilloscope or multimeter to measure the voltage when it is supposed to be low, and see that in fact the problem is that voltage at the input doesn't go "low".
"""
+lang: "en"
+isAdult: false
+favouriteCount: 3
+score: 0
+lastActive: DateTime @1687328507 {#4088
date: 2023-06-21 08:21:47.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@lightrush@lemmy.ca"
]
+children: Doctrine\ORM\PersistentCollection {#4077 …}
+nested: Doctrine\ORM\PersistentCollection {#4075 …}
+votes: Doctrine\ORM\PersistentCollection {#4073 …}
+reports: Doctrine\ORM\PersistentCollection {#4071 …}
+favourites: Doctrine\ORM\PersistentCollection {#4039 …}
+notifications: Doctrine\ORM\PersistentCollection {#4043 …}
-id: 1049
-bodyTs: "'1':7 '2':86 '5v':168 'anoth':124 'buffer':130 'build':33 'calcul':165 'capac':94 'care':154 'comment':125 'could':5,132 'current':97,115,156 'devic':45 'divid':36,167 'doesn':216 'drain':96,114,145 'easili':164 'end':46 'ensur':75 'even':137 'exact':107 'fact':207 'generat':13,17,32,85 'get':78 'go':218 'help':180 'higher':50 'hook':67 'imped':9,28 'input':73,215 'intern':40,118 'limit':93 'low':26,53,104,202,219 'measur':193 'mention':122 'messag':176 'multimet':191 'need':151,179 'nmos':140 'opamp':135 'open':144 'oscilloscop':64,189 'output':8,27 'probe':70 'problem':1,209 'pull':41,171 'pullup':119 'rate':157 'resistor':173 'said':148 'see':59,204 'send':174 'sens':48 'set':23,81,101 'signal':12,31,84,88 'simpl':129,139 'solut':126 'someth':56 'sourc':89 'squar':19 'suffic':143 'suggest':184 'suppos':111,199 'togeth':37 'transistor':141,160 'tri':65 'us':110 'use':15,187 'voltag':35,51,195,212 'wave':20 'whether':76 'yo':152,186"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://discuss.tchncs.de/comment/258939"
+editedAt: null
+createdAt: DateTimeImmutable @1687149310 {#4020
date: 2023-06-19 06:35:10.0 +02:00
}
} |
|
Show voter details
|
7 |
DENIED
|
edit
|
App\Entity\EntryComment {#4079
+user: App\Entity\User {#4028 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "askelectronics@discuss.tchncs.de"
+title: "askelectronics"
+description: """
**For questions about component-level electronic circuits, tools and equipment.**\n
\n
Rules\n
-----\n
\n
1: Be nice.\n
\n
2: Be on-topic (eg: *Electronic*, not *electrical*).\n
\n
3: No commercial stuff, buying, selling or valuations.\n
\n
4: Be safe.\n
\n
---
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 154
+entryCommentCount: 1230
+postCount: 1
+postCommentCount: 4
+isAdult: false
+customCss: null
+lastActive: DateTime @1729413608 {#276
date: 2024-10-20 10:40:08.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 11
+apId: "askelectronics@discuss.tchncs.de"
+apProfileId: "https://discuss.tchncs.de/c/askelectronics"
+apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
+apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
+apInboxUrl: "https://discuss.tchncs.de/inbox"
+apDomain: "discuss.tchncs.de"
+apPreferredUsername: "askelectronics"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1727247714 {#270
date: 2024-09-25 09:01:54.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1687144409 {#272
date: 2023-06-19 05:13:29.0 +02:00
}
}
+image: Proxies\__CG__\App\Entity\Image {#1943 …}
+domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
+slug: "SOLVED-A-pull-up-resistor-increases-the-low-side-of-a"
+title: "[SOLVED] A pull-up resistor increases the low side of a signal, how can I counteract it?"
+url: "https://electronics.stackexchange.com/q/670924/107963"
+body: """
Solution\n
--------\n
\n
Using an open drain buffer like the `74LVC1G07` did the trick. Note that this part only works for inputs with a pull-up resistor. There are other parts from the same lineup that can work with any input.\n
\n
Problem\n
-------\n
\n
> I have an ebike computer that has two inputs that accept square wave signals. The range is 0-5V. One of the inputs has no pull-up/down resistors on it. When I hook up a device producing signal, the signal is detected correctly. Both highs and lows are detected correctly. The other input has a built-in pull-up resistor. When I hook the same signal to it, only the high side is detected. Measuring the voltage of the low side, it's a bit higher than when hooked to the other input and I'm guessing it isn't crossing the low threshold the computer expects in order to register the low.\n
\n
> Am I right in thinking that the pull-up resistor is increasing the lows?\n
\n
> Is it possible to counteract the internal pull-up resistor by hooking a pull-down resistor to the input?\n
\n
> I'm a software guy with decent soldering skills and minimal knowledge in electronics so please answer like I'm not the brightest electronic bulb on the tree.\n
\n
> Thank you in advance!\n
\n
Cross-posting my question from StackExchange.
"""
+type: "link"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 6
+favouriteCount: 3
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1687328506 {#2410
date: 2023-06-21 08:21:46.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1866 …}
+votes: Doctrine\ORM\PersistentCollection {#1966 …}
+reports: Doctrine\ORM\PersistentCollection {#1946 …}
+favourites: Doctrine\ORM\PersistentCollection {#1368 …}
+notifications: Doctrine\ORM\PersistentCollection {#2426 …}
+badges: Doctrine\ORM\PersistentCollection {#2439 …}
+children: []
-id: 132
-titleTs: "'counteract':17 'increas':7 'low':9 'pull':4 'pull-up':3 'resistor':6 'side':10 'signal':13 'solv':1"
-bodyTs: "'-5':60 '/down':71 '0':59 '74lvc1g07':9 'accept':52 'advanc':227 'answer':212 'bit':131 'brightest':218 'buffer':6 'built':101 'built-in':100 'bulb':220 'comput':46,152 'correct':87,94 'counteract':179 'cross':147,229 'cross-post':228 'decent':202 'detect':86,93,120 'devic':80 'drain':5 'ebik':45 'electron':209,219 'expect':153 'guess':143 'guy':200 'high':89,117 'higher':132 'hook':77,109,135,187 'increas':172 'input':20,40,50,65,97,139,195 'intern':181 'isn':145 'knowledg':207 'like':7,213 'lineup':34 'low':91,126,149,159,174 'm':142,197,215 'measur':121 'minim':206 'note':13 'one':62 'open':4 'order':155 'part':16,30 'pleas':211 'possibl':177 'post':230 'problem':41 'produc':81 'pull':24,69,104,168,183,190 'pull-down':189 'pull-up':23,68,103,167,182 'question':232 'rang':57 'regist':157 'resistor':26,72,106,170,185,192 'right':162 'side':118,127 'signal':55,82,84,112 'skill':204 'softwar':199 'solder':203 'solut':1 'squar':53 'stackexchang':234 'thank':224 'think':164 'threshold':150 'tree':223 'trick':12 'two':49 'use':2 'v':61 'voltag':123 'wave':54 'work':18,37"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1687130578
+visibility: "visible "
+apId: "https://lemmy.ca/post/738378"
+editedAt: DateTimeImmutable @1687363171 {#1850
date: 2023-06-21 17:59:31.0 +02:00
}
+createdAt: DateTimeImmutable @1687102078 {#2420
date: 2023-06-18 17:27:58.0 +02:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: """
Problem you are having could be\n
\n
1. output impedance of the signal generator you use to generate the square wave. When you set it to low, output impedance of the signal generator builds a voltage divider together with the internal pull up, and the device ends up sensing a higher voltage than "low". This is something you can see if you have an oscilloscope, try to hook up a probe to the input and ensure whether you get what you set in the signal generator.\n
2. some signal sources have no or limited capacity to drain current. And when you set it to low, this is exactly what it us supposed to do, drain current from the internal pullup.\n
\n
As you mentioned in another comment, solution is a simple buffer. This could be an opamp, but even a simple nmos transistor should suffice (open drain as you said). But you need yo be careful with current ratings of the transistor, which you can easily calculate by dividing 5V by the pull up resistor. Send a message if you need help.\n
\n
Before these, I suggest you yo use an oscilloscope or multimeter to measure the voltage when it is supposed to be low, and see that in fact the problem is that voltage at the input doesn't go "low".
"""
+lang: "en"
+isAdult: false
+favouriteCount: 3
+score: 0
+lastActive: DateTime @1687328507 {#4088
date: 2023-06-21 08:21:47.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@lightrush@lemmy.ca"
]
+children: Doctrine\ORM\PersistentCollection {#4077 …}
+nested: Doctrine\ORM\PersistentCollection {#4075 …}
+votes: Doctrine\ORM\PersistentCollection {#4073 …}
+reports: Doctrine\ORM\PersistentCollection {#4071 …}
+favourites: Doctrine\ORM\PersistentCollection {#4039 …}
+notifications: Doctrine\ORM\PersistentCollection {#4043 …}
-id: 1049
-bodyTs: "'1':7 '2':86 '5v':168 'anoth':124 'buffer':130 'build':33 'calcul':165 'capac':94 'care':154 'comment':125 'could':5,132 'current':97,115,156 'devic':45 'divid':36,167 'doesn':216 'drain':96,114,145 'easili':164 'end':46 'ensur':75 'even':137 'exact':107 'fact':207 'generat':13,17,32,85 'get':78 'go':218 'help':180 'higher':50 'hook':67 'imped':9,28 'input':73,215 'intern':40,118 'limit':93 'low':26,53,104,202,219 'measur':193 'mention':122 'messag':176 'multimet':191 'need':151,179 'nmos':140 'opamp':135 'open':144 'oscilloscop':64,189 'output':8,27 'probe':70 'problem':1,209 'pull':41,171 'pullup':119 'rate':157 'resistor':173 'said':148 'see':59,204 'send':174 'sens':48 'set':23,81,101 'signal':12,31,84,88 'simpl':129,139 'solut':126 'someth':56 'sourc':89 'squar':19 'suffic':143 'suggest':184 'suppos':111,199 'togeth':37 'transistor':141,160 'tri':65 'us':110 'use':15,187 'voltag':35,51,195,212 'wave':20 'whether':76 'yo':152,186"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://discuss.tchncs.de/comment/258939"
+editedAt: null
+createdAt: DateTimeImmutable @1687149310 {#4020
date: 2023-06-19 06:35:10.0 +02:00
}
} |
|
Show voter details
|
8 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4079
+user: App\Entity\User {#4028 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "askelectronics@discuss.tchncs.de"
+title: "askelectronics"
+description: """
**For questions about component-level electronic circuits, tools and equipment.**\n
\n
Rules\n
-----\n
\n
1: Be nice.\n
\n
2: Be on-topic (eg: *Electronic*, not *electrical*).\n
\n
3: No commercial stuff, buying, selling or valuations.\n
\n
4: Be safe.\n
\n
---
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 154
+entryCommentCount: 1230
+postCount: 1
+postCommentCount: 4
+isAdult: false
+customCss: null
+lastActive: DateTime @1729413608 {#276
date: 2024-10-20 10:40:08.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 11
+apId: "askelectronics@discuss.tchncs.de"
+apProfileId: "https://discuss.tchncs.de/c/askelectronics"
+apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
+apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
+apInboxUrl: "https://discuss.tchncs.de/inbox"
+apDomain: "discuss.tchncs.de"
+apPreferredUsername: "askelectronics"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1727247714 {#270
date: 2024-09-25 09:01:54.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1687144409 {#272
date: 2023-06-19 05:13:29.0 +02:00
}
}
+image: Proxies\__CG__\App\Entity\Image {#1943 …}
+domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
+slug: "SOLVED-A-pull-up-resistor-increases-the-low-side-of-a"
+title: "[SOLVED] A pull-up resistor increases the low side of a signal, how can I counteract it?"
+url: "https://electronics.stackexchange.com/q/670924/107963"
+body: """
Solution\n
--------\n
\n
Using an open drain buffer like the `74LVC1G07` did the trick. Note that this part only works for inputs with a pull-up resistor. There are other parts from the same lineup that can work with any input.\n
\n
Problem\n
-------\n
\n
> I have an ebike computer that has two inputs that accept square wave signals. The range is 0-5V. One of the inputs has no pull-up/down resistors on it. When I hook up a device producing signal, the signal is detected correctly. Both highs and lows are detected correctly. The other input has a built-in pull-up resistor. When I hook the same signal to it, only the high side is detected. Measuring the voltage of the low side, it's a bit higher than when hooked to the other input and I'm guessing it isn't crossing the low threshold the computer expects in order to register the low.\n
\n
> Am I right in thinking that the pull-up resistor is increasing the lows?\n
\n
> Is it possible to counteract the internal pull-up resistor by hooking a pull-down resistor to the input?\n
\n
> I'm a software guy with decent soldering skills and minimal knowledge in electronics so please answer like I'm not the brightest electronic bulb on the tree.\n
\n
> Thank you in advance!\n
\n
Cross-posting my question from StackExchange.
"""
+type: "link"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 6
+favouriteCount: 3
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1687328506 {#2410
date: 2023-06-21 08:21:46.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1866 …}
+votes: Doctrine\ORM\PersistentCollection {#1966 …}
+reports: Doctrine\ORM\PersistentCollection {#1946 …}
+favourites: Doctrine\ORM\PersistentCollection {#1368 …}
+notifications: Doctrine\ORM\PersistentCollection {#2426 …}
+badges: Doctrine\ORM\PersistentCollection {#2439 …}
+children: []
-id: 132
-titleTs: "'counteract':17 'increas':7 'low':9 'pull':4 'pull-up':3 'resistor':6 'side':10 'signal':13 'solv':1"
-bodyTs: "'-5':60 '/down':71 '0':59 '74lvc1g07':9 'accept':52 'advanc':227 'answer':212 'bit':131 'brightest':218 'buffer':6 'built':101 'built-in':100 'bulb':220 'comput':46,152 'correct':87,94 'counteract':179 'cross':147,229 'cross-post':228 'decent':202 'detect':86,93,120 'devic':80 'drain':5 'ebik':45 'electron':209,219 'expect':153 'guess':143 'guy':200 'high':89,117 'higher':132 'hook':77,109,135,187 'increas':172 'input':20,40,50,65,97,139,195 'intern':181 'isn':145 'knowledg':207 'like':7,213 'lineup':34 'low':91,126,149,159,174 'm':142,197,215 'measur':121 'minim':206 'note':13 'one':62 'open':4 'order':155 'part':16,30 'pleas':211 'possibl':177 'post':230 'problem':41 'produc':81 'pull':24,69,104,168,183,190 'pull-down':189 'pull-up':23,68,103,167,182 'question':232 'rang':57 'regist':157 'resistor':26,72,106,170,185,192 'right':162 'side':118,127 'signal':55,82,84,112 'skill':204 'softwar':199 'solder':203 'solut':1 'squar':53 'stackexchang':234 'thank':224 'think':164 'threshold':150 'tree':223 'trick':12 'two':49 'use':2 'v':61 'voltag':123 'wave':54 'work':18,37"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1687130578
+visibility: "visible "
+apId: "https://lemmy.ca/post/738378"
+editedAt: DateTimeImmutable @1687363171 {#1850
date: 2023-06-21 17:59:31.0 +02:00
}
+createdAt: DateTimeImmutable @1687102078 {#2420
date: 2023-06-18 17:27:58.0 +02:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: """
Problem you are having could be\n
\n
1. output impedance of the signal generator you use to generate the square wave. When you set it to low, output impedance of the signal generator builds a voltage divider together with the internal pull up, and the device ends up sensing a higher voltage than "low". This is something you can see if you have an oscilloscope, try to hook up a probe to the input and ensure whether you get what you set in the signal generator.\n
2. some signal sources have no or limited capacity to drain current. And when you set it to low, this is exactly what it us supposed to do, drain current from the internal pullup.\n
\n
As you mentioned in another comment, solution is a simple buffer. This could be an opamp, but even a simple nmos transistor should suffice (open drain as you said). But you need yo be careful with current ratings of the transistor, which you can easily calculate by dividing 5V by the pull up resistor. Send a message if you need help.\n
\n
Before these, I suggest you yo use an oscilloscope or multimeter to measure the voltage when it is supposed to be low, and see that in fact the problem is that voltage at the input doesn't go "low".
"""
+lang: "en"
+isAdult: false
+favouriteCount: 3
+score: 0
+lastActive: DateTime @1687328507 {#4088
date: 2023-06-21 08:21:47.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@lightrush@lemmy.ca"
]
+children: Doctrine\ORM\PersistentCollection {#4077 …}
+nested: Doctrine\ORM\PersistentCollection {#4075 …}
+votes: Doctrine\ORM\PersistentCollection {#4073 …}
+reports: Doctrine\ORM\PersistentCollection {#4071 …}
+favourites: Doctrine\ORM\PersistentCollection {#4039 …}
+notifications: Doctrine\ORM\PersistentCollection {#4043 …}
-id: 1049
-bodyTs: "'1':7 '2':86 '5v':168 'anoth':124 'buffer':130 'build':33 'calcul':165 'capac':94 'care':154 'comment':125 'could':5,132 'current':97,115,156 'devic':45 'divid':36,167 'doesn':216 'drain':96,114,145 'easili':164 'end':46 'ensur':75 'even':137 'exact':107 'fact':207 'generat':13,17,32,85 'get':78 'go':218 'help':180 'higher':50 'hook':67 'imped':9,28 'input':73,215 'intern':40,118 'limit':93 'low':26,53,104,202,219 'measur':193 'mention':122 'messag':176 'multimet':191 'need':151,179 'nmos':140 'opamp':135 'open':144 'oscilloscop':64,189 'output':8,27 'probe':70 'problem':1,209 'pull':41,171 'pullup':119 'rate':157 'resistor':173 'said':148 'see':59,204 'send':174 'sens':48 'set':23,81,101 'signal':12,31,84,88 'simpl':129,139 'solut':126 'someth':56 'sourc':89 'squar':19 'suffic':143 'suggest':184 'suppos':111,199 'togeth':37 'transistor':141,160 'tri':65 'us':110 'use':15,187 'voltag':35,51,195,212 'wave':20 'whether':76 'yo':152,186"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://discuss.tchncs.de/comment/258939"
+editedAt: null
+createdAt: DateTimeImmutable @1687149310 {#4020
date: 2023-06-19 06:35:10.0 +02:00
}
} |
|
Show voter details
|
9 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
10 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4202
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "askelectronics@discuss.tchncs.de"
+title: "askelectronics"
+description: """
**For questions about component-level electronic circuits, tools and equipment.**\n
\n
Rules\n
-----\n
\n
1: Be nice.\n
\n
2: Be on-topic (eg: *Electronic*, not *electrical*).\n
\n
3: No commercial stuff, buying, selling or valuations.\n
\n
4: Be safe.\n
\n
---
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 154
+entryCommentCount: 1230
+postCount: 1
+postCommentCount: 4
+isAdult: false
+customCss: null
+lastActive: DateTime @1729413608 {#276
date: 2024-10-20 10:40:08.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 11
+apId: "askelectronics@discuss.tchncs.de"
+apProfileId: "https://discuss.tchncs.de/c/askelectronics"
+apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
+apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
+apInboxUrl: "https://discuss.tchncs.de/inbox"
+apDomain: "discuss.tchncs.de"
+apPreferredUsername: "askelectronics"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1727247714 {#270
date: 2024-09-25 09:01:54.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1687144409 {#272
date: 2023-06-19 05:13:29.0 +02:00
}
}
+image: Proxies\__CG__\App\Entity\Image {#1943 …}
+domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
+slug: "SOLVED-A-pull-up-resistor-increases-the-low-side-of-a"
+title: "[SOLVED] A pull-up resistor increases the low side of a signal, how can I counteract it?"
+url: "https://electronics.stackexchange.com/q/670924/107963"
+body: """
Solution\n
--------\n
\n
Using an open drain buffer like the `74LVC1G07` did the trick. Note that this part only works for inputs with a pull-up resistor. There are other parts from the same lineup that can work with any input.\n
\n
Problem\n
-------\n
\n
> I have an ebike computer that has two inputs that accept square wave signals. The range is 0-5V. One of the inputs has no pull-up/down resistors on it. When I hook up a device producing signal, the signal is detected correctly. Both highs and lows are detected correctly. The other input has a built-in pull-up resistor. When I hook the same signal to it, only the high side is detected. Measuring the voltage of the low side, it's a bit higher than when hooked to the other input and I'm guessing it isn't crossing the low threshold the computer expects in order to register the low.\n
\n
> Am I right in thinking that the pull-up resistor is increasing the lows?\n
\n
> Is it possible to counteract the internal pull-up resistor by hooking a pull-down resistor to the input?\n
\n
> I'm a software guy with decent soldering skills and minimal knowledge in electronics so please answer like I'm not the brightest electronic bulb on the tree.\n
\n
> Thank you in advance!\n
\n
Cross-posting my question from StackExchange.
"""
+type: "link"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 6
+favouriteCount: 3
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1687328506 {#2410
date: 2023-06-21 08:21:46.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1866 …}
+votes: Doctrine\ORM\PersistentCollection {#1966 …}
+reports: Doctrine\ORM\PersistentCollection {#1946 …}
+favourites: Doctrine\ORM\PersistentCollection {#1368 …}
+notifications: Doctrine\ORM\PersistentCollection {#2426 …}
+badges: Doctrine\ORM\PersistentCollection {#2439 …}
+children: []
-id: 132
-titleTs: "'counteract':17 'increas':7 'low':9 'pull':4 'pull-up':3 'resistor':6 'side':10 'signal':13 'solv':1"
-bodyTs: "'-5':60 '/down':71 '0':59 '74lvc1g07':9 'accept':52 'advanc':227 'answer':212 'bit':131 'brightest':218 'buffer':6 'built':101 'built-in':100 'bulb':220 'comput':46,152 'correct':87,94 'counteract':179 'cross':147,229 'cross-post':228 'decent':202 'detect':86,93,120 'devic':80 'drain':5 'ebik':45 'electron':209,219 'expect':153 'guess':143 'guy':200 'high':89,117 'higher':132 'hook':77,109,135,187 'increas':172 'input':20,40,50,65,97,139,195 'intern':181 'isn':145 'knowledg':207 'like':7,213 'lineup':34 'low':91,126,149,159,174 'm':142,197,215 'measur':121 'minim':206 'note':13 'one':62 'open':4 'order':155 'part':16,30 'pleas':211 'possibl':177 'post':230 'problem':41 'produc':81 'pull':24,69,104,168,183,190 'pull-down':189 'pull-up':23,68,103,167,182 'question':232 'rang':57 'regist':157 'resistor':26,72,106,170,185,192 'right':162 'side':118,127 'signal':55,82,84,112 'skill':204 'softwar':199 'solder':203 'solut':1 'squar':53 'stackexchang':234 'thank':224 'think':164 'threshold':150 'tree':223 'trick':12 'two':49 'use':2 'v':61 'voltag':123 'wave':54 'work':18,37"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1687130578
+visibility: "visible "
+apId: "https://lemmy.ca/post/738378"
+editedAt: DateTimeImmutable @1687363171 {#1850
date: 2023-06-21 17:59:31.0 +02:00
}
+createdAt: DateTimeImmutable @1687102078 {#2420
date: 2023-06-18 17:27:58.0 +02:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4079
+user: App\Entity\User {#4028 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: """
Problem you are having could be\n
\n
1. output impedance of the signal generator you use to generate the square wave. When you set it to low, output impedance of the signal generator builds a voltage divider together with the internal pull up, and the device ends up sensing a higher voltage than "low". This is something you can see if you have an oscilloscope, try to hook up a probe to the input and ensure whether you get what you set in the signal generator.\n
2. some signal sources have no or limited capacity to drain current. And when you set it to low, this is exactly what it us supposed to do, drain current from the internal pullup.\n
\n
As you mentioned in another comment, solution is a simple buffer. This could be an opamp, but even a simple nmos transistor should suffice (open drain as you said). But you need yo be careful with current ratings of the transistor, which you can easily calculate by dividing 5V by the pull up resistor. Send a message if you need help.\n
\n
Before these, I suggest you yo use an oscilloscope or multimeter to measure the voltage when it is supposed to be low, and see that in fact the problem is that voltage at the input doesn't go "low".
"""
+lang: "en"
+isAdult: false
+favouriteCount: 3
+score: 0
+lastActive: DateTime @1687328507 {#4088
date: 2023-06-21 08:21:47.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@lightrush@lemmy.ca"
]
+children: Doctrine\ORM\PersistentCollection {#4077 …}
+nested: Doctrine\ORM\PersistentCollection {#4075 …}
+votes: Doctrine\ORM\PersistentCollection {#4073 …}
+reports: Doctrine\ORM\PersistentCollection {#4071 …}
+favourites: Doctrine\ORM\PersistentCollection {#4039 …}
+notifications: Doctrine\ORM\PersistentCollection {#4043 …}
-id: 1049
-bodyTs: "'1':7 '2':86 '5v':168 'anoth':124 'buffer':130 'build':33 'calcul':165 'capac':94 'care':154 'comment':125 'could':5,132 'current':97,115,156 'devic':45 'divid':36,167 'doesn':216 'drain':96,114,145 'easili':164 'end':46 'ensur':75 'even':137 'exact':107 'fact':207 'generat':13,17,32,85 'get':78 'go':218 'help':180 'higher':50 'hook':67 'imped':9,28 'input':73,215 'intern':40,118 'limit':93 'low':26,53,104,202,219 'measur':193 'mention':122 'messag':176 'multimet':191 'need':151,179 'nmos':140 'opamp':135 'open':144 'oscilloscop':64,189 'output':8,27 'probe':70 'problem':1,209 'pull':41,171 'pullup':119 'rate':157 'resistor':173 'said':148 'see':59,204 'send':174 'sens':48 'set':23,81,101 'signal':12,31,84,88 'simpl':129,139 'solut':126 'someth':56 'sourc':89 'squar':19 'suffic':143 'suggest':184 'suppos':111,199 'togeth':37 'transistor':141,160 'tri':65 'us':110 'use':15,187 'voltag':35,51,195,212 'wave':20 'whether':76 'yo':152,186"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://discuss.tchncs.de/comment/258939"
+editedAt: null
+createdAt: DateTimeImmutable @1687149310 {#4020
date: 2023-06-19 06:35:10.0 +02:00
}
}
+root: App\Entity\EntryComment {#4079}
+body: """
Thanks for the explanation!\n
\n
I measured the signal generator alone, not connected to the input. It goes to 4.5V high and 0.001V low. Then I connected it to the input and measured at the input. I got 4.5V high and 1.1V low.\n
\n
Also I ordered the 74LVC1G07 buffer along with a breakout board which should allow me to hook it up inline and test. I'll report back when I do.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1687155877 {#4199
date: 2023-06-19 08:24:37.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@lightrush@lemmy.ca"
"@hardware26@discuss.tchncs.de"
]
+children: Doctrine\ORM\PersistentCollection {#4205 …}
+nested: Doctrine\ORM\PersistentCollection {#4207 …}
+votes: Doctrine\ORM\PersistentCollection {#4203 …}
+reports: Doctrine\ORM\PersistentCollection {#4210 …}
+favourites: Doctrine\ORM\PersistentCollection {#4212 …}
+notifications: Doctrine\ORM\PersistentCollection {#4214 …}
-id: 1071
-bodyTs: "'0.001':23 '1.1':44 '4.5':19,40 '74lvc1g07':51 'allow':60 'alon':10 'along':53 'also':47 'back':72 'board':57 'breakout':56 'buffer':52 'connect':12,28 'explan':4 'generat':9 'goe':17 'got':39 'high':21,42 'hook':63 'inlin':66 'input':15,32,37 'll':70 'low':25,46 'measur':6,34 'order':49 'report':71 'signal':8 'test':68 'thank':1 'v':20,24,41,45"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/430385"
+editedAt: DateTimeImmutable @1687155895 {#4196
date: 2023-06-19 08:24:55.0 +02:00
}
+createdAt: DateTimeImmutable @1687155877 {#4194
date: 2023-06-19 08:24:37.0 +02:00
}
} |
|
Show voter details
|
11 |
DENIED
|
edit
|
App\Entity\EntryComment {#4202
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "askelectronics@discuss.tchncs.de"
+title: "askelectronics"
+description: """
**For questions about component-level electronic circuits, tools and equipment.**\n
\n
Rules\n
-----\n
\n
1: Be nice.\n
\n
2: Be on-topic (eg: *Electronic*, not *electrical*).\n
\n
3: No commercial stuff, buying, selling or valuations.\n
\n
4: Be safe.\n
\n
---
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 154
+entryCommentCount: 1230
+postCount: 1
+postCommentCount: 4
+isAdult: false
+customCss: null
+lastActive: DateTime @1729413608 {#276
date: 2024-10-20 10:40:08.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 11
+apId: "askelectronics@discuss.tchncs.de"
+apProfileId: "https://discuss.tchncs.de/c/askelectronics"
+apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
+apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
+apInboxUrl: "https://discuss.tchncs.de/inbox"
+apDomain: "discuss.tchncs.de"
+apPreferredUsername: "askelectronics"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1727247714 {#270
date: 2024-09-25 09:01:54.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1687144409 {#272
date: 2023-06-19 05:13:29.0 +02:00
}
}
+image: Proxies\__CG__\App\Entity\Image {#1943 …}
+domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
+slug: "SOLVED-A-pull-up-resistor-increases-the-low-side-of-a"
+title: "[SOLVED] A pull-up resistor increases the low side of a signal, how can I counteract it?"
+url: "https://electronics.stackexchange.com/q/670924/107963"
+body: """
Solution\n
--------\n
\n
Using an open drain buffer like the `74LVC1G07` did the trick. Note that this part only works for inputs with a pull-up resistor. There are other parts from the same lineup that can work with any input.\n
\n
Problem\n
-------\n
\n
> I have an ebike computer that has two inputs that accept square wave signals. The range is 0-5V. One of the inputs has no pull-up/down resistors on it. When I hook up a device producing signal, the signal is detected correctly. Both highs and lows are detected correctly. The other input has a built-in pull-up resistor. When I hook the same signal to it, only the high side is detected. Measuring the voltage of the low side, it's a bit higher than when hooked to the other input and I'm guessing it isn't crossing the low threshold the computer expects in order to register the low.\n
\n
> Am I right in thinking that the pull-up resistor is increasing the lows?\n
\n
> Is it possible to counteract the internal pull-up resistor by hooking a pull-down resistor to the input?\n
\n
> I'm a software guy with decent soldering skills and minimal knowledge in electronics so please answer like I'm not the brightest electronic bulb on the tree.\n
\n
> Thank you in advance!\n
\n
Cross-posting my question from StackExchange.
"""
+type: "link"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 6
+favouriteCount: 3
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1687328506 {#2410
date: 2023-06-21 08:21:46.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1866 …}
+votes: Doctrine\ORM\PersistentCollection {#1966 …}
+reports: Doctrine\ORM\PersistentCollection {#1946 …}
+favourites: Doctrine\ORM\PersistentCollection {#1368 …}
+notifications: Doctrine\ORM\PersistentCollection {#2426 …}
+badges: Doctrine\ORM\PersistentCollection {#2439 …}
+children: []
-id: 132
-titleTs: "'counteract':17 'increas':7 'low':9 'pull':4 'pull-up':3 'resistor':6 'side':10 'signal':13 'solv':1"
-bodyTs: "'-5':60 '/down':71 '0':59 '74lvc1g07':9 'accept':52 'advanc':227 'answer':212 'bit':131 'brightest':218 'buffer':6 'built':101 'built-in':100 'bulb':220 'comput':46,152 'correct':87,94 'counteract':179 'cross':147,229 'cross-post':228 'decent':202 'detect':86,93,120 'devic':80 'drain':5 'ebik':45 'electron':209,219 'expect':153 'guess':143 'guy':200 'high':89,117 'higher':132 'hook':77,109,135,187 'increas':172 'input':20,40,50,65,97,139,195 'intern':181 'isn':145 'knowledg':207 'like':7,213 'lineup':34 'low':91,126,149,159,174 'm':142,197,215 'measur':121 'minim':206 'note':13 'one':62 'open':4 'order':155 'part':16,30 'pleas':211 'possibl':177 'post':230 'problem':41 'produc':81 'pull':24,69,104,168,183,190 'pull-down':189 'pull-up':23,68,103,167,182 'question':232 'rang':57 'regist':157 'resistor':26,72,106,170,185,192 'right':162 'side':118,127 'signal':55,82,84,112 'skill':204 'softwar':199 'solder':203 'solut':1 'squar':53 'stackexchang':234 'thank':224 'think':164 'threshold':150 'tree':223 'trick':12 'two':49 'use':2 'v':61 'voltag':123 'wave':54 'work':18,37"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1687130578
+visibility: "visible "
+apId: "https://lemmy.ca/post/738378"
+editedAt: DateTimeImmutable @1687363171 {#1850
date: 2023-06-21 17:59:31.0 +02:00
}
+createdAt: DateTimeImmutable @1687102078 {#2420
date: 2023-06-18 17:27:58.0 +02:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4079
+user: App\Entity\User {#4028 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: """
Problem you are having could be\n
\n
1. output impedance of the signal generator you use to generate the square wave. When you set it to low, output impedance of the signal generator builds a voltage divider together with the internal pull up, and the device ends up sensing a higher voltage than "low". This is something you can see if you have an oscilloscope, try to hook up a probe to the input and ensure whether you get what you set in the signal generator.\n
2. some signal sources have no or limited capacity to drain current. And when you set it to low, this is exactly what it us supposed to do, drain current from the internal pullup.\n
\n
As you mentioned in another comment, solution is a simple buffer. This could be an opamp, but even a simple nmos transistor should suffice (open drain as you said). But you need yo be careful with current ratings of the transistor, which you can easily calculate by dividing 5V by the pull up resistor. Send a message if you need help.\n
\n
Before these, I suggest you yo use an oscilloscope or multimeter to measure the voltage when it is supposed to be low, and see that in fact the problem is that voltage at the input doesn't go "low".
"""
+lang: "en"
+isAdult: false
+favouriteCount: 3
+score: 0
+lastActive: DateTime @1687328507 {#4088
date: 2023-06-21 08:21:47.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@lightrush@lemmy.ca"
]
+children: Doctrine\ORM\PersistentCollection {#4077 …}
+nested: Doctrine\ORM\PersistentCollection {#4075 …}
+votes: Doctrine\ORM\PersistentCollection {#4073 …}
+reports: Doctrine\ORM\PersistentCollection {#4071 …}
+favourites: Doctrine\ORM\PersistentCollection {#4039 …}
+notifications: Doctrine\ORM\PersistentCollection {#4043 …}
-id: 1049
-bodyTs: "'1':7 '2':86 '5v':168 'anoth':124 'buffer':130 'build':33 'calcul':165 'capac':94 'care':154 'comment':125 'could':5,132 'current':97,115,156 'devic':45 'divid':36,167 'doesn':216 'drain':96,114,145 'easili':164 'end':46 'ensur':75 'even':137 'exact':107 'fact':207 'generat':13,17,32,85 'get':78 'go':218 'help':180 'higher':50 'hook':67 'imped':9,28 'input':73,215 'intern':40,118 'limit':93 'low':26,53,104,202,219 'measur':193 'mention':122 'messag':176 'multimet':191 'need':151,179 'nmos':140 'opamp':135 'open':144 'oscilloscop':64,189 'output':8,27 'probe':70 'problem':1,209 'pull':41,171 'pullup':119 'rate':157 'resistor':173 'said':148 'see':59,204 'send':174 'sens':48 'set':23,81,101 'signal':12,31,84,88 'simpl':129,139 'solut':126 'someth':56 'sourc':89 'squar':19 'suffic':143 'suggest':184 'suppos':111,199 'togeth':37 'transistor':141,160 'tri':65 'us':110 'use':15,187 'voltag':35,51,195,212 'wave':20 'whether':76 'yo':152,186"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://discuss.tchncs.de/comment/258939"
+editedAt: null
+createdAt: DateTimeImmutable @1687149310 {#4020
date: 2023-06-19 06:35:10.0 +02:00
}
}
+root: App\Entity\EntryComment {#4079}
+body: """
Thanks for the explanation!\n
\n
I measured the signal generator alone, not connected to the input. It goes to 4.5V high and 0.001V low. Then I connected it to the input and measured at the input. I got 4.5V high and 1.1V low.\n
\n
Also I ordered the 74LVC1G07 buffer along with a breakout board which should allow me to hook it up inline and test. I'll report back when I do.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1687155877 {#4199
date: 2023-06-19 08:24:37.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@lightrush@lemmy.ca"
"@hardware26@discuss.tchncs.de"
]
+children: Doctrine\ORM\PersistentCollection {#4205 …}
+nested: Doctrine\ORM\PersistentCollection {#4207 …}
+votes: Doctrine\ORM\PersistentCollection {#4203 …}
+reports: Doctrine\ORM\PersistentCollection {#4210 …}
+favourites: Doctrine\ORM\PersistentCollection {#4212 …}
+notifications: Doctrine\ORM\PersistentCollection {#4214 …}
-id: 1071
-bodyTs: "'0.001':23 '1.1':44 '4.5':19,40 '74lvc1g07':51 'allow':60 'alon':10 'along':53 'also':47 'back':72 'board':57 'breakout':56 'buffer':52 'connect':12,28 'explan':4 'generat':9 'goe':17 'got':39 'high':21,42 'hook':63 'inlin':66 'input':15,32,37 'll':70 'low':25,46 'measur':6,34 'order':49 'report':71 'signal':8 'test':68 'thank':1 'v':20,24,41,45"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/430385"
+editedAt: DateTimeImmutable @1687155895 {#4196
date: 2023-06-19 08:24:55.0 +02:00
}
+createdAt: DateTimeImmutable @1687155877 {#4194
date: 2023-06-19 08:24:37.0 +02:00
}
} |
|
Show voter details
|
12 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4202
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "askelectronics@discuss.tchncs.de"
+title: "askelectronics"
+description: """
**For questions about component-level electronic circuits, tools and equipment.**\n
\n
Rules\n
-----\n
\n
1: Be nice.\n
\n
2: Be on-topic (eg: *Electronic*, not *electrical*).\n
\n
3: No commercial stuff, buying, selling or valuations.\n
\n
4: Be safe.\n
\n
---
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 154
+entryCommentCount: 1230
+postCount: 1
+postCommentCount: 4
+isAdult: false
+customCss: null
+lastActive: DateTime @1729413608 {#276
date: 2024-10-20 10:40:08.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 11
+apId: "askelectronics@discuss.tchncs.de"
+apProfileId: "https://discuss.tchncs.de/c/askelectronics"
+apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
+apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
+apInboxUrl: "https://discuss.tchncs.de/inbox"
+apDomain: "discuss.tchncs.de"
+apPreferredUsername: "askelectronics"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1727247714 {#270
date: 2024-09-25 09:01:54.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1687144409 {#272
date: 2023-06-19 05:13:29.0 +02:00
}
}
+image: Proxies\__CG__\App\Entity\Image {#1943 …}
+domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
+slug: "SOLVED-A-pull-up-resistor-increases-the-low-side-of-a"
+title: "[SOLVED] A pull-up resistor increases the low side of a signal, how can I counteract it?"
+url: "https://electronics.stackexchange.com/q/670924/107963"
+body: """
Solution\n
--------\n
\n
Using an open drain buffer like the `74LVC1G07` did the trick. Note that this part only works for inputs with a pull-up resistor. There are other parts from the same lineup that can work with any input.\n
\n
Problem\n
-------\n
\n
> I have an ebike computer that has two inputs that accept square wave signals. The range is 0-5V. One of the inputs has no pull-up/down resistors on it. When I hook up a device producing signal, the signal is detected correctly. Both highs and lows are detected correctly. The other input has a built-in pull-up resistor. When I hook the same signal to it, only the high side is detected. Measuring the voltage of the low side, it's a bit higher than when hooked to the other input and I'm guessing it isn't crossing the low threshold the computer expects in order to register the low.\n
\n
> Am I right in thinking that the pull-up resistor is increasing the lows?\n
\n
> Is it possible to counteract the internal pull-up resistor by hooking a pull-down resistor to the input?\n
\n
> I'm a software guy with decent soldering skills and minimal knowledge in electronics so please answer like I'm not the brightest electronic bulb on the tree.\n
\n
> Thank you in advance!\n
\n
Cross-posting my question from StackExchange.
"""
+type: "link"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 6
+favouriteCount: 3
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1687328506 {#2410
date: 2023-06-21 08:21:46.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1866 …}
+votes: Doctrine\ORM\PersistentCollection {#1966 …}
+reports: Doctrine\ORM\PersistentCollection {#1946 …}
+favourites: Doctrine\ORM\PersistentCollection {#1368 …}
+notifications: Doctrine\ORM\PersistentCollection {#2426 …}
+badges: Doctrine\ORM\PersistentCollection {#2439 …}
+children: []
-id: 132
-titleTs: "'counteract':17 'increas':7 'low':9 'pull':4 'pull-up':3 'resistor':6 'side':10 'signal':13 'solv':1"
-bodyTs: "'-5':60 '/down':71 '0':59 '74lvc1g07':9 'accept':52 'advanc':227 'answer':212 'bit':131 'brightest':218 'buffer':6 'built':101 'built-in':100 'bulb':220 'comput':46,152 'correct':87,94 'counteract':179 'cross':147,229 'cross-post':228 'decent':202 'detect':86,93,120 'devic':80 'drain':5 'ebik':45 'electron':209,219 'expect':153 'guess':143 'guy':200 'high':89,117 'higher':132 'hook':77,109,135,187 'increas':172 'input':20,40,50,65,97,139,195 'intern':181 'isn':145 'knowledg':207 'like':7,213 'lineup':34 'low':91,126,149,159,174 'm':142,197,215 'measur':121 'minim':206 'note':13 'one':62 'open':4 'order':155 'part':16,30 'pleas':211 'possibl':177 'post':230 'problem':41 'produc':81 'pull':24,69,104,168,183,190 'pull-down':189 'pull-up':23,68,103,167,182 'question':232 'rang':57 'regist':157 'resistor':26,72,106,170,185,192 'right':162 'side':118,127 'signal':55,82,84,112 'skill':204 'softwar':199 'solder':203 'solut':1 'squar':53 'stackexchang':234 'thank':224 'think':164 'threshold':150 'tree':223 'trick':12 'two':49 'use':2 'v':61 'voltag':123 'wave':54 'work':18,37"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1687130578
+visibility: "visible "
+apId: "https://lemmy.ca/post/738378"
+editedAt: DateTimeImmutable @1687363171 {#1850
date: 2023-06-21 17:59:31.0 +02:00
}
+createdAt: DateTimeImmutable @1687102078 {#2420
date: 2023-06-18 17:27:58.0 +02:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4079
+user: App\Entity\User {#4028 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: """
Problem you are having could be\n
\n
1. output impedance of the signal generator you use to generate the square wave. When you set it to low, output impedance of the signal generator builds a voltage divider together with the internal pull up, and the device ends up sensing a higher voltage than "low". This is something you can see if you have an oscilloscope, try to hook up a probe to the input and ensure whether you get what you set in the signal generator.\n
2. some signal sources have no or limited capacity to drain current. And when you set it to low, this is exactly what it us supposed to do, drain current from the internal pullup.\n
\n
As you mentioned in another comment, solution is a simple buffer. This could be an opamp, but even a simple nmos transistor should suffice (open drain as you said). But you need yo be careful with current ratings of the transistor, which you can easily calculate by dividing 5V by the pull up resistor. Send a message if you need help.\n
\n
Before these, I suggest you yo use an oscilloscope or multimeter to measure the voltage when it is supposed to be low, and see that in fact the problem is that voltage at the input doesn't go "low".
"""
+lang: "en"
+isAdult: false
+favouriteCount: 3
+score: 0
+lastActive: DateTime @1687328507 {#4088
date: 2023-06-21 08:21:47.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@lightrush@lemmy.ca"
]
+children: Doctrine\ORM\PersistentCollection {#4077 …}
+nested: Doctrine\ORM\PersistentCollection {#4075 …}
+votes: Doctrine\ORM\PersistentCollection {#4073 …}
+reports: Doctrine\ORM\PersistentCollection {#4071 …}
+favourites: Doctrine\ORM\PersistentCollection {#4039 …}
+notifications: Doctrine\ORM\PersistentCollection {#4043 …}
-id: 1049
-bodyTs: "'1':7 '2':86 '5v':168 'anoth':124 'buffer':130 'build':33 'calcul':165 'capac':94 'care':154 'comment':125 'could':5,132 'current':97,115,156 'devic':45 'divid':36,167 'doesn':216 'drain':96,114,145 'easili':164 'end':46 'ensur':75 'even':137 'exact':107 'fact':207 'generat':13,17,32,85 'get':78 'go':218 'help':180 'higher':50 'hook':67 'imped':9,28 'input':73,215 'intern':40,118 'limit':93 'low':26,53,104,202,219 'measur':193 'mention':122 'messag':176 'multimet':191 'need':151,179 'nmos':140 'opamp':135 'open':144 'oscilloscop':64,189 'output':8,27 'probe':70 'problem':1,209 'pull':41,171 'pullup':119 'rate':157 'resistor':173 'said':148 'see':59,204 'send':174 'sens':48 'set':23,81,101 'signal':12,31,84,88 'simpl':129,139 'solut':126 'someth':56 'sourc':89 'squar':19 'suffic':143 'suggest':184 'suppos':111,199 'togeth':37 'transistor':141,160 'tri':65 'us':110 'use':15,187 'voltag':35,51,195,212 'wave':20 'whether':76 'yo':152,186"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://discuss.tchncs.de/comment/258939"
+editedAt: null
+createdAt: DateTimeImmutable @1687149310 {#4020
date: 2023-06-19 06:35:10.0 +02:00
}
}
+root: App\Entity\EntryComment {#4079}
+body: """
Thanks for the explanation!\n
\n
I measured the signal generator alone, not connected to the input. It goes to 4.5V high and 0.001V low. Then I connected it to the input and measured at the input. I got 4.5V high and 1.1V low.\n
\n
Also I ordered the 74LVC1G07 buffer along with a breakout board which should allow me to hook it up inline and test. I'll report back when I do.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1687155877 {#4199
date: 2023-06-19 08:24:37.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@lightrush@lemmy.ca"
"@hardware26@discuss.tchncs.de"
]
+children: Doctrine\ORM\PersistentCollection {#4205 …}
+nested: Doctrine\ORM\PersistentCollection {#4207 …}
+votes: Doctrine\ORM\PersistentCollection {#4203 …}
+reports: Doctrine\ORM\PersistentCollection {#4210 …}
+favourites: Doctrine\ORM\PersistentCollection {#4212 …}
+notifications: Doctrine\ORM\PersistentCollection {#4214 …}
-id: 1071
-bodyTs: "'0.001':23 '1.1':44 '4.5':19,40 '74lvc1g07':51 'allow':60 'alon':10 'along':53 'also':47 'back':72 'board':57 'breakout':56 'buffer':52 'connect':12,28 'explan':4 'generat':9 'goe':17 'got':39 'high':21,42 'hook':63 'inlin':66 'input':15,32,37 'll':70 'low':25,46 'measur':6,34 'order':49 'report':71 'signal':8 'test':68 'thank':1 'v':20,24,41,45"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/430385"
+editedAt: DateTimeImmutable @1687155895 {#4196
date: 2023-06-19 08:24:55.0 +02:00
}
+createdAt: DateTimeImmutable @1687155877 {#4194
date: 2023-06-19 08:24:37.0 +02:00
}
} |
|
Show voter details
|
13 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
14 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4231
+user: App\Entity\User {#4028 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "askelectronics@discuss.tchncs.de"
+title: "askelectronics"
+description: """
**For questions about component-level electronic circuits, tools and equipment.**\n
\n
Rules\n
-----\n
\n
1: Be nice.\n
\n
2: Be on-topic (eg: *Electronic*, not *electrical*).\n
\n
3: No commercial stuff, buying, selling or valuations.\n
\n
4: Be safe.\n
\n
---
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 154
+entryCommentCount: 1230
+postCount: 1
+postCommentCount: 4
+isAdult: false
+customCss: null
+lastActive: DateTime @1729413608 {#276
date: 2024-10-20 10:40:08.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 11
+apId: "askelectronics@discuss.tchncs.de"
+apProfileId: "https://discuss.tchncs.de/c/askelectronics"
+apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
+apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
+apInboxUrl: "https://discuss.tchncs.de/inbox"
+apDomain: "discuss.tchncs.de"
+apPreferredUsername: "askelectronics"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1727247714 {#270
date: 2024-09-25 09:01:54.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1687144409 {#272
date: 2023-06-19 05:13:29.0 +02:00
}
}
+image: Proxies\__CG__\App\Entity\Image {#1943 …}
+domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
+slug: "SOLVED-A-pull-up-resistor-increases-the-low-side-of-a"
+title: "[SOLVED] A pull-up resistor increases the low side of a signal, how can I counteract it?"
+url: "https://electronics.stackexchange.com/q/670924/107963"
+body: """
Solution\n
--------\n
\n
Using an open drain buffer like the `74LVC1G07` did the trick. Note that this part only works for inputs with a pull-up resistor. There are other parts from the same lineup that can work with any input.\n
\n
Problem\n
-------\n
\n
> I have an ebike computer that has two inputs that accept square wave signals. The range is 0-5V. One of the inputs has no pull-up/down resistors on it. When I hook up a device producing signal, the signal is detected correctly. Both highs and lows are detected correctly. The other input has a built-in pull-up resistor. When I hook the same signal to it, only the high side is detected. Measuring the voltage of the low side, it's a bit higher than when hooked to the other input and I'm guessing it isn't crossing the low threshold the computer expects in order to register the low.\n
\n
> Am I right in thinking that the pull-up resistor is increasing the lows?\n
\n
> Is it possible to counteract the internal pull-up resistor by hooking a pull-down resistor to the input?\n
\n
> I'm a software guy with decent soldering skills and minimal knowledge in electronics so please answer like I'm not the brightest electronic bulb on the tree.\n
\n
> Thank you in advance!\n
\n
Cross-posting my question from StackExchange.
"""
+type: "link"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 6
+favouriteCount: 3
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1687328506 {#2410
date: 2023-06-21 08:21:46.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1866 …}
+votes: Doctrine\ORM\PersistentCollection {#1966 …}
+reports: Doctrine\ORM\PersistentCollection {#1946 …}
+favourites: Doctrine\ORM\PersistentCollection {#1368 …}
+notifications: Doctrine\ORM\PersistentCollection {#2426 …}
+badges: Doctrine\ORM\PersistentCollection {#2439 …}
+children: []
-id: 132
-titleTs: "'counteract':17 'increas':7 'low':9 'pull':4 'pull-up':3 'resistor':6 'side':10 'signal':13 'solv':1"
-bodyTs: "'-5':60 '/down':71 '0':59 '74lvc1g07':9 'accept':52 'advanc':227 'answer':212 'bit':131 'brightest':218 'buffer':6 'built':101 'built-in':100 'bulb':220 'comput':46,152 'correct':87,94 'counteract':179 'cross':147,229 'cross-post':228 'decent':202 'detect':86,93,120 'devic':80 'drain':5 'ebik':45 'electron':209,219 'expect':153 'guess':143 'guy':200 'high':89,117 'higher':132 'hook':77,109,135,187 'increas':172 'input':20,40,50,65,97,139,195 'intern':181 'isn':145 'knowledg':207 'like':7,213 'lineup':34 'low':91,126,149,159,174 'm':142,197,215 'measur':121 'minim':206 'note':13 'one':62 'open':4 'order':155 'part':16,30 'pleas':211 'possibl':177 'post':230 'problem':41 'produc':81 'pull':24,69,104,168,183,190 'pull-down':189 'pull-up':23,68,103,167,182 'question':232 'rang':57 'regist':157 'resistor':26,72,106,170,185,192 'right':162 'side':118,127 'signal':55,82,84,112 'skill':204 'softwar':199 'solder':203 'solut':1 'squar':53 'stackexchang':234 'thank':224 'think':164 'threshold':150 'tree':223 'trick':12 'two':49 'use':2 'v':61 'voltag':123 'wave':54 'work':18,37"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1687130578
+visibility: "visible "
+apId: "https://lemmy.ca/post/738378"
+editedAt: DateTimeImmutable @1687363171 {#1850
date: 2023-06-21 17:59:31.0 +02:00
}
+createdAt: DateTimeImmutable @1687102078 {#2420
date: 2023-06-18 17:27:58.0 +02:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4202
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4079
+user: App\Entity\User {#4028 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: """
Problem you are having could be\n
\n
1. output impedance of the signal generator you use to generate the square wave. When you set it to low, output impedance of the signal generator builds a voltage divider together with the internal pull up, and the device ends up sensing a higher voltage than "low". This is something you can see if you have an oscilloscope, try to hook up a probe to the input and ensure whether you get what you set in the signal generator.\n
2. some signal sources have no or limited capacity to drain current. And when you set it to low, this is exactly what it us supposed to do, drain current from the internal pullup.\n
\n
As you mentioned in another comment, solution is a simple buffer. This could be an opamp, but even a simple nmos transistor should suffice (open drain as you said). But you need yo be careful with current ratings of the transistor, which you can easily calculate by dividing 5V by the pull up resistor. Send a message if you need help.\n
\n
Before these, I suggest you yo use an oscilloscope or multimeter to measure the voltage when it is supposed to be low, and see that in fact the problem is that voltage at the input doesn't go "low".
"""
+lang: "en"
+isAdult: false
+favouriteCount: 3
+score: 0
+lastActive: DateTime @1687328507 {#4088
date: 2023-06-21 08:21:47.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@lightrush@lemmy.ca"
]
+children: Doctrine\ORM\PersistentCollection {#4077 …}
+nested: Doctrine\ORM\PersistentCollection {#4075 …}
+votes: Doctrine\ORM\PersistentCollection {#4073 …}
+reports: Doctrine\ORM\PersistentCollection {#4071 …}
+favourites: Doctrine\ORM\PersistentCollection {#4039 …}
+notifications: Doctrine\ORM\PersistentCollection {#4043 …}
-id: 1049
-bodyTs: "'1':7 '2':86 '5v':168 'anoth':124 'buffer':130 'build':33 'calcul':165 'capac':94 'care':154 'comment':125 'could':5,132 'current':97,115,156 'devic':45 'divid':36,167 'doesn':216 'drain':96,114,145 'easili':164 'end':46 'ensur':75 'even':137 'exact':107 'fact':207 'generat':13,17,32,85 'get':78 'go':218 'help':180 'higher':50 'hook':67 'imped':9,28 'input':73,215 'intern':40,118 'limit':93 'low':26,53,104,202,219 'measur':193 'mention':122 'messag':176 'multimet':191 'need':151,179 'nmos':140 'opamp':135 'open':144 'oscilloscop':64,189 'output':8,27 'probe':70 'problem':1,209 'pull':41,171 'pullup':119 'rate':157 'resistor':173 'said':148 'see':59,204 'send':174 'sens':48 'set':23,81,101 'signal':12,31,84,88 'simpl':129,139 'solut':126 'someth':56 'sourc':89 'squar':19 'suffic':143 'suggest':184 'suppos':111,199 'togeth':37 'transistor':141,160 'tri':65 'us':110 'use':15,187 'voltag':35,51,195,212 'wave':20 'whether':76 'yo':152,186"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://discuss.tchncs.de/comment/258939"
+editedAt: null
+createdAt: DateTimeImmutable @1687149310 {#4020
date: 2023-06-19 06:35:10.0 +02:00
}
}
+root: App\Entity\EntryComment {#4079}
+body: """
Thanks for the explanation!\n
\n
I measured the signal generator alone, not connected to the input. It goes to 4.5V high and 0.001V low. Then I connected it to the input and measured at the input. I got 4.5V high and 1.1V low.\n
\n
Also I ordered the 74LVC1G07 buffer along with a breakout board which should allow me to hook it up inline and test. I'll report back when I do.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1687155877 {#4199
date: 2023-06-19 08:24:37.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@lightrush@lemmy.ca"
"@hardware26@discuss.tchncs.de"
]
+children: Doctrine\ORM\PersistentCollection {#4205 …}
+nested: Doctrine\ORM\PersistentCollection {#4207 …}
+votes: Doctrine\ORM\PersistentCollection {#4203 …}
+reports: Doctrine\ORM\PersistentCollection {#4210 …}
+favourites: Doctrine\ORM\PersistentCollection {#4212 …}
+notifications: Doctrine\ORM\PersistentCollection {#4214 …}
-id: 1071
-bodyTs: "'0.001':23 '1.1':44 '4.5':19,40 '74lvc1g07':51 'allow':60 'alon':10 'along':53 'also':47 'back':72 'board':57 'breakout':56 'buffer':52 'connect':12,28 'explan':4 'generat':9 'goe':17 'got':39 'high':21,42 'hook':63 'inlin':66 'input':15,32,37 'll':70 'low':25,46 'measur':6,34 'order':49 'report':71 'signal':8 'test':68 'thank':1 'v':20,24,41,45"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/430385"
+editedAt: DateTimeImmutable @1687155895 {#4196
date: 2023-06-19 08:24:55.0 +02:00
}
+createdAt: DateTimeImmutable @1687155877 {#4194
date: 2023-06-19 08:24:37.0 +02:00
}
}
+root: App\Entity\EntryComment {#4079}
+body: "It should do the trick I think. If you are working on electronics a lot, you may consider buying a breadboard and variety of resistors, capacitors and nmos, pros, bjt transistors in bulk for quick fixes instead of waiting for orders to proceed. Have fun"
+lang: "en"
+isAdult: false
+favouriteCount: 2
+score: 0
+lastActive: DateTime @1687172316 {#4226
date: 2023-06-19 12:58:36.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@lightrush@lemmy.ca"
"@hardware26@discuss.tchncs.de"
]
+children: Doctrine\ORM\PersistentCollection {#4223 …}
+nested: Doctrine\ORM\PersistentCollection {#4220 …}
+votes: Doctrine\ORM\PersistentCollection {#4218 …}
+reports: Doctrine\ORM\PersistentCollection {#4232 …}
+favourites: Doctrine\ORM\PersistentCollection {#4234 …}
+notifications: Doctrine\ORM\PersistentCollection {#4236 …}
-id: 1097
-bodyTs: "'bjt':30 'breadboard':21 'bulk':33 'buy':19 'capacitor':26 'consid':18 'electron':13 'fix':36 'fun':45 'instead':37 'lot':15 'may':17 'nmos':28 'order':41 'proceed':43 'pros':29 'quick':35 'resistor':25 'think':7 'transistor':31 'trick':5 'varieti':23 'wait':39 'work':11"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://discuss.tchncs.de/comment/262885"
+editedAt: null
+createdAt: DateTimeImmutable @1687172316 {#4229
date: 2023-06-19 12:58:36.0 +02:00
}
} |
|
Show voter details
|
15 |
DENIED
|
edit
|
App\Entity\EntryComment {#4231
+user: App\Entity\User {#4028 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "askelectronics@discuss.tchncs.de"
+title: "askelectronics"
+description: """
**For questions about component-level electronic circuits, tools and equipment.**\n
\n
Rules\n
-----\n
\n
1: Be nice.\n
\n
2: Be on-topic (eg: *Electronic*, not *electrical*).\n
\n
3: No commercial stuff, buying, selling or valuations.\n
\n
4: Be safe.\n
\n
---
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 154
+entryCommentCount: 1230
+postCount: 1
+postCommentCount: 4
+isAdult: false
+customCss: null
+lastActive: DateTime @1729413608 {#276
date: 2024-10-20 10:40:08.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 11
+apId: "askelectronics@discuss.tchncs.de"
+apProfileId: "https://discuss.tchncs.de/c/askelectronics"
+apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
+apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
+apInboxUrl: "https://discuss.tchncs.de/inbox"
+apDomain: "discuss.tchncs.de"
+apPreferredUsername: "askelectronics"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1727247714 {#270
date: 2024-09-25 09:01:54.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1687144409 {#272
date: 2023-06-19 05:13:29.0 +02:00
}
}
+image: Proxies\__CG__\App\Entity\Image {#1943 …}
+domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
+slug: "SOLVED-A-pull-up-resistor-increases-the-low-side-of-a"
+title: "[SOLVED] A pull-up resistor increases the low side of a signal, how can I counteract it?"
+url: "https://electronics.stackexchange.com/q/670924/107963"
+body: """
Solution\n
--------\n
\n
Using an open drain buffer like the `74LVC1G07` did the trick. Note that this part only works for inputs with a pull-up resistor. There are other parts from the same lineup that can work with any input.\n
\n
Problem\n
-------\n
\n
> I have an ebike computer that has two inputs that accept square wave signals. The range is 0-5V. One of the inputs has no pull-up/down resistors on it. When I hook up a device producing signal, the signal is detected correctly. Both highs and lows are detected correctly. The other input has a built-in pull-up resistor. When I hook the same signal to it, only the high side is detected. Measuring the voltage of the low side, it's a bit higher than when hooked to the other input and I'm guessing it isn't crossing the low threshold the computer expects in order to register the low.\n
\n
> Am I right in thinking that the pull-up resistor is increasing the lows?\n
\n
> Is it possible to counteract the internal pull-up resistor by hooking a pull-down resistor to the input?\n
\n
> I'm a software guy with decent soldering skills and minimal knowledge in electronics so please answer like I'm not the brightest electronic bulb on the tree.\n
\n
> Thank you in advance!\n
\n
Cross-posting my question from StackExchange.
"""
+type: "link"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 6
+favouriteCount: 3
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1687328506 {#2410
date: 2023-06-21 08:21:46.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1866 …}
+votes: Doctrine\ORM\PersistentCollection {#1966 …}
+reports: Doctrine\ORM\PersistentCollection {#1946 …}
+favourites: Doctrine\ORM\PersistentCollection {#1368 …}
+notifications: Doctrine\ORM\PersistentCollection {#2426 …}
+badges: Doctrine\ORM\PersistentCollection {#2439 …}
+children: []
-id: 132
-titleTs: "'counteract':17 'increas':7 'low':9 'pull':4 'pull-up':3 'resistor':6 'side':10 'signal':13 'solv':1"
-bodyTs: "'-5':60 '/down':71 '0':59 '74lvc1g07':9 'accept':52 'advanc':227 'answer':212 'bit':131 'brightest':218 'buffer':6 'built':101 'built-in':100 'bulb':220 'comput':46,152 'correct':87,94 'counteract':179 'cross':147,229 'cross-post':228 'decent':202 'detect':86,93,120 'devic':80 'drain':5 'ebik':45 'electron':209,219 'expect':153 'guess':143 'guy':200 'high':89,117 'higher':132 'hook':77,109,135,187 'increas':172 'input':20,40,50,65,97,139,195 'intern':181 'isn':145 'knowledg':207 'like':7,213 'lineup':34 'low':91,126,149,159,174 'm':142,197,215 'measur':121 'minim':206 'note':13 'one':62 'open':4 'order':155 'part':16,30 'pleas':211 'possibl':177 'post':230 'problem':41 'produc':81 'pull':24,69,104,168,183,190 'pull-down':189 'pull-up':23,68,103,167,182 'question':232 'rang':57 'regist':157 'resistor':26,72,106,170,185,192 'right':162 'side':118,127 'signal':55,82,84,112 'skill':204 'softwar':199 'solder':203 'solut':1 'squar':53 'stackexchang':234 'thank':224 'think':164 'threshold':150 'tree':223 'trick':12 'two':49 'use':2 'v':61 'voltag':123 'wave':54 'work':18,37"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1687130578
+visibility: "visible "
+apId: "https://lemmy.ca/post/738378"
+editedAt: DateTimeImmutable @1687363171 {#1850
date: 2023-06-21 17:59:31.0 +02:00
}
+createdAt: DateTimeImmutable @1687102078 {#2420
date: 2023-06-18 17:27:58.0 +02:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4202
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4079
+user: App\Entity\User {#4028 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: """
Problem you are having could be\n
\n
1. output impedance of the signal generator you use to generate the square wave. When you set it to low, output impedance of the signal generator builds a voltage divider together with the internal pull up, and the device ends up sensing a higher voltage than "low". This is something you can see if you have an oscilloscope, try to hook up a probe to the input and ensure whether you get what you set in the signal generator.\n
2. some signal sources have no or limited capacity to drain current. And when you set it to low, this is exactly what it us supposed to do, drain current from the internal pullup.\n
\n
As you mentioned in another comment, solution is a simple buffer. This could be an opamp, but even a simple nmos transistor should suffice (open drain as you said). But you need yo be careful with current ratings of the transistor, which you can easily calculate by dividing 5V by the pull up resistor. Send a message if you need help.\n
\n
Before these, I suggest you yo use an oscilloscope or multimeter to measure the voltage when it is supposed to be low, and see that in fact the problem is that voltage at the input doesn't go "low".
"""
+lang: "en"
+isAdult: false
+favouriteCount: 3
+score: 0
+lastActive: DateTime @1687328507 {#4088
date: 2023-06-21 08:21:47.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@lightrush@lemmy.ca"
]
+children: Doctrine\ORM\PersistentCollection {#4077 …}
+nested: Doctrine\ORM\PersistentCollection {#4075 …}
+votes: Doctrine\ORM\PersistentCollection {#4073 …}
+reports: Doctrine\ORM\PersistentCollection {#4071 …}
+favourites: Doctrine\ORM\PersistentCollection {#4039 …}
+notifications: Doctrine\ORM\PersistentCollection {#4043 …}
-id: 1049
-bodyTs: "'1':7 '2':86 '5v':168 'anoth':124 'buffer':130 'build':33 'calcul':165 'capac':94 'care':154 'comment':125 'could':5,132 'current':97,115,156 'devic':45 'divid':36,167 'doesn':216 'drain':96,114,145 'easili':164 'end':46 'ensur':75 'even':137 'exact':107 'fact':207 'generat':13,17,32,85 'get':78 'go':218 'help':180 'higher':50 'hook':67 'imped':9,28 'input':73,215 'intern':40,118 'limit':93 'low':26,53,104,202,219 'measur':193 'mention':122 'messag':176 'multimet':191 'need':151,179 'nmos':140 'opamp':135 'open':144 'oscilloscop':64,189 'output':8,27 'probe':70 'problem':1,209 'pull':41,171 'pullup':119 'rate':157 'resistor':173 'said':148 'see':59,204 'send':174 'sens':48 'set':23,81,101 'signal':12,31,84,88 'simpl':129,139 'solut':126 'someth':56 'sourc':89 'squar':19 'suffic':143 'suggest':184 'suppos':111,199 'togeth':37 'transistor':141,160 'tri':65 'us':110 'use':15,187 'voltag':35,51,195,212 'wave':20 'whether':76 'yo':152,186"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://discuss.tchncs.de/comment/258939"
+editedAt: null
+createdAt: DateTimeImmutable @1687149310 {#4020
date: 2023-06-19 06:35:10.0 +02:00
}
}
+root: App\Entity\EntryComment {#4079}
+body: """
Thanks for the explanation!\n
\n
I measured the signal generator alone, not connected to the input. It goes to 4.5V high and 0.001V low. Then I connected it to the input and measured at the input. I got 4.5V high and 1.1V low.\n
\n
Also I ordered the 74LVC1G07 buffer along with a breakout board which should allow me to hook it up inline and test. I'll report back when I do.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1687155877 {#4199
date: 2023-06-19 08:24:37.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@lightrush@lemmy.ca"
"@hardware26@discuss.tchncs.de"
]
+children: Doctrine\ORM\PersistentCollection {#4205 …}
+nested: Doctrine\ORM\PersistentCollection {#4207 …}
+votes: Doctrine\ORM\PersistentCollection {#4203 …}
+reports: Doctrine\ORM\PersistentCollection {#4210 …}
+favourites: Doctrine\ORM\PersistentCollection {#4212 …}
+notifications: Doctrine\ORM\PersistentCollection {#4214 …}
-id: 1071
-bodyTs: "'0.001':23 '1.1':44 '4.5':19,40 '74lvc1g07':51 'allow':60 'alon':10 'along':53 'also':47 'back':72 'board':57 'breakout':56 'buffer':52 'connect':12,28 'explan':4 'generat':9 'goe':17 'got':39 'high':21,42 'hook':63 'inlin':66 'input':15,32,37 'll':70 'low':25,46 'measur':6,34 'order':49 'report':71 'signal':8 'test':68 'thank':1 'v':20,24,41,45"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/430385"
+editedAt: DateTimeImmutable @1687155895 {#4196
date: 2023-06-19 08:24:55.0 +02:00
}
+createdAt: DateTimeImmutable @1687155877 {#4194
date: 2023-06-19 08:24:37.0 +02:00
}
}
+root: App\Entity\EntryComment {#4079}
+body: "It should do the trick I think. If you are working on electronics a lot, you may consider buying a breadboard and variety of resistors, capacitors and nmos, pros, bjt transistors in bulk for quick fixes instead of waiting for orders to proceed. Have fun"
+lang: "en"
+isAdult: false
+favouriteCount: 2
+score: 0
+lastActive: DateTime @1687172316 {#4226
date: 2023-06-19 12:58:36.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@lightrush@lemmy.ca"
"@hardware26@discuss.tchncs.de"
]
+children: Doctrine\ORM\PersistentCollection {#4223 …}
+nested: Doctrine\ORM\PersistentCollection {#4220 …}
+votes: Doctrine\ORM\PersistentCollection {#4218 …}
+reports: Doctrine\ORM\PersistentCollection {#4232 …}
+favourites: Doctrine\ORM\PersistentCollection {#4234 …}
+notifications: Doctrine\ORM\PersistentCollection {#4236 …}
-id: 1097
-bodyTs: "'bjt':30 'breadboard':21 'bulk':33 'buy':19 'capacitor':26 'consid':18 'electron':13 'fix':36 'fun':45 'instead':37 'lot':15 'may':17 'nmos':28 'order':41 'proceed':43 'pros':29 'quick':35 'resistor':25 'think':7 'transistor':31 'trick':5 'varieti':23 'wait':39 'work':11"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://discuss.tchncs.de/comment/262885"
+editedAt: null
+createdAt: DateTimeImmutable @1687172316 {#4229
date: 2023-06-19 12:58:36.0 +02:00
}
} |
|
Show voter details
|
16 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4231
+user: App\Entity\User {#4028 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "askelectronics@discuss.tchncs.de"
+title: "askelectronics"
+description: """
**For questions about component-level electronic circuits, tools and equipment.**\n
\n
Rules\n
-----\n
\n
1: Be nice.\n
\n
2: Be on-topic (eg: *Electronic*, not *electrical*).\n
\n
3: No commercial stuff, buying, selling or valuations.\n
\n
4: Be safe.\n
\n
---
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 154
+entryCommentCount: 1230
+postCount: 1
+postCommentCount: 4
+isAdult: false
+customCss: null
+lastActive: DateTime @1729413608 {#276
date: 2024-10-20 10:40:08.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 11
+apId: "askelectronics@discuss.tchncs.de"
+apProfileId: "https://discuss.tchncs.de/c/askelectronics"
+apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
+apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
+apInboxUrl: "https://discuss.tchncs.de/inbox"
+apDomain: "discuss.tchncs.de"
+apPreferredUsername: "askelectronics"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1727247714 {#270
date: 2024-09-25 09:01:54.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1687144409 {#272
date: 2023-06-19 05:13:29.0 +02:00
}
}
+image: Proxies\__CG__\App\Entity\Image {#1943 …}
+domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
+slug: "SOLVED-A-pull-up-resistor-increases-the-low-side-of-a"
+title: "[SOLVED] A pull-up resistor increases the low side of a signal, how can I counteract it?"
+url: "https://electronics.stackexchange.com/q/670924/107963"
+body: """
Solution\n
--------\n
\n
Using an open drain buffer like the `74LVC1G07` did the trick. Note that this part only works for inputs with a pull-up resistor. There are other parts from the same lineup that can work with any input.\n
\n
Problem\n
-------\n
\n
> I have an ebike computer that has two inputs that accept square wave signals. The range is 0-5V. One of the inputs has no pull-up/down resistors on it. When I hook up a device producing signal, the signal is detected correctly. Both highs and lows are detected correctly. The other input has a built-in pull-up resistor. When I hook the same signal to it, only the high side is detected. Measuring the voltage of the low side, it's a bit higher than when hooked to the other input and I'm guessing it isn't crossing the low threshold the computer expects in order to register the low.\n
\n
> Am I right in thinking that the pull-up resistor is increasing the lows?\n
\n
> Is it possible to counteract the internal pull-up resistor by hooking a pull-down resistor to the input?\n
\n
> I'm a software guy with decent soldering skills and minimal knowledge in electronics so please answer like I'm not the brightest electronic bulb on the tree.\n
\n
> Thank you in advance!\n
\n
Cross-posting my question from StackExchange.
"""
+type: "link"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 6
+favouriteCount: 3
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1687328506 {#2410
date: 2023-06-21 08:21:46.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1866 …}
+votes: Doctrine\ORM\PersistentCollection {#1966 …}
+reports: Doctrine\ORM\PersistentCollection {#1946 …}
+favourites: Doctrine\ORM\PersistentCollection {#1368 …}
+notifications: Doctrine\ORM\PersistentCollection {#2426 …}
+badges: Doctrine\ORM\PersistentCollection {#2439 …}
+children: []
-id: 132
-titleTs: "'counteract':17 'increas':7 'low':9 'pull':4 'pull-up':3 'resistor':6 'side':10 'signal':13 'solv':1"
-bodyTs: "'-5':60 '/down':71 '0':59 '74lvc1g07':9 'accept':52 'advanc':227 'answer':212 'bit':131 'brightest':218 'buffer':6 'built':101 'built-in':100 'bulb':220 'comput':46,152 'correct':87,94 'counteract':179 'cross':147,229 'cross-post':228 'decent':202 'detect':86,93,120 'devic':80 'drain':5 'ebik':45 'electron':209,219 'expect':153 'guess':143 'guy':200 'high':89,117 'higher':132 'hook':77,109,135,187 'increas':172 'input':20,40,50,65,97,139,195 'intern':181 'isn':145 'knowledg':207 'like':7,213 'lineup':34 'low':91,126,149,159,174 'm':142,197,215 'measur':121 'minim':206 'note':13 'one':62 'open':4 'order':155 'part':16,30 'pleas':211 'possibl':177 'post':230 'problem':41 'produc':81 'pull':24,69,104,168,183,190 'pull-down':189 'pull-up':23,68,103,167,182 'question':232 'rang':57 'regist':157 'resistor':26,72,106,170,185,192 'right':162 'side':118,127 'signal':55,82,84,112 'skill':204 'softwar':199 'solder':203 'solut':1 'squar':53 'stackexchang':234 'thank':224 'think':164 'threshold':150 'tree':223 'trick':12 'two':49 'use':2 'v':61 'voltag':123 'wave':54 'work':18,37"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1687130578
+visibility: "visible "
+apId: "https://lemmy.ca/post/738378"
+editedAt: DateTimeImmutable @1687363171 {#1850
date: 2023-06-21 17:59:31.0 +02:00
}
+createdAt: DateTimeImmutable @1687102078 {#2420
date: 2023-06-18 17:27:58.0 +02:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4202
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4079
+user: App\Entity\User {#4028 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: """
Problem you are having could be\n
\n
1. output impedance of the signal generator you use to generate the square wave. When you set it to low, output impedance of the signal generator builds a voltage divider together with the internal pull up, and the device ends up sensing a higher voltage than "low". This is something you can see if you have an oscilloscope, try to hook up a probe to the input and ensure whether you get what you set in the signal generator.\n
2. some signal sources have no or limited capacity to drain current. And when you set it to low, this is exactly what it us supposed to do, drain current from the internal pullup.\n
\n
As you mentioned in another comment, solution is a simple buffer. This could be an opamp, but even a simple nmos transistor should suffice (open drain as you said). But you need yo be careful with current ratings of the transistor, which you can easily calculate by dividing 5V by the pull up resistor. Send a message if you need help.\n
\n
Before these, I suggest you yo use an oscilloscope or multimeter to measure the voltage when it is supposed to be low, and see that in fact the problem is that voltage at the input doesn't go "low".
"""
+lang: "en"
+isAdult: false
+favouriteCount: 3
+score: 0
+lastActive: DateTime @1687328507 {#4088
date: 2023-06-21 08:21:47.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@lightrush@lemmy.ca"
]
+children: Doctrine\ORM\PersistentCollection {#4077 …}
+nested: Doctrine\ORM\PersistentCollection {#4075 …}
+votes: Doctrine\ORM\PersistentCollection {#4073 …}
+reports: Doctrine\ORM\PersistentCollection {#4071 …}
+favourites: Doctrine\ORM\PersistentCollection {#4039 …}
+notifications: Doctrine\ORM\PersistentCollection {#4043 …}
-id: 1049
-bodyTs: "'1':7 '2':86 '5v':168 'anoth':124 'buffer':130 'build':33 'calcul':165 'capac':94 'care':154 'comment':125 'could':5,132 'current':97,115,156 'devic':45 'divid':36,167 'doesn':216 'drain':96,114,145 'easili':164 'end':46 'ensur':75 'even':137 'exact':107 'fact':207 'generat':13,17,32,85 'get':78 'go':218 'help':180 'higher':50 'hook':67 'imped':9,28 'input':73,215 'intern':40,118 'limit':93 'low':26,53,104,202,219 'measur':193 'mention':122 'messag':176 'multimet':191 'need':151,179 'nmos':140 'opamp':135 'open':144 'oscilloscop':64,189 'output':8,27 'probe':70 'problem':1,209 'pull':41,171 'pullup':119 'rate':157 'resistor':173 'said':148 'see':59,204 'send':174 'sens':48 'set':23,81,101 'signal':12,31,84,88 'simpl':129,139 'solut':126 'someth':56 'sourc':89 'squar':19 'suffic':143 'suggest':184 'suppos':111,199 'togeth':37 'transistor':141,160 'tri':65 'us':110 'use':15,187 'voltag':35,51,195,212 'wave':20 'whether':76 'yo':152,186"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://discuss.tchncs.de/comment/258939"
+editedAt: null
+createdAt: DateTimeImmutable @1687149310 {#4020
date: 2023-06-19 06:35:10.0 +02:00
}
}
+root: App\Entity\EntryComment {#4079}
+body: """
Thanks for the explanation!\n
\n
I measured the signal generator alone, not connected to the input. It goes to 4.5V high and 0.001V low. Then I connected it to the input and measured at the input. I got 4.5V high and 1.1V low.\n
\n
Also I ordered the 74LVC1G07 buffer along with a breakout board which should allow me to hook it up inline and test. I'll report back when I do.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1687155877 {#4199
date: 2023-06-19 08:24:37.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@lightrush@lemmy.ca"
"@hardware26@discuss.tchncs.de"
]
+children: Doctrine\ORM\PersistentCollection {#4205 …}
+nested: Doctrine\ORM\PersistentCollection {#4207 …}
+votes: Doctrine\ORM\PersistentCollection {#4203 …}
+reports: Doctrine\ORM\PersistentCollection {#4210 …}
+favourites: Doctrine\ORM\PersistentCollection {#4212 …}
+notifications: Doctrine\ORM\PersistentCollection {#4214 …}
-id: 1071
-bodyTs: "'0.001':23 '1.1':44 '4.5':19,40 '74lvc1g07':51 'allow':60 'alon':10 'along':53 'also':47 'back':72 'board':57 'breakout':56 'buffer':52 'connect':12,28 'explan':4 'generat':9 'goe':17 'got':39 'high':21,42 'hook':63 'inlin':66 'input':15,32,37 'll':70 'low':25,46 'measur':6,34 'order':49 'report':71 'signal':8 'test':68 'thank':1 'v':20,24,41,45"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/430385"
+editedAt: DateTimeImmutable @1687155895 {#4196
date: 2023-06-19 08:24:55.0 +02:00
}
+createdAt: DateTimeImmutable @1687155877 {#4194
date: 2023-06-19 08:24:37.0 +02:00
}
}
+root: App\Entity\EntryComment {#4079}
+body: "It should do the trick I think. If you are working on electronics a lot, you may consider buying a breadboard and variety of resistors, capacitors and nmos, pros, bjt transistors in bulk for quick fixes instead of waiting for orders to proceed. Have fun"
+lang: "en"
+isAdult: false
+favouriteCount: 2
+score: 0
+lastActive: DateTime @1687172316 {#4226
date: 2023-06-19 12:58:36.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@lightrush@lemmy.ca"
"@hardware26@discuss.tchncs.de"
]
+children: Doctrine\ORM\PersistentCollection {#4223 …}
+nested: Doctrine\ORM\PersistentCollection {#4220 …}
+votes: Doctrine\ORM\PersistentCollection {#4218 …}
+reports: Doctrine\ORM\PersistentCollection {#4232 …}
+favourites: Doctrine\ORM\PersistentCollection {#4234 …}
+notifications: Doctrine\ORM\PersistentCollection {#4236 …}
-id: 1097
-bodyTs: "'bjt':30 'breadboard':21 'bulk':33 'buy':19 'capacitor':26 'consid':18 'electron':13 'fix':36 'fun':45 'instead':37 'lot':15 'may':17 'nmos':28 'order':41 'proceed':43 'pros':29 'quick':35 'resistor':25 'think':7 'transistor':31 'trick':5 'varieti':23 'wait':39 'work':11"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://discuss.tchncs.de/comment/262885"
+editedAt: null
+createdAt: DateTimeImmutable @1687172316 {#4229
date: 2023-06-19 12:58:36.0 +02:00
}
} |
|
Show voter details
|
17 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
18 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4245
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "askelectronics@discuss.tchncs.de"
+title: "askelectronics"
+description: """
**For questions about component-level electronic circuits, tools and equipment.**\n
\n
Rules\n
-----\n
\n
1: Be nice.\n
\n
2: Be on-topic (eg: *Electronic*, not *electrical*).\n
\n
3: No commercial stuff, buying, selling or valuations.\n
\n
4: Be safe.\n
\n
---
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 154
+entryCommentCount: 1230
+postCount: 1
+postCommentCount: 4
+isAdult: false
+customCss: null
+lastActive: DateTime @1729413608 {#276
date: 2024-10-20 10:40:08.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 11
+apId: "askelectronics@discuss.tchncs.de"
+apProfileId: "https://discuss.tchncs.de/c/askelectronics"
+apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
+apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
+apInboxUrl: "https://discuss.tchncs.de/inbox"
+apDomain: "discuss.tchncs.de"
+apPreferredUsername: "askelectronics"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1727247714 {#270
date: 2024-09-25 09:01:54.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1687144409 {#272
date: 2023-06-19 05:13:29.0 +02:00
}
}
+image: Proxies\__CG__\App\Entity\Image {#1943 …}
+domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
+slug: "SOLVED-A-pull-up-resistor-increases-the-low-side-of-a"
+title: "[SOLVED] A pull-up resistor increases the low side of a signal, how can I counteract it?"
+url: "https://electronics.stackexchange.com/q/670924/107963"
+body: """
Solution\n
--------\n
\n
Using an open drain buffer like the `74LVC1G07` did the trick. Note that this part only works for inputs with a pull-up resistor. There are other parts from the same lineup that can work with any input.\n
\n
Problem\n
-------\n
\n
> I have an ebike computer that has two inputs that accept square wave signals. The range is 0-5V. One of the inputs has no pull-up/down resistors on it. When I hook up a device producing signal, the signal is detected correctly. Both highs and lows are detected correctly. The other input has a built-in pull-up resistor. When I hook the same signal to it, only the high side is detected. Measuring the voltage of the low side, it's a bit higher than when hooked to the other input and I'm guessing it isn't crossing the low threshold the computer expects in order to register the low.\n
\n
> Am I right in thinking that the pull-up resistor is increasing the lows?\n
\n
> Is it possible to counteract the internal pull-up resistor by hooking a pull-down resistor to the input?\n
\n
> I'm a software guy with decent soldering skills and minimal knowledge in electronics so please answer like I'm not the brightest electronic bulb on the tree.\n
\n
> Thank you in advance!\n
\n
Cross-posting my question from StackExchange.
"""
+type: "link"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 6
+favouriteCount: 3
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1687328506 {#2410
date: 2023-06-21 08:21:46.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1866 …}
+votes: Doctrine\ORM\PersistentCollection {#1966 …}
+reports: Doctrine\ORM\PersistentCollection {#1946 …}
+favourites: Doctrine\ORM\PersistentCollection {#1368 …}
+notifications: Doctrine\ORM\PersistentCollection {#2426 …}
+badges: Doctrine\ORM\PersistentCollection {#2439 …}
+children: []
-id: 132
-titleTs: "'counteract':17 'increas':7 'low':9 'pull':4 'pull-up':3 'resistor':6 'side':10 'signal':13 'solv':1"
-bodyTs: "'-5':60 '/down':71 '0':59 '74lvc1g07':9 'accept':52 'advanc':227 'answer':212 'bit':131 'brightest':218 'buffer':6 'built':101 'built-in':100 'bulb':220 'comput':46,152 'correct':87,94 'counteract':179 'cross':147,229 'cross-post':228 'decent':202 'detect':86,93,120 'devic':80 'drain':5 'ebik':45 'electron':209,219 'expect':153 'guess':143 'guy':200 'high':89,117 'higher':132 'hook':77,109,135,187 'increas':172 'input':20,40,50,65,97,139,195 'intern':181 'isn':145 'knowledg':207 'like':7,213 'lineup':34 'low':91,126,149,159,174 'm':142,197,215 'measur':121 'minim':206 'note':13 'one':62 'open':4 'order':155 'part':16,30 'pleas':211 'possibl':177 'post':230 'problem':41 'produc':81 'pull':24,69,104,168,183,190 'pull-down':189 'pull-up':23,68,103,167,182 'question':232 'rang':57 'regist':157 'resistor':26,72,106,170,185,192 'right':162 'side':118,127 'signal':55,82,84,112 'skill':204 'softwar':199 'solder':203 'solut':1 'squar':53 'stackexchang':234 'thank':224 'think':164 'threshold':150 'tree':223 'trick':12 'two':49 'use':2 'v':61 'voltag':123 'wave':54 'work':18,37"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1687130578
+visibility: "visible "
+apId: "https://lemmy.ca/post/738378"
+editedAt: DateTimeImmutable @1687363171 {#1850
date: 2023-06-21 17:59:31.0 +02:00
}
+createdAt: DateTimeImmutable @1687102078 {#2420
date: 2023-06-18 17:27:58.0 +02:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4231
+user: App\Entity\User {#4028 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4202
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4079
+user: App\Entity\User {#4028 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: """
Problem you are having could be\n
\n
1. output impedance of the signal generator you use to generate the square wave. When you set it to low, output impedance of the signal generator builds a voltage divider together with the internal pull up, and the device ends up sensing a higher voltage than "low". This is something you can see if you have an oscilloscope, try to hook up a probe to the input and ensure whether you get what you set in the signal generator.\n
2. some signal sources have no or limited capacity to drain current. And when you set it to low, this is exactly what it us supposed to do, drain current from the internal pullup.\n
\n
As you mentioned in another comment, solution is a simple buffer. This could be an opamp, but even a simple nmos transistor should suffice (open drain as you said). But you need yo be careful with current ratings of the transistor, which you can easily calculate by dividing 5V by the pull up resistor. Send a message if you need help.\n
\n
Before these, I suggest you yo use an oscilloscope or multimeter to measure the voltage when it is supposed to be low, and see that in fact the problem is that voltage at the input doesn't go "low".
"""
+lang: "en"
+isAdult: false
+favouriteCount: 3
+score: 0
+lastActive: DateTime @1687328507 {#4088
date: 2023-06-21 08:21:47.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@lightrush@lemmy.ca"
]
+children: Doctrine\ORM\PersistentCollection {#4077 …}
+nested: Doctrine\ORM\PersistentCollection {#4075 …}
+votes: Doctrine\ORM\PersistentCollection {#4073 …}
+reports: Doctrine\ORM\PersistentCollection {#4071 …}
+favourites: Doctrine\ORM\PersistentCollection {#4039 …}
+notifications: Doctrine\ORM\PersistentCollection {#4043 …}
-id: 1049
-bodyTs: "'1':7 '2':86 '5v':168 'anoth':124 'buffer':130 'build':33 'calcul':165 'capac':94 'care':154 'comment':125 'could':5,132 'current':97,115,156 'devic':45 'divid':36,167 'doesn':216 'drain':96,114,145 'easili':164 'end':46 'ensur':75 'even':137 'exact':107 'fact':207 'generat':13,17,32,85 'get':78 'go':218 'help':180 'higher':50 'hook':67 'imped':9,28 'input':73,215 'intern':40,118 'limit':93 'low':26,53,104,202,219 'measur':193 'mention':122 'messag':176 'multimet':191 'need':151,179 'nmos':140 'opamp':135 'open':144 'oscilloscop':64,189 'output':8,27 'probe':70 'problem':1,209 'pull':41,171 'pullup':119 'rate':157 'resistor':173 'said':148 'see':59,204 'send':174 'sens':48 'set':23,81,101 'signal':12,31,84,88 'simpl':129,139 'solut':126 'someth':56 'sourc':89 'squar':19 'suffic':143 'suggest':184 'suppos':111,199 'togeth':37 'transistor':141,160 'tri':65 'us':110 'use':15,187 'voltag':35,51,195,212 'wave':20 'whether':76 'yo':152,186"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://discuss.tchncs.de/comment/258939"
+editedAt: null
+createdAt: DateTimeImmutable @1687149310 {#4020
date: 2023-06-19 06:35:10.0 +02:00
}
}
+root: App\Entity\EntryComment {#4079}
+body: """
Thanks for the explanation!\n
\n
I measured the signal generator alone, not connected to the input. It goes to 4.5V high and 0.001V low. Then I connected it to the input and measured at the input. I got 4.5V high and 1.1V low.\n
\n
Also I ordered the 74LVC1G07 buffer along with a breakout board which should allow me to hook it up inline and test. I'll report back when I do.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1687155877 {#4199
date: 2023-06-19 08:24:37.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@lightrush@lemmy.ca"
"@hardware26@discuss.tchncs.de"
]
+children: Doctrine\ORM\PersistentCollection {#4205 …}
+nested: Doctrine\ORM\PersistentCollection {#4207 …}
+votes: Doctrine\ORM\PersistentCollection {#4203 …}
+reports: Doctrine\ORM\PersistentCollection {#4210 …}
+favourites: Doctrine\ORM\PersistentCollection {#4212 …}
+notifications: Doctrine\ORM\PersistentCollection {#4214 …}
-id: 1071
-bodyTs: "'0.001':23 '1.1':44 '4.5':19,40 '74lvc1g07':51 'allow':60 'alon':10 'along':53 'also':47 'back':72 'board':57 'breakout':56 'buffer':52 'connect':12,28 'explan':4 'generat':9 'goe':17 'got':39 'high':21,42 'hook':63 'inlin':66 'input':15,32,37 'll':70 'low':25,46 'measur':6,34 'order':49 'report':71 'signal':8 'test':68 'thank':1 'v':20,24,41,45"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/430385"
+editedAt: DateTimeImmutable @1687155895 {#4196
date: 2023-06-19 08:24:55.0 +02:00
}
+createdAt: DateTimeImmutable @1687155877 {#4194
date: 2023-06-19 08:24:37.0 +02:00
}
}
+root: App\Entity\EntryComment {#4079}
+body: "It should do the trick I think. If you are working on electronics a lot, you may consider buying a breadboard and variety of resistors, capacitors and nmos, pros, bjt transistors in bulk for quick fixes instead of waiting for orders to proceed. Have fun"
+lang: "en"
+isAdult: false
+favouriteCount: 2
+score: 0
+lastActive: DateTime @1687172316 {#4226
date: 2023-06-19 12:58:36.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@lightrush@lemmy.ca"
"@hardware26@discuss.tchncs.de"
]
+children: Doctrine\ORM\PersistentCollection {#4223 …}
+nested: Doctrine\ORM\PersistentCollection {#4220 …}
+votes: Doctrine\ORM\PersistentCollection {#4218 …}
+reports: Doctrine\ORM\PersistentCollection {#4232 …}
+favourites: Doctrine\ORM\PersistentCollection {#4234 …}
+notifications: Doctrine\ORM\PersistentCollection {#4236 …}
-id: 1097
-bodyTs: "'bjt':30 'breadboard':21 'bulk':33 'buy':19 'capacitor':26 'consid':18 'electron':13 'fix':36 'fun':45 'instead':37 'lot':15 'may':17 'nmos':28 'order':41 'proceed':43 'pros':29 'quick':35 'resistor':25 'think':7 'transistor':31 'trick':5 'varieti':23 'wait':39 'work':11"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://discuss.tchncs.de/comment/262885"
+editedAt: null
+createdAt: DateTimeImmutable @1687172316 {#4229
date: 2023-06-19 12:58:36.0 +02:00
}
}
+root: App\Entity\EntryComment {#4079}
+body: """
It works!\n
\n
\n
\n
I just built this monstrosity, tested and the signal is correctly detected by the computer. 👌\n
\n
Now I just need to wire it properly.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1687310758 {#4248
date: 2023-06-21 03:25:58.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@lightrush@lemmy.ca"
"@hardware26@discuss.tchncs.de"
]
+children: Doctrine\ORM\PersistentCollection {#4243 …}
+nested: Doctrine\ORM\PersistentCollection {#4241 …}
+votes: Doctrine\ORM\PersistentCollection {#4239 …}
+reports: Doctrine\ORM\PersistentCollection {#4255 …}
+favourites: Doctrine\ORM\PersistentCollection {#4257 …}
+notifications: Doctrine\ORM\PersistentCollection {#4259 …}
-id: 1413
-bodyTs: "'/pictrs/image/70cae57f-710c-4dc5-ba06-204efec4ecf2.jpeg)':5 'built':8 'comput':20 'correct':16 'detect':17 'lemmy.ca':4 'lemmy.ca/pictrs/image/70cae57f-710c-4dc5-ba06-204efec4ecf2.jpeg)':3 'monstros':10 'need':24 'proper':28 'signal':14 'test':11 'wire':26 'work':2"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/467632"
+editedAt: DateTimeImmutable @1687310832 {#4251
date: 2023-06-21 03:27:12.0 +02:00
}
+createdAt: DateTimeImmutable @1687310758 {#4253
date: 2023-06-21 03:25:58.0 +02:00
}
} |
|
Show voter details
|
19 |
DENIED
|
edit
|
App\Entity\EntryComment {#4245
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "askelectronics@discuss.tchncs.de"
+title: "askelectronics"
+description: """
**For questions about component-level electronic circuits, tools and equipment.**\n
\n
Rules\n
-----\n
\n
1: Be nice.\n
\n
2: Be on-topic (eg: *Electronic*, not *electrical*).\n
\n
3: No commercial stuff, buying, selling or valuations.\n
\n
4: Be safe.\n
\n
---
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 154
+entryCommentCount: 1230
+postCount: 1
+postCommentCount: 4
+isAdult: false
+customCss: null
+lastActive: DateTime @1729413608 {#276
date: 2024-10-20 10:40:08.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 11
+apId: "askelectronics@discuss.tchncs.de"
+apProfileId: "https://discuss.tchncs.de/c/askelectronics"
+apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
+apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
+apInboxUrl: "https://discuss.tchncs.de/inbox"
+apDomain: "discuss.tchncs.de"
+apPreferredUsername: "askelectronics"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1727247714 {#270
date: 2024-09-25 09:01:54.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1687144409 {#272
date: 2023-06-19 05:13:29.0 +02:00
}
}
+image: Proxies\__CG__\App\Entity\Image {#1943 …}
+domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
+slug: "SOLVED-A-pull-up-resistor-increases-the-low-side-of-a"
+title: "[SOLVED] A pull-up resistor increases the low side of a signal, how can I counteract it?"
+url: "https://electronics.stackexchange.com/q/670924/107963"
+body: """
Solution\n
--------\n
\n
Using an open drain buffer like the `74LVC1G07` did the trick. Note that this part only works for inputs with a pull-up resistor. There are other parts from the same lineup that can work with any input.\n
\n
Problem\n
-------\n
\n
> I have an ebike computer that has two inputs that accept square wave signals. The range is 0-5V. One of the inputs has no pull-up/down resistors on it. When I hook up a device producing signal, the signal is detected correctly. Both highs and lows are detected correctly. The other input has a built-in pull-up resistor. When I hook the same signal to it, only the high side is detected. Measuring the voltage of the low side, it's a bit higher than when hooked to the other input and I'm guessing it isn't crossing the low threshold the computer expects in order to register the low.\n
\n
> Am I right in thinking that the pull-up resistor is increasing the lows?\n
\n
> Is it possible to counteract the internal pull-up resistor by hooking a pull-down resistor to the input?\n
\n
> I'm a software guy with decent soldering skills and minimal knowledge in electronics so please answer like I'm not the brightest electronic bulb on the tree.\n
\n
> Thank you in advance!\n
\n
Cross-posting my question from StackExchange.
"""
+type: "link"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 6
+favouriteCount: 3
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1687328506 {#2410
date: 2023-06-21 08:21:46.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1866 …}
+votes: Doctrine\ORM\PersistentCollection {#1966 …}
+reports: Doctrine\ORM\PersistentCollection {#1946 …}
+favourites: Doctrine\ORM\PersistentCollection {#1368 …}
+notifications: Doctrine\ORM\PersistentCollection {#2426 …}
+badges: Doctrine\ORM\PersistentCollection {#2439 …}
+children: []
-id: 132
-titleTs: "'counteract':17 'increas':7 'low':9 'pull':4 'pull-up':3 'resistor':6 'side':10 'signal':13 'solv':1"
-bodyTs: "'-5':60 '/down':71 '0':59 '74lvc1g07':9 'accept':52 'advanc':227 'answer':212 'bit':131 'brightest':218 'buffer':6 'built':101 'built-in':100 'bulb':220 'comput':46,152 'correct':87,94 'counteract':179 'cross':147,229 'cross-post':228 'decent':202 'detect':86,93,120 'devic':80 'drain':5 'ebik':45 'electron':209,219 'expect':153 'guess':143 'guy':200 'high':89,117 'higher':132 'hook':77,109,135,187 'increas':172 'input':20,40,50,65,97,139,195 'intern':181 'isn':145 'knowledg':207 'like':7,213 'lineup':34 'low':91,126,149,159,174 'm':142,197,215 'measur':121 'minim':206 'note':13 'one':62 'open':4 'order':155 'part':16,30 'pleas':211 'possibl':177 'post':230 'problem':41 'produc':81 'pull':24,69,104,168,183,190 'pull-down':189 'pull-up':23,68,103,167,182 'question':232 'rang':57 'regist':157 'resistor':26,72,106,170,185,192 'right':162 'side':118,127 'signal':55,82,84,112 'skill':204 'softwar':199 'solder':203 'solut':1 'squar':53 'stackexchang':234 'thank':224 'think':164 'threshold':150 'tree':223 'trick':12 'two':49 'use':2 'v':61 'voltag':123 'wave':54 'work':18,37"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1687130578
+visibility: "visible "
+apId: "https://lemmy.ca/post/738378"
+editedAt: DateTimeImmutable @1687363171 {#1850
date: 2023-06-21 17:59:31.0 +02:00
}
+createdAt: DateTimeImmutable @1687102078 {#2420
date: 2023-06-18 17:27:58.0 +02:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4231
+user: App\Entity\User {#4028 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4202
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4079
+user: App\Entity\User {#4028 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: """
Problem you are having could be\n
\n
1. output impedance of the signal generator you use to generate the square wave. When you set it to low, output impedance of the signal generator builds a voltage divider together with the internal pull up, and the device ends up sensing a higher voltage than "low". This is something you can see if you have an oscilloscope, try to hook up a probe to the input and ensure whether you get what you set in the signal generator.\n
2. some signal sources have no or limited capacity to drain current. And when you set it to low, this is exactly what it us supposed to do, drain current from the internal pullup.\n
\n
As you mentioned in another comment, solution is a simple buffer. This could be an opamp, but even a simple nmos transistor should suffice (open drain as you said). But you need yo be careful with current ratings of the transistor, which you can easily calculate by dividing 5V by the pull up resistor. Send a message if you need help.\n
\n
Before these, I suggest you yo use an oscilloscope or multimeter to measure the voltage when it is supposed to be low, and see that in fact the problem is that voltage at the input doesn't go "low".
"""
+lang: "en"
+isAdult: false
+favouriteCount: 3
+score: 0
+lastActive: DateTime @1687328507 {#4088
date: 2023-06-21 08:21:47.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@lightrush@lemmy.ca"
]
+children: Doctrine\ORM\PersistentCollection {#4077 …}
+nested: Doctrine\ORM\PersistentCollection {#4075 …}
+votes: Doctrine\ORM\PersistentCollection {#4073 …}
+reports: Doctrine\ORM\PersistentCollection {#4071 …}
+favourites: Doctrine\ORM\PersistentCollection {#4039 …}
+notifications: Doctrine\ORM\PersistentCollection {#4043 …}
-id: 1049
-bodyTs: "'1':7 '2':86 '5v':168 'anoth':124 'buffer':130 'build':33 'calcul':165 'capac':94 'care':154 'comment':125 'could':5,132 'current':97,115,156 'devic':45 'divid':36,167 'doesn':216 'drain':96,114,145 'easili':164 'end':46 'ensur':75 'even':137 'exact':107 'fact':207 'generat':13,17,32,85 'get':78 'go':218 'help':180 'higher':50 'hook':67 'imped':9,28 'input':73,215 'intern':40,118 'limit':93 'low':26,53,104,202,219 'measur':193 'mention':122 'messag':176 'multimet':191 'need':151,179 'nmos':140 'opamp':135 'open':144 'oscilloscop':64,189 'output':8,27 'probe':70 'problem':1,209 'pull':41,171 'pullup':119 'rate':157 'resistor':173 'said':148 'see':59,204 'send':174 'sens':48 'set':23,81,101 'signal':12,31,84,88 'simpl':129,139 'solut':126 'someth':56 'sourc':89 'squar':19 'suffic':143 'suggest':184 'suppos':111,199 'togeth':37 'transistor':141,160 'tri':65 'us':110 'use':15,187 'voltag':35,51,195,212 'wave':20 'whether':76 'yo':152,186"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://discuss.tchncs.de/comment/258939"
+editedAt: null
+createdAt: DateTimeImmutable @1687149310 {#4020
date: 2023-06-19 06:35:10.0 +02:00
}
}
+root: App\Entity\EntryComment {#4079}
+body: """
Thanks for the explanation!\n
\n
I measured the signal generator alone, not connected to the input. It goes to 4.5V high and 0.001V low. Then I connected it to the input and measured at the input. I got 4.5V high and 1.1V low.\n
\n
Also I ordered the 74LVC1G07 buffer along with a breakout board which should allow me to hook it up inline and test. I'll report back when I do.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1687155877 {#4199
date: 2023-06-19 08:24:37.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@lightrush@lemmy.ca"
"@hardware26@discuss.tchncs.de"
]
+children: Doctrine\ORM\PersistentCollection {#4205 …}
+nested: Doctrine\ORM\PersistentCollection {#4207 …}
+votes: Doctrine\ORM\PersistentCollection {#4203 …}
+reports: Doctrine\ORM\PersistentCollection {#4210 …}
+favourites: Doctrine\ORM\PersistentCollection {#4212 …}
+notifications: Doctrine\ORM\PersistentCollection {#4214 …}
-id: 1071
-bodyTs: "'0.001':23 '1.1':44 '4.5':19,40 '74lvc1g07':51 'allow':60 'alon':10 'along':53 'also':47 'back':72 'board':57 'breakout':56 'buffer':52 'connect':12,28 'explan':4 'generat':9 'goe':17 'got':39 'high':21,42 'hook':63 'inlin':66 'input':15,32,37 'll':70 'low':25,46 'measur':6,34 'order':49 'report':71 'signal':8 'test':68 'thank':1 'v':20,24,41,45"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/430385"
+editedAt: DateTimeImmutable @1687155895 {#4196
date: 2023-06-19 08:24:55.0 +02:00
}
+createdAt: DateTimeImmutable @1687155877 {#4194
date: 2023-06-19 08:24:37.0 +02:00
}
}
+root: App\Entity\EntryComment {#4079}
+body: "It should do the trick I think. If you are working on electronics a lot, you may consider buying a breadboard and variety of resistors, capacitors and nmos, pros, bjt transistors in bulk for quick fixes instead of waiting for orders to proceed. Have fun"
+lang: "en"
+isAdult: false
+favouriteCount: 2
+score: 0
+lastActive: DateTime @1687172316 {#4226
date: 2023-06-19 12:58:36.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@lightrush@lemmy.ca"
"@hardware26@discuss.tchncs.de"
]
+children: Doctrine\ORM\PersistentCollection {#4223 …}
+nested: Doctrine\ORM\PersistentCollection {#4220 …}
+votes: Doctrine\ORM\PersistentCollection {#4218 …}
+reports: Doctrine\ORM\PersistentCollection {#4232 …}
+favourites: Doctrine\ORM\PersistentCollection {#4234 …}
+notifications: Doctrine\ORM\PersistentCollection {#4236 …}
-id: 1097
-bodyTs: "'bjt':30 'breadboard':21 'bulk':33 'buy':19 'capacitor':26 'consid':18 'electron':13 'fix':36 'fun':45 'instead':37 'lot':15 'may':17 'nmos':28 'order':41 'proceed':43 'pros':29 'quick':35 'resistor':25 'think':7 'transistor':31 'trick':5 'varieti':23 'wait':39 'work':11"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://discuss.tchncs.de/comment/262885"
+editedAt: null
+createdAt: DateTimeImmutable @1687172316 {#4229
date: 2023-06-19 12:58:36.0 +02:00
}
}
+root: App\Entity\EntryComment {#4079}
+body: """
It works!\n
\n
\n
\n
I just built this monstrosity, tested and the signal is correctly detected by the computer. 👌\n
\n
Now I just need to wire it properly.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1687310758 {#4248
date: 2023-06-21 03:25:58.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@lightrush@lemmy.ca"
"@hardware26@discuss.tchncs.de"
]
+children: Doctrine\ORM\PersistentCollection {#4243 …}
+nested: Doctrine\ORM\PersistentCollection {#4241 …}
+votes: Doctrine\ORM\PersistentCollection {#4239 …}
+reports: Doctrine\ORM\PersistentCollection {#4255 …}
+favourites: Doctrine\ORM\PersistentCollection {#4257 …}
+notifications: Doctrine\ORM\PersistentCollection {#4259 …}
-id: 1413
-bodyTs: "'/pictrs/image/70cae57f-710c-4dc5-ba06-204efec4ecf2.jpeg)':5 'built':8 'comput':20 'correct':16 'detect':17 'lemmy.ca':4 'lemmy.ca/pictrs/image/70cae57f-710c-4dc5-ba06-204efec4ecf2.jpeg)':3 'monstros':10 'need':24 'proper':28 'signal':14 'test':11 'wire':26 'work':2"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/467632"
+editedAt: DateTimeImmutable @1687310832 {#4251
date: 2023-06-21 03:27:12.0 +02:00
}
+createdAt: DateTimeImmutable @1687310758 {#4253
date: 2023-06-21 03:25:58.0 +02:00
}
} |
|
Show voter details
|
20 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4245
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "askelectronics@discuss.tchncs.de"
+title: "askelectronics"
+description: """
**For questions about component-level electronic circuits, tools and equipment.**\n
\n
Rules\n
-----\n
\n
1: Be nice.\n
\n
2: Be on-topic (eg: *Electronic*, not *electrical*).\n
\n
3: No commercial stuff, buying, selling or valuations.\n
\n
4: Be safe.\n
\n
---
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 154
+entryCommentCount: 1230
+postCount: 1
+postCommentCount: 4
+isAdult: false
+customCss: null
+lastActive: DateTime @1729413608 {#276
date: 2024-10-20 10:40:08.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 11
+apId: "askelectronics@discuss.tchncs.de"
+apProfileId: "https://discuss.tchncs.de/c/askelectronics"
+apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
+apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
+apInboxUrl: "https://discuss.tchncs.de/inbox"
+apDomain: "discuss.tchncs.de"
+apPreferredUsername: "askelectronics"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1727247714 {#270
date: 2024-09-25 09:01:54.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1687144409 {#272
date: 2023-06-19 05:13:29.0 +02:00
}
}
+image: Proxies\__CG__\App\Entity\Image {#1943 …}
+domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
+slug: "SOLVED-A-pull-up-resistor-increases-the-low-side-of-a"
+title: "[SOLVED] A pull-up resistor increases the low side of a signal, how can I counteract it?"
+url: "https://electronics.stackexchange.com/q/670924/107963"
+body: """
Solution\n
--------\n
\n
Using an open drain buffer like the `74LVC1G07` did the trick. Note that this part only works for inputs with a pull-up resistor. There are other parts from the same lineup that can work with any input.\n
\n
Problem\n
-------\n
\n
> I have an ebike computer that has two inputs that accept square wave signals. The range is 0-5V. One of the inputs has no pull-up/down resistors on it. When I hook up a device producing signal, the signal is detected correctly. Both highs and lows are detected correctly. The other input has a built-in pull-up resistor. When I hook the same signal to it, only the high side is detected. Measuring the voltage of the low side, it's a bit higher than when hooked to the other input and I'm guessing it isn't crossing the low threshold the computer expects in order to register the low.\n
\n
> Am I right in thinking that the pull-up resistor is increasing the lows?\n
\n
> Is it possible to counteract the internal pull-up resistor by hooking a pull-down resistor to the input?\n
\n
> I'm a software guy with decent soldering skills and minimal knowledge in electronics so please answer like I'm not the brightest electronic bulb on the tree.\n
\n
> Thank you in advance!\n
\n
Cross-posting my question from StackExchange.
"""
+type: "link"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 6
+favouriteCount: 3
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1687328506 {#2410
date: 2023-06-21 08:21:46.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1866 …}
+votes: Doctrine\ORM\PersistentCollection {#1966 …}
+reports: Doctrine\ORM\PersistentCollection {#1946 …}
+favourites: Doctrine\ORM\PersistentCollection {#1368 …}
+notifications: Doctrine\ORM\PersistentCollection {#2426 …}
+badges: Doctrine\ORM\PersistentCollection {#2439 …}
+children: []
-id: 132
-titleTs: "'counteract':17 'increas':7 'low':9 'pull':4 'pull-up':3 'resistor':6 'side':10 'signal':13 'solv':1"
-bodyTs: "'-5':60 '/down':71 '0':59 '74lvc1g07':9 'accept':52 'advanc':227 'answer':212 'bit':131 'brightest':218 'buffer':6 'built':101 'built-in':100 'bulb':220 'comput':46,152 'correct':87,94 'counteract':179 'cross':147,229 'cross-post':228 'decent':202 'detect':86,93,120 'devic':80 'drain':5 'ebik':45 'electron':209,219 'expect':153 'guess':143 'guy':200 'high':89,117 'higher':132 'hook':77,109,135,187 'increas':172 'input':20,40,50,65,97,139,195 'intern':181 'isn':145 'knowledg':207 'like':7,213 'lineup':34 'low':91,126,149,159,174 'm':142,197,215 'measur':121 'minim':206 'note':13 'one':62 'open':4 'order':155 'part':16,30 'pleas':211 'possibl':177 'post':230 'problem':41 'produc':81 'pull':24,69,104,168,183,190 'pull-down':189 'pull-up':23,68,103,167,182 'question':232 'rang':57 'regist':157 'resistor':26,72,106,170,185,192 'right':162 'side':118,127 'signal':55,82,84,112 'skill':204 'softwar':199 'solder':203 'solut':1 'squar':53 'stackexchang':234 'thank':224 'think':164 'threshold':150 'tree':223 'trick':12 'two':49 'use':2 'v':61 'voltag':123 'wave':54 'work':18,37"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1687130578
+visibility: "visible "
+apId: "https://lemmy.ca/post/738378"
+editedAt: DateTimeImmutable @1687363171 {#1850
date: 2023-06-21 17:59:31.0 +02:00
}
+createdAt: DateTimeImmutable @1687102078 {#2420
date: 2023-06-18 17:27:58.0 +02:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4231
+user: App\Entity\User {#4028 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4202
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4079
+user: App\Entity\User {#4028 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: """
Problem you are having could be\n
\n
1. output impedance of the signal generator you use to generate the square wave. When you set it to low, output impedance of the signal generator builds a voltage divider together with the internal pull up, and the device ends up sensing a higher voltage than "low". This is something you can see if you have an oscilloscope, try to hook up a probe to the input and ensure whether you get what you set in the signal generator.\n
2. some signal sources have no or limited capacity to drain current. And when you set it to low, this is exactly what it us supposed to do, drain current from the internal pullup.\n
\n
As you mentioned in another comment, solution is a simple buffer. This could be an opamp, but even a simple nmos transistor should suffice (open drain as you said). But you need yo be careful with current ratings of the transistor, which you can easily calculate by dividing 5V by the pull up resistor. Send a message if you need help.\n
\n
Before these, I suggest you yo use an oscilloscope or multimeter to measure the voltage when it is supposed to be low, and see that in fact the problem is that voltage at the input doesn't go "low".
"""
+lang: "en"
+isAdult: false
+favouriteCount: 3
+score: 0
+lastActive: DateTime @1687328507 {#4088
date: 2023-06-21 08:21:47.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@lightrush@lemmy.ca"
]
+children: Doctrine\ORM\PersistentCollection {#4077 …}
+nested: Doctrine\ORM\PersistentCollection {#4075 …}
+votes: Doctrine\ORM\PersistentCollection {#4073 …}
+reports: Doctrine\ORM\PersistentCollection {#4071 …}
+favourites: Doctrine\ORM\PersistentCollection {#4039 …}
+notifications: Doctrine\ORM\PersistentCollection {#4043 …}
-id: 1049
-bodyTs: "'1':7 '2':86 '5v':168 'anoth':124 'buffer':130 'build':33 'calcul':165 'capac':94 'care':154 'comment':125 'could':5,132 'current':97,115,156 'devic':45 'divid':36,167 'doesn':216 'drain':96,114,145 'easili':164 'end':46 'ensur':75 'even':137 'exact':107 'fact':207 'generat':13,17,32,85 'get':78 'go':218 'help':180 'higher':50 'hook':67 'imped':9,28 'input':73,215 'intern':40,118 'limit':93 'low':26,53,104,202,219 'measur':193 'mention':122 'messag':176 'multimet':191 'need':151,179 'nmos':140 'opamp':135 'open':144 'oscilloscop':64,189 'output':8,27 'probe':70 'problem':1,209 'pull':41,171 'pullup':119 'rate':157 'resistor':173 'said':148 'see':59,204 'send':174 'sens':48 'set':23,81,101 'signal':12,31,84,88 'simpl':129,139 'solut':126 'someth':56 'sourc':89 'squar':19 'suffic':143 'suggest':184 'suppos':111,199 'togeth':37 'transistor':141,160 'tri':65 'us':110 'use':15,187 'voltag':35,51,195,212 'wave':20 'whether':76 'yo':152,186"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://discuss.tchncs.de/comment/258939"
+editedAt: null
+createdAt: DateTimeImmutable @1687149310 {#4020
date: 2023-06-19 06:35:10.0 +02:00
}
}
+root: App\Entity\EntryComment {#4079}
+body: """
Thanks for the explanation!\n
\n
I measured the signal generator alone, not connected to the input. It goes to 4.5V high and 0.001V low. Then I connected it to the input and measured at the input. I got 4.5V high and 1.1V low.\n
\n
Also I ordered the 74LVC1G07 buffer along with a breakout board which should allow me to hook it up inline and test. I'll report back when I do.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1687155877 {#4199
date: 2023-06-19 08:24:37.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@lightrush@lemmy.ca"
"@hardware26@discuss.tchncs.de"
]
+children: Doctrine\ORM\PersistentCollection {#4205 …}
+nested: Doctrine\ORM\PersistentCollection {#4207 …}
+votes: Doctrine\ORM\PersistentCollection {#4203 …}
+reports: Doctrine\ORM\PersistentCollection {#4210 …}
+favourites: Doctrine\ORM\PersistentCollection {#4212 …}
+notifications: Doctrine\ORM\PersistentCollection {#4214 …}
-id: 1071
-bodyTs: "'0.001':23 '1.1':44 '4.5':19,40 '74lvc1g07':51 'allow':60 'alon':10 'along':53 'also':47 'back':72 'board':57 'breakout':56 'buffer':52 'connect':12,28 'explan':4 'generat':9 'goe':17 'got':39 'high':21,42 'hook':63 'inlin':66 'input':15,32,37 'll':70 'low':25,46 'measur':6,34 'order':49 'report':71 'signal':8 'test':68 'thank':1 'v':20,24,41,45"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/430385"
+editedAt: DateTimeImmutable @1687155895 {#4196
date: 2023-06-19 08:24:55.0 +02:00
}
+createdAt: DateTimeImmutable @1687155877 {#4194
date: 2023-06-19 08:24:37.0 +02:00
}
}
+root: App\Entity\EntryComment {#4079}
+body: "It should do the trick I think. If you are working on electronics a lot, you may consider buying a breadboard and variety of resistors, capacitors and nmos, pros, bjt transistors in bulk for quick fixes instead of waiting for orders to proceed. Have fun"
+lang: "en"
+isAdult: false
+favouriteCount: 2
+score: 0
+lastActive: DateTime @1687172316 {#4226
date: 2023-06-19 12:58:36.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@lightrush@lemmy.ca"
"@hardware26@discuss.tchncs.de"
]
+children: Doctrine\ORM\PersistentCollection {#4223 …}
+nested: Doctrine\ORM\PersistentCollection {#4220 …}
+votes: Doctrine\ORM\PersistentCollection {#4218 …}
+reports: Doctrine\ORM\PersistentCollection {#4232 …}
+favourites: Doctrine\ORM\PersistentCollection {#4234 …}
+notifications: Doctrine\ORM\PersistentCollection {#4236 …}
-id: 1097
-bodyTs: "'bjt':30 'breadboard':21 'bulk':33 'buy':19 'capacitor':26 'consid':18 'electron':13 'fix':36 'fun':45 'instead':37 'lot':15 'may':17 'nmos':28 'order':41 'proceed':43 'pros':29 'quick':35 'resistor':25 'think':7 'transistor':31 'trick':5 'varieti':23 'wait':39 'work':11"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://discuss.tchncs.de/comment/262885"
+editedAt: null
+createdAt: DateTimeImmutable @1687172316 {#4229
date: 2023-06-19 12:58:36.0 +02:00
}
}
+root: App\Entity\EntryComment {#4079}
+body: """
It works!\n
\n
\n
\n
I just built this monstrosity, tested and the signal is correctly detected by the computer. 👌\n
\n
Now I just need to wire it properly.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1687310758 {#4248
date: 2023-06-21 03:25:58.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@lightrush@lemmy.ca"
"@hardware26@discuss.tchncs.de"
]
+children: Doctrine\ORM\PersistentCollection {#4243 …}
+nested: Doctrine\ORM\PersistentCollection {#4241 …}
+votes: Doctrine\ORM\PersistentCollection {#4239 …}
+reports: Doctrine\ORM\PersistentCollection {#4255 …}
+favourites: Doctrine\ORM\PersistentCollection {#4257 …}
+notifications: Doctrine\ORM\PersistentCollection {#4259 …}
-id: 1413
-bodyTs: "'/pictrs/image/70cae57f-710c-4dc5-ba06-204efec4ecf2.jpeg)':5 'built':8 'comput':20 'correct':16 'detect':17 'lemmy.ca':4 'lemmy.ca/pictrs/image/70cae57f-710c-4dc5-ba06-204efec4ecf2.jpeg)':3 'monstros':10 'need':24 'proper':28 'signal':14 'test':11 'wire':26 'work':2"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/467632"
+editedAt: DateTimeImmutable @1687310832 {#4251
date: 2023-06-21 03:27:12.0 +02:00
}
+createdAt: DateTimeImmutable @1687310758 {#4253
date: 2023-06-21 03:25:58.0 +02:00
}
} |
|
Show voter details
|
21 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
22 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4276
+user: App\Entity\User {#4028 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "askelectronics@discuss.tchncs.de"
+title: "askelectronics"
+description: """
**For questions about component-level electronic circuits, tools and equipment.**\n
\n
Rules\n
-----\n
\n
1: Be nice.\n
\n
2: Be on-topic (eg: *Electronic*, not *electrical*).\n
\n
3: No commercial stuff, buying, selling or valuations.\n
\n
4: Be safe.\n
\n
---
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 154
+entryCommentCount: 1230
+postCount: 1
+postCommentCount: 4
+isAdult: false
+customCss: null
+lastActive: DateTime @1729413608 {#276
date: 2024-10-20 10:40:08.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 11
+apId: "askelectronics@discuss.tchncs.de"
+apProfileId: "https://discuss.tchncs.de/c/askelectronics"
+apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
+apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
+apInboxUrl: "https://discuss.tchncs.de/inbox"
+apDomain: "discuss.tchncs.de"
+apPreferredUsername: "askelectronics"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1727247714 {#270
date: 2024-09-25 09:01:54.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1687144409 {#272
date: 2023-06-19 05:13:29.0 +02:00
}
}
+image: Proxies\__CG__\App\Entity\Image {#1943 …}
+domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
+slug: "SOLVED-A-pull-up-resistor-increases-the-low-side-of-a"
+title: "[SOLVED] A pull-up resistor increases the low side of a signal, how can I counteract it?"
+url: "https://electronics.stackexchange.com/q/670924/107963"
+body: """
Solution\n
--------\n
\n
Using an open drain buffer like the `74LVC1G07` did the trick. Note that this part only works for inputs with a pull-up resistor. There are other parts from the same lineup that can work with any input.\n
\n
Problem\n
-------\n
\n
> I have an ebike computer that has two inputs that accept square wave signals. The range is 0-5V. One of the inputs has no pull-up/down resistors on it. When I hook up a device producing signal, the signal is detected correctly. Both highs and lows are detected correctly. The other input has a built-in pull-up resistor. When I hook the same signal to it, only the high side is detected. Measuring the voltage of the low side, it's a bit higher than when hooked to the other input and I'm guessing it isn't crossing the low threshold the computer expects in order to register the low.\n
\n
> Am I right in thinking that the pull-up resistor is increasing the lows?\n
\n
> Is it possible to counteract the internal pull-up resistor by hooking a pull-down resistor to the input?\n
\n
> I'm a software guy with decent soldering skills and minimal knowledge in electronics so please answer like I'm not the brightest electronic bulb on the tree.\n
\n
> Thank you in advance!\n
\n
Cross-posting my question from StackExchange.
"""
+type: "link"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 6
+favouriteCount: 3
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1687328506 {#2410
date: 2023-06-21 08:21:46.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1866 …}
+votes: Doctrine\ORM\PersistentCollection {#1966 …}
+reports: Doctrine\ORM\PersistentCollection {#1946 …}
+favourites: Doctrine\ORM\PersistentCollection {#1368 …}
+notifications: Doctrine\ORM\PersistentCollection {#2426 …}
+badges: Doctrine\ORM\PersistentCollection {#2439 …}
+children: []
-id: 132
-titleTs: "'counteract':17 'increas':7 'low':9 'pull':4 'pull-up':3 'resistor':6 'side':10 'signal':13 'solv':1"
-bodyTs: "'-5':60 '/down':71 '0':59 '74lvc1g07':9 'accept':52 'advanc':227 'answer':212 'bit':131 'brightest':218 'buffer':6 'built':101 'built-in':100 'bulb':220 'comput':46,152 'correct':87,94 'counteract':179 'cross':147,229 'cross-post':228 'decent':202 'detect':86,93,120 'devic':80 'drain':5 'ebik':45 'electron':209,219 'expect':153 'guess':143 'guy':200 'high':89,117 'higher':132 'hook':77,109,135,187 'increas':172 'input':20,40,50,65,97,139,195 'intern':181 'isn':145 'knowledg':207 'like':7,213 'lineup':34 'low':91,126,149,159,174 'm':142,197,215 'measur':121 'minim':206 'note':13 'one':62 'open':4 'order':155 'part':16,30 'pleas':211 'possibl':177 'post':230 'problem':41 'produc':81 'pull':24,69,104,168,183,190 'pull-down':189 'pull-up':23,68,103,167,182 'question':232 'rang':57 'regist':157 'resistor':26,72,106,170,185,192 'right':162 'side':118,127 'signal':55,82,84,112 'skill':204 'softwar':199 'solder':203 'solut':1 'squar':53 'stackexchang':234 'thank':224 'think':164 'threshold':150 'tree':223 'trick':12 'two':49 'use':2 'v':61 'voltag':123 'wave':54 'work':18,37"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1687130578
+visibility: "visible "
+apId: "https://lemmy.ca/post/738378"
+editedAt: DateTimeImmutable @1687363171 {#1850
date: 2023-06-21 17:59:31.0 +02:00
}
+createdAt: DateTimeImmutable @1687102078 {#2420
date: 2023-06-18 17:27:58.0 +02:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4245
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4231
+user: App\Entity\User {#4028 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4202
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4079
+user: App\Entity\User {#4028 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: """
Problem you are having could be\n
\n
1. output impedance of the signal generator you use to generate the square wave. When you set it to low, output impedance of the signal generator builds a voltage divider together with the internal pull up, and the device ends up sensing a higher voltage than "low". This is something you can see if you have an oscilloscope, try to hook up a probe to the input and ensure whether you get what you set in the signal generator.\n
2. some signal sources have no or limited capacity to drain current. And when you set it to low, this is exactly what it us supposed to do, drain current from the internal pullup.\n
\n
As you mentioned in another comment, solution is a simple buffer. This could be an opamp, but even a simple nmos transistor should suffice (open drain as you said). But you need yo be careful with current ratings of the transistor, which you can easily calculate by dividing 5V by the pull up resistor. Send a message if you need help.\n
\n
Before these, I suggest you yo use an oscilloscope or multimeter to measure the voltage when it is supposed to be low, and see that in fact the problem is that voltage at the input doesn't go "low".
"""
+lang: "en"
+isAdult: false
+favouriteCount: 3
+score: 0
+lastActive: DateTime @1687328507 {#4088
date: 2023-06-21 08:21:47.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@lightrush@lemmy.ca"
]
+children: Doctrine\ORM\PersistentCollection {#4077 …}
+nested: Doctrine\ORM\PersistentCollection {#4075 …}
+votes: Doctrine\ORM\PersistentCollection {#4073 …}
+reports: Doctrine\ORM\PersistentCollection {#4071 …}
+favourites: Doctrine\ORM\PersistentCollection {#4039 …}
+notifications: Doctrine\ORM\PersistentCollection {#4043 …}
-id: 1049
-bodyTs: "'1':7 '2':86 '5v':168 'anoth':124 'buffer':130 'build':33 'calcul':165 'capac':94 'care':154 'comment':125 'could':5,132 'current':97,115,156 'devic':45 'divid':36,167 'doesn':216 'drain':96,114,145 'easili':164 'end':46 'ensur':75 'even':137 'exact':107 'fact':207 'generat':13,17,32,85 'get':78 'go':218 'help':180 'higher':50 'hook':67 'imped':9,28 'input':73,215 'intern':40,118 'limit':93 'low':26,53,104,202,219 'measur':193 'mention':122 'messag':176 'multimet':191 'need':151,179 'nmos':140 'opamp':135 'open':144 'oscilloscop':64,189 'output':8,27 'probe':70 'problem':1,209 'pull':41,171 'pullup':119 'rate':157 'resistor':173 'said':148 'see':59,204 'send':174 'sens':48 'set':23,81,101 'signal':12,31,84,88 'simpl':129,139 'solut':126 'someth':56 'sourc':89 'squar':19 'suffic':143 'suggest':184 'suppos':111,199 'togeth':37 'transistor':141,160 'tri':65 'us':110 'use':15,187 'voltag':35,51,195,212 'wave':20 'whether':76 'yo':152,186"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://discuss.tchncs.de/comment/258939"
+editedAt: null
+createdAt: DateTimeImmutable @1687149310 {#4020
date: 2023-06-19 06:35:10.0 +02:00
}
}
+root: App\Entity\EntryComment {#4079}
+body: """
Thanks for the explanation!\n
\n
I measured the signal generator alone, not connected to the input. It goes to 4.5V high and 0.001V low. Then I connected it to the input and measured at the input. I got 4.5V high and 1.1V low.\n
\n
Also I ordered the 74LVC1G07 buffer along with a breakout board which should allow me to hook it up inline and test. I'll report back when I do.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1687155877 {#4199
date: 2023-06-19 08:24:37.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@lightrush@lemmy.ca"
"@hardware26@discuss.tchncs.de"
]
+children: Doctrine\ORM\PersistentCollection {#4205 …}
+nested: Doctrine\ORM\PersistentCollection {#4207 …}
+votes: Doctrine\ORM\PersistentCollection {#4203 …}
+reports: Doctrine\ORM\PersistentCollection {#4210 …}
+favourites: Doctrine\ORM\PersistentCollection {#4212 …}
+notifications: Doctrine\ORM\PersistentCollection {#4214 …}
-id: 1071
-bodyTs: "'0.001':23 '1.1':44 '4.5':19,40 '74lvc1g07':51 'allow':60 'alon':10 'along':53 'also':47 'back':72 'board':57 'breakout':56 'buffer':52 'connect':12,28 'explan':4 'generat':9 'goe':17 'got':39 'high':21,42 'hook':63 'inlin':66 'input':15,32,37 'll':70 'low':25,46 'measur':6,34 'order':49 'report':71 'signal':8 'test':68 'thank':1 'v':20,24,41,45"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/430385"
+editedAt: DateTimeImmutable @1687155895 {#4196
date: 2023-06-19 08:24:55.0 +02:00
}
+createdAt: DateTimeImmutable @1687155877 {#4194
date: 2023-06-19 08:24:37.0 +02:00
}
}
+root: App\Entity\EntryComment {#4079}
+body: "It should do the trick I think. If you are working on electronics a lot, you may consider buying a breadboard and variety of resistors, capacitors and nmos, pros, bjt transistors in bulk for quick fixes instead of waiting for orders to proceed. Have fun"
+lang: "en"
+isAdult: false
+favouriteCount: 2
+score: 0
+lastActive: DateTime @1687172316 {#4226
date: 2023-06-19 12:58:36.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@lightrush@lemmy.ca"
"@hardware26@discuss.tchncs.de"
]
+children: Doctrine\ORM\PersistentCollection {#4223 …}
+nested: Doctrine\ORM\PersistentCollection {#4220 …}
+votes: Doctrine\ORM\PersistentCollection {#4218 …}
+reports: Doctrine\ORM\PersistentCollection {#4232 …}
+favourites: Doctrine\ORM\PersistentCollection {#4234 …}
+notifications: Doctrine\ORM\PersistentCollection {#4236 …}
-id: 1097
-bodyTs: "'bjt':30 'breadboard':21 'bulk':33 'buy':19 'capacitor':26 'consid':18 'electron':13 'fix':36 'fun':45 'instead':37 'lot':15 'may':17 'nmos':28 'order':41 'proceed':43 'pros':29 'quick':35 'resistor':25 'think':7 'transistor':31 'trick':5 'varieti':23 'wait':39 'work':11"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://discuss.tchncs.de/comment/262885"
+editedAt: null
+createdAt: DateTimeImmutable @1687172316 {#4229
date: 2023-06-19 12:58:36.0 +02:00
}
}
+root: App\Entity\EntryComment {#4079}
+body: """
It works!\n
\n
\n
\n
I just built this monstrosity, tested and the signal is correctly detected by the computer. 👌\n
\n
Now I just need to wire it properly.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1687310758 {#4248
date: 2023-06-21 03:25:58.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@lightrush@lemmy.ca"
"@hardware26@discuss.tchncs.de"
]
+children: Doctrine\ORM\PersistentCollection {#4243 …}
+nested: Doctrine\ORM\PersistentCollection {#4241 …}
+votes: Doctrine\ORM\PersistentCollection {#4239 …}
+reports: Doctrine\ORM\PersistentCollection {#4255 …}
+favourites: Doctrine\ORM\PersistentCollection {#4257 …}
+notifications: Doctrine\ORM\PersistentCollection {#4259 …}
-id: 1413
-bodyTs: "'/pictrs/image/70cae57f-710c-4dc5-ba06-204efec4ecf2.jpeg)':5 'built':8 'comput':20 'correct':16 'detect':17 'lemmy.ca':4 'lemmy.ca/pictrs/image/70cae57f-710c-4dc5-ba06-204efec4ecf2.jpeg)':3 'monstros':10 'need':24 'proper':28 'signal':14 'test':11 'wire':26 'work':2"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/467632"
+editedAt: DateTimeImmutable @1687310832 {#4251
date: 2023-06-21 03:27:12.0 +02:00
}
+createdAt: DateTimeImmutable @1687310758 {#4253
date: 2023-06-21 03:25:58.0 +02:00
}
}
+root: App\Entity\EntryComment {#4079}
+body: "Well done, good to hear"
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1687328506 {#4271
date: 2023-06-21 08:21:46.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@lightrush@lemmy.ca"
"@hardware26@discuss.tchncs.de"
]
+children: Doctrine\ORM\PersistentCollection {#4268 …}
+nested: Doctrine\ORM\PersistentCollection {#4265 …}
+votes: Doctrine\ORM\PersistentCollection {#4263 …}
+reports: Doctrine\ORM\PersistentCollection {#4277 …}
+favourites: Doctrine\ORM\PersistentCollection {#4279 …}
+notifications: Doctrine\ORM\PersistentCollection {#4281 …}
-id: 1426
-bodyTs: "'done':2 'good':3 'hear':5 'well':1"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://discuss.tchncs.de/comment/297446"
+editedAt: null
+createdAt: DateTimeImmutable @1687328506 {#4274
date: 2023-06-21 08:21:46.0 +02:00
}
} |
|
Show voter details
|
23 |
DENIED
|
edit
|
App\Entity\EntryComment {#4276
+user: App\Entity\User {#4028 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "askelectronics@discuss.tchncs.de"
+title: "askelectronics"
+description: """
**For questions about component-level electronic circuits, tools and equipment.**\n
\n
Rules\n
-----\n
\n
1: Be nice.\n
\n
2: Be on-topic (eg: *Electronic*, not *electrical*).\n
\n
3: No commercial stuff, buying, selling or valuations.\n
\n
4: Be safe.\n
\n
---
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 154
+entryCommentCount: 1230
+postCount: 1
+postCommentCount: 4
+isAdult: false
+customCss: null
+lastActive: DateTime @1729413608 {#276
date: 2024-10-20 10:40:08.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 11
+apId: "askelectronics@discuss.tchncs.de"
+apProfileId: "https://discuss.tchncs.de/c/askelectronics"
+apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
+apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
+apInboxUrl: "https://discuss.tchncs.de/inbox"
+apDomain: "discuss.tchncs.de"
+apPreferredUsername: "askelectronics"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1727247714 {#270
date: 2024-09-25 09:01:54.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1687144409 {#272
date: 2023-06-19 05:13:29.0 +02:00
}
}
+image: Proxies\__CG__\App\Entity\Image {#1943 …}
+domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
+slug: "SOLVED-A-pull-up-resistor-increases-the-low-side-of-a"
+title: "[SOLVED] A pull-up resistor increases the low side of a signal, how can I counteract it?"
+url: "https://electronics.stackexchange.com/q/670924/107963"
+body: """
Solution\n
--------\n
\n
Using an open drain buffer like the `74LVC1G07` did the trick. Note that this part only works for inputs with a pull-up resistor. There are other parts from the same lineup that can work with any input.\n
\n
Problem\n
-------\n
\n
> I have an ebike computer that has two inputs that accept square wave signals. The range is 0-5V. One of the inputs has no pull-up/down resistors on it. When I hook up a device producing signal, the signal is detected correctly. Both highs and lows are detected correctly. The other input has a built-in pull-up resistor. When I hook the same signal to it, only the high side is detected. Measuring the voltage of the low side, it's a bit higher than when hooked to the other input and I'm guessing it isn't crossing the low threshold the computer expects in order to register the low.\n
\n
> Am I right in thinking that the pull-up resistor is increasing the lows?\n
\n
> Is it possible to counteract the internal pull-up resistor by hooking a pull-down resistor to the input?\n
\n
> I'm a software guy with decent soldering skills and minimal knowledge in electronics so please answer like I'm not the brightest electronic bulb on the tree.\n
\n
> Thank you in advance!\n
\n
Cross-posting my question from StackExchange.
"""
+type: "link"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 6
+favouriteCount: 3
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1687328506 {#2410
date: 2023-06-21 08:21:46.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1866 …}
+votes: Doctrine\ORM\PersistentCollection {#1966 …}
+reports: Doctrine\ORM\PersistentCollection {#1946 …}
+favourites: Doctrine\ORM\PersistentCollection {#1368 …}
+notifications: Doctrine\ORM\PersistentCollection {#2426 …}
+badges: Doctrine\ORM\PersistentCollection {#2439 …}
+children: []
-id: 132
-titleTs: "'counteract':17 'increas':7 'low':9 'pull':4 'pull-up':3 'resistor':6 'side':10 'signal':13 'solv':1"
-bodyTs: "'-5':60 '/down':71 '0':59 '74lvc1g07':9 'accept':52 'advanc':227 'answer':212 'bit':131 'brightest':218 'buffer':6 'built':101 'built-in':100 'bulb':220 'comput':46,152 'correct':87,94 'counteract':179 'cross':147,229 'cross-post':228 'decent':202 'detect':86,93,120 'devic':80 'drain':5 'ebik':45 'electron':209,219 'expect':153 'guess':143 'guy':200 'high':89,117 'higher':132 'hook':77,109,135,187 'increas':172 'input':20,40,50,65,97,139,195 'intern':181 'isn':145 'knowledg':207 'like':7,213 'lineup':34 'low':91,126,149,159,174 'm':142,197,215 'measur':121 'minim':206 'note':13 'one':62 'open':4 'order':155 'part':16,30 'pleas':211 'possibl':177 'post':230 'problem':41 'produc':81 'pull':24,69,104,168,183,190 'pull-down':189 'pull-up':23,68,103,167,182 'question':232 'rang':57 'regist':157 'resistor':26,72,106,170,185,192 'right':162 'side':118,127 'signal':55,82,84,112 'skill':204 'softwar':199 'solder':203 'solut':1 'squar':53 'stackexchang':234 'thank':224 'think':164 'threshold':150 'tree':223 'trick':12 'two':49 'use':2 'v':61 'voltag':123 'wave':54 'work':18,37"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1687130578
+visibility: "visible "
+apId: "https://lemmy.ca/post/738378"
+editedAt: DateTimeImmutable @1687363171 {#1850
date: 2023-06-21 17:59:31.0 +02:00
}
+createdAt: DateTimeImmutable @1687102078 {#2420
date: 2023-06-18 17:27:58.0 +02:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4245
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4231
+user: App\Entity\User {#4028 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4202
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4079
+user: App\Entity\User {#4028 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: """
Problem you are having could be\n
\n
1. output impedance of the signal generator you use to generate the square wave. When you set it to low, output impedance of the signal generator builds a voltage divider together with the internal pull up, and the device ends up sensing a higher voltage than "low". This is something you can see if you have an oscilloscope, try to hook up a probe to the input and ensure whether you get what you set in the signal generator.\n
2. some signal sources have no or limited capacity to drain current. And when you set it to low, this is exactly what it us supposed to do, drain current from the internal pullup.\n
\n
As you mentioned in another comment, solution is a simple buffer. This could be an opamp, but even a simple nmos transistor should suffice (open drain as you said). But you need yo be careful with current ratings of the transistor, which you can easily calculate by dividing 5V by the pull up resistor. Send a message if you need help.\n
\n
Before these, I suggest you yo use an oscilloscope or multimeter to measure the voltage when it is supposed to be low, and see that in fact the problem is that voltage at the input doesn't go "low".
"""
+lang: "en"
+isAdult: false
+favouriteCount: 3
+score: 0
+lastActive: DateTime @1687328507 {#4088
date: 2023-06-21 08:21:47.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@lightrush@lemmy.ca"
]
+children: Doctrine\ORM\PersistentCollection {#4077 …}
+nested: Doctrine\ORM\PersistentCollection {#4075 …}
+votes: Doctrine\ORM\PersistentCollection {#4073 …}
+reports: Doctrine\ORM\PersistentCollection {#4071 …}
+favourites: Doctrine\ORM\PersistentCollection {#4039 …}
+notifications: Doctrine\ORM\PersistentCollection {#4043 …}
-id: 1049
-bodyTs: "'1':7 '2':86 '5v':168 'anoth':124 'buffer':130 'build':33 'calcul':165 'capac':94 'care':154 'comment':125 'could':5,132 'current':97,115,156 'devic':45 'divid':36,167 'doesn':216 'drain':96,114,145 'easili':164 'end':46 'ensur':75 'even':137 'exact':107 'fact':207 'generat':13,17,32,85 'get':78 'go':218 'help':180 'higher':50 'hook':67 'imped':9,28 'input':73,215 'intern':40,118 'limit':93 'low':26,53,104,202,219 'measur':193 'mention':122 'messag':176 'multimet':191 'need':151,179 'nmos':140 'opamp':135 'open':144 'oscilloscop':64,189 'output':8,27 'probe':70 'problem':1,209 'pull':41,171 'pullup':119 'rate':157 'resistor':173 'said':148 'see':59,204 'send':174 'sens':48 'set':23,81,101 'signal':12,31,84,88 'simpl':129,139 'solut':126 'someth':56 'sourc':89 'squar':19 'suffic':143 'suggest':184 'suppos':111,199 'togeth':37 'transistor':141,160 'tri':65 'us':110 'use':15,187 'voltag':35,51,195,212 'wave':20 'whether':76 'yo':152,186"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://discuss.tchncs.de/comment/258939"
+editedAt: null
+createdAt: DateTimeImmutable @1687149310 {#4020
date: 2023-06-19 06:35:10.0 +02:00
}
}
+root: App\Entity\EntryComment {#4079}
+body: """
Thanks for the explanation!\n
\n
I measured the signal generator alone, not connected to the input. It goes to 4.5V high and 0.001V low. Then I connected it to the input and measured at the input. I got 4.5V high and 1.1V low.\n
\n
Also I ordered the 74LVC1G07 buffer along with a breakout board which should allow me to hook it up inline and test. I'll report back when I do.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1687155877 {#4199
date: 2023-06-19 08:24:37.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@lightrush@lemmy.ca"
"@hardware26@discuss.tchncs.de"
]
+children: Doctrine\ORM\PersistentCollection {#4205 …}
+nested: Doctrine\ORM\PersistentCollection {#4207 …}
+votes: Doctrine\ORM\PersistentCollection {#4203 …}
+reports: Doctrine\ORM\PersistentCollection {#4210 …}
+favourites: Doctrine\ORM\PersistentCollection {#4212 …}
+notifications: Doctrine\ORM\PersistentCollection {#4214 …}
-id: 1071
-bodyTs: "'0.001':23 '1.1':44 '4.5':19,40 '74lvc1g07':51 'allow':60 'alon':10 'along':53 'also':47 'back':72 'board':57 'breakout':56 'buffer':52 'connect':12,28 'explan':4 'generat':9 'goe':17 'got':39 'high':21,42 'hook':63 'inlin':66 'input':15,32,37 'll':70 'low':25,46 'measur':6,34 'order':49 'report':71 'signal':8 'test':68 'thank':1 'v':20,24,41,45"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/430385"
+editedAt: DateTimeImmutable @1687155895 {#4196
date: 2023-06-19 08:24:55.0 +02:00
}
+createdAt: DateTimeImmutable @1687155877 {#4194
date: 2023-06-19 08:24:37.0 +02:00
}
}
+root: App\Entity\EntryComment {#4079}
+body: "It should do the trick I think. If you are working on electronics a lot, you may consider buying a breadboard and variety of resistors, capacitors and nmos, pros, bjt transistors in bulk for quick fixes instead of waiting for orders to proceed. Have fun"
+lang: "en"
+isAdult: false
+favouriteCount: 2
+score: 0
+lastActive: DateTime @1687172316 {#4226
date: 2023-06-19 12:58:36.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@lightrush@lemmy.ca"
"@hardware26@discuss.tchncs.de"
]
+children: Doctrine\ORM\PersistentCollection {#4223 …}
+nested: Doctrine\ORM\PersistentCollection {#4220 …}
+votes: Doctrine\ORM\PersistentCollection {#4218 …}
+reports: Doctrine\ORM\PersistentCollection {#4232 …}
+favourites: Doctrine\ORM\PersistentCollection {#4234 …}
+notifications: Doctrine\ORM\PersistentCollection {#4236 …}
-id: 1097
-bodyTs: "'bjt':30 'breadboard':21 'bulk':33 'buy':19 'capacitor':26 'consid':18 'electron':13 'fix':36 'fun':45 'instead':37 'lot':15 'may':17 'nmos':28 'order':41 'proceed':43 'pros':29 'quick':35 'resistor':25 'think':7 'transistor':31 'trick':5 'varieti':23 'wait':39 'work':11"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://discuss.tchncs.de/comment/262885"
+editedAt: null
+createdAt: DateTimeImmutable @1687172316 {#4229
date: 2023-06-19 12:58:36.0 +02:00
}
}
+root: App\Entity\EntryComment {#4079}
+body: """
It works!\n
\n
\n
\n
I just built this monstrosity, tested and the signal is correctly detected by the computer. 👌\n
\n
Now I just need to wire it properly.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1687310758 {#4248
date: 2023-06-21 03:25:58.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@lightrush@lemmy.ca"
"@hardware26@discuss.tchncs.de"
]
+children: Doctrine\ORM\PersistentCollection {#4243 …}
+nested: Doctrine\ORM\PersistentCollection {#4241 …}
+votes: Doctrine\ORM\PersistentCollection {#4239 …}
+reports: Doctrine\ORM\PersistentCollection {#4255 …}
+favourites: Doctrine\ORM\PersistentCollection {#4257 …}
+notifications: Doctrine\ORM\PersistentCollection {#4259 …}
-id: 1413
-bodyTs: "'/pictrs/image/70cae57f-710c-4dc5-ba06-204efec4ecf2.jpeg)':5 'built':8 'comput':20 'correct':16 'detect':17 'lemmy.ca':4 'lemmy.ca/pictrs/image/70cae57f-710c-4dc5-ba06-204efec4ecf2.jpeg)':3 'monstros':10 'need':24 'proper':28 'signal':14 'test':11 'wire':26 'work':2"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/467632"
+editedAt: DateTimeImmutable @1687310832 {#4251
date: 2023-06-21 03:27:12.0 +02:00
}
+createdAt: DateTimeImmutable @1687310758 {#4253
date: 2023-06-21 03:25:58.0 +02:00
}
}
+root: App\Entity\EntryComment {#4079}
+body: "Well done, good to hear"
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1687328506 {#4271
date: 2023-06-21 08:21:46.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@lightrush@lemmy.ca"
"@hardware26@discuss.tchncs.de"
]
+children: Doctrine\ORM\PersistentCollection {#4268 …}
+nested: Doctrine\ORM\PersistentCollection {#4265 …}
+votes: Doctrine\ORM\PersistentCollection {#4263 …}
+reports: Doctrine\ORM\PersistentCollection {#4277 …}
+favourites: Doctrine\ORM\PersistentCollection {#4279 …}
+notifications: Doctrine\ORM\PersistentCollection {#4281 …}
-id: 1426
-bodyTs: "'done':2 'good':3 'hear':5 'well':1"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://discuss.tchncs.de/comment/297446"
+editedAt: null
+createdAt: DateTimeImmutable @1687328506 {#4274
date: 2023-06-21 08:21:46.0 +02:00
}
} |
|
Show voter details
|
24 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4276
+user: App\Entity\User {#4028 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "askelectronics@discuss.tchncs.de"
+title: "askelectronics"
+description: """
**For questions about component-level electronic circuits, tools and equipment.**\n
\n
Rules\n
-----\n
\n
1: Be nice.\n
\n
2: Be on-topic (eg: *Electronic*, not *electrical*).\n
\n
3: No commercial stuff, buying, selling or valuations.\n
\n
4: Be safe.\n
\n
---
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 154
+entryCommentCount: 1230
+postCount: 1
+postCommentCount: 4
+isAdult: false
+customCss: null
+lastActive: DateTime @1729413608 {#276
date: 2024-10-20 10:40:08.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 11
+apId: "askelectronics@discuss.tchncs.de"
+apProfileId: "https://discuss.tchncs.de/c/askelectronics"
+apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
+apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
+apInboxUrl: "https://discuss.tchncs.de/inbox"
+apDomain: "discuss.tchncs.de"
+apPreferredUsername: "askelectronics"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1727247714 {#270
date: 2024-09-25 09:01:54.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1687144409 {#272
date: 2023-06-19 05:13:29.0 +02:00
}
}
+image: Proxies\__CG__\App\Entity\Image {#1943 …}
+domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
+slug: "SOLVED-A-pull-up-resistor-increases-the-low-side-of-a"
+title: "[SOLVED] A pull-up resistor increases the low side of a signal, how can I counteract it?"
+url: "https://electronics.stackexchange.com/q/670924/107963"
+body: """
Solution\n
--------\n
\n
Using an open drain buffer like the `74LVC1G07` did the trick. Note that this part only works for inputs with a pull-up resistor. There are other parts from the same lineup that can work with any input.\n
\n
Problem\n
-------\n
\n
> I have an ebike computer that has two inputs that accept square wave signals. The range is 0-5V. One of the inputs has no pull-up/down resistors on it. When I hook up a device producing signal, the signal is detected correctly. Both highs and lows are detected correctly. The other input has a built-in pull-up resistor. When I hook the same signal to it, only the high side is detected. Measuring the voltage of the low side, it's a bit higher than when hooked to the other input and I'm guessing it isn't crossing the low threshold the computer expects in order to register the low.\n
\n
> Am I right in thinking that the pull-up resistor is increasing the lows?\n
\n
> Is it possible to counteract the internal pull-up resistor by hooking a pull-down resistor to the input?\n
\n
> I'm a software guy with decent soldering skills and minimal knowledge in electronics so please answer like I'm not the brightest electronic bulb on the tree.\n
\n
> Thank you in advance!\n
\n
Cross-posting my question from StackExchange.
"""
+type: "link"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 6
+favouriteCount: 3
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1687328506 {#2410
date: 2023-06-21 08:21:46.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1866 …}
+votes: Doctrine\ORM\PersistentCollection {#1966 …}
+reports: Doctrine\ORM\PersistentCollection {#1946 …}
+favourites: Doctrine\ORM\PersistentCollection {#1368 …}
+notifications: Doctrine\ORM\PersistentCollection {#2426 …}
+badges: Doctrine\ORM\PersistentCollection {#2439 …}
+children: []
-id: 132
-titleTs: "'counteract':17 'increas':7 'low':9 'pull':4 'pull-up':3 'resistor':6 'side':10 'signal':13 'solv':1"
-bodyTs: "'-5':60 '/down':71 '0':59 '74lvc1g07':9 'accept':52 'advanc':227 'answer':212 'bit':131 'brightest':218 'buffer':6 'built':101 'built-in':100 'bulb':220 'comput':46,152 'correct':87,94 'counteract':179 'cross':147,229 'cross-post':228 'decent':202 'detect':86,93,120 'devic':80 'drain':5 'ebik':45 'electron':209,219 'expect':153 'guess':143 'guy':200 'high':89,117 'higher':132 'hook':77,109,135,187 'increas':172 'input':20,40,50,65,97,139,195 'intern':181 'isn':145 'knowledg':207 'like':7,213 'lineup':34 'low':91,126,149,159,174 'm':142,197,215 'measur':121 'minim':206 'note':13 'one':62 'open':4 'order':155 'part':16,30 'pleas':211 'possibl':177 'post':230 'problem':41 'produc':81 'pull':24,69,104,168,183,190 'pull-down':189 'pull-up':23,68,103,167,182 'question':232 'rang':57 'regist':157 'resistor':26,72,106,170,185,192 'right':162 'side':118,127 'signal':55,82,84,112 'skill':204 'softwar':199 'solder':203 'solut':1 'squar':53 'stackexchang':234 'thank':224 'think':164 'threshold':150 'tree':223 'trick':12 'two':49 'use':2 'v':61 'voltag':123 'wave':54 'work':18,37"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1687130578
+visibility: "visible "
+apId: "https://lemmy.ca/post/738378"
+editedAt: DateTimeImmutable @1687363171 {#1850
date: 2023-06-21 17:59:31.0 +02:00
}
+createdAt: DateTimeImmutable @1687102078 {#2420
date: 2023-06-18 17:27:58.0 +02:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4245
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4231
+user: App\Entity\User {#4028 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4202
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4079
+user: App\Entity\User {#4028 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: """
Problem you are having could be\n
\n
1. output impedance of the signal generator you use to generate the square wave. When you set it to low, output impedance of the signal generator builds a voltage divider together with the internal pull up, and the device ends up sensing a higher voltage than "low". This is something you can see if you have an oscilloscope, try to hook up a probe to the input and ensure whether you get what you set in the signal generator.\n
2. some signal sources have no or limited capacity to drain current. And when you set it to low, this is exactly what it us supposed to do, drain current from the internal pullup.\n
\n
As you mentioned in another comment, solution is a simple buffer. This could be an opamp, but even a simple nmos transistor should suffice (open drain as you said). But you need yo be careful with current ratings of the transistor, which you can easily calculate by dividing 5V by the pull up resistor. Send a message if you need help.\n
\n
Before these, I suggest you yo use an oscilloscope or multimeter to measure the voltage when it is supposed to be low, and see that in fact the problem is that voltage at the input doesn't go "low".
"""
+lang: "en"
+isAdult: false
+favouriteCount: 3
+score: 0
+lastActive: DateTime @1687328507 {#4088
date: 2023-06-21 08:21:47.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@lightrush@lemmy.ca"
]
+children: Doctrine\ORM\PersistentCollection {#4077 …}
+nested: Doctrine\ORM\PersistentCollection {#4075 …}
+votes: Doctrine\ORM\PersistentCollection {#4073 …}
+reports: Doctrine\ORM\PersistentCollection {#4071 …}
+favourites: Doctrine\ORM\PersistentCollection {#4039 …}
+notifications: Doctrine\ORM\PersistentCollection {#4043 …}
-id: 1049
-bodyTs: "'1':7 '2':86 '5v':168 'anoth':124 'buffer':130 'build':33 'calcul':165 'capac':94 'care':154 'comment':125 'could':5,132 'current':97,115,156 'devic':45 'divid':36,167 'doesn':216 'drain':96,114,145 'easili':164 'end':46 'ensur':75 'even':137 'exact':107 'fact':207 'generat':13,17,32,85 'get':78 'go':218 'help':180 'higher':50 'hook':67 'imped':9,28 'input':73,215 'intern':40,118 'limit':93 'low':26,53,104,202,219 'measur':193 'mention':122 'messag':176 'multimet':191 'need':151,179 'nmos':140 'opamp':135 'open':144 'oscilloscop':64,189 'output':8,27 'probe':70 'problem':1,209 'pull':41,171 'pullup':119 'rate':157 'resistor':173 'said':148 'see':59,204 'send':174 'sens':48 'set':23,81,101 'signal':12,31,84,88 'simpl':129,139 'solut':126 'someth':56 'sourc':89 'squar':19 'suffic':143 'suggest':184 'suppos':111,199 'togeth':37 'transistor':141,160 'tri':65 'us':110 'use':15,187 'voltag':35,51,195,212 'wave':20 'whether':76 'yo':152,186"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://discuss.tchncs.de/comment/258939"
+editedAt: null
+createdAt: DateTimeImmutable @1687149310 {#4020
date: 2023-06-19 06:35:10.0 +02:00
}
}
+root: App\Entity\EntryComment {#4079}
+body: """
Thanks for the explanation!\n
\n
I measured the signal generator alone, not connected to the input. It goes to 4.5V high and 0.001V low. Then I connected it to the input and measured at the input. I got 4.5V high and 1.1V low.\n
\n
Also I ordered the 74LVC1G07 buffer along with a breakout board which should allow me to hook it up inline and test. I'll report back when I do.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1687155877 {#4199
date: 2023-06-19 08:24:37.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@lightrush@lemmy.ca"
"@hardware26@discuss.tchncs.de"
]
+children: Doctrine\ORM\PersistentCollection {#4205 …}
+nested: Doctrine\ORM\PersistentCollection {#4207 …}
+votes: Doctrine\ORM\PersistentCollection {#4203 …}
+reports: Doctrine\ORM\PersistentCollection {#4210 …}
+favourites: Doctrine\ORM\PersistentCollection {#4212 …}
+notifications: Doctrine\ORM\PersistentCollection {#4214 …}
-id: 1071
-bodyTs: "'0.001':23 '1.1':44 '4.5':19,40 '74lvc1g07':51 'allow':60 'alon':10 'along':53 'also':47 'back':72 'board':57 'breakout':56 'buffer':52 'connect':12,28 'explan':4 'generat':9 'goe':17 'got':39 'high':21,42 'hook':63 'inlin':66 'input':15,32,37 'll':70 'low':25,46 'measur':6,34 'order':49 'report':71 'signal':8 'test':68 'thank':1 'v':20,24,41,45"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/430385"
+editedAt: DateTimeImmutable @1687155895 {#4196
date: 2023-06-19 08:24:55.0 +02:00
}
+createdAt: DateTimeImmutable @1687155877 {#4194
date: 2023-06-19 08:24:37.0 +02:00
}
}
+root: App\Entity\EntryComment {#4079}
+body: "It should do the trick I think. If you are working on electronics a lot, you may consider buying a breadboard and variety of resistors, capacitors and nmos, pros, bjt transistors in bulk for quick fixes instead of waiting for orders to proceed. Have fun"
+lang: "en"
+isAdult: false
+favouriteCount: 2
+score: 0
+lastActive: DateTime @1687172316 {#4226
date: 2023-06-19 12:58:36.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@lightrush@lemmy.ca"
"@hardware26@discuss.tchncs.de"
]
+children: Doctrine\ORM\PersistentCollection {#4223 …}
+nested: Doctrine\ORM\PersistentCollection {#4220 …}
+votes: Doctrine\ORM\PersistentCollection {#4218 …}
+reports: Doctrine\ORM\PersistentCollection {#4232 …}
+favourites: Doctrine\ORM\PersistentCollection {#4234 …}
+notifications: Doctrine\ORM\PersistentCollection {#4236 …}
-id: 1097
-bodyTs: "'bjt':30 'breadboard':21 'bulk':33 'buy':19 'capacitor':26 'consid':18 'electron':13 'fix':36 'fun':45 'instead':37 'lot':15 'may':17 'nmos':28 'order':41 'proceed':43 'pros':29 'quick':35 'resistor':25 'think':7 'transistor':31 'trick':5 'varieti':23 'wait':39 'work':11"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://discuss.tchncs.de/comment/262885"
+editedAt: null
+createdAt: DateTimeImmutable @1687172316 {#4229
date: 2023-06-19 12:58:36.0 +02:00
}
}
+root: App\Entity\EntryComment {#4079}
+body: """
It works!\n
\n
\n
\n
I just built this monstrosity, tested and the signal is correctly detected by the computer. 👌\n
\n
Now I just need to wire it properly.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1687310758 {#4248
date: 2023-06-21 03:25:58.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@lightrush@lemmy.ca"
"@hardware26@discuss.tchncs.de"
]
+children: Doctrine\ORM\PersistentCollection {#4243 …}
+nested: Doctrine\ORM\PersistentCollection {#4241 …}
+votes: Doctrine\ORM\PersistentCollection {#4239 …}
+reports: Doctrine\ORM\PersistentCollection {#4255 …}
+favourites: Doctrine\ORM\PersistentCollection {#4257 …}
+notifications: Doctrine\ORM\PersistentCollection {#4259 …}
-id: 1413
-bodyTs: "'/pictrs/image/70cae57f-710c-4dc5-ba06-204efec4ecf2.jpeg)':5 'built':8 'comput':20 'correct':16 'detect':17 'lemmy.ca':4 'lemmy.ca/pictrs/image/70cae57f-710c-4dc5-ba06-204efec4ecf2.jpeg)':3 'monstros':10 'need':24 'proper':28 'signal':14 'test':11 'wire':26 'work':2"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ca/comment/467632"
+editedAt: DateTimeImmutable @1687310832 {#4251
date: 2023-06-21 03:27:12.0 +02:00
}
+createdAt: DateTimeImmutable @1687310758 {#4253
date: 2023-06-21 03:25:58.0 +02:00
}
}
+root: App\Entity\EntryComment {#4079}
+body: "Well done, good to hear"
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1687328506 {#4271
date: 2023-06-21 08:21:46.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@lightrush@lemmy.ca"
"@hardware26@discuss.tchncs.de"
]
+children: Doctrine\ORM\PersistentCollection {#4268 …}
+nested: Doctrine\ORM\PersistentCollection {#4265 …}
+votes: Doctrine\ORM\PersistentCollection {#4263 …}
+reports: Doctrine\ORM\PersistentCollection {#4277 …}
+favourites: Doctrine\ORM\PersistentCollection {#4279 …}
+notifications: Doctrine\ORM\PersistentCollection {#4281 …}
-id: 1426
-bodyTs: "'done':2 'good':3 'hear':5 'well':1"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://discuss.tchncs.de/comment/297446"
+editedAt: null
+createdAt: DateTimeImmutable @1687328506 {#4274
date: 2023-06-21 08:21:46.0 +02:00
}
} |
|
Show voter details
|
25 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
26 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4125
+user: App\Entity\User {#4109 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "askelectronics@discuss.tchncs.de"
+title: "askelectronics"
+description: """
**For questions about component-level electronic circuits, tools and equipment.**\n
\n
Rules\n
-----\n
\n
1: Be nice.\n
\n
2: Be on-topic (eg: *Electronic*, not *electrical*).\n
\n
3: No commercial stuff, buying, selling or valuations.\n
\n
4: Be safe.\n
\n
---
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 154
+entryCommentCount: 1230
+postCount: 1
+postCommentCount: 4
+isAdult: false
+customCss: null
+lastActive: DateTime @1729413608 {#276
date: 2024-10-20 10:40:08.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 11
+apId: "askelectronics@discuss.tchncs.de"
+apProfileId: "https://discuss.tchncs.de/c/askelectronics"
+apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
+apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
+apInboxUrl: "https://discuss.tchncs.de/inbox"
+apDomain: "discuss.tchncs.de"
+apPreferredUsername: "askelectronics"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1727247714 {#270
date: 2024-09-25 09:01:54.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1687144409 {#272
date: 2023-06-19 05:13:29.0 +02:00
}
}
+image: Proxies\__CG__\App\Entity\Image {#1943 …}
+domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
+slug: "SOLVED-A-pull-up-resistor-increases-the-low-side-of-a"
+title: "[SOLVED] A pull-up resistor increases the low side of a signal, how can I counteract it?"
+url: "https://electronics.stackexchange.com/q/670924/107963"
+body: """
Solution\n
--------\n
\n
Using an open drain buffer like the `74LVC1G07` did the trick. Note that this part only works for inputs with a pull-up resistor. There are other parts from the same lineup that can work with any input.\n
\n
Problem\n
-------\n
\n
> I have an ebike computer that has two inputs that accept square wave signals. The range is 0-5V. One of the inputs has no pull-up/down resistors on it. When I hook up a device producing signal, the signal is detected correctly. Both highs and lows are detected correctly. The other input has a built-in pull-up resistor. When I hook the same signal to it, only the high side is detected. Measuring the voltage of the low side, it's a bit higher than when hooked to the other input and I'm guessing it isn't crossing the low threshold the computer expects in order to register the low.\n
\n
> Am I right in thinking that the pull-up resistor is increasing the lows?\n
\n
> Is it possible to counteract the internal pull-up resistor by hooking a pull-down resistor to the input?\n
\n
> I'm a software guy with decent soldering skills and minimal knowledge in electronics so please answer like I'm not the brightest electronic bulb on the tree.\n
\n
> Thank you in advance!\n
\n
Cross-posting my question from StackExchange.
"""
+type: "link"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 6
+favouriteCount: 3
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1687328506 {#2410
date: 2023-06-21 08:21:46.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1866 …}
+votes: Doctrine\ORM\PersistentCollection {#1966 …}
+reports: Doctrine\ORM\PersistentCollection {#1946 …}
+favourites: Doctrine\ORM\PersistentCollection {#1368 …}
+notifications: Doctrine\ORM\PersistentCollection {#2426 …}
+badges: Doctrine\ORM\PersistentCollection {#2439 …}
+children: []
-id: 132
-titleTs: "'counteract':17 'increas':7 'low':9 'pull':4 'pull-up':3 'resistor':6 'side':10 'signal':13 'solv':1"
-bodyTs: "'-5':60 '/down':71 '0':59 '74lvc1g07':9 'accept':52 'advanc':227 'answer':212 'bit':131 'brightest':218 'buffer':6 'built':101 'built-in':100 'bulb':220 'comput':46,152 'correct':87,94 'counteract':179 'cross':147,229 'cross-post':228 'decent':202 'detect':86,93,120 'devic':80 'drain':5 'ebik':45 'electron':209,219 'expect':153 'guess':143 'guy':200 'high':89,117 'higher':132 'hook':77,109,135,187 'increas':172 'input':20,40,50,65,97,139,195 'intern':181 'isn':145 'knowledg':207 'like':7,213 'lineup':34 'low':91,126,149,159,174 'm':142,197,215 'measur':121 'minim':206 'note':13 'one':62 'open':4 'order':155 'part':16,30 'pleas':211 'possibl':177 'post':230 'problem':41 'produc':81 'pull':24,69,104,168,183,190 'pull-down':189 'pull-up':23,68,103,167,182 'question':232 'rang':57 'regist':157 'resistor':26,72,106,170,185,192 'right':162 'side':118,127 'signal':55,82,84,112 'skill':204 'softwar':199 'solder':203 'solut':1 'squar':53 'stackexchang':234 'thank':224 'think':164 'threshold':150 'tree':223 'trick':12 'two':49 'use':2 'v':61 'voltag':123 'wave':54 'work':18,37"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1687130578
+visibility: "visible "
+apId: "https://lemmy.ca/post/738378"
+editedAt: DateTimeImmutable @1687363171 {#1850
date: 2023-06-21 17:59:31.0 +02:00
}
+createdAt: DateTimeImmutable @1687102078 {#2420
date: 2023-06-18 17:27:58.0 +02:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: "Do you have a good low impedance ground connection between the devices? This sounds like there is something else going on."
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1687102814 {#4131
date: 2023-06-18 17:40:14.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@lightrush@lemmy.ca"
]
+children: Doctrine\ORM\PersistentCollection {#4117 …}
+nested: Doctrine\ORM\PersistentCollection {#4120 …}
+votes: Doctrine\ORM\PersistentCollection {#4118 …}
+reports: Doctrine\ORM\PersistentCollection {#4116 …}
+favourites: Doctrine\ORM\PersistentCollection {#4115 …}
+notifications: Doctrine\ORM\PersistentCollection {#4106 …}
-id: 1131
-bodyTs: "'connect':9 'devic':12 'els':19 'go':20 'good':5 'ground':8 'imped':7 'like':15 'low':6 'someth':18 'sound':14"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://sh.itjust.works/comment/274593"
+editedAt: null
+createdAt: DateTimeImmutable @1687102814 {#4129
date: 2023-06-18 17:40:14.0 +02:00
}
} |
|
Show voter details
|
27 |
DENIED
|
edit
|
App\Entity\EntryComment {#4125
+user: App\Entity\User {#4109 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "askelectronics@discuss.tchncs.de"
+title: "askelectronics"
+description: """
**For questions about component-level electronic circuits, tools and equipment.**\n
\n
Rules\n
-----\n
\n
1: Be nice.\n
\n
2: Be on-topic (eg: *Electronic*, not *electrical*).\n
\n
3: No commercial stuff, buying, selling or valuations.\n
\n
4: Be safe.\n
\n
---
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 154
+entryCommentCount: 1230
+postCount: 1
+postCommentCount: 4
+isAdult: false
+customCss: null
+lastActive: DateTime @1729413608 {#276
date: 2024-10-20 10:40:08.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 11
+apId: "askelectronics@discuss.tchncs.de"
+apProfileId: "https://discuss.tchncs.de/c/askelectronics"
+apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
+apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
+apInboxUrl: "https://discuss.tchncs.de/inbox"
+apDomain: "discuss.tchncs.de"
+apPreferredUsername: "askelectronics"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1727247714 {#270
date: 2024-09-25 09:01:54.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1687144409 {#272
date: 2023-06-19 05:13:29.0 +02:00
}
}
+image: Proxies\__CG__\App\Entity\Image {#1943 …}
+domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
+slug: "SOLVED-A-pull-up-resistor-increases-the-low-side-of-a"
+title: "[SOLVED] A pull-up resistor increases the low side of a signal, how can I counteract it?"
+url: "https://electronics.stackexchange.com/q/670924/107963"
+body: """
Solution\n
--------\n
\n
Using an open drain buffer like the `74LVC1G07` did the trick. Note that this part only works for inputs with a pull-up resistor. There are other parts from the same lineup that can work with any input.\n
\n
Problem\n
-------\n
\n
> I have an ebike computer that has two inputs that accept square wave signals. The range is 0-5V. One of the inputs has no pull-up/down resistors on it. When I hook up a device producing signal, the signal is detected correctly. Both highs and lows are detected correctly. The other input has a built-in pull-up resistor. When I hook the same signal to it, only the high side is detected. Measuring the voltage of the low side, it's a bit higher than when hooked to the other input and I'm guessing it isn't crossing the low threshold the computer expects in order to register the low.\n
\n
> Am I right in thinking that the pull-up resistor is increasing the lows?\n
\n
> Is it possible to counteract the internal pull-up resistor by hooking a pull-down resistor to the input?\n
\n
> I'm a software guy with decent soldering skills and minimal knowledge in electronics so please answer like I'm not the brightest electronic bulb on the tree.\n
\n
> Thank you in advance!\n
\n
Cross-posting my question from StackExchange.
"""
+type: "link"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 6
+favouriteCount: 3
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1687328506 {#2410
date: 2023-06-21 08:21:46.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1866 …}
+votes: Doctrine\ORM\PersistentCollection {#1966 …}
+reports: Doctrine\ORM\PersistentCollection {#1946 …}
+favourites: Doctrine\ORM\PersistentCollection {#1368 …}
+notifications: Doctrine\ORM\PersistentCollection {#2426 …}
+badges: Doctrine\ORM\PersistentCollection {#2439 …}
+children: []
-id: 132
-titleTs: "'counteract':17 'increas':7 'low':9 'pull':4 'pull-up':3 'resistor':6 'side':10 'signal':13 'solv':1"
-bodyTs: "'-5':60 '/down':71 '0':59 '74lvc1g07':9 'accept':52 'advanc':227 'answer':212 'bit':131 'brightest':218 'buffer':6 'built':101 'built-in':100 'bulb':220 'comput':46,152 'correct':87,94 'counteract':179 'cross':147,229 'cross-post':228 'decent':202 'detect':86,93,120 'devic':80 'drain':5 'ebik':45 'electron':209,219 'expect':153 'guess':143 'guy':200 'high':89,117 'higher':132 'hook':77,109,135,187 'increas':172 'input':20,40,50,65,97,139,195 'intern':181 'isn':145 'knowledg':207 'like':7,213 'lineup':34 'low':91,126,149,159,174 'm':142,197,215 'measur':121 'minim':206 'note':13 'one':62 'open':4 'order':155 'part':16,30 'pleas':211 'possibl':177 'post':230 'problem':41 'produc':81 'pull':24,69,104,168,183,190 'pull-down':189 'pull-up':23,68,103,167,182 'question':232 'rang':57 'regist':157 'resistor':26,72,106,170,185,192 'right':162 'side':118,127 'signal':55,82,84,112 'skill':204 'softwar':199 'solder':203 'solut':1 'squar':53 'stackexchang':234 'thank':224 'think':164 'threshold':150 'tree':223 'trick':12 'two':49 'use':2 'v':61 'voltag':123 'wave':54 'work':18,37"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1687130578
+visibility: "visible "
+apId: "https://lemmy.ca/post/738378"
+editedAt: DateTimeImmutable @1687363171 {#1850
date: 2023-06-21 17:59:31.0 +02:00
}
+createdAt: DateTimeImmutable @1687102078 {#2420
date: 2023-06-18 17:27:58.0 +02:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: "Do you have a good low impedance ground connection between the devices? This sounds like there is something else going on."
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1687102814 {#4131
date: 2023-06-18 17:40:14.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@lightrush@lemmy.ca"
]
+children: Doctrine\ORM\PersistentCollection {#4117 …}
+nested: Doctrine\ORM\PersistentCollection {#4120 …}
+votes: Doctrine\ORM\PersistentCollection {#4118 …}
+reports: Doctrine\ORM\PersistentCollection {#4116 …}
+favourites: Doctrine\ORM\PersistentCollection {#4115 …}
+notifications: Doctrine\ORM\PersistentCollection {#4106 …}
-id: 1131
-bodyTs: "'connect':9 'devic':12 'els':19 'go':20 'good':5 'ground':8 'imped':7 'like':15 'low':6 'someth':18 'sound':14"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://sh.itjust.works/comment/274593"
+editedAt: null
+createdAt: DateTimeImmutable @1687102814 {#4129
date: 2023-06-18 17:40:14.0 +02:00
}
} |
|
Show voter details
|
28 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4125
+user: App\Entity\User {#4109 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "askelectronics@discuss.tchncs.de"
+title: "askelectronics"
+description: """
**For questions about component-level electronic circuits, tools and equipment.**\n
\n
Rules\n
-----\n
\n
1: Be nice.\n
\n
2: Be on-topic (eg: *Electronic*, not *electrical*).\n
\n
3: No commercial stuff, buying, selling or valuations.\n
\n
4: Be safe.\n
\n
---
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 154
+entryCommentCount: 1230
+postCount: 1
+postCommentCount: 4
+isAdult: false
+customCss: null
+lastActive: DateTime @1729413608 {#276
date: 2024-10-20 10:40:08.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 11
+apId: "askelectronics@discuss.tchncs.de"
+apProfileId: "https://discuss.tchncs.de/c/askelectronics"
+apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
+apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
+apInboxUrl: "https://discuss.tchncs.de/inbox"
+apDomain: "discuss.tchncs.de"
+apPreferredUsername: "askelectronics"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1727247714 {#270
date: 2024-09-25 09:01:54.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1687144409 {#272
date: 2023-06-19 05:13:29.0 +02:00
}
}
+image: Proxies\__CG__\App\Entity\Image {#1943 …}
+domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
+slug: "SOLVED-A-pull-up-resistor-increases-the-low-side-of-a"
+title: "[SOLVED] A pull-up resistor increases the low side of a signal, how can I counteract it?"
+url: "https://electronics.stackexchange.com/q/670924/107963"
+body: """
Solution\n
--------\n
\n
Using an open drain buffer like the `74LVC1G07` did the trick. Note that this part only works for inputs with a pull-up resistor. There are other parts from the same lineup that can work with any input.\n
\n
Problem\n
-------\n
\n
> I have an ebike computer that has two inputs that accept square wave signals. The range is 0-5V. One of the inputs has no pull-up/down resistors on it. When I hook up a device producing signal, the signal is detected correctly. Both highs and lows are detected correctly. The other input has a built-in pull-up resistor. When I hook the same signal to it, only the high side is detected. Measuring the voltage of the low side, it's a bit higher than when hooked to the other input and I'm guessing it isn't crossing the low threshold the computer expects in order to register the low.\n
\n
> Am I right in thinking that the pull-up resistor is increasing the lows?\n
\n
> Is it possible to counteract the internal pull-up resistor by hooking a pull-down resistor to the input?\n
\n
> I'm a software guy with decent soldering skills and minimal knowledge in electronics so please answer like I'm not the brightest electronic bulb on the tree.\n
\n
> Thank you in advance!\n
\n
Cross-posting my question from StackExchange.
"""
+type: "link"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 6
+favouriteCount: 3
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1687328506 {#2410
date: 2023-06-21 08:21:46.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1866 …}
+votes: Doctrine\ORM\PersistentCollection {#1966 …}
+reports: Doctrine\ORM\PersistentCollection {#1946 …}
+favourites: Doctrine\ORM\PersistentCollection {#1368 …}
+notifications: Doctrine\ORM\PersistentCollection {#2426 …}
+badges: Doctrine\ORM\PersistentCollection {#2439 …}
+children: []
-id: 132
-titleTs: "'counteract':17 'increas':7 'low':9 'pull':4 'pull-up':3 'resistor':6 'side':10 'signal':13 'solv':1"
-bodyTs: "'-5':60 '/down':71 '0':59 '74lvc1g07':9 'accept':52 'advanc':227 'answer':212 'bit':131 'brightest':218 'buffer':6 'built':101 'built-in':100 'bulb':220 'comput':46,152 'correct':87,94 'counteract':179 'cross':147,229 'cross-post':228 'decent':202 'detect':86,93,120 'devic':80 'drain':5 'ebik':45 'electron':209,219 'expect':153 'guess':143 'guy':200 'high':89,117 'higher':132 'hook':77,109,135,187 'increas':172 'input':20,40,50,65,97,139,195 'intern':181 'isn':145 'knowledg':207 'like':7,213 'lineup':34 'low':91,126,149,159,174 'm':142,197,215 'measur':121 'minim':206 'note':13 'one':62 'open':4 'order':155 'part':16,30 'pleas':211 'possibl':177 'post':230 'problem':41 'produc':81 'pull':24,69,104,168,183,190 'pull-down':189 'pull-up':23,68,103,167,182 'question':232 'rang':57 'regist':157 'resistor':26,72,106,170,185,192 'right':162 'side':118,127 'signal':55,82,84,112 'skill':204 'softwar':199 'solder':203 'solut':1 'squar':53 'stackexchang':234 'thank':224 'think':164 'threshold':150 'tree':223 'trick':12 'two':49 'use':2 'v':61 'voltag':123 'wave':54 'work':18,37"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1687130578
+visibility: "visible "
+apId: "https://lemmy.ca/post/738378"
+editedAt: DateTimeImmutable @1687363171 {#1850
date: 2023-06-21 17:59:31.0 +02:00
}
+createdAt: DateTimeImmutable @1687102078 {#2420
date: 2023-06-18 17:27:58.0 +02:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: "Do you have a good low impedance ground connection between the devices? This sounds like there is something else going on."
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1687102814 {#4131
date: 2023-06-18 17:40:14.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@lightrush@lemmy.ca"
]
+children: Doctrine\ORM\PersistentCollection {#4117 …}
+nested: Doctrine\ORM\PersistentCollection {#4120 …}
+votes: Doctrine\ORM\PersistentCollection {#4118 …}
+reports: Doctrine\ORM\PersistentCollection {#4116 …}
+favourites: Doctrine\ORM\PersistentCollection {#4115 …}
+notifications: Doctrine\ORM\PersistentCollection {#4106 …}
-id: 1131
-bodyTs: "'connect':9 'devic':12 'els':19 'go':20 'good':5 'ground':8 'imped':7 'like':15 'low':6 'someth':18 'sound':14"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://sh.itjust.works/comment/274593"
+editedAt: null
+createdAt: DateTimeImmutable @1687102814 {#4129
date: 2023-06-18 17:40:14.0 +02:00
}
} |
|
Show voter details
|
29 |
DENIED
|
edit
|
App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "askelectronics@discuss.tchncs.de"
+title: "askelectronics"
+description: """
**For questions about component-level electronic circuits, tools and equipment.**\n
\n
Rules\n
-----\n
\n
1: Be nice.\n
\n
2: Be on-topic (eg: *Electronic*, not *electrical*).\n
\n
3: No commercial stuff, buying, selling or valuations.\n
\n
4: Be safe.\n
\n
---
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 154
+entryCommentCount: 1230
+postCount: 1
+postCommentCount: 4
+isAdult: false
+customCss: null
+lastActive: DateTime @1729413608 {#276
date: 2024-10-20 10:40:08.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 11
+apId: "askelectronics@discuss.tchncs.de"
+apProfileId: "https://discuss.tchncs.de/c/askelectronics"
+apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
+apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
+apInboxUrl: "https://discuss.tchncs.de/inbox"
+apDomain: "discuss.tchncs.de"
+apPreferredUsername: "askelectronics"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1727247714 {#270
date: 2024-09-25 09:01:54.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1687144409 {#272
date: 2023-06-19 05:13:29.0 +02:00
}
} |
|
Show voter details
|