temoto / vender

Open source vending machine controller firmware
Creative Commons Zero v1.0 Universal
64 stars 20 forks source link

second hardware configuration #2

Open temoto opened 5 years ago

temoto commented 5 years ago

I'd like to set up the VMC and help the project while doing so as well. I've a Raspberry Pi B+ and an Arduino Uno R3. Some other hardware that I can procure as well.

I was wondering about a plan on how to go about running the project on said hardware and have the bare minimum of MDB device and a motor control array (maybe).

Originally posted by @mhaqs in https://github.com/temoto/vender/issues/1#issuecomment-513727955

temoto commented 5 years ago

@mhaqs hello, moved this to separate thread if you don't mind.

For a plan, please:

mhaqs commented 5 years ago

@temoto Thanks for creating a separate issue for this. I think it's better this way. I have sent you an email with my supposed motor control array setup/schematic. As an end result (even if it's creating a vending machine), I'd like Vender to be able to help with the basic of operations:

As an MVP, if Vender can build/sit on the Pi and control these devices; I can use that knowledge to build more and understand the code base. I can then contribute my findings and build/contribute from there.

temoto commented 5 years ago

Let's start with connecting Raspberry to MDB as we did. Roadmap:

Are you comfortable with installing KiCad program? Alex did all hardware schema in it and I don't know if anything else would open their files. Please study these

If done properly, you should have working UART-MDB level invertor / current limiter.

At this stage I highly recommend having digital sampling oscilloscope. It feels stupid helpless to see things "just not working" when you don't know where exactly. It's possible to use Raspberry as DSO, search: [piscope] or https://abyz.me.uk/rpi/pigpio/piscope.html

temoto commented 5 years ago

Just to make it absolutely clear, to talk MDB, you should make small hardware component which inverts UART Tx. http://blog.bouni.de/2012/mdb-levels.svg I don't know any way around this.