Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 07:10 02 Aug 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Bricked explore 64+

     Page 4 of 4    
Author Message
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9610
Posted: 07:48am 20 Aug 2018
Copy link to clipboard 
Print this post

LOAD IMAGE "ruff.bmp" should do it. Do not include the [, 0, 0] bit.

Square brackets indicate an optional part of the command, but you don't type the brackets. If you wanted to load the BMP at 100,100, you would use LOAD IMAGE "ruff.bmp",100,100 for example.

EDIT: matherp beat me to it! Edited by Grogster 2018-08-21
Smoke makes things work. When the smoke gets out, it stops!
 
Azure

Guru

Joined: 09/11/2017
Location: Australia
Posts: 446
Posted: 07:54am 20 Aug 2018
Copy link to clipboard 
Print this post

LOAD IMAGE "ruff.bmp", 0, 0


*Edit: Both Grogster and MatherP beat me to it!Edited by Azure 2018-08-21
 
Bryan1

Guru

Joined: 22/02/2006
Location: Australia
Posts: 1483
Posted: 07:58am 20 Aug 2018
Copy link to clipboard 
Print this post

Thanks that worked a treat but looks like i need to resize the bmp so it fits on the screen.

sitting infront of the shed fire here and time to get the ds18b20's out and see just low the temp is by the fire and outside
 
Bryan1

Guru

Joined: 22/02/2006
Location: Australia
Posts: 1483
Posted: 10:31pm 20 Aug 2018
Copy link to clipboard 
Print this post

Well setup 2 off ds18b20 temp sensors and using the TEMR() command both kept returning 85. Now putting on of them right in front of the fire and I could feel it was warm it still came back 85.

I do think this is a breadboard issue so today I'll grab a sheet of vero board and make up a board using that. That way solid connections can be made and it should solve the problem.

Regards Bryan
 
lizby
Guru

Joined: 17/05/2016
Location: United States
Posts: 3378
Posted: 01:03pm 21 Aug 2018
Copy link to clipboard 
Print this post

85 is the value returned when there is a common wiring error. I forget exactly which one--maybe no pullup resistor or DS18B20 not connected to pin. Check your wiring.Edited by lizby 2018-08-22
PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed
 
robert.rozee
Guru

Joined: 31/12/2012
Location: New Zealand
Posts: 2442
Posted: 03:36pm 21 Aug 2018
Copy link to clipboard 
Print this post

according to the ds18b20 datasheet:
"The power-on reset value of the temperature register is +85°C"

i'm picking you're getting insufficient power to the device for it to perform a conversion. are you running it in 2-wire (parasitic power) or 3-wire configuration?


cheers,
rob :-)
 
Bryan1

Guru

Joined: 22/02/2006
Location: Australia
Posts: 1483
Posted: 08:03am 22 Aug 2018
Copy link to clipboard 
Print this post

G'day Guy's,
I didn't put any pullup resistors so that could of been the problem and that breadboard is going back in the box and i'm now on making up a veroboard circuit so everything is a solid signal and I will put some pullups on which should cure the problem.

The microbridge turned up today so Thank You Paul for sending it.

Anyway getting there with the veroboard so by the weekend it should be all done.

Regards Bryan
 
Bryan1

Guru

Joined: 22/02/2006
Location: Australia
Posts: 1483
Posted: 08:53am 25 Aug 2018
Copy link to clipboard 
Print this post

G'day Guy's,
Well finally got the veroboard all hooked and working and it was a bit of fun tracing the tracks as I had used the board for a previous project. Thought I had everyone as the lcd did the test and when I was trying to calibrate the touch controller it would got to the second press then do a error: hardware fault. I traced the track on pin 47 and found a small break so fixed that and the calibration worked first time.

Put some pins in for the DS18b20 temp sensors and found they worked first go so put on that 30 litre apple cider before wrapping it up with some blankets. I made a 100 watt light box that the fermenter sits on. So by placing one sensor on the side and other at the base near the hole thats on top of the light box.

So tonight's project is writing some code and give that explorer board it's first workout monitoring the cider wash.

Regards Bryan
 
WhiteWizzard
Guru

Joined: 05/04/2013
Location: United Kingdom
Posts: 2944
Posted: 08:59am 25 Aug 2018
Copy link to clipboard 
Print this post

Great news that it is all working now.

So are you putting it all down to a faulty Breadboard and also a broken track?

 
Bryan1

Guru

Joined: 22/02/2006
Location: Australia
Posts: 1483
Posted: 10:45am 25 Aug 2018
Copy link to clipboard 
Print this post

Hi WW, yep I'm sick of breadboards and the hassles and the veroboard once I got the tracks sorted works nicely. I do have some rtc chips here so thats the mornings job of putting that on.

When I first got the explorer board I used a different breadboard and had the same problems so I bought a new one and still the problems were there.

 
Bryan1

Guru

Joined: 22/02/2006
Location: Australia
Posts: 1483
Posted: 01:43am 26 Aug 2018
Copy link to clipboard 
Print this post

G'day Guy's,
Looks like the grey matter is creeping in as I'm having fun trying to get the tempr(1) and(2) to display in a program. Would anyone have some sample code for this to give me a pointer or two.

Regards Bryan
 
palcal

Guru

Joined: 12/10/2011
Location: Australia
Posts: 1993
Posted: 02:59am 26 Aug 2018
Copy link to clipboard 
Print this post

You will have to convert the value to a string and use the text command

text 10,10,Str$(tempr(1))+" Degrees",CM

that should print the temperature to an LCD display. You can add font size and colour if you wish.
If you are just printing to the screen use PRINT tempr(1) or whatever variable you are using for the temperature.


I hope that is right.Edited by palcal 2018-08-27
"It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all"
 
     Page 4 of 4    
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025