Search results

  1. E

    New stuff

    Dear PICAXE team! Every now and then, somebody asks if there is a chance of a new and improved product from PICAXE. Namely, a new chip, an improved software version or something. Now, I decided to be this somebody, since I logged onto the picaxe page after a while and I can bet the 'news'...
  2. E

    pause command seemingly ignored...

    Dear all, I'm confused about this code ignoring pause 16000 between TestFWD and TestBWD subprocedures of newmain: in the file below. Can anyone spot what is wrong with it? Thank you for your time, /Edmunds
  3. E

    10 bits to 8 bits

    Dear all, I'm configuring PWM with pokesfr, since I need to route around timers and use different pins than the defaults for picaxe firmware. 8 MSBs of duty cycle are stored in CCPRxL register and the remaining 2 LSBs are kept in bits 5:4 of CCPxCON register. Since the bits around 5:4 in CCPRxL...
  4. E

    Capacitive linear position sensor

    Dear all, Would it be possible to build a capacitive linear position sensor around picaxe Touch functionality? I'm thinking something like digital callipers, but a good 20 times smaller. To detect 10mm position with accuracy of 0.05-0.1mm. I realise that would require custom PCBs, but that is...
  5. E

    ADC chip with built in oversampling and averaging

    Dear all, While working on a project, I came across Analog Devices AD7380/7381. It is a 2ch ADC converter, but the trick is, it has oversampling and averaging built in. This can be a great advantage for some projects where ADC readout can benefit from some digital filtering (say, averaging)...
  6. E

    Pushbutton ON/OFF

    Dear all, How would you go about implementing a single pushbutton ON/OFF control for a device? The program flow could be something like this: 1) Battery connected; 2) Sleep; 3) If button pressed, run init: procedure and do main: continuously; 4) If button pressed for like three seconds, run...
  7. E

    Limiting signed numbers to some value

    Dear all, I have a problem I have attempted to address a few times now with limited success. I think I even tried to ask this forum once or at least seriously considered it before :) - I will try to be more clear about what I'm trying to do this time. There is a signed word variable...
  8. E

    1Hz oscilator

    Hi all, How would you go about generating approx 1Hz signal with minimum number of external (to picaxe) components? I understand, I can use RTC for this - there are many with configurable freq outputs and integrated 32....kHz crystals these days. However, since I do not have backup power, I...
  9. E

    Soft and hard limits

    Dear all, I'm continuing to work on the magnet follower. One problem I need to tackle is to limit the steering being pushed too far to either end by the stepper motor, because when that happens, most of the time the slider is tightened against the mechanism in a way the stepper motor itself is...
  10. E

    ADC5 input, 40X2

    Dear all, Has anyone experienced strange behavior of ADC input 5 (A.5, pin 8) on 40X2? I have strange readings with a regular readadc command and they turn alright if I switch to input 13 (B.5, pin 38) for an example. I tried to use adcsetup command, but that did not change anything either...
  11. E

    Line/magnet follower

    Dear all, I have an idea following up my little line follower projects from earlier. I would like to achieve similar functionality using hall sensors and small magnets. I have tested the physical feasibility and I'm now thinking about the algorithms. I have built a 'sensor' from three DRV5053...
  12. E

    RC model boat, class project

    Hi all, My latest picaxe challenge below ;). I'm working on a class project we built with kids this year, where the outcome is a little radio controlled fishing boat. We built a number of boats and even had a competition for the school year-end in the local pond. Now, I want to sort out known...
  13. E

    PWMOUT OFF problem

    Dear all, I'm trying to invent the wheel (I guess) by building a two-button motor controller. Press FWD button to start the motor in FWD direction slowly and 4 more times for more speed. Then press RWD button to reduce the speed down to zero and to three speeds backwards. Pressing FWD again...
  14. E

    HM-16 BLE 4.1 module with picaxe

    Dear all, I successfully created a simple remote control for a model car using iphone, HM-16 BLE 4.1 module and picaxe today. All in all it was pretty simple, but there is lots of time to be saved for someone trying to do this if you know that: *AT commands should not be followed by LF nor...
  15. E

    Using Serial Terminal application for debugging bluetooth

    Dear all, I'm toying with HM-16 bluetooth module. I have it paired with an app on the phone and I can serout AT and serin OK back. Seems all good. Now I would like to further explore the module, but doing all of it through serial commands and uploading firmware every time is very time...
  16. E

    TLV493D-A1B6 3D Magnetic Sensor

    Dear all, Season's greetings to all! I'm back with another interesting device, TLV493D-A1B6 3D Magnetic Sensor from Infineon. There would be several possible applications for this kind of device in my models - from linear position indicators to smallest servos seen so far if it works the way...
  17. E

    Simple circuit protection

    Dear all, I have seen these little devices that look like a capacitor, but are actually circuit protection devices that prevent circuit damage on reverse polarity and over-voltage events. Or so I think. I cannot find much information on how to implement them online, probably because I'm using...
  18. E

    Picaxe network

    Dear all, I know the question has been around a million times and there is lots on it in the forum. Exactly because of this, I would be thankful for some educated pointers on what to look for and where to start. I need to set up a network of environmental and some other sensor nodes that would...
  19. E

    APA102 experience

    Dear all, I did some work with APA102 based LED strip with 144 LEDs per meter version. All went rather smooth with both HSPI and bit-banged versions after I figured the required end frame is not 4 bytes of $FF, but 8. So 64 set bits. This is true for whatever number of LEDs you use - 1 or 30...
  20. E

    Power supply for marine environment

    Dear all, I have a project (one taking me away from the little line follower for a while, but I will be back :)) where I'm designing a system that will be running on a sailing boat. Some sensors, data logging and maybe a display later if the first part of the project proves successful. Because...
Top