Site Logo Home
 
rOm
Quest
Glossary
 
Random
Page
Search
Site
Lush
Sim
Class
Subject
Images
 
Help
FAQ
Sign
Up
Log
In
GCSE     Microcontroller     Appliances     Flow Charts     Input Interfacing     Internet of Things     Vehicles     Picaxe     01 Programming Editor     02 LED Flash     03 Happy     04 OLED Text     >05 ADC OLED<     06 Insulter    

Picaxe 05 ADC OLED


Site for Eduqas/WJEC - Go to the AQA site.

  GCSE    Picaxe Flow Chart Programming  0 of 12    Question 964    Flow Charts 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set1 of 12    Question 965    Flow Charts 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set2 of 12    Question 966    Flow Charts 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set3 of 12    Question 967    Flow Charts 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set4 of 12    Question 968    Flow Charts 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set5 of 12    Question 969    Flow Charts 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set6 of 12    Question 970    Flow Charts 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set7 of 12    Question 1267    Flow Charts 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set8 of 12    Question 1268    Flow Charts 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set9 of 12    Question 1269    Flow Charts 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set10 of 12    Question 1270    Flow Charts 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set11 of 12    Question 1271    Flow Charts 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set12 of 12    Question 1276    Flow Charts 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set  Questions 0 to 12   -->  View All  

Manuals >>>>    Getting Started    BASIC Commands    Interfacing    Flowcharts

Input - Measure a sensor using the ADC to read the analogue input and convert to digital.
Process - Convert the ADC binary number reading into three text characters so 123 becomes "1", "2", "3"
Output - Display the text characters on the OLED display.

This makes quite a nice project. Measure something and display the measurement. It's quite easy to add features like playing different alarm sounds if the input reading is too large or too small. This example uses an LDR. A thermistor could be used instead to measure temperature.

Instead of displaying the measurement, you could activate outputs instead. For examlple turn on the lights when it gets dark or activate the icy road warning if it gets cold.

Picaxe 08M with LDR using ADC

The diode protects against reverse power connections.
The 1K resistor and the LDR make a voltage divider.
It the light gets brighter, the LDR resistance gets less and the output voltage to C.1 goes up.
This gives a larger number on the OLED display.
The OLED numbers can go from 000 to 255.

Picaxe 08M with LDR using ADC

Alternative Sensors

Subject Name     Level     Topic Name     Question Heading     First Name Last Name Class ID     User ID    

fff
Home
<<<
ppw
Pg Up
<<
ppp
Up
<
|||

>|<
nnn
Down
>
nnw
Pg Down
>>
lll
End
>>>

Close
Escape
X

Q: qNum of last_q     Q ID: Question ID         Score: num correct/num attempts         Date Done    

 

Submit
Enter

 

Question Text

image url

 


Help Link

Add     Delete     Clone     Edit     Hardness

Help Text
Debug


 

 

 

Contact, Copyright, Cookies and Legalities: C Neil Bauers - reviseOmatic V4 - © 2016/17

Hosted at linode.com - London