#garfield Logs
Jan 25 2020
#garfield Calendar
12:11 PM Tom_L: https://trandi.wordpress.com/2014/09/17/fpga-rc-servo-and-stepper-motor/
12:30 PM rue_mohr: stepper is easy
12:34 PM rue_mohr: I wonder if the toolchain requires windows
01:31 PM Tom_L: why would it?
01:32 PM Tom_L: looks like pure verilog
01:34 PM Tom_L: looks easy enough to breadboard or something
02:22 PM rue_mohr: oh, the particular device their using
02:22 PM rue_mohr: but yea
02:24 PM rue_mohr: always @ (posedge clock) servoPin <= (ticksCount < {4'b0001, secondsCounter, 5'b00000});
02:24 PM rue_mohr: iiinteresting
03:20 PM Tom_L: i've found a variety of code styles while looking
03:21 PM Tom_L: verilog/vhdl seems quite portable
03:22 PM Tom_L: at least until you start using device specific features
04:59 PM Tom_L: rue_mohr, what are you working on today?
06:37 PM rue_mohr: one of the fellows from twitter was visiting!
06:37 PM rue_mohr: and some misc
06:57 PM Tom_L: nice
07:00 PM Tom_L: going to mod my counter to have the leds indicate overflow
07:00 PM Tom_L: simple binary counter of leds
07:00 PM rue_mohr: I may play with servos
07:01 PM Tom_L: i downloaded that servo code
07:01 PM Tom_L: not sure where my servos are
07:02 PM Tom_L: i had some low count encoders like for menu selecting i could try to find to position the servos
07:03 PM Tom_L: i suppose a quad would work if you reduced the rate
07:10 PM rue_mohr: ah nice point
07:10 PM rue_mohr: ok, the encoder thing is easier, I'll start with that
08:05 PM Tom_L: i am so rusty at this...
08:11 PM Tom_L: rue_mohr,
08:11 PM Tom_L: if you have a pulsed wire signal, how can you add that to a count register?
08:11 PM Tom_L: wire x added to reg count
08:30 PM Tom_L: snail's pace...
08:34 PM Tom_L: rue_mohr, you remember what 'always @( * ) does?
08:36 PM Tom_L: well, it's doing _something_ but i'm not sure it's correct yet
08:55 PM Tom_L: mmm getting random results