Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
blog_2 [2017/01/25 18:26]
arthur
blog_2 [2017/01/25 18:54]
arthur
Line 1: Line 1:
-For the [[[Smoothie]]] project, a [[http://​www.microchip.com/​wwwproducts/​Devices.aspx?​dDocName=en547501|MCP4351]] SPI digital potentiometer will be used to control the current setting of the 4 A4983.+For the [[Smoothie]] project, a [[http://​www.microchip.com/​wwwproducts/​Devices.aspx?​dDocName=en547501|MCP4351]] SPI digital potentiometer will be used to control the current setting of the 4 A4983.
 That will allow direct control of the current settings from the firmware / via serial commands, and automatic benchmarking of the current settings. That will allow direct control of the current settings from the firmware / via serial commands, and automatic benchmarking of the current settings.
  
Line 23: Line 23:
 Now in the Bus Pirate console, we can do things like this :  Now in the Bus Pirate console, we can do things like this : 
  
-[[code]]+<code>
 SPI>M5 SPI>M5
 1. HiZ 1. HiZ
Line 85: Line 85:
 CS DISABLED CS DISABLED
 SPI> SPI>
-[[/code]]+</code>
  
 Checking with a multimeter shows the resistance at the corresponding pins changing : hurrah ! Checking with a multimeter shows the resistance at the corresponding pins changing : hurrah !
Line 180: Line 180:
   }   }
 } }
-[[/code]]+</code>
  
 What this code does, it just loops thru all the values the first potentiometer can have ... if you connect a LED there, you even can see it lighting up slowly in a loop. What this code does, it just loops thru all the values the first potentiometer can have ... if you connect a LED there, you even can see it lighting up slowly in a loop.