User Tools

Site Tools


thesis:work-journal

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
Next revision Both sides next revision
thesis:work-journal [2019/03/02 16:38]
avnerus
thesis:work-journal [2019/03/23 23:14]
avnerus
Line 284: Line 284:
 Over the past week, while mostly working on the uclibc issue, I also managed to fry my Teensy. I was setting up the pressure board when suddenly I heard one of the solenoids flip, and after that the Teensy would not respond anymore and was declared **bricked**. Over the past week, while mostly working on the uclibc issue, I also managed to fry my Teensy. I was setting up the pressure board when suddenly I heard one of the solenoids flip, and after that the Teensy would not respond anymore and was declared **bricked**.
  
-Since I am still using a breadboard with tons of wires, it may have been that a loose wire from somewhere touched something that it shouldn'​t be touching, but Janne suggested that it may have been [[https://​en.wikipedia.org/​wiki/​Counter-electromotive_force|"​Back EMF"]] - a transient counter electromagnetic force that goes the wrong way, and fries your components. I am still not sure about it, but the manual for TB6612FNG suggests that it is something worth considering in your circuit, and the solution is pretty simple - Diods. As described ​in [https://​www.instructables.com/​id/​Using-the-Sparkfun-Motor-Driver-1A-Dual-TB6612FNG-/​|[here]], if your motor is driving in just one direction, all it takes is one diode that is parralel to the motor'​s +/- , with the direction (line) of the diode going from (-) to (+).+Since I am still using a breadboard with tons of wires, it may have been that a loose wire from somewhere touched something that it shouldn'​t be touching, but Janne suggested that it may have been [[https://​en.wikipedia.org/​wiki/​Counter-electromotive_force|"​Back EMF"]] - a transient counter electromagnetic force that goes the wrong way, and fries your components. I am still not sure about it, but the manual for TB6612FNG suggests that it is something worth considering in your circuit, and the solution is pretty simple - Diods. As described ​[[https://​www.instructables.com/​id/​Using-the-Sparkfun-Motor-Driver-1A-Dual-TB6612FNG-/​|here]],​ if your motor is driving in just one direction, all it takes is one diode that is parralel to the motor'​s +/- , with the direction (line) of the diode going from (-) to (+).
  
 With great delight I installed diodes on all of the valves and the pumps, and when turning on the power, **3 motor driverss were fried**, one of them even burst into a flame, because it burned the paper label that was on it: With great delight I installed diodes on all of the valves and the pumps, and when turning on the power, **3 motor driverss were fried**, one of them even burst into a flame, because it burned the paper label that was on it:
Line 292: Line 292:
 Apparently, the black/red wires going from the valves were actually reversed, because what actually determines which pin of the driver is plus and which is minus, is how I set the HIGH and LOW on the input pins. So I basically diverted all of the current right back at the motor driver. Damn. **Next time try one motor driver first **. Luckily the teensy survived and the motor driver is not too expensive. After organizing and reversing all of the wires, I now have a working setup again, which is also protected from Back EMF, and //apart from 1 teensy and 3 motor drivers //, everything else seems fine. Apparently, the black/red wires going from the valves were actually reversed, because what actually determines which pin of the driver is plus and which is minus, is how I set the HIGH and LOW on the input pins. So I basically diverted all of the current right back at the motor driver. Damn. **Next time try one motor driver first **. Luckily the teensy survived and the motor driver is not too expensive. After organizing and reversing all of the wires, I now have a working setup again, which is also protected from Back EMF, and //apart from 1 teensy and 3 motor drivers //, everything else seems fine.
  
 +===== Tue 05/03/2019 =====
  
 +For just adding some task notes so I won't forget:
  
 +  * Chcek out the WPE Webkit performance tips for RPi [[https://​github.com/​Igalia/​meta-webkit/​wiki/​PerformanceTips|here]] and [[https://​github.com/​Igalia/​meta-webkit/​wiki/​RPi|here]].
 +  * Add GSTREAMER_GL setting.
 +  * Modify GPU memory settings.
  
 +===== Thu 07/03/2019 =====
  
 +Again a reminder:
 +
 +  * **Patch gst-omx to remove the hdmi / analogue audio sink plugins from gstomx.conf**
 +
 +
 +
 +===== Mon 18/03/2019 =====
 +Reminder:
 +  * File a bug for Webkit WPE, audio elements are looping unsolicitedly,​ otherwise audio is starting to work great!
 +  * Check this link for real time manipulation of the voice: https://​github.com/​urtzurd/​html-audio
 +
 +
 +===== Sun 24/03/2019 =====
 +
 +A long overdue update.
  
  
  
thesis/work-journal.txt ยท Last modified: 2019/04/13 15:25 by avnerus