#avr Logs

Dec 30 2019

#avr Calendar

10:46 AM skz81: <vmt> you should just have a keyboard with keys [to] write a nibble at a time >> http://matthieu.benoit.free.fr/DATAIO_201_programmer_resources.htm
10:51 AM skz81: here it is, just plug in your EPROM and go :)
11:22 AM nohit: skz81: :D
11:22 AM nohit: nice
01:13 PM mouseghost: hi, does anyone have an idea on how to debug why doesnt my 1 wire work :D?
01:13 PM mouseghost: i use internal avr pullup
01:13 PM mouseghost: presence pulse works
01:15 PM mouseghost: https://bpaste.net/IUSA
01:17 PM Fuchikoma: I don't suppose you have a logic analyzer or DSO scope?
01:18 PM Fuchikoma: If the pulse works that means all your hardware is configured okay, so it's possibly a timing issue
01:18 PM mouseghost: nope, i dont have one (yet)
01:18 PM mouseghost: do you think it is possible that i might have burned it so that presence works but anything else doesnt? Fuchikoma
01:19 PM Fuchikoma: Nah
01:20 PM mouseghost: i was like what until i saw "bottom view" caption lol
01:20 PM Fuchikoma: I can tell you that toggling the bit does not require you to be toggling the actual port pin
01:21 PM Fuchikoma: That's not important though
01:21 PM Fuchikoma: Without some way to see or record the state of the pin over time you really have no way of knowing if it's working properly
01:21 PM mouseghost: oh welp :/
01:21 PM Fuchikoma: What is the device talking to?
01:21 PM mouseghost: i need to get one then
01:21 PM mouseghost: Fuchikoma, DS18B20
01:22 PM Fuchikoma: Ah
01:22 PM mouseghost: cooked medium rare
01:23 PM mouseghost: a btw regarding that paste, i fixed presence now (it didnt wait till the end of 480us)
01:23 PM Fuchikoma: Yeah you can get a USB logic analyzer pretty cheap and plenty good enough. You might be able to cobble something to use your computer's sound card input
01:24 PM mouseghost: huh
01:25 PM mouseghost: i mean, its rather a question of if i can find it locally or something
01:25 PM mouseghost: ive seen it online yeah
01:25 PM Fuchikoma: Got any resistors?
01:27 PM mouseghost: Fuchikoma, why?
01:27 PM PoppaVic: take 2 with a glass of beer.
01:28 PM Fuchikoma: Sound card oscilloscope hack is good for ~48KHz :p
01:28 PM mouseghost: im scared of connecting these things to usb through bought programmer/usb2ttl so thanks but ill wait till i get that logic level thing :D
01:28 PM mouseghost: PoppaVic, cant legally drink alcohol :v
01:31 PM mouseghost: mmm my led hot
01:32 PM mouseghost: i wonder if its because there aint no resistors on ma board
01:32 PM Fuchikoma: yes it absolutely is
01:32 PM mouseghost: #noresistorsclub
01:33 PM Fuchikoma: If you're going to buy a logic analyzer, which is a very nice tool to have to debugging digital signals, I recommend something that's comparible with Sigrok software
01:33 PM mouseghost: Fuchikoma, i was thinking of buying something called saleae
01:33 PM mouseghost: its like, 7 dollars?
01:33 PM mouseghost: 8
01:33 PM Fuchikoma: I thought they were a liot more expensive than that
01:34 PM mouseghost: ;w; and i went outdoors today (woo) to buy the things D:
01:34 PM mouseghost: Fuchikoma, like what
01:35 PM Fuchikoma: Yeah Saleae starts at like US$400
01:35 PM Fuchikoma: Just as overpriced as I remember :)
01:35 PM mouseghost: let me uh hotlink you an image
01:35 PM mouseghost: i think its a ripoff anyways
01:36 PM mouseghost: https://a.allegroimg.com/original/03b665/94452ffa4a7093492b663853ae83/Analizator-stanow-logicznych-Saleae-8-kanalow-24M Fuchikoma
01:36 PM mouseghost: oh maybe it uses saleae soft :V
01:36 PM Fuchikoma: Yeah that's a clone
01:36 PM mouseghost: yes, sorry, it is 'compatible' indeed :v
01:36 PM mouseghost: my bad
01:37 PM Fuchikoma: Not necessarily a problem, they aren't very complex devices
01:37 PM mouseghost: tfw debugging through serial
01:38 PM mouseghost: yep thanks for that LLA advice, second person to give it to me hah
01:45 PM * mouseghost growls at inability to do things right here right now
02:29 PM twnqx: so uh... any idea why my stepper motor driver would run 0.65A through its H-Bridges... idle?
02:29 PM twnqx: that's measuered with a multimeter, so RMS at best
02:30 PM twnqx: the driver also gets VERY hot
02:42 PM Fuchikoma: Holding torque
02:42 PM Fuchikoma: If there's an enable pin make sure you're using it properly
05:01 PM cehteh: steppers always need some power including when idle
05:01 PM cehteh: better stepper drivers reduce idle current
11:53 PM day__ is now known as day