Recent content by JanJor

  1. J

    Reading a DS18B20 temp sensor without using "readtemp"

    Dear Buzby, AllyCat, IWP and Westaust55, thank you vry much for your input. I apparently missed Westaust55's thread while searching the forum last week. Thanks Westaust55, this is very suitable info indeed, and it will keep me busy for a while. Best regards, Janjor.
  2. J

    Reading a DS18B20 temp sensor without using "readtemp"

    Dear Forum, I was curious to find out how to read the DS18B20 temperature sensor without using the wellknown and easy-to-use READTEMP command. So I took the data sheet and started reading. However, I gave up because I did not understand most of it (I did understand the data sheet for the ADS1115...
  3. J

    Strange interrupt problem.

    Wow, InglewoodPete, this must have taken you hours! Thanks very much. This is high-end programming. As you may have noticed from my program, I still use the same simple commands as I did when I bought my first Picaxe. I'll print your program and study it thoroughly, if only for the fact that...
  4. J

    Strange interrupt problem.

    @ Mushroom, thanks for your reply. The 'if' statements without an 'endif' do not seem to be the problem. And with reference to "anyway the program will no longer be set for interrupt once an interrupt is called from the main program", that's why at the end of the interrupt routine I programmed...
  5. J

    Strange interrupt problem.

    Apparently, attached file can be downloaded after all. Hoping that anyone can solve this interrupt-problem. Thanks, Janjor.
  6. J

    Strange interrupt problem.

    Something went wrong, while downloading the file. Sorry, next try.
  7. J

    Strange interrupt problem.

    Dear forum, it’s not my habit to bother the forum, unless all other sources are gone. The program below sends three short text fragments in text boxes to a Digole Touchscreen, after the first hit. The program does that in the interrupt-mode. That works OK. After a second hit, the program checks...
  8. J

    Hi2cin problems when reading touch screen

    Hi Ibenson, I thought that "attach files" was the way to attach files to questions, but here's the code for the 28X2: setfreq m8 #no_data #no_table pause 6000 'This gives the display the time to start up. serout a.0,T9600_8,("CL") pause 50 serout a.0,T9600_8,("TP",10,0) pause 1000 serout...
  9. J

    Hi2cin problems when reading touch screen

    Hippy, further to my earlier post; your idea of trying UART for transmission between the Digole touch-screen and my Picaxe indeed worked well after all. I could not stand the idea of not getting this on the rails, so I spent many hours, but it works fine now with UART. So I underestimated the...
  10. J

    Hi2cin problems when reading touch screen

    Hippy, first of all, and I'm certainly not the only one on the forum, I'm always surprised how you manage to design a program in such a short time. To my regret, even your proposal did not work. I tried both the battery check and the temp check (RDTMP) but they both give the same figure, even if...
  11. J

    Hi2cin problems when reading touch screen

    Hippy, sorry to bother you again. The baud rate of an older (non-touch) Digole screen I have (and that I now use for testing UART protocoll) is 9600. I assume that under the UART protocoll sending the command SEROUT b.0 ,N9600_8,("CL") or SEROUT b.0 ,T9600_8,("CL") should suffice to clear the...
  12. J

    Hi2cin problems when reading touch screen

    Hi Hippy, I tried RDTMP and RDBAT and they both give w0 = 15518. Re-loading and restarting does not change the outcome. Very strange. I'm afraid that I have to dive into the UART stuff. I didn't find any info about UART protocol in the manual, but from Google I understand that it is a matter of...
  13. J

    Hi2cin problems when reading touch screen

    Thanks for your reply Hippy, RPNXYI, RPNXYW and RPNXYC all do not give a satisfactory result, but I didn't think of sending "RDTMP"to the touch screen. I'll try that first and see what happens. With regard to the UART protocol, I'm a real beginner. Never used that. I2C and serial are the two...
  14. J

    Hi2cin problems when reading touch screen

    Dear Forum, when I use (merely as an example) the command hi2cout 0, ("SD",1) (after HI2CSETUP) ,I can send this command to my touch screen (Digole 320x240 touchscreen). That works OK. As I understand it, the command hi2cin 0,(B0,B1,B2,B3) should read a series of bytes that are send from the...
  15. J

    3-axis gyro accelerometer MPU6050 problem

    Dear Forum, and especially member MEMRAN, I’ve an MPU6050 (ITG-PMU) that works with an Arduino, even as a compass. BUT: I’m not an Arduino fan and I only used the Arduino to test the MPU6050. To this end I borrowed the info on the site...
Top