Recent content by Rick100

  1. R

    Towers of Hanoi Revisited

    That schematic is very impressive. How does follow me mode work. I built a replacement remote transmitter for the Robie Jr. It had a follow me mode but that remote transmitter used ultrasonic sound. The robot had ultrasonic sensors in it's shoulders. I assumed it used the time difference for the...
  2. R

    Towers of Hanoi Revisited

    Hello Bill, I've never used the microsoft 3d modeler to design anything. I tried Freecad but it was very frustrating. My original printer is a FlogerTech 2020. It has been heavily modified. It looks terrible and sounds worse but it prints great. I just bought an Ender 3 V2 Pro 2 months ago. I...
  3. R

    Towers of Hanoi Revisited

    Hello Bill, I've been away from the forum for awhile. I check back in every so often to see what kind of trouble erco's getting into:). Glad to see you were able to make a 3d printed version of it. It was a challenge getting it into 256 bytes. Can't believe it's been 10 years since I build...
  4. R

    Robotics Author Gordon McComb Passed Away

    Sorry to hear this. I still have my copy of "Robot Builder's Bonanza" bought at the a local book store.
  5. R

    Has anyone had experience of this CNC engraver/drill/mill

    Do your parts look like this? I'm just afraid I'll run out before I go.:) I've added homing to my machine on the X and Y axis. It's a little more elaborate than a simple switch though. The schematic is at the 5:18 mark in the video. The Arduino...
  6. R

    Building/transmitting NEC IR

    Hello lewisg, I worked on some code a while back to produce IR control signals for different devices. It runs on a 14M2 using the hardware PWM and DSM for the output to the led. It can output up to 64 on/off pairings with a minimum pulse width of approximately .000266 seconds. The method I used...
  7. R

    Using PWMOUT @ 20MHz

    Here's an interesting "feature" of the pic PWM module. If you use 255 for the period , it's not possible to get 100% duty cycle. It would require a value of (255 +1) * 4 or 1024 be put into the 10 bits of the duty cycle but 1024 requires 11 bits. Unless the firmware checks for this value...
  8. R

    A TF2 Mini Sentry

    Or coding instead of sleeping :) You can try this program on your hardware. It does most of the actions you wanted. I'm not sure the outputs from your receiver are getting to the inputs of the Picaxe. If the inputs are staying at all zeros, this program should fall into it's idle mode and start...
  9. R

    Talking Guess the Number game

    I've been working on playing audio stored on a Winbond W25Q80 flash memory chip. The results have been pretty good so I wrote a simple and silly guess the number game to demonstrate it. Here's a youtube clip. The chip has one meg or 1048576 bytes of memory and can...
  10. R

    PWM music

    Here is a zip file containing the picaxe and programs for programming a 24lc256 or 24lc512 eeprom. I have only tested it with a 24lc256. I think the exe files will run without installing anything if you have your dotnet framework up to date but I'm not sure about that. The Seeprom1.exe...
  11. R

    PWM music

    I worked some more on getting the playback speed up by switching to a 24fc256 eeprom with a one megahertz clock. Then I took Alans advice and did a two byte read sandwiched in between two pokesfr commands. Both changes made significant improvements in speed. The playback rate is now...
  12. R

    PWM music

    I was curious to hear what edmunds 'hello' file sounded like,so I used his program in post 17 to generate a basic program. The program runs on a 20X2 and requires no external eeprom. The data is stored in inline pokesfr commands generated by sertxd commands. It uses 3932 of the 4096 available...
  13. R

    PWM music

    Several years ago I used a 12f683 to play 8 bit wave files from a 24lc256 eeprom, so I thought I would give it a try on the Picaxe. I used a 20X2 running at 64Mhz to read a sound sampled at 3600 Hz. The pwm freq for the output is around 15KHz. It was chosen so the duty cycle would have a 10 bit...
  14. R

    I2C LCD Display

    Thanks Alan for trying the code. My display doesn't have a back-light so I didn't notice the InitLcd routine was overwriting the BL bit. I worked on the program some more today. I removed some unnecessary delays and changed some others so it would work up to 32 MHz. I also changed the pulse...
  15. R

    I2C LCD Display

    Hello Steve2381, I don't have your exact display but I've used the 8574 IO expander chip to drive an lcd. Working from the info on this page I have some test code you can try. If your display is wired like this one the code should work but not...