tag:blogger.com,1999:blog-9344444.post7771113842250606710..comments2023-11-27T06:19:12.204-05:00Comments on Jeremy's Blog: Raspberry Pi hardware SPI analog inputs using the MCP3008jerblyhttp://www.blogger.com/profile/03046368186007640865noreply@blogger.comBlogger14125tag:blogger.com,1999:blog-9344444.post-13853710895125060822013-03-23T05:05:57.082-04:002013-03-23T05:05:57.082-04:00Jeremy
Thanks for the inspiration!
I am trying t...Jeremy<br /><br />Thanks for the inspiration!<br /><br />I am trying to achieve higer sample rates - at the moment I'm limited to c. 7k samples per second. I know I am not limited by the SPI clock rate.<br /><br />Any idea where the bottleneck might be?<br /><br />My code and a fuller explanation are <a href="http://www.raspberrypi.org/phpBB3/viewtopic.php?f=44&t=38089&p=315818#m0xpdhttps://www.blogger.com/profile/13241728975907453128noreply@blogger.comtag:blogger.com,1999:blog-9344444.post-24752765789230363922013-03-03T12:29:33.263-05:002013-03-03T12:29:33.263-05:00Thank you very much, you tutorial helped me alot! ...Thank you very much, you tutorial helped me alot! SPI puzzled me at first but now, it's clear.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-9344444.post-52852427925556491312013-02-06T14:32:28.182-05:002013-02-06T14:32:28.182-05:00Hi And thankyou for a nice description, this tutor...Hi And thankyou for a nice description, this tutorial was very helpful. But i wounder Howe to set clock speed on SPI.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-9344444.post-77271603188686902732013-01-16T17:13:12.771-05:002013-01-16T17:13:12.771-05:00Very nice job, thank you for sharing! I just reali...Very nice job, thank you for sharing! I just realised that sometimes (happened 3 times in the last 3 days) using this SPI method to read out MCP3008, freezes the PI. In such cases I hae to unplug and restart :(<br /><br />I read the values continuously in a loop. What can be the problem? Thanks!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-9344444.post-9908207377944019412013-01-16T10:15:34.118-05:002013-01-16T10:15:34.118-05:00It is possible to set the mode and speed from Pyth...It is possible to set the mode and speed from Python?Maria Landnoreply@blogger.comtag:blogger.com,1999:blog-9344444.post-35858917551641653002012-12-31T10:34:42.320-05:002012-12-31T10:34:42.320-05:00I use the standard distro. I see now what I need t...I use the standard distro. I see now what I need to do: the development tools are not installed. Doing this: sudo apt-get install python-dev solved the problem. Thanks for your help, and your excellent blog!<br />Maria Landnoreply@blogger.comtag:blogger.com,1999:blog-9344444.post-63020346815857584832012-12-30T15:32:57.486-05:002012-12-30T15:32:57.486-05:00Are you running the Adafruit Occidentalis v0.2 dis...Are you running the Adafruit Occidentalis v0.2 distro? I haven't tried this with anything else. jerblyhttps://www.blogger.com/profile/03046368186007640865noreply@blogger.comtag:blogger.com,1999:blog-9344444.post-37934204356599974342012-12-30T11:00:09.711-05:002012-12-30T11:00:09.711-05:00The install command returns a fatal error:
$ sudo...The install command returns a fatal error:<br /><br />$ sudo python setup.py install<br />running install<br />running build<br />running build_ext<br />building 'spidev' extension<br />gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/src/linux/include -I/usr/include/python2.7 -c spidev_module.c -o build/temp.linux-armv6l-2.7/spidev_module.oMaria Landnoreply@blogger.comtag:blogger.com,1999:blog-9344444.post-18164831085856477732012-12-11T10:55:47.035-05:002012-12-11T10:55:47.035-05:00This works a treat - thank you Jeremy :) It would ...This works a treat - thank you Jeremy :) It would have taken me a long time to work through the datasheet (and I'm not completely sure I would have come out with a working result).<br /><br />Mike - I'd put money on it being a wiring error - possibly the potentiometer wires?<br /><br />Alex RasPi.TVRasPi.TVhttp://www.raspi.tvnoreply@blogger.comtag:blogger.com,1999:blog-9344444.post-9493164095859899052012-12-01T11:57:00.091-05:002012-12-01T11:57:00.091-05:00Any idea why my reading would be stuck at 100%?Any idea why my reading would be stuck at 100%?Michael Hornehttps://www.blogger.com/profile/14798421679757500628noreply@blogger.comtag:blogger.com,1999:blog-9344444.post-60511277618319988322012-11-19T16:37:09.825-05:002012-11-19T16:37:09.825-05:00great man thankss...
how can i change the speed of...great man thankss...<br />how can i change the speed of spi?<br />byebye continue with the great job...Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-9344444.post-31518444517891655532012-11-09T18:46:58.035-05:002012-11-09T18:46:58.035-05:00AWESOME.
This is exactly what I needed to help me...AWESOME.<br /><br />This is exactly what I needed to help me get to grips with SPI. After reading the datasheet of my ADC and making the necessary changes I have the example working - thanks to you :)Samhttps://www.blogger.com/profile/16533582296857778488noreply@blogger.comtag:blogger.com,1999:blog-9344444.post-69938142658564725382012-09-30T08:48:06.975-04:002012-09-30T08:48:06.975-04:00Thanks for this excellent tutorial. Its just what...Thanks for this excellent tutorial. Its just what I was looking for.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-9344444.post-79823376989262131912012-09-08T00:50:57.870-04:002012-09-08T00:50:57.870-04:00great work man!great work man!Anonymoushttps://www.blogger.com/profile/07278824214298237116noreply@blogger.com