Re: [beagleboard] Machinekit- READ ADC VALUE ONLY!!! (NO TEMPERATURE!!!)

2016-04-27 Thread Matus Kamensky
2016-04-27 10:35 GMT+02:00 Matus Kamensky : > Hi. I have one problem with this ADC conversion. I create connections > between HAL file and this ADCfile (hal_temp_bb). Everything works, but if > the ADC send me value more than 1600 (0-6000), my JOG wheel stop working.

Re: [beagleboard] Machinekit- READ ADC VALUE ONLY!!! (NO TEMPERATURE!!!)

2016-04-27 Thread Matus Kamensky
Hi. I have one problem with this ADC conversion. I create connections between HAL file and this ADCfile (hal_temp_bb). Everything works, but if the ADC send me value more than 1600 (0-6000), my JOG wheel stop working. I use some GPIO PINs for axis_enable(X,Y,Z) and axis_jog scale (UP,DOWM). This

Re: [beagleboard] Machinekit- READ ADC VALUE ONLY!!! (NO TEMPERATURE!!!)

2016-04-20 Thread Charles Steinkuehler
You need Machinekit HAL file knowledge, not Linux (or AVR). You load the ADC code with a line like this: https://github.com/machinekit/machinekit/blob/master/configs/ARM/BeagleBone/CRAMPS/CRAMPS.hal#L35 ...except you will probably want to use "none" for the thermistor (which is

Re: [beagleboard] Machinekit- READ ADC VALUE ONLY!!! (NO TEMPERATURE!!!)

2016-04-20 Thread Matus Kamensky
Thanks for your answer. But i donĀ“t know, how this structure or command write. I work with AVR microprocessor, no with linux. Can you send me some examples of command, which I solve my problem? . I need only number with range 0-4000 from 0-1,8V (AIN0). I use machinekit,debian 3.8. and beagle bone

Re: [beagleboard] Machinekit- READ ADC VALUE ONLY!!! (NO TEMPERATURE!!!)

2016-04-20 Thread Charles Steinkuehler
On 4/20/2016 8:15 AM, Matus Kamensky wrote: > Hi. I use machinekit for controlling my CNC mill and i need read ADC pin > (AIN0) > to set speed of my motor (0-4000rpm). I need convert voltage (0-1,8V) to > pwmgen.parameter(0-4000). Can You help me? Thanks. Start with the BBB temperature code:

[beagleboard] Machinekit- READ ADC VALUE ONLY!!! (NO TEMPERATURE!!!)

2016-04-20 Thread Matus Kamensky
Hi. I use machinekit for controlling my CNC mill and i need read ADC pin (AIN0) to set speed of my motor (0-4000rpm). I need convert voltage (0-1,8V) to pwmgen.parameter(0-4000). Can You help me? Thanks. -- For more options, visit http://beagleboard.org/discuss --- You received this message