[sudo-discuss] vending machine is working!

Jake jake at spaz.org
Thu May 19 12:54:22 PDT 2016


i'm trying to think of the right way to generate a 5-10 volt 32KHz 
squarewave in series with the 12v power supply for the motors, so that an 
analog input can measure the amplitude of AC detected across a series 
resistor.  The homing switches of the motors have a capacitor that 
decreases their impedance at 32KHz when they're "home".

the control circuit for the motors is a row/column array, so I also need 
to lay that out.

#define NUMROWS 5
#define NUMCOLS 10
byte rows [NUMROWS] = { 13,12,11,10,9 }; // connect rows to positive
byte cols [NUMCOLS] = { 8,7,6,5,4,3,2,A2,A3,A4 }; // connect cols to negative

-jake

>>> On Thu, May 19, 2016 at 9:18 AM, Morgan Allen <morganrallen at gmail.com>
>>> wrote:
>>>>
>>>> I have ESP8266 dev boards to donate!
>>>>
>>>> On Fri, May 6, 2016 at 7:50 PM, Jake <jake at spaz.org> wrote:
>>>>>
>>>>>
>>>>> as I said in February, the vending machine is basically at operational
>>>>> status:
>>>>>
>>>>> https://sudoroom.org/pipermail/sudo-discuss/2016-February/011770.html
>>>>>
>>>>> and as I said in April, I now know how we will perfect the motor homing
>>>>> issue:
>>>>>
>>>>> https://sudoroom.org/pipermail/sudo-discuss/2016-April/011894.html
>>>>>
>>>>> but for now, it works well enough that I was able to dispense one of the
>>>>> candy bars in the machine without cheating and opening up the machine.
>>>>>
>>>>> I didn't even need to power cycle it, the beaglebone in there was just
>>>>> up
>>>>> and working already!
>>>>>
>>>>> thanks to rcsheets who stocked the vending machine with delicious candy
>>>>> bars!  products 1030, 1031, and 1032 by the way
>>>>>
>>>>> let me know if you want to help get the vending machine working better.
>>>>>
>>>>> we need simple hardware work, complex hardware work, and software work!
>>>>>
>>>>> -jake
>>>>> _______________________________________________
>>>>> sudo-discuss mailing list
>>>>> sudo-discuss at lists.sudoroom.org
>>>>> https://sudoroom.org/lists/listinfo/sudo-discuss
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> -----BEGIN PGP PUBLIC KEY BLOCK-----
>>>> Version: OpenPGP.js v.1.20121007
>>>> Comment: http://openpgpjs.org
>>>>
>>>> xsBNBFG3btUBB/9+/WJNOSIuc/praKPaPOweqXV5s7PGRD+HAnNWF/19YAY3
>>>> AFtfeoelhhY4sMJoobTaJzcZojznZ1kl/7UuuYCnbJO3Z9kaSMVrVxEZMSLe
>>>> YmW8Hc4ZsTnl9f05DQFy8ABpAvMLmXJQXh63BbfzjFqNbSWQfLhrubSM2Elq
>>>> xmN6EsmRyAuEeYlSnal+Di2MlViohpCbbagE2D6AZTUECIamTib6+DuLG4XO
>>>> b4GGKHR9TXu2qS1VH6hqcvdEz2MDE5OqZzAnBgcF2dvcOdTk9gAOoR1T+qKj
>>>> IJtg2X0ETbxcPqEXQoXE8VrxN0MLT5JQKTg26+csU4P2w0rEWsUsJombABEB
>>>> AAHNJU1vcmdhbiBBbGxlbiA8bW9yZ2FucmFsbGVuQGdtYWlsLmNvbT7CwFwE
>>>> EAECABAFAlG3btwJEG9pFLKaVEfeAAD7hwf+K8LN/kfgi8GTRLiTcuM+hSbm
>>>> uAeiBY+VaJIQFLzoFlt8A0hBlLNPFNNmUDxdPrMErdHgZ7HtJW/6RANuBTti
>>>> 5hr3EBguH1GQyK7BbUqJGvaEX4UNRej3uyX3ufXDsIB/3NsKaTyyu+SO0+Hv
>>>> Cn2DwmlfSXcPhoarx6Turizn/WwgtTN3tqrMWxxiCKWydLH5xYuz+23BLMdc
>>>> oF/zkbF+7ddFhmyfiFh4Ej9//tsfwPj2cACU3uLTrcwCo7IxUtkrqMF/fhlm
>>>> LEqjhzDDjq9v7GNWb/5xB2xgTaucJ7/ljuS8nPlZqwCI8NlTgSqC8nyVLyjS
>>>> yVtOzkItcS0UqyW1Mg==
>>>> =V/Ia
>>>> -----END PGP PUBLIC KEY BLOCK-----
>>>>
>>>> _______________________________________________
>>>> sudo-discuss mailing list
>>>> sudo-discuss at lists.sudoroom.org
>>>> https://sudoroom.org/lists/listinfo/sudo-discuss
>>>>
>>>
>>
>



More information about the sudo-discuss mailing list