Search results

  1. NorthGuy

    Reverse engineering a hoverboard (with wheels) accelerometer

    The datasheet for the accelerometer you quoted says it supports I2C and SPI. These would require 2 wires. If it's one wire, it's either UART or something proprietary. It doesn't seem to be UART, as UART would typically be 1 start bit (always low) then 8 bits of data then 1 stop bit (always...
  2. NorthGuy

    Reverse engineering a hoverboard (with wheels) accelerometer

    Is there just one wire communication or there are other wires carrying signals? If there are other wires, what do you see on them?
  3. NorthGuy

    Micro Choice for RC Tx & Rx Circuits

    I can only tell that these MCU can generate/decode PPM and then generate the required PWM signal, and it won't be hard to program them to do so, I don't know if these receiver/transmitter modules can accept PPM signal from MCU or if you can get PPM on the other site.
  4. NorthGuy

    Micro Choice for RC Tx & Rx Circuits

    Yes, I meant manually setting the pins. I think I misunderstood you. I thought you're going to replicate the functionality of these modules and then I commented on the PICs being used for that. If you buy these modules, looks like they'll do all the encoding/decoding work for you, although it's...
  5. NorthGuy

    Micro Choice for RC Tx & Rx Circuits

    Yes, you definitely can use them. On the transmitter, it might be easier to bit-bang instead of using OC.
  6. NorthGuy

    Rotary switch - detect which connector??

    The coefficients have bad rounding. Try 0.0001385 instead of 0.0001.
  7. NorthGuy

    Rotary switch - detect which connector??

    Linear regression assumes linear relationship between the variables - graph of one variable vs another is a straight line. That's why they call it linear. If the relationship is not linear, as may be the case with thermistors, you need to read the sensor datasheet. It'll have some sort of table...
  8. NorthGuy

    Rotary switch - detect which connector??

    http://www.ebay.com/itm/2pcs-Mini-Solderless-Breadboard-Bread-Board-400-Contacts-Available-Test-Develop-/221890976768 You can use a multiplexor which will move through sensors when you press a PCB-mounted push-button. This way PIC will know which sensor is used because it switches the...
  9. NorthGuy

    Rotary switch - detect which connector??

    I don't think it's possible. You can use PIC with more pins, connect each sensor to its own pin and remove the switch. If you seek to use less space, bigger PIC will take less space than (smaller PIC + switch). Similarly, if you add extra components, it'll still be more space than few extra...
  10. NorthGuy

    programming microcontrolers

    I think the whole idea behind high level languages is to bring the programmers to the higher level of abstraction so that they don't need to understand what is happening at lower levels. And now we have new generation of programmers who used this approach and thus don't understand what's...
  11. NorthGuy

    programming microcontrolers

    It totally depends on your goals. There are big microcontrollers which you can program with C++. Whether you should do it is another question. Perhaps you will fill more comfortable using C++ with small microcomputers, which have an OS, memory management etc. Most of the "regular"...
  12. NorthGuy

    PIC 12F675 PULSE COUNTING

    If you have 2 free timers, you can use one as a counter. You configure it to work from the internal signal connected to, say T0CKI. It'll increment every time you get a pulse. Then in your "every-second" interrupt (which you build using the second timer) you just read this timer and if it's less...
  13. NorthGuy

    Learning electronics with python is good or bad ?

    Language is not so important for microcontrollers as it is for "big" computers. This is because there are more important things to learn - like controlling pins, peripheral modules, interrupts, timers. "Big" computers have these things too, but they're isolated from the regular programmer by the...
Top