3D Robotics
I'm trying to read the SCP1000 barometric sensor with Arduino, and I'm just getting zeros with this code. (the author got the same thing and apparently found a solution but never posted it :-( ) The sensor uses the SPI interface, which has some tricky timing requirements, and I suspect that's what I need to tweak. I'm using all the pins but DRDY and have all them all going via a 4.7k resistor before connecting to the Arduino's 5v pins (the SCP1000 is a 3.3v sensor board). Anybody have success with this sensor? [UPDATE: Conor posted fixed code in the Arduino forum, and it works great. Problem solved!]

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • Advice for a cheapscake....please

    I went brave and cheap and purchased a SCP1000 with SPI, thinking that I will be able to solder it myself. I looked at it today and immediately decided that there is no way I can do it without special tools and lots of time. Any advice on how I can salvage my investment, or write it off as a lesson learned?
  • Developer
    And is very good, the problem is that i did it with ARM m3, is a lot easier, but is not so difficult to port it to arduino... And for UAVS i think is a very well solution,
  • Developer
    Me =)
  • It'd be great if you guys could publish the noise characteristics of your SCP1000. Just measure 20 samples in a room with still air, then put them in excel and run the =stdev(A1:A20) function and report that.

    I'm measuring a std dev of 7.12 counts, which is about 1.1 meters. I was actually a bit underwhelmed with the noise perf but I'm not convinced I'm getting all I could from the part because of a routing issue.

    But, I still think it's better than the 20 minute average of GPS. I've done several test flights where my start and ending GPS altitude vary by 30 or 40 meters, which is a lot. If you were going to beeline for 150m and above for all your flights, then I agree you'd probably be safe.
  • What sort of accuracy are you expecting to get from this Chris ?
  • 3D Robotics
    Hurray! Conor posted fixed code in the Arduino forum and it works great. Thanks Conor!

    Problem solved...
  • SPI is generally annoying in most languages, ESPECIALLY C/C++/C#. It really is a chunk of code. I'm sorry, but that is the way to do it. I didn't know it was the Code part that you needed.
  • I have the SCP1000 working using the Propeller, took a while but seems to work well - SPIN Code attached.

    SCP1000_Pressure.spin

  • did you try the logic level converter? I bought one for my SCP1000 and one for my IMU.
This reply was deleted.

Activity

DIY Robocars via Twitter
Videos from the ICRA autonomous racing workshop are now available: https://linklab-uva.github.io/icra-autonomous-racing/
Thursday
DIY Robocars via Twitter
RT @SmallpixelCar: Prepared race track for Warm Spring Raceways @wsraceways and looking forward to test my new car at RAMS RC @ramsaicar fa…
Jun 6
DIY Robocars via Twitter
RT @f1tenth: Trying out some nasty blocking maneuvers 🏎️🤖 #f1tenth #autonomousracing https://t.co/nMTstsaogM
Jun 5
DIY Robocars via Twitter
May 27
DIY Robocars via Twitter
RT @araffin2: I will talk this Saturday from 18:00 to 19:00 Paris time for the @diyrobocars community about learning to race in hours using…
May 27
DIY Robocars via Twitter
RT @a1k0n: Luckily the infeasible hairpin problem was easily reproducible in simulation and I could test the fix before bringing the car ba…
May 26
DIY Robocars via Twitter
RT @a1k0n: Another problem was that I was over-constraining the car's allowed accelerations, so it didn't think it could turn as tight as i…
May 26
DIY Robocars via Twitter
RT @a1k0n: Breaking the map up into two halves worked, but I had to be more careful about separating the inner track from outer. There's se…
May 26
DIY Robocars via Twitter
RT @a1k0n: Here's a datalog for my fastest lap of the day. Lap timer is tiny window lower-left. https://t.co/myrlWWrKUY
May 26
DIY Robocars via Twitter
May 26
DIY Robocars via Twitter
RT @a1k0n: Here was my car's POV. Man this track is confusing in first-person! After the incident my camera was all scuffed up and I was af…
May 23
DIY Robocars via Twitter
RT @circuitlaunch: Loved seeing so many familiar (masked) faces at Circuit Launch today for our first in person @diyrobocars in over a year…
May 22
DIY Robocars via Twitter
RT @circuitlaunch: Last but not least, mystery guest @BostonDynamics Spot took to the track @diyrobocars He enjoyed the #brazilianbbq too 😂…
May 22
DIY Robocars via Twitter
RT @SmallpixelCar: Today’s race @circuitlaunch for @diyrobocars with @a1k0n Was busy in the morning and did not get a chance to tune camera…
May 22
DIY Robocars via Twitter
RT @a1k0n: This was epic. My car was barely working this morning, had to make a lot of changes and extremely dirty hacks. Post-race analysi…
May 22
DIY Robocars via Twitter
DIY Robocars @ Circuit Launch, 3/7/2020 https://twitch.tv/diyrobocars
May 22
More…