author

lingib

599
Inbox View Profile
56Instructables960,403Views538CommentsNew Zealand
55+ years in electronics, computers, and teaching ... now retired.

Tell us about yourself!

Achievements

500+ Comments Earned a silver medal
10K+ Views Earned a bronze medal
Anything Goes Contest
Contest Winner Runner Up in the Anything Goes Contest
Audio Challenge 2020
Contest Winner Second Prize in the Audio Challenge 2020
Magnets Challenge
Contest Winner Second Prize in the Magnets Challenge
Epilog X Contest
Contest Winner First Prize in the Epilog X Contest
  • lingib commented on lingib's instructable CNC Drawing Arm
    CNC Drawing Arm

    Thank you for spotting this error and letting me know :)I have amended the code and uploaded it to Step 8: Arduino Code "CNC_drawing_arm_v3.1.ino" contains the amended code.

    View Instructable »
  • lingib's instructable CNC Graphics Tablet V2's weekly stats:
    • CNC Graphics Tablet V2
      124 views
      1 favorites
      4 comments
  • lingib commented on lingib's instructable CNC Graphics Tablet V2
    CNC Graphics Tablet V2

    And thank you for commenting :)

    View Instructable »
  • lingib commented on lingib's instructable Mind Control 3: EEG Monitor
    Mind Control 3:  EEG Monitor

    Thank you for sharing your work and commenting :)

    View Instructable »
  • lingib commented on lingib's instructable CNC Line Art
    CNC Line Art

    Thanks for commenting ;)

    View Instructable »
  • lingib's instructable CNC Graphics Tablet's weekly stats:
    • CNC Graphics Tablet
      625 views
      5 favorites
      7 comments
  • lingib commented on lingib's instructable CNC Graphics Tablet
    CNC Graphics Tablet

    Hi,Thank you for your suggestions :)Am already working on this and will publish a software update shortly.The new version has four "button-areas" across the top of the touch-pad: - point-mode ... for dots, - line-mode ...... for continuous lines, - arc-mode ....... for drawing curves using the 3-point circle method, - exit ................. for closing the filePen up/down buttons are not required as the Arduino sends (0,0) to the Processing3 software whenever the pen is up, and a G00 X0 Y0 command is generated when the exit-button is touched.Once I have completed the software update I will look at placing an LED above each of the menu buttons ... for now the menu-mode is automatically displayed on-screen when-ever the pen has been lifted for more than two seconds.Operation is m…

    see more »

    Hi,Thank you for your suggestions :)Am already working on this and will publish a software update shortly.The new version has four "button-areas" across the top of the touch-pad: - point-mode ... for dots, - line-mode ...... for continuous lines, - arc-mode ....... for drawing curves using the 3-point circle method, - exit ................. for closing the filePen up/down buttons are not required as the Arduino sends (0,0) to the Processing3 software whenever the pen is up, and a G00 X0 Y0 command is generated when the exit-button is touched.Once I have completed the software update I will look at placing an LED above each of the menu buttons ... for now the menu-mode is automatically displayed on-screen when-ever the pen has been lifted for more than two seconds.Operation is much like a word-processor where the 1st- button touch activates the mode and the 2nd disables the mode.You can also switch modes, without exiting, by touching another button. This allows you to draw continuous shapes at your own pace.Example: To draw a rectangle with rounded corners select the line mode whenever you are doing the straight sections and touch the arc-mode when you are turning the corners. Circles require a minimum of two arcs ... preferably three.

    View Instructable »
  • lingib commented on lingib's instructable CNC Graphics Tablet
    CNC Graphics Tablet

    Glad you like it ... thank you for commenting :)

    View Instructable »
  • lingib commented on lingib's instructable Servo Plotter
    Servo Plotter

    Thank you for your interest in my project :)The (0,0) point for my servo is next to Servo 1 as shown in Step 2 "Inverse Kinematics". Move your green area to the right and down.Your sketch shows Servo 1 near the center of the150mm x 150mm base. This is possible but requires a new set of calculations. I leave that up to you.If you choose to do this, be aware that your servo arms can only extend 120mm and will not reach the top / top-corners.

    View Instructable »
  • lingib commented on lingib's instructable CNC Graphics Tablet
    CNC Graphics Tablet

    An interesting mix ... Michelangelo and mine !!Thanks for sharing your photos:)

    Notepad++ also works well.Keep up the good work ... your results are excellent :)

    View Instructable »
  • lingib commented on lingib's instructable Mind Control 3: EEG Monitor
    Mind Control 3:  EEG Monitor

    Thank you for your interest in my project :)The project obtains its power from the PC USB port.It can also be powered via an external 9 volt battery by connecting the negative lead to GND (ground) and the positive lead to the Arduino Vin.

    View Instructable »
  • lingib commented on lingib's instructable CNC Drum Plotter
    CNC Drum Plotter

    I haven't played with threaded rods but your approach seems sound :)If you have things working then the rest of the program shouldn't need any changes.Try plotting a square then measure the sides ... any errors can be eliminated by scaling.

    View Instructable »
  • lingib commented on lingib's instructable CNC Graphics Tablet
    CNC Graphics Tablet

    Your results look great ... thank you for sharing :)

    View Instructable »
  • lingib's instructable Webcam Ruler's weekly stats:
    • Webcam Ruler
      2,241 views
      24 favorites
      7 comments
  • lingib's instructable Omni Wheel CNC Plotter Upgrade's weekly stats:
    • Omni Wheel CNC Plotter Upgrade
      91 views
      0 favorites
      0 comments
  • lingib commented on lingib's instructable Webcam Ruler
    Webcam Ruler

    Thank you for your interst in my project :)I have added instructions for downloading the processing,video library in Step 3 Software.

    View Instructable »
    • 4-Wire Horizontal Plotter Design Notes
      417 views
      6 favorites
      4 comments
    • Connect a USB Mouse to Your Arduino
      116 views
      2 favorites
      0 comments
  • lingib entered Webcam Ruler in the STEM Contest contest
  • 4-Wire Horizontal Plotter Design Notes

    Thank you for commenting :)Regarding the "Click here" button ...I inserted a CSS <style>...</style> at the start of the instructable and some HTML <p>...</p> code at the end.You can view the CSS code by right-clicking the beginning of the instructable and selecting "Inspect"You can view the HTML code by right-clicking the "Click here" button and selecting "Inspect"You will need to customise the HTML if you choose to do something similar.

    View Instructable »
  • lingib commented on lingib's instructable CoreXY CNC Plotter
    CoreXY CNC Plotter

    Thank you for your interest in my project :)Stepping motors work regardless of orientation.The plotter design is such that it should work when raised vertically to the Z plane but doing so will introduce the following problems: - No gravity feed for the pen-lift ... a rubber band may be a solution. - Possible end float effects as gravity is no longer holding the plotter bar against the guide rails ... accurate positioning of the guide-rail V-pulleys will be required. - The entire mechanism will collapse downwards under gravity when the power is removed ... you may need to introduce a counter-weight.

    View Instructable »
  • lingib commented on lingib's instructable Servo Deadband Correction
    Servo Deadband Correction

    You shouldn't be getting error messages like that.The problem is not with the code ... as I will show below ...it has to be something you are doing or some thing in your Arduino environment.Check that your Arduino environment looks like mine (screenshot attached) ... I've highllighted the key points. Later releases of the Arduino should be fine.Let's try a different way of compiling my code.Left- click each of the following files in Step 3 of this instructable: - myServo.cpp - myServo.h - servo_plotter_10.inoYou should now see these three files in your download folder (screenshot attached)DO NOT OPEN THEM ... your editor may be corrupting the files.Right-click your mouse and select new|folder. Name this folder servo_plotter_10 (screen shot attached)Drag each of the files you have downloa…

    see more »

    You shouldn't be getting error messages like that.The problem is not with the code ... as I will show below ...it has to be something you are doing or some thing in your Arduino environment.Check that your Arduino environment looks like mine (screenshot attached) ... I've highllighted the key points. Later releases of the Arduino should be fine.Let's try a different way of compiling my code.Left- click each of the following files in Step 3 of this instructable: - myServo.cpp - myServo.h - servo_plotter_10.inoYou should now see these three files in your download folder (screenshot attached)DO NOT OPEN THEM ... your editor may be corrupting the files.Right-click your mouse and select new|folder. Name this folder servo_plotter_10 (screen shot attached)Drag each of the files you have downloaded into this new folder. Double click the folder and you should see each of the files (screenshot attached)Now open your Arduino IDE, select File |Open, and navigate your way to the .../downloads/servo_plotter_10 folder that you have just created and select the file servo_plotter_10.ino. Your Arduino IDE should look like the attached screen shot.Finally compile and upload the code by left-clicking the right-arrow button. (screenshot attached)If this doesn't work then I'm fresh out of ideas.

    View Instructable »
  • lingib commented on lingib's instructable Servo Deadband Correction
    Servo Deadband Correction

    See my reply further down

    See my reply further down.

    My code was written for an Arduino UNO R3 microcontroller and compiles without errors using the standard Arduino IDE ... screen shot attached.Note there are three tabs ... one for each of the following files - servo_plotter_10.ino - myServo.h - myservo.cppThese tabs automatically appear when the ino file is opened in the Arduino IDE providing each of the three files has been placed in a folder named servo_plotter_10.While most Arduino code will run on an Arduino Mega my code may not as I am not using standard functions such a delay() and delayMicroseconds() ... instead I am writing directly to the Timer1 registers.From what I've read, the pinouts for the Arduino Mega Timer1 are different to the pinouts for the Arduino Uno R3. There are probably other differences.If you choose to stay wit…

    see more »

    My code was written for an Arduino UNO R3 microcontroller and compiles without errors using the standard Arduino IDE ... screen shot attached.Note there are three tabs ... one for each of the following files - servo_plotter_10.ino - myServo.h - myservo.cppThese tabs automatically appear when the ino file is opened in the Arduino IDE providing each of the three files has been placed in a folder named servo_plotter_10.While most Arduino code will run on an Arduino Mega my code may not as I am not using standard functions such a delay() and delayMicroseconds() ... instead I am writing directly to the Timer1 registers.From what I've read, the pinouts for the Arduino Mega Timer1 are different to the pinouts for the Arduino Uno R3. There are probably other differences.If you choose to stay with an Arduino Mega you will have to adapt my code to suit.

    View Instructable »
  • lingib commented on lingib's instructable Servo Deadband Correction
    Servo Deadband Correction

    I need to know what doesn't work ... for instance: - Does the code compile?- Have you made a plotter?- What servos are you using?- Have you calibrated your servos as outlined in Step 4?Contact me via the Instructables message sytem and I will help sort the problem.

    Thank you for your interest in my project :)My code does work ... watch the diagonals in the video overlap when deadband correction is applied.For the code to work the following three files must all reside in a folder called "servo_plotter_10" (without the quotes) - "servo_plotter_10.ino" - "myServo.h" - "myServo.cpp"Without more information I cannot help.

    View Instructable »
  • lingib commented on lingib's instructable Acoustic Radar Display
    Acoustic Radar Display

    Thank you for asking ... but regret I do not have the time.Suggest you contact the author of this project.

    View Instructable »
  • lingib commented on lingib's instructable Acoustic Radar Display
    Acoustic Radar Display

    Thank you for your interest in my project :)Probably not ... according to the specifications the jsn-sro4t v3 only has a range of 300mm.

    Thank you for your interest in my projectn :)Your question is answered in my reply to "newtoeu" in the comments below.

    View Instructable »
  • lingib commented on lingib's instructable Quaternion Compass
    Quaternion Compass

    Thank you for your interest in my project :)I don't have an Arduino NANO to try but I can't see why not.

    View Instructable »
  • Enhanced Ultrasonic Range Finder

    Don't know ... try it and see Keep in mind that the speed of sound is different under water.

    View Instructable »
  • lingib commented on lingib's instructable Wink Detector
    Wink Detector

    Thank you for your interest in my project :)(1)The recovery time depends on how hard you wink. Looking at the two attached screen grabs made at the time my guess would be just over a second. (Each oscilloscope trace is 200mS per division.)The strong right-wink was obtained using considerable strain and clenching my teeth.In normal operation this does not happen.Codes lines 65-68 (below) prevent false triggers due to overshoot// ----- Wink detection logicunsigned long LeftStopTime;unsigned long RightStopTime;unsigned long StopTime = 1000000UL; // 1000000 uS = 1 secondA StopTime of 1 second allows succesive rapid winks to be detected. Adjust this time to suit.(2)The reason for not using the Arduino ADCs is that they cannot resolve microvolt signals. The resolution of an Arduino ADC is …

    see more »

    Thank you for your interest in my project :)(1)The recovery time depends on how hard you wink. Looking at the two attached screen grabs made at the time my guess would be just over a second. (Each oscilloscope trace is 200mS per division.)The strong right-wink was obtained using considerable strain and clenching my teeth.In normal operation this does not happen.Codes lines 65-68 (below) prevent false triggers due to overshoot// ----- Wink detection logicunsigned long LeftStopTime;unsigned long RightStopTime;unsigned long StopTime = 1000000UL; // 1000000 uS = 1 secondA StopTime of 1 second allows succesive rapid winks to be detected. Adjust this time to suit.(2)The reason for not using the Arduino ADCs is that they cannot resolve microvolt signals. The resolution of an Arduino ADC is 5/1023 = 4.9 millivoltsThe signal voltages across skin resistance are far less than this and need to be amplified. We also need to remove stray voltage pickup from the surroundings. To achieve this a differential amplifier is required.Assuming the signal of interest is say 1uV and the differential amplifier has an open-loop gain of 60dB (10000000 times) then the output of the differential amplifier will be 1 volt which is easy to detect and process.

    View Instructable »
  • lingib commented on lingib's instructable Omni Wheel CNC Plotter V2
    Omni Wheel CNC Plotter V2

    You're welcome.Thank you for your interest in my project :)

    View Instructable »
  • lingib commented on lingib's instructable Voice Controlled Robot Hand
    Voice Controlled Robot Hand

    That should work fine :)

    View Instructable »
  • lingib commented on lingib's instructable Voice Controlled Robot Hand
    Voice Controlled Robot Hand

    1. we have used a different resistor, you have included a 1/8watt of 1200 and 2200 ohms but instead, we used a 1/4watt of 1200 and 2200 ohms***** The wattage doesn't matter2. we use a different stepper motor namely a 17HS08-1004S Nema 17 Stepper motor***** You have a problem here ....My circuit uses 17HS3430 12 volt 400mA stepping motorsThe motors you are using are 3.5 volt 1amp motorsYou will need to adjust the motor supply voltage to match your motors andadjust the Big Easy Driver Current limits to 1amp. Your motor torque is alsodifferent. Compare the two motor sopecifications ...BUT BEFORE YOU DO THISget your hand to recognise "open" and "close" buttons on the cellphone app.Pressing either of those buttons will cause a message to appear on yourArduino Serial Monitor…

    see more »

    1. we have used a different resistor, you have included a 1/8watt of 1200 and 2200 ohms but instead, we used a 1/4watt of 1200 and 2200 ohms***** The wattage doesn't matter2. we use a different stepper motor namely a 17HS08-1004S Nema 17 Stepper motor***** You have a problem here ....My circuit uses 17HS3430 12 volt 400mA stepping motorsThe motors you are using are 3.5 volt 1amp motorsYou will need to adjust the motor supply voltage to match your motors andadjust the Big Easy Driver Current limits to 1amp. Your motor torque is alsodifferent. Compare the two motor sopecifications ...BUT BEFORE YOU DO THISget your hand to recognise "open" and "close" buttons on the cellphone app.Pressing either of those buttons will cause a message to appear on yourArduino Serial Monitor3. we use Arduino Uno instead of the R3****** This shouldn't matter4. Bluetooth module suddenly has no red light****** This is normal when a connection is made5.when uploading on the Arduino Uno this shows (REFER TO PHOTO 1)but when we delete your note and your copyright claims (just to try, we can now then upload it) (REFER TO PHOTO 2)p.s. I do not know if what I have done is correct or not, I am a beginner in this field such that it is needed for a school requirement***** What you have done is okayThe highlighted line appears to have been corrupted ... it shouldn't have theasterisks in front of the original // commentIn the serial monitor, I have tried so many times however there are no results showing up. I believe if you send a voice something will show up here or if you type commands? something will show up?***** The Arduino Serial Monitor only listens ... it is only used for displaying theSerial.println(" ...") messages. All input is through the through theSoftwareSerial bluetooth.serial() port using the cellphone app.6. We have used a regular 12V DC power supply, is this okay?******Only if the power supply can provide enough current for the motorsand with that my question follows as with the materials we bought different from yours, is it possible to make it happen?*******See my comments above about your motorswe only need the grab and the release and I cannot simply edit the sketch into simpler codes to be received by the HC 06 module******** No need ... just press the "open" and "close" buttons on the cellphone appsorry if this seems too desperate of me but we only have a week to make this happen, maybe you could tweak it into much simpler code for the materials we have bought and the command we only need (OPEN AND CLOSE)********You already have that ... just press the "open" and "close" buttons on thecellphone app ... the code doesn't need to be modified.Good luck with your project :)

    The motors MUST be connected to a 12 volt power supply capable of at least 2 amps. The terminal block is used for this purpose.The arduino gets its power via the USB cable. If you wish to run the Arduino standalone (without the USB cable to your PC) you will need a wire from the 12 volt supply to your Arduino Vin pin

    View Instructable »
  • lingib commented on lingib's instructable Voice Controlled Robot Hand
    Voice Controlled Robot Hand

    The terminal block allows you to connect the flexible wires from your 12 volt DC power source to the Arduino shield.

    Can you please be more specific ...

    View Instructable »
  • lingib commented on lingib's instructable Quaternion Compass
    Quaternion Compass

    Thank you for your interest in my project :)You had me worried for a moment ... glad you got it working :)

    View Instructable »
  • lingib commented on lingib's instructable Dual Sensor Echo Locator
    Dual Sensor Echo Locator

    Sorry ... that's not on my "to do" list ... but thank you for asking :)You may, however, find this video of interest https://www.youtube.com/watch?v=Gy17m0ac_kc

    Time variables are not used.The Arduino sends the distance data (Arduino code line 101) to the Processing sketch in comma-delimited format. Each line of data is terminated with a line-feed.The serialEvent() function in the Processing algorithm (starting at code line 107) detects this line-feed, extracts the distance information, validates it, then displays the objects position.The Processing validation process rejects meaningless data.

    View Instructable »
  • lingib's entry 4-Wire Horizontal Plotter is a winner in the Anything Goes Contest contest
  • lingib's entry 4-Wire Horizontal Plotter is a finalist in the Anything Goes Contest contest
  • lingib commented on lingib's instructable 4-Wire Horizontal Plotter
    4-Wire Horizontal Plotter

    That's what I am working towards :)This project started off as a horizontal two-wire plotter with a rubber bungee replacing gravity.This wasn't successful as gravity pulls downwards but a fixed horizontal bungee pulls outwards in places. It then occurred to me to add a mirror-image two-wire .plotter ... the gravity vector from the second two-wire should always pull outwards. Tried stacking CDs and the ends off wire spools (see photos). This works up to a point but the cable lengths vary as you go up the stack of discs ... plus there is an overturning moment.The annular ring has solved these issues and raises the possibilty of dremels and routersCurrent accuracy is about 1mm across the plotter ... whether this accuracy can be maintained when the design is scaled up remains to be seen.

    Thank you :)

    View Instructable »
  • lingib's instructable 4-Wire Horizontal Plotter's weekly stats:
    • 4-Wire Horizontal Plotter
      5,934 views
      95 favorites
      6 comments
  • All-Band Direct Conversion Receiver

    Yes :)A lot of dip meters don't work very well as they tend to stop oscillating at one end of their range, or worse, fluctuate over the range.My design has no unwanted peaks or troughs ... the output level falls slightly on some ranges towards one end but is 100% useable.The circuit is basically a multivibrator with a center-tapped coil in lieu of the normal collector resistors. The tuning capacitor is a single gang shafted-trimmer mounted on a perspex plate. Hand-effects are nonexistent if you tune using the edge of the large pointer disk. The dips are extremely DEEPA resistor from the 9 volt battery is connected to the coil center. For this reason each coil needs at least three plugs. I hand pick these resistor to ensure that the output level is constant on all ranges.A simple diode de…

    see more »

    Yes :)A lot of dip meters don't work very well as they tend to stop oscillating at one end of their range, or worse, fluctuate over the range.My design has no unwanted peaks or troughs ... the output level falls slightly on some ranges towards one end but is 100% useable.The circuit is basically a multivibrator with a center-tapped coil in lieu of the normal collector resistors. The tuning capacitor is a single gang shafted-trimmer mounted on a perspex plate. Hand-effects are nonexistent if you tune using the edge of the large pointer disk. The dips are extremely DEEPA resistor from the 9 volt battery is connected to the coil center. For this reason each coil needs at least three plugs. I hand pick these resistor to ensure that the output level is constant on all ranges.A simple diode dectector and a 50uA meter are used for measuring the output power level. The coupling capacitor is somewhere in the 1..10pF range from memory and is connected to one side of the coilThe circuit also acts as a wavemeter if you remove the collector supply :)A low frequency multivibrator is connected to the other side of the coil via a small capacitor to balance the stray capacity. When the multivibrator is switched on it produces a modulated signal that is useful for tuning receivers ... place the dip-meter outside at a distance and tune your VHF converters for maximum signal.Will publish the design some time but first need to find a source of air-vaned trimmer capacitors if the instructable is to be useful. You need a communication receiver for calibration.Hopefully there is enough information here for you to make your own in the meantime :)

    View Instructable »
  • lingib commented on lingib's instructable CNC Drum Plotter
    CNC Drum Plotter

    Welcome to the club :)I like experimenting with different ideas.Some work ... some don't but it's all good :)Thanks for commenting :)

    View Instructable »
  • lingib commented on lingib's instructable CNC Drum Plotter
    CNC Drum Plotter

    Haven't heard the Sinclair name for a long time.Familiar with the Z80 but mainly used the Motorola 6800 family of processors with my students.Thanks for your comment and for bringing back memories :)

    View Instructable »
  • lingib commented on lingib's instructable 4-Wire Horizontal Plotter
    4-Wire Horizontal Plotter

    Your are welcome ... thanks for commenting :)

    View Instructable »
  • lingib commented on lingib's instructable 4-Wire Horizontal Plotter
    4-Wire Horizontal Plotter

    Thank you :)

    Thank you :)

    View Instructable »
  • lingib commented on lingib's instructable Multiplexed Echo Locator
    Multiplexed Echo Locator

    Thank you for your interest in my project :)What you are saying is correct ... but it is also what I have written.You appear to have read "The total length of THE WIRES (plural) should equal the desired distance between the sensors plus a small amount for soldering." as "The total length of EACH WIRE (singular) equals ... " The wires can be any length you like providing they reach the sensors but there is no point in making them too long. They should also not be cut to the exact sensor spacing as you need to allow for soldering.

    View Instructable »
  • lingib commented on lingib's instructable CoreXY CNC Plotter
    CoreXY CNC Plotter

    I love your design ...Thank you for making my day ... and for your printed meassage :)Glad to have been able to help.

    View Instructable »
  • lingib commented on lingib's instructable Quaternion Compass
    Quaternion Compass

    Connect a voltmeter between your I2C pins and ground ... the voltage readings should never exceed 3 volts. ( Depending on the I2C state one of the pins may read zero. )A storage oscilloscope is needed to detect transient spikes.Regarding my I2C comment ... the default speed for I2C is 100Kbps ... my code uses 400Kbps. Try commenting out line 435 "Wire.setClock(400000); // 400 kbit/sec I2C speed" in my setup. It crossed my mind that the AK8963 may be having a problem ... highly unlikely but ?

    View Instructable »
  • lingib commented on lingib's instructable CoreXY CNC Plotter
    CoreXY CNC Plotter

    Thank you for your interest in my plotter :)Sounds like you are using different motor controllers. If so then you will need to set $100, $101, $102 to 5 rather than 80 as shown in "Step 6: Configure Your Plotter" of https://www.instructables.com/How-to-Control-a-Ser...80 divided by 5 equals 16 which is the microstepping ratio used in my Big Easydriver motor controllers.

    View Instructable »
  • lingib commented on lingib's instructable Make Your Own Camera
    Make Your Own Camera

    Thank you for your interest in my project :)Much as I would like to help I do not have the necessary parts, or time, to devote to your project.The following links to similar projects may be of help:https://www.robotshop.com/community/forum/t/c328r-...https://sean.voisen.org/projects/pigeonblog/https://github.com/svoisen/c328r

    View Instructable »
  • How to Control a Servo Using GRBL

    Thank you for your comment and feedback :)You could try deleting the dwell angle (G4 P1) command that my GPP.pde software inserts between each pen up/down (M5/M3) command.They are clearly marked ... just search for all code lines that read:Output.println("G4 P1"); //1mS dwell I added this command to give my pen time to move otherwise I got unwanted tails and gaps in my drawings. Your plotter may not need it.

    View Instructable »
  • lingib commented on lingib's instructable Quaternion Compass
    Quaternion Compass

    The interrupts and bypass enable (that connects the magnetometer to the I2C bus) are performed in code lines 907..913. The fact that "everything worked for a few hours" indicates that the software is working.Am alarmed at your comment "so I thought I somehow killed another chip" ... 0xFF is not a good look. The MPU-9250 I2C lines are not 5 volt tolerant. I assume that you have no external I2C pull-up resistors and have edited your I2C Wire Library as explained in Step 7.Also assuming that your remotely controlled car is battery operated. Is there a possibility that you are getting a voltage spike from your motors? The motor wiring needs to be well away from the I2C lines to prevent transformer action and preferably have their own supply.Try running Compass_cal.pde usin…

    see more »

    The interrupts and bypass enable (that connects the magnetometer to the I2C bus) are performed in code lines 907..913. The fact that "everything worked for a few hours" indicates that the software is working.Am alarmed at your comment "so I thought I somehow killed another chip" ... 0xFF is not a good look. The MPU-9250 I2C lines are not 5 volt tolerant. I assume that you have no external I2C pull-up resistors and have edited your I2C Wire Library as explained in Step 7.Also assuming that your remotely controlled car is battery operated. Is there a possibility that you are getting a voltage spike from your motors? The motor wiring needs to be well away from the I2C lines to prevent transformer action and preferably have their own supply.Try running Compass_cal.pde using the software in Step 4 ... this should confirm whether your MPU-9250 module is still working. Apart from that I can't think of anything else. You mention that you have modified my code. Not certain what you have done but the fact that every thing works for a few hours indicates that it isn't the cause.

    View Instructable »
  • lingib commented on lingib's instructable Servo Deadband Correction
    Servo Deadband Correction

    You're welcome ... glad you found the instructable of interest :)Thanks for commenting.

    View Instructable »
  • lingib commented on lingib's instructable CNC Gcode Sender
    CNC Gcode Sender

    Thanks for your feedback ... glad you found the instructable helpful :)

    View Instructable »